ZFS plugin - some errors during installation. Should i worry?

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

    • ZFS plugin - some errors during installation. Should i worry?

      Hi
      Ive installed OMV for backups in company i work for and ive got some errors during ZFS plugin installation. But plugin itself seem to work ok. I had similar errors on my home machine but my old ZFS pool has been imported fine and i had no issues with it so far.

      So should i worry about those errors? Heres an installation log (the part with errors)

      Source Code

      1. Building initial module for 4.16.0-0.bpo.1-amd64
      2. /var/lib/dkms/zfs/0.7.9/build/configure: line 13069: dpkg-architecture: command not found
      3. configure: error:
      4. *** Please make sure the kmod spl devel <kernel> package for your
      5. *** distribution is installed then try again. If that fails you
      6. *** can specify the location of the spl objects with the
      7. *** '--with-spl-obj=PATH' option. Failed to find spl_config.h in
      8. *** any of the following:
      9. /usr/src/spl-0.7.9/4.16.0-0.bpo.1-amd64
      10. /usr/src/spl-0.7.9
      11. Error! Bad return status for module build on kernel: 4.16.0-0.bpo.1-amd64 (x86_64)
      12. Consult /var/lib/dkms/zfs/0.7.9/build/make.log for more information.
      13. Setting up linux-headers-4.16.0-0.bpo.1-amd64 (4.16.5-1~bpo9+1) ...
      14. /etc/kernel/header_postinst.d/dkms:
      15. cp: cannot stat '/var/lib/dkms/spl/0.7.9/build/spl_config.h': No such file or directory
      16. cp: cannot stat '/var/lib/dkms/spl/0.7.9/build/module/Module.symvers': No such file or directory
      17. /var/lib/dkms/zfs/0.7.9/build/configure: line 13069: dpkg-architecture: command not found
      18. Processing triggers for openmediavault (4.1.8-1) ...
      19. Restarting engine daemon ...
      20. 'omv-engined' trying to restart
      21. 'omv-engined' stop: '/bin/systemctl stop openmediavault-engined'
      22. 'omv-engined' start: '/bin/systemctl start openmediavault-engined'
      23. ....
      24. AND AT THE END
      25. ...
      26. Processing triggers for libc-bin (2.24-11+deb9u3) ...
      27. Processing triggers for openmediavault (4.1.8-1) ...
      28. Updating locale files ...
      29. Updating file permissions ...
      30. Purging internal cache ...
      31. Restarting engine daemon ...
      32. 'omv-engined' trying to restart
      33. 'omv-engined' stop: '/bin/systemctl stop openmediavault-engined'
      34. 'omv-engined' start: '/bin/systemctl start openmediavault-engined'
      35. Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f22cbe386a8>
      36. Traceback (most recent call last):
      37. File "/usr/lib/python3.5/weakref.py", line 117, in remove
      38. TypeError: 'NoneType' object is not callable
      39. Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f22cbe386a8>
      40. Traceback (most recent call last):
      41. File "/usr/lib/python3.5/weakref.py", line 117, in remove
      42. TypeError: 'NoneType' object is not callable
      43. done ...
      Display All
    • Ok, ive tried to make a ZFS pool and it threw an error, something about PATH and not having ZFS module? I tried to uninstall it and install again, manually install headers (which i couldnt do because i couldnt get headers because my gcc version was too old and i couldnt install newer????) and even reinstall OMV4 - none worked. Then i gave up and installed OMV3. Again errors while compiling ZFS (many empty lines like "ERROR >>>>>> "). Reinstallation didnt work either. So i come to conlclusion that OMV is to "dodgy" for production use and probably i will take either pure debian + open zfs or will go even further and install OpenIndiana + Napp IT
    • doman18 wrote:

      i come to conlclusion that OMV is to "dodgy" for production use
      Please don't put OMV in the same category as your experience with zfs. OMV doesn't create the zfs packages.

      doman18 wrote:

      probably i will take either pure debian + open zfs
      OMV is pure debian and uses openzfs from the debian repos.

      Have you read the long zfs thread? Otherwise, install OMV 4.x and omv-extras. Then enable the omv-extras testing repo and install the latest omv-extras package. This will give you a button in the kernel tab to install the proxmox kernel (which is the Ubuntu 18 kernel re-packaged). It already has the zfs module built-in (no compiling). Since proxmox runs this kernel on a Debian Stretch userland, it is very good and the zfs plugin was updated to work with this kernel. I would remove the standard Debian kernels with the other button in omv-extras before installing zfs though.
      omv 4.1.12 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:

      doman18 wrote:

      i come to conlclusion that OMV is to "dodgy" for production use
      Please don't put OMV in the same category as your experience with zfs. OMV doesn't create the zfs packages.
      Yes. you're right indeed, my fault. I wanted to say that ZFS on OMV is not for production use.

      ryecoaaron wrote:

      OMV is pure debian and uses openzfs from the debian repos.
      I'll try to install it 'classic" way and check if i will have similar problems.


      ryecoaaron wrote:

      Have you read the long zfs thread? Otherwise, install OMV 4.x and omv-extras. Then enable the omv-extras testing repo and install the latest omv-extras package. This will give you a button in the kernel tab to install the proxmox kernel (which is the Ubuntu 18 kernel re-packaged). It already has the zfs module built-in (no compiling). Since proxmox runs this kernel on a Debian Stretch userland, it is very good and the zfs plugin was updated to work with this kernel. I would remove the standard Debian kernels with the other button in omv-extras before installing zfs though.
      I havent read this because i didnt want to debug something already not reliable. I chose OMV because i had fairly good home use experience and because its based on Debian. We us proxmox in company i work, all our linux containers and VMs are debian'ish so OMV was obvious choice. Proxmox is really handy tool with nice webgui where you can do things fast and easy. Thats why im looking for similiar experience for NAS server (without too much bloatware like Nas4free or freenas).
      So thanks for a tip with proxmox kernel, i'll give OMV a last chance.

      //EDIT
      Ive installed extras, turned on extras-testing, hit "UPDATE" in omv-extras secition, updated all and after reboot i have theese kernels to choose (see attachment). Other things here are Clonezilla/Gparted/SystemrescueCD.

      //EDIT2
      Ok, i just went to terminal and manually added proxmox repos, downloaded kernel and headers (4.15.3-1) , switched to the kernel, deleted repo, installed omv-extras and installed ZFS. Works fine now, so i will set default kernel in GRUB to pve kernel.

      BTW: is there any way to create RAID10 in ZFS-plugin? I havent see it and again had to do it in terminal.
      Images
      • omv.png

        85.65 kB, 1,175×745, viewed 124 times

      The post was edited 5 times, last by doman18 ().

    • doman18 wrote:

      I wanted to say that ZFS on OMV is not for production use
      I don't agree with this either. Many people do. Once things are setup, zfs is rock solid. There may be a couple of weird issue with the plugin but that shouldn't affect the stability of the filesystem.

      doman18 wrote:

      Ive installed extras, turned on extras-testing, hit "UPDATE" in omv-extras secition, updated all and after reboot i have theese kernels to choose (see attachment). Other things here are Clonezilla/Gparted/SystemrescueCD.
      You need to clear your browser cache to see the install proxmox kernel button. See Problem #1 - Solutions to common problems

      doman18 wrote:

      Ok, i just went to terminal and manually added proxmox repos, downloaded kernel and headers (4.15.3-1) , switched to the kernel, deleted repo, installed omv-extras and installed ZFS. Works fine now, so i will set default kernel in GRUB to pve kernel.
      Clearing the browser cache would have saved you time here.

      doman18 wrote:

      is there any way to create RAID10 in ZFS-plugin? I havent see it and again had to do it in terminal.
      I guess not. From my understanding, there is no real raid 10 in zfs. You can create mirrors and then stripe them but I guess we don't allow you to use a drive in use anymore (I think I actually changed that). You could create the mirrors in the web interface and then create the stripe from the command line and import it in the plugin. Having to do advanced things from the command line is not unreasonable. Not *every* thing can be available from the web interface. It makes it too complicated.
      omv 4.1.12 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:

      I guess not. From my understanding, there is no real raid 10 in zfs. You can create mirrors and then stripe them but I guess we don't allow you to use a drive in use anymore (I think I actually changed that). You could create the mirrors in the web interface and then create the stripe from the command line and import it in the plugin. Having to do advanced things from the command line is not unreasonable. Not *every* thing can be available from the web interface. It makes it too complicated.

      Wouldn't creating a mirror pool, and then in the web interface "Expand" it with another mirror create a RAID10-equivalent ZFS, i.e. striped mirror vdevs? I believe I did this when I created my pool some time ago (things have happened to the plug-in since then).
    • Flaschie wrote:

      Wouldn't creating a mirror pool, and then in the web interface "Expand" it with another mirror create a RAID10-equivalent ZFS, i.e. striped mirror vdevs? I believe I did this when I created my pool some time ago (things have happened to the plug-in since then).
      Yep, that works. Thanks for the tip!

      Source Code

      1. pool: m5
      2. state: ONLINE
      3. scan: none requested
      4. config:
      5. NAME STATE READ WRITE CKSUM
      6. m5 ONLINE 0 0 0
      7. mirror-0 ONLINE 0 0 0
      8. sdae ONLINE 0 0 0
      9. sdaf ONLINE 0 0 0
      10. mirror-1 ONLINE 0 0 0
      11. sdag ONLINE 0 0 0
      12. sdah ONLINE 0 0 0
      Display All
      omv 4.1.12 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!