ZFS not mounting - OMV 4.x

    • OMV 4.x (testing)
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • ZFS not mounting - OMV 4.x

      Hi

      Since I had to upgrade some stuff on my NAS I decided to go with OMV 4.x testing. The NAS is running just fine only ZFS doesn't mount after a reboot as the shared folders are created before the ZFS mount occurs
      and the ZFS refuses to mount. So each time I reboot the NAS I have to ssh in and delete the shared folders and mount the ZFS - then it is all good.

      This issues has been reported on the bugtracker:
      0001851
      0001827



      Both bug reports are marked as "solved" but foe me nothing has changed - so before I re-open the bug I wanted to ask if anyone else is having this issue or if it is just me

      thx
    • Same problem here:
      This is the detailt:
      This is the ZFS plugin:


      And this is the fyle system tab, as you can the Mount button is grayed out:


      Finally this is the status of the ZFS Mirror:

      Source Code

      1. Pool status (zpool status):
      2. pool: Telefilm
      3. state: ONLINE
      4. status: Some supported features are not enabled on the pool. The pool can
      5. still be used, but some features are unavailable.
      6. action: Enable all features using 'zpool upgrade'. Once this is done,
      7. the pool may no longer be accessible by software that does not support
      8. the features. See zpool-features(5) for details.
      9. scan: scrub repaired 0B in 2h4m with 0 errors on Sun Jan 14 02:28:11 2018
      10. config:
      11. NAME STATE READ WRITE CKSUM
      12. Telefilm ONLINE 0 0 0
      13. mirror-0 ONLINE 0 0 0
      14. ata-ST6000VN0041-2EL11C_ZA18QXJY ONLINE 0 0 0
      15. ata-ST6000VN0041-2EL11C_ZA18NGET ONLINE 0 0 0
      16. errors: No known data errors
      17. Pool details (zpool get all):
      18. NAME PROPERTY VALUE SOURCE
      19. Telefilm size 5.44T -
      20. Telefilm capacity 25% -
      21. Telefilm altroot - default
      22. Telefilm health ONLINE -
      23. Telefilm guid 7679897370632754335 -
      24. Telefilm version - default
      25. Telefilm bootfs - default
      26. Telefilm delegation on default
      27. Telefilm autoreplace off default
      28. Telefilm cachefile - default
      29. Telefilm failmode wait default
      30. Telefilm listsnapshots off default
      31. Telefilm autoexpand off default
      32. Telefilm dedupditto 0 default
      33. Telefilm dedupratio 1.00x -
      34. Telefilm free 4.05T -
      35. Telefilm allocated 1.39T -
      36. Telefilm readonly off -
      37. Telefilm ashift 12 local
      38. Telefilm comment - default
      39. Telefilm expandsize - -
      40. Telefilm freeing 0 -
      41. Telefilm fragmentation 13% -
      42. Telefilm leaked 0 -
      43. Telefilm multihost off default
      44. Telefilm feature@async_destroy enabled local
      45. Telefilm feature@empty_bpobj enabled local
      46. Telefilm feature@lz4_compress active local
      47. Telefilm feature@multi_vdev_crash_dump disabled local
      48. Telefilm feature@spacemap_histogram active local
      49. Telefilm feature@enabled_txg active local
      50. Telefilm feature@hole_birth active local
      51. Telefilm feature@extensible_dataset enabled local
      52. Telefilm feature@embedded_data active local
      53. Telefilm feature@bookmarks enabled local
      54. Telefilm feature@filesystem_limits enabled local
      55. Telefilm feature@large_blocks enabled local
      56. Telefilm feature@large_dnode disabled local
      57. Telefilm feature@sha512 disabled local
      58. Telefilm feature@skein disabled local
      59. Telefilm feature@edonr disabled local
      60. Telefilm feature@userobj_accounting disabled local
      61. Pool filesystem details (zfs get all):
      62. NAME PROPERTY VALUE SOURCE
      63. Telefilm type filesystem -
      64. Telefilm creation Mon Nov 13 21:32 2017 -
      65. Telefilm used 1.39T -
      66. Telefilm available 3.88T -
      67. Telefilm referenced 1.39T -
      68. Telefilm compressratio 1.00x -
      69. Telefilm mounted no -
      70. Telefilm quota none default
      71. Telefilm reservation none default
      72. Telefilm recordsize 128K default
      73. Telefilm mountpoint /ZFS local
      74. Telefilm sharenfs off default
      75. Telefilm checksum on default
      76. Telefilm compression off default
      77. Telefilm atime on default
      78. Telefilm devices on default
      79. Telefilm exec on default
      80. Telefilm setuid on default
      81. Telefilm readonly off default
      82. Telefilm zoned off default
      83. Telefilm snapdir hidden default
      84. Telefilm aclinherit passthrough local
      85. Telefilm createtxg 1 -
      86. Telefilm canmount on default
      87. Telefilm xattr sa local
      88. Telefilm copies 1 default
      89. Telefilm version 5 -
      90. Telefilm utf8only off -
      91. Telefilm normalization none -
      92. Telefilm casesensitivity sensitive -
      93. Telefilm vscan off default
      94. Telefilm nbmand off default
      95. Telefilm sharesmb off default
      96. Telefilm refquota none default
      97. Telefilm refreservation none default
      98. Telefilm guid 14519610477277114164 -
      99. Telefilm primarycache all default
      100. Telefilm secondarycache all default
      101. Telefilm usedbysnapshots 0B -
      102. Telefilm usedbydataset 1.39T -
      103. Telefilm usedbychildren 3.70M -
      104. Telefilm usedbyrefreservation 0B -
      105. Telefilm logbias latency default
      106. Telefilm dedup off default
      107. Telefilm mlslabel none default
      108. Telefilm sync standard default
      109. Telefilm dnodesize legacy default
      110. Telefilm refcompressratio 1.00x -
      111. Telefilm written 1.39T -
      112. Telefilm logicalused 1.39T -
      113. Telefilm logicalreferenced 1.39T -
      114. Telefilm volmode default default
      115. Telefilm filesystem_limit none default
      116. Telefilm snapshot_limit none default
      117. Telefilm filesystem_count none default
      118. Telefilm snapshot_count none default
      119. Telefilm snapdev hidden default
      120. Telefilm acltype posixacl local
      121. Telefilm context none default
      122. Telefilm fscontext none default
      123. Telefilm defcontext none default
      124. Telefilm rootcontext none default
      125. Telefilm relatime off default
      126. Telefilm redundant_metadata all default
      127. Telefilm overlay off default
      Display All
      Intel G4400 - Asrock H170M pro4s - 8GB ram - 2x4TB WD RED in RAID1 - 1TB Seagate 7200.12
      OMV 3.0.79 - Kernel 4.9 backport 3 - omvextrasorg 3.4.25
    • No, and i really can't help here anymore because i'm not using ZFS and i'm not the maintainer of the ZFS plugin. The GIT commit github.com/openmediavault/open…a81a3d1329dc0b98996673e09 has added the zfs-mount dependency in hope to get it working. It works during my tests, so i'm out of ideas. Maybe this is the time for users to contribute to the OMV project by investigating into this issue to get it working.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • solved the problem thanks to the log:
      1. uninstalled ZFs plugin
      2. deleted every folder inside /ZFS after checking that they were empty
      3. installed the plug-in, now the ZFS pool isn't already imported
      4. imported my pool and now is working
      Intel G4400 - Asrock H170M pro4s - 8GB ram - 2x4TB WD RED in RAID1 - 1TB Seagate 7200.12
      OMV 3.0.79 - Kernel 4.9 backport 3 - omvextrasorg 3.4.25
    • Blabla wrote:

      solved the problem thanks to the log:
      1. uninstalled ZFs plugin
      2. deleted every folder inside /ZFS after checking that they were empty
      3. installed the plug-in, now the ZFS pool isn't already imported
      4. imported my pool and now is working

      Reboot and tell me if everything is working properly. IMO there are still some issues with sharedfolders units and zfs mount, especially on big pools.
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • Good to know.


      @votdev have you though about instead of using Requires=, just create a custom target for those units that run at last, maybe even after multi-user.target?. Hypothetically tomorrow we can have a "yfs" that also does not obey fstab rules, then if we have a plugin you will have to add another Requires= for that particular "yfs"

      If there is a custom target, then we can work it from the plugin using systemd overrides that can be shipped from the package. Just an idea
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • New

      subzero79 wrote:

      Good to know.


      @votdev have you though about instead of using Requires=, just create a custom target for those units that run at last, maybe even after multi-user.target?. Hypothetically tomorrow we can have a "yfs" that also does not obey fstab rules, then if we have a plugin you will have to add another Requires= for that particular "yfs"

      If there is a custom target, then we can work it from the plugin using systemd overrides that can be shipped from the package. Just an idea

      Hi

      @votdev
      @subzero79

      thx for the feedback. As @Blabla die I will remove my ZFS installation and re-intsall the plugin from scratch in the next days. I will let u know if that hepls.