My Nagios system sent me an alert to inform me that the disk space on one of the drives on our OS X server is very low. When I run
df /Volumes/Apps/ I get
/dev/disk0s3 117209520 114932472 2277048 99% /Volumes/Apps
When I run
du -c /Volumes/Apps it reports
Why might there be such a vast difference? Even more importantly, how do I find the problem and what can I do about it? I'm essentially just a Windows admin, so am well out of my comfort zone here. I use a Mac but I'm not a Mac admin in any real sense of the word.
ls -laR /Volumes/Apps/ reports a total of 10281584, which confusingly is even lower than du reports, although in the same vicinity.
A workaround, not a solution, which is why it's not posted as an answer. I simply reformatted the Apps partition and restored it's contents. Prior to that I did run Disk Utility to try and detect/repair any problems but it reported no problems found.