[Lvlug] df vs. du

Randy Kramer rhkramer at gmail.com
Mon Apr 17 22:09:46 EDT 2006


I ran out of space on /home tonight.  Found ~49M being used 
in /home/rhk/.rdoc.  Afterwards, du /home tells me I'm using 31M, df tells me 
I'm using 195M.  

What am I missing?

Randy Kramer

[root at s14 doc]#  du /home | less 

shows
0       /home/rhk/.mc/cedit
8.0K    /home/rhk/.mc
8.0K    /home/rhk/.qt
0       /home/rhk/tmp/kde-rhk/kmail0Ncbdb.3
...
...
31M     /home


yet df  shows 
[root at s14 doc]# df /home
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda8             244M  195M   49M  80% /home


More information about the Lvlug mailing list