Wrong free space reported for XFS filesystem

From: Jesper Juhl
Date: Wed Sep 06 2006 - 04:51:33 EST


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

I then did an umount and remount of the filesystem and then things
look more sane :

"df -h" :
/dev/mapper/Data1-test
250G 126M 250G 1% /mnt/test

"df -k" :
/dev/mapper/Data1-test
262144000 128280 262015720 1% /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)


--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/