Bogus f_avail/f_bavail in df

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

 



While btrfs does its resizing, df stats are messed up.
Seen in linux-3.9.9. Don't know if it still occurs.

11:55 ares07:/home/snap # btrfs fi resize 250G /home/snap/red &
[1] 2861
Resize '/home/snap/red' of '250G'
11:55 ares07:/home/snap # 
11:55 ares07:/home/snap # df -h
Filesystem         Size  Used Avail Use% Mounted on
/dev/loop0         600G  239G   16E   1% /home/snap/red
                                ^^^
/dev/loop0  629145600   250249968 18014398497657468   1% /home/snap/red

(So it's not exactly a magic number (2^n)-1 or something.)
btrfs-progs-v0.20-rc1-358-g194aa4a.tar.bz2
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux