ZFS Available and Used size

    • Resolved
    • ZFS Available and Used size

      Hi,

      I noticed that the ZFS filesystem in the GUI under Storage / filesystems does not show the Total / Available and Used size. It just shows n/a.
      Also i noticed that somehow the used space is not correct.

      # zpool list
      NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
      onepool 3.62T 692K 3.62T - 0% 0% 1.00x ONLINE -

      But in my docker for example Radarr i only see 208.4 GB Free Space and Total 281.4 GB ???
      Why doesn't it see the 3.6Tb? it is if it only is seeing the OS OMV disk, but not the pool.

      Both are not correct as yesterday i have put about 16Gb of movies in my pool and the pool size didn't change is this a bug or am i looking wrong?
      Probably this is something simple that i just do not see

      Thanks for your help,
      Armand
    • Further investigation show that maybe i am copying to just a directory and not the pool

      root@nas:/# systemctl status zfs-mount
      ● zfs-mount.service - Mount ZFS filesystems
      Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
      Active: failed (Result: exit-code) since Mon 2018-01-08 15:31:19 CET; 19h ago
      Docs: man:zfs(8)
      Main PID: 831 (code=exited, status=1/FAILURE)
      CPU: 12ms


      Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
      root@nas:/# zfs get mounted -t filesystem
      NAME PROPERTY VALUE SOURCE
      onepool mounted no -

      So why doesn't it get mounted?
    • ok i think i run into this github.com/OpenMediaVault-Plug…nmediavault-zfs/issues/27


      root@nas:/# zfs get mounted -t filesystem
      NAME PROPERTY VALUE SOURCE
      onepool mounted no -
      root@nas:/# zfs mount -a
      cannot mount '/onepool': directory is not empty
      root@nas:/# zfs umount -a
      root@nas:/# zfs get mounted -t filesystem
      NAME PROPERTY VALUE SOURCE
      onepool mounted no -
      root@nas:/# ls /onepool
      docker downloads kids movies music photos series videos
      root@nas:/# mkdir poolcopy
      root@nas:/# mv onepool poolcopy
      root@nas:/# ls /onepool
      ls: cannot access '/onepool': No such file or directory

      root@nas:/# zfs mount -a
      root@nas:/# zfs get mounted -t filesystem
      NAME PROPERTY VALUE SOURCE
      onepool mounted yes -