I'm having an issue on a Xen VM where (running as root) df and baobab agree that 94% of my disk is used (25G out of 28G), but du only counts a fraction of total disk utilization (3.3G).
The server has a simple LVM configuration: a 28G partition mounted to /. lvdisplay and vgdisplay both show that the entire volume is accounted for.
How am I missing almost 22G worth of space?
df Output
=========
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_dns-lv_root
29241444 25924244 1831788 94% /
df -h Output
============
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_dns-lv_root
28G 25G 1.8G 94% /
`du --max-depth=1 -h` Output
============================
96K ./tmp
128K ./home
23M ./root
...
94M ./etc
4.0K ./.pulse
3.4G .
du
anddf -h
. Also have a look at this Q&A: Why are there so many different ways to measure disk usage?