Menu

#4693 Webmin 1.780: Wrong amount local disk space for ZFS (OS FreeBSD)

1.780
open
nobody
zfs (2)
5
2016-05-28
2016-01-01
w@sp
No

Hi!
I have 3 hard drive (8 TB) with file system zfs, but Webmin still wrong show in the "System Information" amount local disk space for zfs!

Webmin show:
Local disk space: 3.14 TB used, 5.27 TB total

Real size:
NAME SIZE
dc 3,62T
dc2 1,81T
zroot 1,80T
Total amount: 7,23T

P,S,
Operating system FreeBSD 10.2

Discussion

  • Jamie Cameron

    Jamie Cameron - 2016-01-02

    Can you post the output of the command zpool list -p on your system?

     
  • w@sp

    w@sp - 2016-01-02

    root@vladiom:~ # zpool list -p
    NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
    dc 3985729650688 2584820018688 1400909632000 - 32% 64 1.00x ONLINE -
    dc2 1992864825344 875685985792 1117178839552 - 16% 43 1.00x ONLINE -
    zroot 1975684956160 152319012864 1823365943296 - 4% 7 1.00x ONLINE -

     
  • Jamie Cameron

    Jamie Cameron - 2016-01-04

    Thanks - can you also post the output of the mount command?

     
  • w@sp

    w@sp - 2016-01-04

    root@vladiom:~ # mount
    zroot/ROOT/default on / (zfs, local, noatime, nfsv4acls)
    devfs on /dev (devfs, local, multilabel)
    dc on /dc (zfs, local, nfsv4acls)
    dc2 on /dc2 (zfs, local, nfsv4acls)
    zroot/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls)
    zroot/usr/home on /usr/home (zfs, local, noatime, nfsv4acls)
    zroot/usr/ports on /usr/ports (zfs, local, noatime, nosuid, nfsv4acls)
    zroot/usr/src on /usr/src (zfs, local, noatime, nfsv4acls)
    zroot/var/audit on /var/audit (zfs, local, noatime, noexec, nosuid, nfsv4acls)
    zroot/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, nfsv4acls)
    zroot/var/log on /var/log (zfs, local, noatime, noexec, nosuid, nfsv4acls)
    zroot/var/mail on /var/mail (zfs, local, nfsv4acls)
    zroot/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls)
    zroot on /zroot (zfs, local, noatime, nfsv4acls)

     
  • w@sp

    w@sp - 2016-01-04

    root@vladiom:~ # df -h
    Filesystem Size Used Avail Capacity Mounted on
    zroot/ROOT/default 1,6T 14G 1,6T 1% /
    devfs 1,0K 1,0K 0B 100% /dev
    dc 3,5T 2,4T 1,2T 67% /dc
    dc2 1,8T 824G 974G 46% /dc2
    zroot/tmp 1,6T 13M 1,6T 0% /tmp
    zroot/usr/home 1,7T 118G 1,6T 7% /usr/home
    zroot/usr/ports 1,6T 9,7G 1,6T 1% /usr/ports
    zroot/usr/src 1,6T 1,8G 1,6T 0% /usr/src
    zroot/var/audit 1,6T 96K 1,6T 0% /var/audit
    zroot/var/crash 1,6T 96K 1,6T 0% /var/crash
    zroot/var/log 1,6T 896K 1,6T 0% /var/log
    zroot/var/mail 1,6T 120K 1,6T 0% /var/mail
    zroot/var/tmp 1,6T 104K 1,6T 0% /var/tmp
    zroot 1,6T 96K 1,6T 0% /zroot

     
  • w@sp

    w@sp - 2016-01-04

    root@vladiom:~ # zpool list
    NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
    dc 3,62T 2,35T 1,27T - 32% 64% 1.00x ONLINE -
    dc2 1,81T 824G 1,01T - 16% 44% 1.00x ONLINE -
    zroot 1,80T 144G 1,66T - 4% 7% 1.00x ONLINE -

     
  • w@sp

    w@sp - 2016-03-29

    Update to 1.791.

    Webmin still show:
    Local disk space: 3.37 TB used, 5.27 TB total.

    Real local disk space: 8 TB.

     
  • Jamie Cameron

    Jamie Cameron - 2016-03-31

    What does zpool list -p output on this system?

    Also, are all three pools used by mounted filesystems?

     
    • w@sp

      w@sp - 2016-03-31

      Yes.

       
  • Jamie Cameron

    Jamie Cameron - 2016-04-01

    I'm totally mystified - based on your files and the Webmin code, it should be showing the full 8 TB of disk.

     
  • w@sp

    w@sp - 2016-04-01

    I know, but the reality is another :(

     
  • Jamie Cameron

    Jamie Cameron - 2016-04-02

    Any chance I could login to this system to see what's going on? I don't have a BSD system with ZFS to test on.

     
  • w@sp

    w@sp - 2016-04-06

    No, this is a production server.
    If you need more information, I am ready to provide it.

     
  • w@sp

    w@sp - 2016-05-28

    Updated webmin:

    root@vladiom:~ # pkg version -v | grep webmin
    webmin-1.800 = up-to-date with index

    The problem is still present ...

    <uname>
    FreeBSD 10.3-RELEASE-p3 amd64</uname>

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.