#656 Wrong ZFS space reporting

v0.7
open
Volker
WebGUI (143)
5
2012-10-28
2009-08-26
No

WebGUI main index page reports page as shown in attachment (note same used/free for all three pools). Console outputs are as follows:

nest:~# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/md0 88M 77M 12M 87% /
devfs 1.0K 1.0K 0B 100% /dev
procfs 4.0K 4.0K 0B 100% /proc
/dev/ad0p1 61M 10K 56M 0% /mnt/cat
/dev/ad8p1 677G 386G 236G 62% /mnt/st750-1
/dev/ad10p1 677G 607G 15G 98% /mnt/st750-2
/dev/ad9p1 902G 791G 39G 95% /mnt/wd1000-1
st120s2 54G 0B 54G 0% /mnt/st120s2
st120s1 56G 45G 11G 80% /mnt/st120s1
icl60 56G 36G 20G 64% /mnt/icl60
/dev/md1 31M 4.0K 28M 0% /var
<above>:/mnt/st750-1/users/root 677G 387G 236G 62% /root
/dev/da0a 38M 35M 3.5M 91% /cf

nest:~# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
icl60 57G 36.1G 20.9G 63% ONLINE -
st120s1 57G 45.1G 11.9G 79% ONLINE -
st120s2 54.5G 120K 54.5G 0% ONLINE -

Discussion

  • misterredman

    misterredman - 2010-03-30

    votdev> I still have the issue you mentioned in your comment and found here: http://sourceforge.net/tracker/index.php?func=detail&aid=2791954&group_id=151951&atid=782616

    I have a RAIDZ1 made of 5x1.5TB drives and the size reported on the webGUI is still including the parity:

    Storage
    65% of 6.81TB
    Total: 6.81T | Used: 4.27T | Free: 1.09T | State: ONLINE

    Using zfs list storage:

    nasv2:~# zfs list storage
    NAME USED AVAIL REFER MOUNTPOINT
    storage 4.27T 1.09T 459K /mnt/storage

    I am using 0.7 Khasadar (revision 4919)
    Built on Fri Nov 6 18:58:33 UTC 2009
    OS Version FreeBSD 7.2-RELEASE-p4 (revision 199506)
    Platform amd64-embedded on Pentium(R) Dual-Core CPU E6300 @ 2.80GHz

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks