Linux reports full disk utilization even when there is available capacity.
Linux reports full disk utilization even when there is available capacity.
Your home server based on Debian is experiencing some problems lately, like messages indicating insufficient space when creating new files or updating packages. The df command shows the current disk usage: most partitions are nearly full, with the sda SSD at 27.7 GB used out of its capacity. I've checked hidden files and deleted any temporary files that processes were using, but nothing was found.
Your root partition is completely full. The ncdu results are unimportant because it only measures the sizes of files it can reach; if it can't access certain areas, it won't give accurate measurements either.
To find out what's occupying its space, you might need more details or a different approach. Using "du" didn't yield results, so consider exploring other methods.
Begin with "cd /" then "sudo du -shx * | sort -h". Also review /var/log as it can accumulate large numbers of old logs based on your rotation settings. It seems the issue might actually be missing a /home partition, causing your home folder contents to fill the root partition.
The system would fail completely if bin, sbin, and libs-dirs were missing. It seems your filesystem might be damaged.
Reviewed the log, everything seems normal. This occurred once with another system and was the cause. Yes /home isn't a separate partition. Output from sudo du -shx * | sort -h : du: couldn't read directory 'proc/20834/task/20834/net': Invalid argument du: couldn't read directory 'proc/20834/net': Invalid argument du: couldn't read directory 'proc/20835/task/20835/net': Invalid argument du: couldn't read directory 'proc/20835/net': Invalid argument du: couldn't access 'proc/20850/task/20850/fd/3': File or directory doesn't exist du: couldn't access 'proc/20850/task/20850/fd/3': File or directory doesn't exist du: couldn't access 'proc/20850/fdinfo/3': File or directory doesn't exist du: couldn't access 'proc/20850/fd/3': File or directory doesn't exist
These directories hold files. I’m unsure why the duplicate removal tool isn’t displaying them. It’s been a while since I touched the server, and everything seemed fine for about a year.