Help Finding Disk Drive Usage

Josh Carroll josh.carroll at gmail.com
Fri Mar 30 15:28:41 UTC 2007


> So why does du report only 2.0 GB of usage while df reports over 6 GB?
> Where has my storage gone?  Or do I not understand proper usage of du?

If you removed files that still had open file handles (e.g. from
/var/log), they are likely still allocated and showing up in df, but
not du since they're not on the filesystem anymore. Restart any
daemons that you removed log files for, and the space will "show up".
Or a simple reboot should fix things.

Josh


More information about the freebsd-questions mailing list