[lkml]   [2006]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Wrong free space reported for XFS filesystem
    On Wed, Sep 06, 2006 at 10:54:34AM +0200, Jesper Juhl wrote:
    > For your information;
    > I've been running a bunch of benchmarks on a 250GB XFS filesystem.
    > After the benchmarks had run for a few hours and almost filled up the
    > fs, I removed all the files and did a "df -h" with interresting
    > results :
    > /dev/mapper/Data1-test
    > 250G -64Z 251G 101% /mnt/test
    > "df -k" reported this :
    > /dev/mapper/Data1-test
    > 262144000 -73786976294838202960 262147504 101% /mnt/test
    > The filesystem is mounted like this :
    > /dev/mapper/Data1-test on /mnt/test type xfs
    > (rw,noatime,ihashsize=64433,logdev=/dev/Log1/test_log,usrquota)

    So the in-core accounting has underflowed by a small amount but the
    on disk accounting is correct.

    We've had a few reports of this that I know of over the past couple of years,
    but we've never managed to find a reproducable test case for it.

    Can you describe what benchmark you were runnin, wht kernel you were
    using and whether any of the tests hit an ENOSPC condition?

    Also, in future can you cc on XFS bug reports?


    Dave Chinner
    Principal Engineer
    SGI Australian Software Group
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-09-07 01:09    [W:0.043 / U:12.044 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site