[CentOS] very large difference between df and du (10 GB, hard to believe)

Mon Feb 1 15:49:29 UTC 2010
Drew <drew.kay at gmail.com>

>    > I rebooted on the CentOS v4.8 CD #1, started "linux rescue" :
>
> After the reboot that would be taken care of, so that's not the issue here.

My understanding of the difference between df and du was that du
reports the actual size of the file while df reports the space
allocated by the filesystem.

So if a filesystem allocates 64KB per block and a file is only 2KB, du
will report 2KB and df will report 64KB.


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie