[HOWTO] Instal ZFS-Plugin & use ZFS on OMV

  • Hello,
    I ran into a problem. When trying to install zfs plugin cannot generate plugin openmediavault index. In the window there is only the error message and a close button. When this menu appears on the left section of zfs, but when logging in it throws error.

  • Update. https://github.com/zfsonlinux/zfs/issues/1155
    I used the article https://github.com/zfsonlinux/zfs/issues/1155 and collected manually zfs and spl(actual version 0.6.5.8). They demanded a new version of linux-headers,

    Code
    Error! Your kernel headers for kernel 3.16.0-4-amd64 cannot be found.
    Please install the linux-headers-3.16.0-4-amd64 package,

    after installation gathered correctly and zfs earned. In OMV notification about the available version did not.

  • They demanded a new version of linux-headers

    Most people using zfs are using the backports kernel. When you install the backports kernel with omv-extras, it installs the headers.

    omv 5.6.13 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I have received the following error while trying to delete a pool:

    Now I have manually deleted the pool using zpool destroy, but I cannot create a new pool using the GUI. The only solution was to reformat the drives, probably because this generates new UUIDs.

    ESXi: SM X9SCA-F || Xeon E3-1220LV2 || Kingston ECC 16GB DDR3-1333 || 2x IBM M1015 (IT) || 38TB raw || Chenbro SR11269

  • Currently `I` don't manage omv-zfs code for OMV 2.x, Sorry
    `Maybe`, devs who wrote 2.x code help your issues but I doubt

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

  • after zpool creation with some datasets


    found strange disk usage reporting in the Performance statistics--> Disk usage, while filling the pool/datasets

    root@zfsnas:/zfs1# df -h
    Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
    zfs1 6,2T 852G 5,4T 14% /zfs1
    zfs1/backup 5,8T 445G 5,4T 8% /zfs1/backup
    zfs1/users 6,1T 754G 5,4T 13% /zfs1/users
    zfs1/media 5,8T 375G 5,4T 7% /zfs1/media
    zfs1/public 7,9T 2,6T 5,4T 32% /zfs1/public


    It looks performance statistics reporting does not sum up the used space by all datasets. zfs pool should still be 10TB.
    Any idea what went wrong ?

    latest OMV Erasmus | 64 bit | backport kernels | latest omvextrasorg
    low power Skylake NAS build <= 10 watts idle (4 disks), Fujitsu D3417-B, 16GB ECC RAM, 4x4TB WD Red - RAIDZ1, 128GB M.2 NVMe SSD boot.
    backup NAS HP Proliant N54L, 4GB ECC RAM, 4x4TB WD Red - RAID 5, 30GB SATA boot.

  • You are conflating Free Space with Pool Size. These are not the same things. If you have a 10TB pool with four datasets, and you put 1TB of data in each dataset, the pool's base (in your case, zfs1) is going to show 6TB remaining.


    Look at it this way. When you created your zfs1 pool, then added 4 datasets to it, before you added any data to any of those, if you looked at it you would've seen 5 filesystems at 10TB each, but you didn't really have 50TB of space, you had 10TB. Same thing. If you look at your first screenshot and do some math, you'll see that the Size column is the sum of the Used and Available columns for all datasets.


    There's no easy way to track it in here, because the pool size will never equal used space + free space, due to metadata. Ignore the size column and you'll get closer. Try, instead of 'df -h' doing 'zfs list'. You'll notice that doesn't even show you a Size column, because ZFS already knows it's meaningless.

  • As someone with the following criteria:
    1. On OMV 2
    2. Still using the old ZFS plugin (haven't updated in awhile)
    3. Looking to upgrade to OMV 3


    I just want to make sure that I understand correctly, I need to:
    1. Uninstall ZFS plugin/de-select from repos
    2. Run this command:

    Code
    apt-get autoremove debian-zfs libnvpair1 libuutil1 libzfs2 libzpool2 zfsutils spl-dkms zfs-dkms openmediavault-zfs

    3. Upgrade OMV
    4. Re-enable the ZFS repos (use Testing to get the Debian repos)
    5. Install the plugin
    6. Import the pool


    Does this sound right? Thanks!

  • I just wanted to update the ZFS repository, properly

    What needs to be updated? Properly would be me updating omv-extras to reflect the change.

    omv 5.6.13 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Ah. I thought you knew what the new address is. I will have to look for it.

    omv 5.6.13 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • SOLVED. It was a problem from try kernel 4.8


    I have the follow Problem:


    When i use "add object" on my pool named "openmediavault" there is a error



    I generate a filesystem named plexmediaserver. The filesystem is generated but on openmediavault gui i have the yellow message "Configuration changed..... This messeage will not go away. The same when i create the filesystem with



    Code
    zfs create openmediavault/plexmediaserver


    Versions:
    openmediavault: 3.058
    openmediavault-zfs: 3.05

  • @polarstern


    1. rm /var/lib/openmediavault/dirtymodules.json
    2. ZFS->Settings
    Disable `Enable Automatic Sharing of Nested Properties`
    (currently it seems `Enable Automatic Sharing of Nested Properties` doesn't work as expected so disable it)



    try above procedures

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

    Edited once, last by luxflow ().

  • Switching to https doesn't fix the problem. There is a cert problem that we can't fix.

    omv 5.6.13 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

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