OMV6: Unable to install openmediavault-zfs 6.0.9

  • Hi,


    I have just upgraged from OMV 5 to 6.

    I cannot see anymore my ZFS drives.


    I'm trying to install the plugin openmediavault-zfs 6.0.9, but it's failing as below:


    Reading package lists...

    Building dependency tree...

    Reading state information...

    Some packages could not be installed. This may mean that you have

    requested an impossible situation or if you are using the unstable

    distribution that some required packages have not yet been created

    or been moved out of Incoming.

    The following information may help to resolve the situation:


    The following packages have unmet dependencies:

    zfsutils-linux : Depends: libnvpair3linux (= 2.1.4-1~bpo11+1) but 2.0.3-9 is to be installed

    Depends: libuutil3linux (= 2.1.4-1~bpo11+1) but 2.0.3-9 is to be installed

    Depends: libzfs4linux (= 2.1.4-1~bpo11+1) but 2.0.3-9 is to be installed



    Any ideas on how to solve this?


    Thank you!


    Luis

  • luisfmrosa

    Changed the title of the thread from “Unable to install openmediavault-zfs 6.0.9” to “OMV6: Unable to install openmediavault-zfs 6.0.9”.
  • Are you using the proxmox kernel?

    omv 6.0.30-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.0.9 | kvm 6.1.19 | mergerfs 6.1.1 | zfs 6.0.9
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Thank you for your suggestions.

    I installed the kernel plugin and then tried to install proxmox. But it failed:



    Is there another way to install proxmox ? Through extras ? I'm using an odroidhc4 hardware...

  • error is : omv-installproxmox install': Unsupported kernel and/or processor


    what processor do you have?

  • Isn't it just a matter of updating the initramfs with the zfs module?

    Similar to raspiOS?


    I know how to do it for btrfs on raspiOS, but not on armbian.

  • You can use zfs without the proxmox kernel, it just is not as comfortabe.


    The zfs plugin may do this on the pi or do it manually:


    Code
    sudo apt install raspberrypi-kernel-headers
    sudo apt install zfs-dkms zfsutils-linux

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Well, guess there is no much sense on installing raspberrypi-kernel-headers on my odroidhc4, right?


    After searching armbian forum, I did a few things:


    - upgraded through armbian-config to the 'edge' version of the Kernel (5.17.5-meson64 #22.05.1 SMP PREEMPT Sat May 28 08:20:29 UTC 2022 aarch64 GNU/Linux), but my issue persists


    - when I log in via ssh, it shows 'Buster', but when I checked on /etc/apt/sources.list.d/, all my files were referencing bullseye, not buster


    So after replacing 'bullseye' by 'buster', I managed to make the command below work:


    Bash
    sudo apt install zfs-dkms zfsutils-linux

    But after a reboot, zfs is still not available:

    Code
    # zfs version
    The ZFS modules are not loaded.
    Try running '/sbin/modprobe zfs' as root to load them.
    # /sbin/modprobe zfs
    modprobe: FATAL: Module zfs not found in directory /lib/modules/5.17.5-meson64

    Any ideas on how to fix this without wiping everything and reinstalling from zero?


    Thank you,


    Luis

  • Any ideas on how to fix this without wiping everything and reinstalling from zero?

    You need to add the zfs module to the list of modules that system loads on boot. If you install the zfs plugin, it will do this. Otherwise, as root:


    echo "zfs" > /etc/modules-load.d/zfs.conf

    omv 6.0.30-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.0.9 | kvm 6.1.19 | mergerfs 6.1.1 | zfs 6.0.9
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Thank you for your quick answer.
    Just ran the echo command, and restarted... still not working:


    Code
    # whereis zfs
    zfs: /usr/sbin/zfs /etc/zfs /usr/share/man/man8/zfs.8.gz
    root@odroidhc4:~# zfs version
    The ZFS modules are not loaded.
    Try running '/sbin/modprobe zfs' as root to load them.
    root@odroidhc4:~# modprobe zfs
    modprobe: FATAL: Module zfs not found in directory /lib/modules/5.17.5-meson64
    root@odroidhc4:~# ls /lib/modules/5.17.5-meson64/
    kernel         modules.alias.bin  modules.builtin.alias.bin  modules.builtin.modinfo  modules.dep.bin  modules.order    modules.symbols
    modules.alias  modules.builtin    modules.builtin.bin        modules.dep              modules.devname  modules.softdep  modules.symbols.bin

    I'm really sorry to bother you all with this.

  • You either built the module for the wrong kernel or it failed to build. You also need to make sure you are building zfs 2.1.4 to support the 5.17 kernel.

    omv 6.0.30-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.0.9 | kvm 6.1.19 | mergerfs 6.1.1 | zfs 6.0.9
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and 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!