ZFS plugin install fails after fresh install

    • OMV 4.x
    • Resolved
    • ZFS plugin install fails after fresh install

      Hi All,

      Just installed a fresh box, with OMV 4.x and did an update.

      Trying to add zfs plugin, but it fails with kernel headers missing.

      root@omv-box:~# uname -r 4.19.0-0.bpo.4-amd64



      Source Code

      1. root@omv-box:~# dpkg --configure --pending
      2. Setting up zfsutils-linux (0.7.12-2+deb10u1~bpo9+1) ...
      3. Job for zfs-mount.service failed because the control process exited with error code.
      4. See "systemctl status zfs-mount.service" and "journalctl -xe" for details.
      5. invoke-rc.d: initscript zfs-mount, action "start" failed.
      6. ● zfs-mount.service - Mount ZFS filesystems
      7. Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
      8. Active: failed (Result: exit-code) since Wed 2019-10-02 02:07:56 CEST; 13ms ago
      9. Docs: man:zfs(8)
      10. Process: 26964 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE)
      11. Main PID: 26964 (code=exited, status=1/FAILURE)
      12. Oct 02 02:07:56 omv-box systemd[1]: Starting Mount ZFS filesystems...
      13. Oct 02 02:07:56 omv-box zfs[26964]: The ZFS modules are not loaded.
      14. Oct 02 02:07:56 omv-box zfs[26964]: Try running '/sbin/modprobe zfs' as root to load them.
      15. Oct 02 02:07:56 omv-box systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE
      16. Oct 02 02:07:56 omv-box systemd[1]: Failed to start Mount ZFS filesystems.
      17. Oct 02 02:07:56 omv-box systemd[1]: zfs-mount.service: Unit entered failed state.
      18. Oct 02 02:07:56 omv-box systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
      19. dpkg: error processing package zfsutils-linux (--configure):
      20. subprocess installed post-installation script returned error exit status 1
      21. dpkg: dependency problems prevent configuration of zfs-zed:
      22. zfs-zed depends on zfsutils-linux (>= 0.7.12-2+deb10u1~bpo9+1); however:
      23. Package zfsutils-linux is not configured yet.
      24. dpkg: error processing package zfs-zed (--configure):
      25. dependency problems - leaving unconfigured
      26. dpkg: dependency problems prevent configuration of openmediavault-zfs:
      27. openmediavault-zfs depends on zfsutils-linux; however:
      28. Package zfsutils-linux is not configured yet.
      29. openmediavault-zfs depends on zfs-zed; however:
      30. Package zfs-zed is not configured yet.
      31. dpkg: error processing package openmediavault-zfs (--configure):
      32. dependency problems - leaving unconfigured
      33. Errors were encountered while processing:
      34. zfsutils-linux
      35. zfs-zed
      36. openmediavault-zfs
      37. root@omv-box:~#
      Display All


      Trying to add kernel headers seems that only v5 and v6 are available:

      Source Code

      1. root@omv-box:~# apt-get install linux-headers-4.19.0-0.bpo
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. Note, selecting 'linux-headers-4.19.0-0.bpo.5-all-amd64' for regex 'linux-headers-4.19.0-0.bpo'
      6. Note, selecting 'linux-headers-4.19.0-0.bpo.5-cloud-amd64' for regex 'linux-headers-4.19.0-0.bpo'
      7. Note, selecting 'linux-headers-4.19.0-0.bpo.5-amd64' for regex 'linux-headers-4.19.0-0.bpo'
      8. Note, selecting 'linux-headers-4.19.0-0.bpo.6-all' for regex 'linux-headers-4.19.0-0.bpo'
      9. Note, selecting 'linux-headers-4.19.0-0.bpo.6-amd64' for regex 'linux-headers-4.19.0-0.bpo'
      10. Note, selecting 'linux-headers-4.19.0-0.bpo.6-all-amd64' for regex 'linux-headers-4.19.0-0.bpo'
      11. Note, selecting 'linux-headers-4.19.0-0.bpo.5-common-rt' for regex 'linux-headers-4.19.0-0.bpo'
      12. Note, selecting 'linux-headers-4.19.0-0.bpo.6-common' for regex 'linux-headers-4.19.0-0.bpo'
      13. Note, selecting 'linux-headers-4.19.0-0.bpo.5-rt-amd64' for regex 'linux-headers-4.19.0-0.bpo'
      14. Note, selecting 'linux-headers-4.19.0-0.bpo.6-cloud-amd64' for regex 'linux-headers-4.19.0-0.bpo'
      15. Note, selecting 'linux-headers-4.19.0-0.bpo.6-common-rt' for regex 'linux-headers-4.19.0-0.bpo'
      16. Note, selecting 'linux-headers-4.19.0-0.bpo.5-all' for regex 'linux-headers-4.19.0-0.bpo'
      17. Note, selecting 'linux-headers-4.19.0-0.bpo.6-rt-amd64' for regex 'linux-headers-4.19.0-0.bpo'
      18. Note, selecting 'linux-headers-4.19.0-0.bpo.5-common' for regex 'linux-headers-4.19.0-0.bpo'
      19. linux-headers-4.19.0-0.bpo.6-amd64 is already the newest version (4.19.67-2~bpo9+1).
      20. linux-headers-4.19.0-0.bpo.6-amd64 set to manually installed.
      21. linux-headers-4.19.0-0.bpo.6-common is already the newest version (4.19.67-2~bpo9+1).
      22. linux-headers-4.19.0-0.bpo.6-common set to manually installed.
      23. The following NEW packages will be installed:
      24. linux-headers-4.19.0-0.bpo.5-all linux-headers-4.19.0-0.bpo.5-all-amd64 linux-headers-4.19.0-0.bpo.5-amd64
      25. linux-headers-4.19.0-0.bpo.5-cloud-amd64 linux-headers-4.19.0-0.bpo.5-common linux-headers-4.19.0-0.bpo.5-common-rt
      26. linux-headers-4.19.0-0.bpo.5-rt-amd64 linux-headers-4.19.0-0.bpo.6-all linux-headers-4.19.0-0.bpo.6-all-amd64
      27. linux-headers-4.19.0-0.bpo.6-cloud-amd64 linux-headers-4.19.0-0.bpo.6-common-rt linux-headers-4.19.0-0.bpo.6-rt-amd64
      28. 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
      29. 3 not fully installed or removed.
      30. Need to get 25.7 MB of archives.
      31. After this operation, 148 MB of additional disk space will be used.
      32. Do you want to continue? [Y/n]
      Display All
      Do I need backports somehow? or is there another easy trick?

      Thanks in advance
    • danzirulez wrote:

      Do I need backports somehow? or is there another easy trick?
      The Debian repo needs to be fixed. If you can't wait, use the proxmox kernel. There is a button in omv-extras to do that.
      omv 5.1.2 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.1.7
      omv-extras.org plugins source code and issue tracker - github

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