Hey all, I wonder if someone can help me stop banging my head against a wall with disk space issues?
I have a Red Hat Enterprise 64-bit 6.2 server that is reporting the root partition is 100% used.
[root@servername /]# df -h
Filesystem Size Used Avail Use% Mounted on
32G 31G 0 100% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
/dev/cciss/c0d0p1 485M 89M 371M 20% /boot
18G 173M 17G 2% /home
69G 28G 41G 41% /mnt/backups
However disk usage is reporting that the root is using far less space than the 31GB df is reporting:
[root@servername /]# du -h --max-depth=1
du: cannot access `./proc/2643/task/2643/fd/4': No such file or directory
du: cannot access `./proc/2643/task/2643/fdinfo/4': No such file or directory
du: cannot access `./proc/2643/fd/4': No such file or directory
du: cannot access `./proc/2643/fdinfo/4': No such file or directory
I've googled this like mad and have found a lot of people suggesting that the discrepancy is often deleted files that are still open, and say to run lsof | grep deleted to find out what process is using these files, but running that command on my server comes back with nothing.
Can anybody please help me to find what is using the extra space on my root partition?