Can somebody explain this? du & ls showing different sizes

Vijay Gill vijay.s.gill at gmail.com
Tue Feb 17 23:29:28 UTC 2009


2009/2/17 Patrick O'Callaghan <pocallaghan at gmail.com>:
> On Tue, 2009-02-17 at 23:05 +0000, Vijay Gill wrote:
>> Back again with another observation.
>>
>> I found out that this issue happens only with
>> kernel-2.6.27.12-170.2.5.fc10.i686 (the latest one I have). I had a
>> previous kernel too (kernel-2.6.27.9-159.fc10.i686) and there is no
>> problem with that. I tried compare the change log of the two rpms and
>> there seemed nothing about changes to XFS.
>
> Does it make a difference which of the two kernels creates the file?
>
> poc
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>

Well most of the files which exihibit that issue were in /var/run or
/var/log. While investigating the latest kernel I had even cleared
/var/run still the files created were a few bytes in size but were
allocated 512M. I did nothing except rebooting to old kernel and
problem went away. My server is running the same services as in the
case when the latest kernel was used.

So it seems that there is a difference in creation of files by the teo kernels.

Vijay




More information about the fedora-list mailing list