<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><br>--- On <b>Mon, 2/16/09, Patrick O'Callaghan <i><pocallaghan@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Patrick O'Callaghan <pocallaghan@gmail.com><br>Subject: Re: Can somebody explain this? du & ls showing different sizes<br>To: fedora-list@redhat.com<br>Date: Monday, February 16, 2009, 8:45 AM<br> <br><pre>On Mon, 2009-02-16 at 07:13 +0000, Vijay Gill wrote:<br>> 2009/2/16 Patrick O'Callaghan <pocallaghan@gmail.com>:<br>> > On Sun, 2009-02-15 at 23:45 +0000, Vijay Gill wrote:<br>> >>  > That could be because you're using XFS.<br>> >> ><br>> >> > poc<br>> > [...]<br>> >> Thanks but how does that statement explain the behaviour I am<br>seeing?<br>> ><br>> > I'm
 reaching here, but since XFS uses allocation strategies<br>different<br>> > from the more familiar ext3 system, I wondered if 'du' could<br>in some<br>> > circumstances report larger numbers than "normal".<br>> ><br>> > Apologies if I'm raving.<br>> ><br>> > poc<br>> ><br>> > --<br>> > fedora-list mailing list<br>> > fedora-list@redhat.com<br>> > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list<br>> > Guidelines:<br>http://fedoraproject.org/wiki/Communicate/MailingListGuidelines<br>> ><br>> <br>> You are spot on Pat. XFS allws you to pre-allocate contiguous area of<br>> disk for a file when it is opened for writing data. This is determined<br>> by allocsize parameter during mount and is used foe reducing<br>> fragmentation(fragmentation in Linux? yes siree, it does happen in<br>> Linux too).<br>> <br>> In my case I have provided 1M
 which is far much less than 512M which<br>> XFS is pre-allocating. This is what caught my eye.<br><br>It's nice to have one's intuition confirmed once in a while :-)<br><br>poc<br><br>Hi Poc<br><br>Where is the overallocation parameter stored? <br><br>Poc, I appreciate your expertise in the answers, but when you answer something about Linux,<br>note that I have not your ideas of where to look for settings.<br>Therefore, I am sure readers would like a hint about the directory/file in which this info<br>is stored.<br><br>Thanks and have a good weekend.<br><br>Leslie <br></pre></blockquote></td></tr></table>