The issue that I have is that df -h displays certain usage on a CentOS-based server, however du does not detect as much disk usage.
In this particular case, I have:
[root@localhost /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mount 50G 47G 2.0G 88% /
sysfs 50G 47G 2.0G 88% /sys
While du returns less than 2 GB usage:
[root@localhost /]# du -sh
du: cannot access `./proc/11587/task/11587/fd/4': No such file or directory
du: cannot access `./proc/11587/task/11587/fdinfo/4': No such file or directory
du: cannot access `./proc/11587/fd/4': No such file or directory
du: cannot access `./proc/11587/fdinfo/4': No such file or directory
1833M .
I checked for open deleted files with lsof, and for different mounts however I could not find anything.
Can anyone give some other suggestions?