Re: Can somebody explain this? du & ls showing different sizes

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

 



On Mon, 2009-02-16 at 07:13 +0000, Vijay Gill wrote:
> 2009/2/16 Patrick O'Callaghan <pocallaghan@xxxxxxxxx>:
> > On Sun, 2009-02-15 at 23:45 +0000, Vijay Gill wrote:
> >>  > That could be because you're using XFS.
> >> >
> >> > poc
> > [...]
> >> Thanks but how does that statement explain the behaviour I am seeing?
> >
> > I'm reaching here, but since XFS uses allocation strategies different
> > from the more familiar ext3 system, I wondered if 'du' could in some
> > circumstances report larger numbers than "normal".
> >
> > Apologies if I'm raving.
> >
> > poc
> >
> > --
> > fedora-list mailing list
> > fedora-list@xxxxxxxxxx
> > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
> >
> 
> You are spot on Pat. XFS allws you to pre-allocate contiguous area of
> disk for a file when it is opened for writing data. This is determined
> by allocsize parameter during mount and is used foe reducing
> fragmentation(fragmentation in Linux? yes siree, it does happen in
> Linux too).
> 
> In my case I have provided 1M which is far much less than 512M which
> XFS is pre-allocating. This is what caught my eye.

It's nice to have one's intuition confirmed once in a while :-)

poc

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux