RESOLVED: Simple single-disk ZFS volumes not showing up in Shared Folders

  • ZFS filesystems are not showing up for me both in Shared Folders and in SnapRaid in OMV (+ OMV-Extras).


    Using ZFS on single disks for a SnapRAID + MergeFS scenario. This, for me, adds both compression + wide accessibility of drives since we use ZFS a good bit. Further I'm not using raidz(1|2|3) for flexibility purposes which I'm sure are clear.


    6 drives were prepared directly from the shell so as to implement certain additional features and alignment sanity:

    Code
    sgdisk --zap-all /dev/disk/by-id/ata-MFG_MODEL_SERIAL_X
    sgdisk --new=1:1M:-8M --typecode=1:BF01 /dev/disk/by-id/ata-MFG_MODEL_SERIAL_X
    zpool create -f -d -m none -o ashift=12 -o feature@zstd_compress=enabled -O casesensitivity=insensitive -O atime=off -O normalization=formD bay_x-MFG_MODEL_SERIAL_X /dev/disk/by-id/ata-MFG_MODEL_SERIAL_X-part1

    Creating these ZFS volumes without the intermediate sgdisk --new step results in no difference.


    All drives formatted properly and zpool list reports:

    Code
    NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
    bay_1-MFG_MODEL_SERIAL_X 5.45T 896K 5.45T - - - 0% 1.00x ONLINE -
    bay_2-MFG_MODEL_SERIAL_X 5.45T 896K 5.45T - - - 0% 1.00x ONLINE -
    bay_3-MFG_MODEL_SERIAL_X 5.45T 896K 5.45T - - - 0% 1.00x ONLINE -
    bay_4-MFG_MODEL_SERIAL_X 5.45T 896K 5.45T - - - 0% 1.00x ONLINE -
    bay_5-MFG_MODEL_SERIAL_X 5.45T 896K 5.45T - - - 0% 1.00x ONLINE -
    bay_6-MFG_MODEL_SERIAL_X 5.45T 896K 5.45T - - - 0% 1.00x ONLINE -

    To be clear, these do show up within Storage > Disks & File Systems & ZFS (from the plugin).


    As a sanity check I destroyed all of these volumes (zpool export -a; sgdisk --zap-all <each drive>) and then tried to create "Basic" zpool with the Create ZFS Pool GUI and found none of my drives within this Devices listing:


    d0f1d986-b85e-4179-97f0-c1e979ec0000.png?v=d1c89a559d2c607f691a0b005893eef5


    Any thoughts on why these may not be showing up?

  • KM0201

    Approved the thread.
  • SOLVED: the problem turned out as per feedback from Volker was that the mountpoint was not defined. Unfortunately I was under the impression that zpool was handling this, and while it apparently does, it needs to be defined during creation, so adding that is important:

    Code
    zpool create -f -d -m /mnt/bay_x -o ashift=12 -o feature@zstd_compress=enabled -O casesensitivity=insensitive -O atime=off -O normalization=formD bay_x-MFG_MODEL_SERIAL_X /dev/disk/by-id/ata-MFG_MODEL_SERIAL_X-part1
  • ylluminate

    Added the Label OMV 5.x
  • ylluminate

    Added the Label resolved
  • ylluminate

    Changed the title of the thread from “Simple single-disk ZFS volumes not showing up in Shared Folders” to “RESOLVED: Simple single-disk ZFS volumes not showing up in Shared Folders”.
  • crashtest

    Approved the thread.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!