ZFS missing after update

    • OMV 4.x
    • I don't know why "linux-image-amd64" might be missing but it was! :-/

      Anyway, I managed to upgrade to the 4.19 kernel by:
      apt-get install linux-image-amd64
      which complained about the headers missing, so
      apt-get install linux-headers-4.19.0-0.bpo.5-amd64


      rebooted and voila':

      # uname -a Linux willy 4.19.0-0.bpo.5-amd64 #1 SMP Debian 4.19.37-4~bpo9+1 (2019-06-19) x86_64 GNU/Linux

      That's a step forward, but unfortunately the zfs plugin installation is still failing:

      Source Code

      1. # apt-get install openmediavault-zfs
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. openmediavault-zfs is already the newest version (4.0.4).
      6. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      7. 3 not fully installed or removed.
      8. After this operation, 0 B of additional disk space will be used.
      9. Do you want to continue? [Y/n]
      10. Setting up zfsutils-linux (0.7.12-2+deb10u1~bpo9+1) ...
      11. Job for zfs-mount.service failed because the control process exited with error code.
      12. See "systemctl status zfs-mount.service" and "journalctl -xe" for details.
      13. invoke-rc.d: initscript zfs-mount, action "start" failed.
      14. ● zfs-mount.service - Mount ZFS filesystems
      15. Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
      16. Active: failed (Result: exit-code) since Tue 2019-08-13 23:00:20 UTC; 5ms ago
      17. Docs: man:zfs(8)
      18. Process: 23287 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE)
      19. Main PID: 23287 (code=exited, status=1/FAILURE)
      20. CPU: 1ms
      21. Aug 13 23:00:20 willy systemd[1]: Starting Mount ZFS filesystems...
      22. Aug 13 23:00:20 willy zfs[23287]: The ZFS modules are not loaded.
      23. Aug 13 23:00:20 willy zfs[23287]: Try running '/sbin/modprobe zfs' as root to load them.
      24. Aug 13 23:00:20 willy systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE
      25. Aug 13 23:00:20 willy systemd[1]: Failed to start Mount ZFS filesystems.
      26. Aug 13 23:00:20 willy systemd[1]: zfs-mount.service: Unit entered failed state.
      27. Aug 13 23:00:20 willy systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
      28. dpkg: error processing package zfsutils-linux (--configure):
      29. subprocess installed post-installation script returned error exit status 1
      30. dpkg: dependency problems prevent configuration of zfs-zed:
      31. zfs-zed depends on zfsutils-linux (>= 0.7.12-2+deb10u1~bpo9+1); however:
      32. Package zfsutils-linux is not configured yet.
      33. dpkg: error processing package zfs-zed (--configure):
      34. dependency problems - leaving unconfigured
      35. dpkg: dependency problems prevent configuration of openmediavault-zfs:
      36. openmediavault-zfs depends on zfsutils-linux; however:
      37. Package zfsutils-linux is not configured yet.
      38. openmediavault-zfs depends on zfs-zed; however:
      39. Package zfs-zed is not configured yet.
      40. dpkg: error processing package openmediavault-zfs (--configure):
      41. dependency problems - leaving unconfigured
      42. Errors were encountered while processing:
      43. zfsutils-linux
      44. zfs-zed
      45. openmediavault-zfs
      46. E: Sub-process /usr/bin/dpkg returned an error code (1)
      Display All
    • I would purge the plugin and reinstall. zfs has a lot of packages and quite a few of yours were install correctly and your reinstall never compiled the zfs module (proxmox kernel doesn't require the compile).
      omv 4.1.23 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      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!
    • OK. I've got zfs and zpool installed now.

      The purging didn't help in my case. For everyone's benefit, this is what worked for me.

      First of all make sure you have the 4.19 kernel (as per ryecoaaron's suggestion).

      Then when installing the "openmediavault-zfs" plugin , if you get errors like I posted above, make sure you load the zfs module with:
      /sbin/modprobe zfs

      Then install the plugin again. I got the below output:

      Source Code

      1. # apt-get install openmediavault-zfs
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. openmediavault-zfs is already the newest version (4.0.4).
      6. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      7. 3 not fully installed or removed.
      8. After this operation, 0 B of additional disk space will be used.
      9. Do you want to continue? [Y/n]
      10. Setting up zfsutils-linux (0.7.12-2+deb10u1~bpo9+1) ...
      11. zfs-import-scan.service is a disabled or a static unit, not starting it.
      12. Setting up zfs-zed (0.7.12-2+deb10u1~bpo9+1) ...
      13. Created symlink /etc/systemd/system/zed.service → /lib/systemd/system/zfs-zed.service.
      14. Created symlink /etc/systemd/system/zfs.target.wants/zfs-zed.service → /lib/systemd/system/zfs-zed.service.
      15. Setting up openmediavault-zfs (4.0.4) ...
      16. + . /etc/default/openmediavault
      17. ++ OMV_CONFIG_FILE=/etc/openmediavault/config.xml
      18. ++ OMV_CONFIG_TEMPLATE_FILE=/usr/share/openmediavault/templates/config.xml
      19. ++ OMV_PRODUCTINFO_FILE=/usr/share/openmediavault/productinfo.xml
      20. ++ OMV_SCRIPTS_DIR=/usr/share/openmediavault/scripts
      21. ++ OMV_DATAMODELS_DIR=/usr/share/openmediavault/datamodels
      22. ++ OMV_I18N_LOCALE_DIR=/usr/share/openmediavault/locale
      23. ++ OMV_MOUNT_DIR=/srv
      24. ++ OMV_SHAREDFOLDERS_DIR=/sharedfolders
      25. ++ OMV_NFSD_EXPORT_DIR=/export
      26. ++ OMV_CACHE_DIR=/var/cache/openmediavault
      27. ++ OMV_LOG_DIR=/var/log/openmediavault
      28. ++ OMV_SSL_CERTIFICATE_DIR=/etc/ssl
      29. ++ OMV_SSL_CERTIFICATE_PREFIX=openmediavault-
      30. ++ OMV_SSH_KEYS_DIR=/etc/ssh
      31. ++ OMV_SSH_KEY_PREFIX=openmediavault-
      32. ++ OMV_DPKGARCHIVE_DIR=/var/cache/openmediavault/archives
      33. ++ OMV_DOCUMENTROOT_DIR=/var/www/openmediavault
      34. ++ OMV_CRONSCRIPTS_DIR=/var/lib/openmediavault/cron.d
      35. ++ OMV_CONFIGIMPORT_SCRIPTS_DIR=/usr/share/openmediavault/configimport
      36. ++ OMV_MKCONF_SCRIPTS_DIR=/usr/share/openmediavault/mkconf
      37. ++ OMV_ENGINED_DIR=/usr/share/openmediavault/engined
      38. ++ OMV_ENGINED_SO_ADDRESS=/var/lib/openmediavault/engined.sock
      39. ++ OMV_ENGINED_SO_OWNERGROUP_NAME=openmediavault-engined
      40. ++ OMV_ENGINED_SO_SNDTIMEO=10
      41. ++ OMV_ENGINED_SO_RCVTIMEO=180
      42. ++ OMV_ENGINED_DIRTY_MODULES_FILE=/var/lib/openmediavault/dirtymodules.json
      43. ++ OMV_INITSYSTEM_SCRIPTS_DIR=/usr/share/openmediavault/initsystem
      44. ++ OMV_INITSYSTEM_FILE=/var/lib/openmediavault/initsystem.req
      45. ++ OMV_USERMGMT_DEFAULT_GROUP=users
      46. ++ OMV_RRDGRAPH_DIR=/var/lib/openmediavault/rrd
      47. ++ OMV_RRDGRAPH_ERROR_IMAGE=/usr/share/openmediavault/icons/rrd_graph_error_64.png
      48. ++ OMV_WEBGUI_FILE_OWNERGROUP_NAME=openmediavault-webgui
      49. ++ OMV_CONFIGOBJECT_NEW_UUID=fa4b1c66-ef79-11e5-87a0-0002b3a176b4
      50. ++ OMV_DEBUG_SCRIPT=NO
      51. ++ OMV_DEBUG_PHP=NO
      52. ++ OMV_DEBUG_EXTJS=NO
      53. ++ OMV_APT_USE_KERNEL_BACKPORTS=YES
      54. + . /usr/share/openmediavault/scripts/helper-functions
      55. ++ . /etc/default/openmediavault
      56. +++ OMV_CONFIG_FILE=/etc/openmediavault/config.xml
      57. +++ OMV_CONFIG_TEMPLATE_FILE=/usr/share/openmediavault/templates/config.xml
      58. +++ OMV_PRODUCTINFO_FILE=/usr/share/openmediavault/productinfo.xml
      59. +++ OMV_SCRIPTS_DIR=/usr/share/openmediavault/scripts
      60. +++ OMV_DATAMODELS_DIR=/usr/share/openmediavault/datamodels
      61. +++ OMV_I18N_LOCALE_DIR=/usr/share/openmediavault/locale
      62. +++ OMV_MOUNT_DIR=/srv
      63. +++ OMV_SHAREDFOLDERS_DIR=/sharedfolders
      64. +++ OMV_NFSD_EXPORT_DIR=/export
      65. +++ OMV_CACHE_DIR=/var/cache/openmediavault
      66. +++ OMV_LOG_DIR=/var/log/openmediavault
      67. +++ OMV_SSL_CERTIFICATE_DIR=/etc/ssl
      68. +++ OMV_SSL_CERTIFICATE_PREFIX=openmediavault-
      69. +++ OMV_SSH_KEYS_DIR=/etc/ssh
      70. +++ OMV_SSH_KEY_PREFIX=openmediavault-
      71. +++ OMV_DPKGARCHIVE_DIR=/var/cache/openmediavault/archives
      72. +++ OMV_DOCUMENTROOT_DIR=/var/www/openmediavault
      73. +++ OMV_CRONSCRIPTS_DIR=/var/lib/openmediavault/cron.d
      74. +++ OMV_CONFIGIMPORT_SCRIPTS_DIR=/usr/share/openmediavault/configimport
      75. +++ OMV_MKCONF_SCRIPTS_DIR=/usr/share/openmediavault/mkconf
      76. +++ OMV_ENGINED_DIR=/usr/share/openmediavault/engined
      77. +++ OMV_ENGINED_SO_ADDRESS=/var/lib/openmediavault/engined.sock
      78. +++ OMV_ENGINED_SO_OWNERGROUP_NAME=openmediavault-engined
      79. +++ OMV_ENGINED_SO_SNDTIMEO=10
      80. +++ OMV_ENGINED_SO_RCVTIMEO=180
      81. +++ OMV_ENGINED_DIRTY_MODULES_FILE=/var/lib/openmediavault/dirtymodules.json
      82. +++ OMV_INITSYSTEM_SCRIPTS_DIR=/usr/share/openmediavault/initsystem
      83. +++ OMV_INITSYSTEM_FILE=/var/lib/openmediavault/initsystem.req
      84. +++ OMV_USERMGMT_DEFAULT_GROUP=users
      85. +++ OMV_RRDGRAPH_DIR=/var/lib/openmediavault/rrd
      86. +++ OMV_RRDGRAPH_ERROR_IMAGE=/usr/share/openmediavault/icons/rrd_graph_error_64.png
      87. +++ OMV_WEBGUI_FILE_OWNERGROUP_NAME=openmediavault-webgui
      88. +++ OMV_CONFIGOBJECT_NEW_UUID=fa4b1c66-ef79-11e5-87a0-0002b3a176b4
      89. +++ OMV_DEBUG_SCRIPT=NO
      90. +++ OMV_DEBUG_PHP=NO
      91. +++ OMV_DEBUG_EXTJS=NO
      92. +++ OMV_APT_USE_KERNEL_BACKPORTS=YES
      93. ++ OMV_XMLSTARLET_GET_SHAREDFOLDER_PATH='-m //system/shares/sharedfolder[uuid=current()/sharedfolderref] -v concat(//system/fstab/mntent[uuid=current()/mntentref]/dir,'\''/'\'',reldirpath) -b'
      94. ++ OMV_XMLSTARLET_GET_SHAREDFOLDER_NAME='-m //system/shares/sharedfolder[uuid=current()/sharedfolderref] -v name -b'
      95. ++ OMV_XMLSTARLET_GET_SHAREDFOLDER_MOUNT_DIR='-m //system/shares/sharedfolder[uuid=current()/sharedfolderref] -v concat(//system/fstab/mntent[uuid=current()/mntentref]/dir,'\''/'\'',reldirpath) -b'
      96. + case "$1" in
      97. + SERVICE_XPATH_NAME=zfs
      98. + SERVICE_XPATH=/config/services/zfs
      99. ++ omv_uuid
      100. ++ uuid -v 4
      101. + object='<uuid>bb2f842d-1e3b-4b67-8c56-54cd159c026b</uuid>'
      102. + object='<uuid>bb2f842d-1e3b-4b67-8c56-54cd159c026b</uuid><id>zfs</id>'
      103. + object='<uuid>bb2f842d-1e3b-4b67-8c56-54cd159c026b</uuid><id>zfs</id><enable>0</enable>'
      104. + omv_config_add_node_data /config/system/notification/notifications notification '<uuid>bb2f842d-1e3b-4b67-8c56-54cd159c026b</uuid><id>zfs</id><enable>0</enable>'
      105. + local xpath name data tmpdata tmpfile
      106. + xpath=/config/system/notification/notifications
      107. + name=notification
      108. + data='<uuid>bb2f842d-1e3b-4b67-8c56-54cd159c026b</uuid><id>zfs</id><enable>0</enable>'
      109. ++ tempfile
      110. + tmpfile=/tmp/fileMb5Tam
      111. ++ mktemp --dry-run XXXXXXXXXXXX
      112. + tmpdata=v1ojYP8YSlLr
      113. + xmlstarlet edit -P -s /config/system/notification/notifications -t elem -n notification -v v1ojYP8YSlLr /etc/openmediavault/config.xml
      114. + tee /tmp/fileMb5Tam
      115. ++ omv_quotemeta '<uuid>bb2f842d-1e3b-4b67-8c56-54cd159c026b</uuid><id>zfs</id><enable>0</enable>'
      116. ++ echo -n '<uuid>bb2f842d-1e3b-4b67-8c56-54cd159c026b</uuid><id>zfs</id><enable>0</enable>'
      117. ++ sed -e 's/\\/\\\\/g' -e 's/\//\\\//g' -e 's/&/\\\&/g'
      118. + sed -i 's/v1ojYP8YSlLr/<uuid>bb2f842d-1e3b-4b67-8c56-54cd159c026b<\/uuid><id>zfs<\/id><enable>0<\/enable>/' /tmp/fileMb5Tam
      119. + cat /tmp/fileMb5Tam
      120. + rm -f -- /tmp/fileMb5Tam
      121. + rm -f /etc/insserv/overrides/zfs-mount
      122. + /sbin/modprobe zfs
      123. + dpkg --compare-versions '' lt-nl 4.0.3
      124. + echo 'New plugin install, not inserting uuid property into existing datasets'
      125. New plugin install, not inserting uuid property into existing datasets
      126. + echo zfs
      127. + dpkg-trigger update-fixperms
      128. + dpkg-trigger update-locale
      129. + exit 0
      130. Processing triggers for systemd (232-25+deb9u11) ...
      131. Processing triggers for openmediavault (4.1.23-1) ...
      132. Updating locale files ...
      133. Updating file permissions ...
      134. Purging internal cache ...
      135. Restarting engine daemon ...
      136. [..]
      137. W: APT had planned for dpkg to do more than it reported back (6 vs 10).
      138. Affected packages: zfsutils-linux:amd64
      Display All

      i hope it helps.

      Thanks for the support ryecoaaron! ;)
    • Users Online 2

      2 Guests

    • Tags