I have a centos system that is reporting more disk usage using df than it is using du. I've read that this can happen when a file handle has not been closed. However, I've restarted the system multiple times and lsof does not reveal any stranded file handles.
This host is mirroring another host I manage using lftp nightly. I have set up apache on this host, pointing it to the mirrored directory using a symbolic link. The actual mirrored data is about 12-13 GB. Based on this the 14 GB number seems to be correct and df is reporting an extra 9 GBs.
What could be causing this?
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda 48G 23G 23G 50% /
tmpfs 492M 112K 492M 1% /dev/shm
$ du -hs / 2>/dev/null
14G /