Issues installing ZFS plugin

    • OMV 4.x

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

    • Issues installing ZFS plugin

      Source Code

      1. Reading package lists...
      2. Building dependency tree...
      3. Reading state information...
      4. The following additional packages will be installed:
      5. dkms gcc libnvpair1linux libuutil1linux libzfs2linux libzpool2linux
      6. linux-headers-amd64 patch spl-dkms zfs-dkms zfs-zed zfsutils-linux
      7. Suggested packages:
      8. python3-apport menu gcc-multilib manpages-dev autoconf automake libtool flex
      9. bison gdb gcc-doc ed diffutils-doc zfs-initramfs | zfs-dracut
      10. Recommended packages:
      11. fakeroot spl
      12. The following NEW packages will be installed:
      13. dkms gcc libnvpair1linux libuutil1linux libzfs2linux libzpool2linux
      14. linux-headers-amd64 openmediavault-zfs patch spl-dkms zfs-dkms zfs-zed
      15. zfsutils-linux
      16. Preconfiguring packages ...
      17. 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
      18. Need to get 0 B/2707 kB of archives.
      19. After this operation, 15.6 MB of additional disk space will be used.
      20. Selecting previously unselected package gcc.
      21. (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 58986 files and directories currently installed.)
      22. Preparing to unpack .../gcc_4%3a6.3.0-4_amd64.deb ...
      23. Unpacking gcc (4:6.3.0-4) ...
      24. Selecting previously unselected package patch.
      25. Preparing to unpack .../patch_2.7.5-1+b2_amd64.deb ...
      26. Unpacking patch (2.7.5-1+b2) ...
      27. Selecting previously unselected package dkms.
      28. Preparing to unpack .../archives/dkms_2.3-2_all.deb ...
      29. Unpacking dkms (2.3-2) ...
      30. Selecting previously unselected package spl-dkms.
      31. Preparing to unpack .../spl-dkms_0.6.5.11-1~bpo9+1_all.deb ...
      32. Unpacking spl-dkms (0.6.5.11-1~bpo9+1) ...
      33. Setting up gcc (4:6.3.0-4) ...
      34. Setting up patch (2.7.5-1+b2) ...
      35. Setting up dkms (2.3-2) ...
      36. Setting up spl-dkms (0.6.5.11-1~bpo9+1) ...
      37. Loading new spl-0.6.5.11 DKMS files...
      38. Building for 4.13.0-0.bpo.1-amd64
      39. Building initial module for 4.13.0-0.bpo.1-amd64
      40. Error! Bad return status for module build on kernel: 4.13.0-0.bpo.1-amd64 (x86_64)
      41. Consult /var/lib/dkms/spl/0.6.5.11/build/make.log for more information.
      42. Selecting previously unselected package zfs-dkms.
      43. (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 59369 files and directories currently installed.)
      44. Preparing to unpack .../0-zfs-dkms_0.6.5.11-1~bpo9+1_all.deb ...
      45. Unpacking zfs-dkms (0.6.5.11-1~bpo9+1) ...
      46. Selecting previously unselected package libuutil1linux.
      47. Preparing to unpack .../1-libuutil1linux_0.6.5.11-1~bpo9+1_amd64.deb ...
      48. Unpacking libuutil1linux (0.6.5.11-1~bpo9+1) ...
      49. Selecting previously unselected package libnvpair1linux.
      50. Preparing to unpack .../2-libnvpair1linux_0.6.5.11-1~bpo9+1_amd64.deb ...
      51. Unpacking libnvpair1linux (0.6.5.11-1~bpo9+1) ...
      52. Selecting previously unselected package libzpool2linux.
      53. Preparing to unpack .../3-libzpool2linux_0.6.5.11-1~bpo9+1_amd64.deb ...
      54. Unpacking libzpool2linux (0.6.5.11-1~bpo9+1) ...
      55. Selecting previously unselected package libzfs2linux.
      56. Preparing to unpack .../4-libzfs2linux_0.6.5.11-1~bpo9+1_amd64.deb ...
      57. Unpacking libzfs2linux (0.6.5.11-1~bpo9+1) ...
      58. Selecting previously unselected package linux-headers-amd64.
      59. Preparing to unpack .../5-linux-headers-amd64_4.13+86~bpo9+1_amd64.deb ...
      60. Unpacking linux-headers-amd64 (4.13+86~bpo9+1) ...
      61. Selecting previously unselected package zfsutils-linux.
      62. Preparing to unpack .../6-zfsutils-linux_0.6.5.11-1~bpo9+1_amd64.deb ...
      63. Unpacking zfsutils-linux (0.6.5.11-1~bpo9+1) ...
      64. Selecting previously unselected package zfs-zed.
      65. Preparing to unpack .../7-zfs-zed_0.6.5.11-1~bpo9+1_amd64.deb ...
      66. Unpacking zfs-zed (0.6.5.11-1~bpo9+1) ...
      67. Selecting previously unselected package openmediavault-zfs.
      68. Preparing to unpack .../8-openmediavault-zfs_4.0_amd64.deb ...
      69. Unpacking openmediavault-zfs (4.0) ...
      70. Setting up linux-headers-amd64 (4.13+86~bpo9+1) ...
      71. Setting up libuutil1linux (0.6.5.11-1~bpo9+1) ...
      72. Setting up libnvpair1linux (0.6.5.11-1~bpo9+1) ...
      73. Processing triggers for libc-bin (2.24-11+deb9u1) ...
      74. Setting up zfs-dkms (0.6.5.11-1~bpo9+1) ...
      75. Loading new zfs-0.6.5.11 DKMS files...
      76. Building for 4.13.0-0.bpo.1-amd64
      77. Building initial module for 4.13.0-0.bpo.1-amd64
      78. configure: error:
      79. *** Please make sure the kmod spl devel <kernel> package for your
      80. *** distribution is installed then try again. If that fails you
      81. *** can specify the location of the spl objects with the
      82. *** '--with-spl-obj=PATH' option.
      83. Error! Bad return status for module build on kernel: 4.13.0-0.bpo.1-amd64 (x86_64)
      84. Consult /var/lib/dkms/zfs/0.6.5.11/build/make.log for more information.
      85. Processing triggers for openmediavault (4.0.12-1) ...
      86. Restarting engine daemon ...
      87. Setting up libzpool2linux (0.6.5.11-1~bpo9+1) ...
      88. Setting up libzfs2linux (0.6.5.11-1~bpo9+1) ...
      89. Setting up zfsutils-linux (0.6.5.11-1~bpo9+1) ...
      90. Created symlink /etc/systemd/system/zfs-mount.service.wants/zfs-import-cache.service -> /lib/systemd/system/zfs-import-cache.service.
      91. Created symlink /etc/systemd/system/zfs.target.wants/zfs-import-cache.service -> /lib/systemd/system/zfs-import-cache.service.
      92. Created symlink /etc/systemd/system/zfs-share.service.wants/zfs-mount.service -> /lib/systemd/system/zfs-mount.service.
      93. Created symlink /etc/systemd/system/zfs.target.wants/zfs-mount.service -> /lib/systemd/system/zfs-mount.service.
      94. Created symlink /etc/systemd/system/zfs.target.wants/zfs-share.service -> /lib/systemd/system/zfs-share.service.
      95. Created symlink /etc/systemd/system/multi-user.target.wants/zfs.target -> /lib/systemd/system/zfs.target.
      96. zfs-import-scan.service is a disabled or a static unit, not starting it.
      97. Job for zfs-mount.service failed because the control process exited with error code.
      98. See "systemctl status zfs-mount.service" and "journalctl -xe" for details.
      99. zfs-mount.service couldn't start.
      100. Job for zfs-share.service failed because the control process exited with error code.
      101. See "systemctl status zfs-share.service" and "journalctl -xe" for details.
      102. zfs-share.service couldn't start.
      103. Setting up zfs-zed (0.6.5.11-1~bpo9+1) ...
      104. Created symlink /etc/systemd/system/zed.service -> /lib/systemd/system/zfs-zed.service.
      105. Created symlink /etc/systemd/system/zfs.target.wants/zfs-zed.service -> /lib/systemd/system/zfs-zed.service.
      106. Setting up openmediavault-zfs (4.0) ...
      107. modprobe: FATAL: Module zfs not found in directory /lib/modules/4.13.0-0.bpo.1-amd64
      108. dpkg: error processing package openmediavault-zfs (--configure):
      109. subprocess installed post-installation script returned error exit status 1
      110. Processing triggers for libc-bin (2.24-11+deb9u1) ...
      111. Processing triggers for openmediavault (4.0.12-1) ...
      112. Restarting engine daemon ...
      113. Errors were encountered while processing:
      114. openmediavault-zfs
      Display All

      All this windows sysadmin work has made my linux game weak.
      Motherboard : SuperMicro X10SLL-F | i3-4170 @ 3.7ghz | 32gb ECC RAM
      PSU: EVGA 500w
      Case: Fractal Design Define R5
      Controller : Dell H310 flashed with IT Mode Firmware
      DATA: 8x3TB

      The post was edited 1 time, last by captainwtf ().

    • So then, When attempting to do anything in the dashboard, i get a error popup containing..


      Source Code

      1. Error #0: OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; zfs list -H -o name,mountpoint -t filesystem' with exit code '1': in /usr/share/php/openmediavault/system/process.inc:175 Stack trace: #0 /usr/share/omvzfs/Utils.php(398): OMV\System\Process->execute(Array, 1) #1 /usr/share/omvzfs/Filesystem.php(51): OMVModuleZFSUtil::exec('zfs list -H -o ...', Array, 1) #2 /usr/share/php/openmediavault/system/filesystem/backend/zfs.inc(32): OMVModuleZFSFilesystem::getAllFilesystems() #3 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(263): OMV\System\Filesystem\Backend\Zfs->enumerate() #4 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(804): OMV\System\Filesystem\Backend\Manager->enumerate() #5 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(67): OMV\System\Filesystem\Filesystem::getFilesystems() #6 [internal function]: OMVRpcServiceFileSystemMgmt->enumerateFilesystems(Array, Array) #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array) #8 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('enumerateFilesy...', Array, Array) #9 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('FileSystemMgmt', 'enumerateFilesy...', Array, Array, 1) #10 {main}
      Motherboard : SuperMicro X10SLL-F | i3-4170 @ 3.7ghz | 32gb ECC RAM
      PSU: EVGA 500w
      Case: Fractal Design Define R5
      Controller : Dell H310 flashed with IT Mode Firmware
      DATA: 8x3TB
    • Read the really long zfs thread. The zfs packages included with stretch don't compile on the 4.13 kernel. If you enable the omv-extras testing repo, you will get the zfs packages I built for Stretch from Debian Sid. These will compile on the 4.13 kernel.
      omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      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!
    • I saw something along these lines in the long ZFS thread, I guess I didn't get that part out of it that it required the testing repo.

      Now it's working.

      Appreciated.
      Motherboard : SuperMicro X10SLL-F | i3-4170 @ 3.7ghz | 32gb ECC RAM
      PSU: EVGA 500w
      Case: Fractal Design Define R5
      Controller : Dell H310 flashed with IT Mode Firmware
      DATA: 8x3TB
    • captainwtf wrote:

      I saw something along these lines in the long ZFS thread, I guess I didn't get that part out of it that it required the testing repo.
      The plugin doesn't require the testing repo. The 4.13 kernel requires the testing repo. If you installed the regular 4.9 kernel, you wouldn't need the testing repo.
      omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      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!
    • Well it seems for the most part its all working right now but now there are weird things like if I try to set ACL's on the share I set up, it gives me this,

      So my question is, Is there something I am missing?







      Source Code

      1. Error #0:
      2. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; setfacl --remove-all -M '/tmp/setfaclMo9OPQ' -- '/zVol1/DATA' 2>&1' with exit code '1': setfacl: /zVol1/DATA: Operation not supported in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:992
      3. Stack trace:
      4. #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMVRpcServiceShareMgmt->{closure}('/tmp/bgstatusPV...', '/tmp/bgoutputcQ...')
      5. #1 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(999): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure), NULL, Object(Closure))
      6. #2 [internal function]: OMVRpcServiceShareMgmt->setFileACL(Array, Array)
      7. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      8. #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setFileACL', Array, Array)
      9. #5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'setFileACL', Array, Array, 1)
      10. #6 {main}
      Prior to this I was getting communication errors, But after looking through the forums appears it may have just been a issue with some services not running, a reboot took care of that.
      Motherboard : SuperMicro X10SLL-F | i3-4170 @ 3.7ghz | 32gb ECC RAM
      PSU: EVGA 500w
      Case: Fractal Design Define R5
      Controller : Dell H310 flashed with IT Mode Firmware
      DATA: 8x3TB
    • captainwtf wrote:

      So my question is, Is there something I am missing?
      In the zfs plugin, click edit for the pool and change acltype to posixacl. I don't use zfs so I'm not 100% sure this will work.
      omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      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!
    • ryecoaaron wrote:

      captainwtf wrote:

      So my question is, Is there something I am missing?
      In the zfs plugin, click edit for the pool and change acltype to posixacl. I don't use zfs so I'm not 100% sure this will work.
      That took care of it I believe. You're pretty johnny on the spot with this stuff.

      I did a lot of shopping around for a distro for the home NAS, Ended up building a machine thats an i3-4170 on a Supermicro X10 board with 8gb of ECC memory, 750gb WD RE drive for OS & 5x3tb for the storage array, Is now recently upgraded to a i5-4570 w/ 32gb ECC mem & 5x3tb drives on a 1tb WD RE OS drive

      Started out with Windows server 2012 R2 at first using storage spaces & ReFS. Write performance is a bit touchy if you're not using SSD caching and you can't configure it after the fact... But from what I understand it doesn't matter how you set it up and how good the hardware is, it's kind of quirky. I just liked the potential benefits of ReFS & the idea behind having an array that wasn't dependent upon hardware such as a raid controller but storage spaces is quirky in terms of performance with unexplainable hiccups here and there

      Which is why I wanted to go back to ZFS, and out of everything I've played with, That does or does not support ZFS, OMV seems to have one of the smoothest solutions, some of the best plugins available, And some of the best community support available with plenty of active development from what I can tell.

      So now I'm just working on getting this thrown together and we'll see what happens.

      However I am curious as to why you do not use ZFS. And what are you using in your home setup for hardware?
      Motherboard : SuperMicro X10SLL-F | i3-4170 @ 3.7ghz | 32gb ECC RAM
      PSU: EVGA 500w
      Case: Fractal Design Define R5
      Controller : Dell H310 flashed with IT Mode Firmware
      DATA: 8x3TB
    • Issues installing ZFS plugin

      The zfs plugin works fine for me since one and a half year with omv3.

      At the moment I don’t use omv4, because I don’t have much time to play...

      Greetings Hoppel
      ---------------------------------------------------------------------------------------------------------------
      frontend software - tvos | android tv | libreelec | win10 | kodi krypton
      frontend hardware - appletv 4k | nvidia shield tv | odroid c2 | yamaha rx-a1020 | quadral chromium style 5.1 | samsung le40-a789r2
      -------------------------------------------
      backend software - debian | openmediavault | latest backport kernel | zfs raid-z2 | docker | emby | unifi | vdr | tvheadend | fhem
      backend hardware - supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
      ---------------------------------------------------------------------------------------------------------------------------------------
    • captainwtf wrote:

      However I am curious as to why you do not use ZFS. And what are you using in your home setup for hardware?
      I like to keep it simple with a filesystem (ext4) that I know how to recover from in the worst of cases. I do have a zfs pool on my dev VM but don't really do much with it.

      My main server is self built with an asrock rack motherboard with an E5-2697v3 and 64gb ECC running VMware ESXi 6.5. It has a few samsung ssds and a 1 TB Samsung 960 Pro NVME ssd for the VMs. My main fileserver OMV 4.x VM has three 4TB WD Red (ext4) and one 8TB Seagate Archive (btrfs) drives passed through to the VM. My backup server is a QNAP TS-451 running OMV 4.x with four 4TB WD Red Pros (xfs). My offline backup is another 8TB Seagate Archive (ext4) drive and an LTO-6 drive.
      omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      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!
    • My decision so far isn't set in stone, I am at a point where I can still change

      I just want resiliency, I don't want hardware or OS specific install dependency where if my hardware dies or the OS tanks I can just rebuild and import data.

      I don't want to worry about my data silently corrupting either.

      All I'm doing is creating a storage repository for my media content which I'll use Plex as well.

      The best solution is for me to have a 2nd copy of my data obviously. But since I'm remodeling my entire house it's not exactly in the budget to go out and buy myself a new NAS to have a 2nd copy, and once I get my gig internet in the next few months maybe I'll even offsite the content somewhere.

      But until then I'm just trying to come up with the best solution I can, with what I've currently got.
      Motherboard : SuperMicro X10SLL-F | i3-4170 @ 3.7ghz | 32gb ECC RAM
      PSU: EVGA 500w
      Case: Fractal Design Define R5
      Controller : Dell H310 flashed with IT Mode Firmware
      DATA: 8x3TB