> sunnudagur 24. jznm 2001 16:08, ~z skrifapir:
> > What size does du report when using it on that dir.
> > Cheers
> > Seth
> The files inside the directories, have the same sizes in both cases... I took
> a peek at some of the directories. An example, is a file inside the
> graphics9help/en/paint9_linux/default directory, which is 3150 bytes in size,
> occupying 5k in ext2, but occupying 64k in xfs. The
> graphics9help/en/paint9_linux/filter80 contains 62 files, occupies 198k in
> ext2. But occupies 3972k (62*64=3968) in xfs.
How did you copy the files into XFS, are you using NFS? and which kernel
version are you using?
I just did some quick checks and I am not seeing similar behavior. It appears
that space preallocated into files on your system is not getting freed when
the file closes. XFS presumes you are going to keep writing to a file, so
tends to overallocate, but the extra space is supposed to be removed at
Also, if you unmount the filesystem, and remount it does the size increase