Re: very large difference between df and du (10 GB, hard to believe)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>>> 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.

There's also the possibility of a lot of hard links.

       mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux