ZFS Setup? - openmediavault (2024)

Table of Contents
Jetzt mitmachen! Tags

ZFS Setup? - openmediavault (3)

    • gelöst
    • OMV 4.x
  • warllo
  • 26. April 2018

1. offizieller Beitrag

    • 26. April 2018

      I have been trying to setup ZFS on Open media vault and have no success. I've read through some post and it sounds like it may not be possible due to some issues with Debian source. Could someone confirm this? I'd really prefer to use ZFS but I'm not a huge fan of the FreeNAS community.

      • 27. April 2018
      • Offizieller Beitrag

      Zitat von warllo

      I have been trying to setup ZFS on Open media vault and have no success.

      Hard to help without some information.

      Zitat von warllo

      I've read through some post and it sounds like it may not be possible due to some issues with Debian source.

      What posts? zfs works fine on my systems and many others.

      • 27. April 2018

        All I could say is that OMV + ZFS works fine.

        There were issues recently with the 4.15 backport kernel (not the OMV fault), and there is a known bug to be solved with the panel of the ZFS plugin (soon I assumed).

        But all in one, OMV 4.x + ZFS plugin is rock solid and a nice combo. Feel free to go with it.

        • 27. April 2018

          Setting up openmediavault-zfs (4.0.2-1) ...
          modprobe: FATAL: Module zfs not found in directory /lib/modules/4.14.0-0.bpo.3-amd64
          dpkg: error processing package openmediavault-zfs (--configure):
          subprocess installed post-installation script returned error exit status 1
          Processing triggers for openmediavault (4.1.5-1) ...
          Restarting engine daemon ...
          'omv-engined' trying to restart
          'omv-engined' stop: '/bin/systemctl stop openmediavault-engined'
          'omv-engined' start: '/bin/systemctl start openmediavault-engined'
          Errors were encountered while processing:
          openmediavault-zfs

          Above are the result of running apt-get install openmediavault-zfs

          The process I used:

          Install open media vault on bare metal using openmediavault_4.1.3-amd64.iso
          Run all updates via gui
          Upload extras plugin
          Run updates again
          install zfs plugin, failed to install reference linux headers
          I then tried a new install from cli using apt-get install openmediavault-zfs and received the same error.

          I was following the procedure here:

          • 27. April 2018
          • Offizieller Beitrag

          What is the output of: dpkg -l | grep linux-

          • 27. April 2018

            Personnaly, I've gone with a CLI ZFS install and then added OMV plugin.

            https://linuxhint.com/install-zfs-debian/

            Add the 'contrib' and 'non-free' to the debian packages conf in /etc/apt/sources.list
            Refresh

            Code

            apt-get update

            Code

            # ln -s /bin/rm /usr/bin/rm# apt-get install zfs-dkms

            Then check with:

            Code

            # modprobe zfs# lsmod | grep zfs

            Reboot (not sure, but that wouldn't hurt to check) ZFS Setup? - openmediavault (6)

            Install openmediavault-zfs plugin with the GUI.

            Now, create your pool, etc...

            • 27. April 2018

              Thanks sbocquest I'll have to give this a if I can't complete the install via openmedia vault directly.

              Zitat von sbocquet

              Personnaly, I've gone with a CLI ZFS install and then added OMV plugin.

              https://linuxhint.com/install-zfs-debian/

              Add the 'contrib' and 'non-free' to the debian packages conf in /etc/apt/sources.list
              Refresh

              Code

              apt-get update

              Code

              # ln -s /bin/rm /usr/bin/rm# apt-get install zfs-dkms

              Then check with:

              Code

              # modprobe zfs# lsmod | grep zfs


              Reboot (not sure, but that wouldn't hurt to check) ZFS Setup? - openmediavault (8)

              Install openmediavault-zfs plugin with the GUI.

              Now, create your pool, etc...

              Alles anzeigen

              root@openmediavault:~# dpkg -l | grep linux-
              ii firmware-linux-free 3.4 all Binary firmware for various drivers in the Linux kernel
              ii firmware-linux-nonfree 20161130-3 all Binary firmware for various drivers in the Linux kernel (meta-package)
              ii linux-base 4.5 all Linux image base package
              ii linux-image-4.14.0-0.bpo.3-amd64 4.14.13-1~bpo9+1 amd64 Linux 4.14 for 64-bit PCs
              ii linux-image-amd64 4.14+89~bpo9+1 amd64 Linux for 64-bit PCs (meta-package)

              • 27. April 2018
              • Offizieller Beitrag

              Zitat von warllo

              root@openmediavault:~# dpkg -l | grep linux-
              ii firmware-linux-free 3.4 all Binary firmware for various drivers in the Linux kernel
              ii firmware-linux-nonfree 20161130-3 all Binary firmware for various drivers in the Linux kernel (meta-package)
              ii linux-base 4.5 all Linux image base package
              ii linux-image-4.14.0-0.bpo.3-amd64 4.14.13-1~bpo9+1 amd64 Linux 4.14 for 64-bit PCs
              ii linux-image-amd64 4.14+89~bpo9+1 amd64 Linux for 64-bit PCs (meta-package)

              Alles anzeigen

              The zfs plugin depends on linux-headers-amd64 which is pointed at the headers for the 4.15 kernel right now. You need need to install the 4.15 kernel.

              • 27. April 2018

                I think i have properly update the kernel.

                Here are the results of uname -r

                root@openmediavault:~# uname -r
                4.15.0-0.bpo.2-amd64

                As well as

                root@openmediavault:~# dpkg -l | grep linux-
                ii firmware-linux-free 3.4 all Binary firmware for various drivers in the Linux kernel
                ii firmware-linux-nonfree 20170823-1~bpo9+1 all Binary firmware for various drivers in the Linux kernel (meta-package)
                ii linux-base 4.5 all Linux image base package
                ii linux-compiler-gcc-6-x86 4.15.11-1~bpo9+1 amd64 Compiler for Linux on x86 (meta-package)
                iF linux-headers-4.15.0-0.bpo.2-amd64 4.15.11-1~bpo9+1 amd64 Header files for Linux 4.15.0-0.bpo.2-amd64
                ii linux-headers-4.15.0-0.bpo.2-common 4.15.11-1~bpo9+1 all Common header files for Linux 4.15.0-0.bpo.2
                iU linux-headers-amd64 4.15+91~bpo9+1 amd64 Header files for Linux amd64 configuration (meta-package)
                ii linux-image-4.14.0-0.bpo.3-amd64 4.14.13-1~bpo9+1 amd64 Linux 4.14 for 64-bit PCs
                ii linux-image-4.15.0-0.bpo.2-amd64 4.15.11-1~bpo9+1 amd64 Linux 4.15 for 64-bit PCs
                ii linux-image-amd64 4.15+91~bpo9+1 amd64 Linux for 64-bit PCs (meta-package)
                ii linux-kbuild-4.15 4.15.11-1~bpo9+1 amd64 Kbuild infrastructure for Linux 4.15
                ii linux-libc-dev:amd64 4.9.82-1+deb9u3 amd64 Linux support headers for userspace development

                I think have the kernel updated however the zfs install is hanging on Building initial module for 4.15.0-0.bpo.2-amd64

                • 27. April 2018
                • Offizieller Beitrag

                Hanging? It does take a while to build especially on slower systems.

                • 27. April 2018

                  I finally was able to get it installed. I think I was missing some linux headers.

                  I now have the ZFS listed under storage however when I go to create a pool it isn't showing any of my devices.

                  After a quick wipe of all devices. Things are now working. Thank you everyone for your help!

                  • 27. April 2018

                    You need to wipe them before if those disks were used before. You can it on the Disks panel.

                  Jetzt mitmachen!

                  Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!

                  Benutzerkonto erstellenAnmelden

                  Tags

                  • ZFS
                  • opmv
                  ZFS Setup? - openmediavault (2024)
                  Top Articles
                  Latest Posts
                  Article information

                  Author: Golda Nolan II

                  Last Updated:

                  Views: 6359

                  Rating: 4.8 / 5 (78 voted)

                  Reviews: 85% of readers found this page helpful

                  Author information

                  Name: Golda Nolan II

                  Birthday: 1998-05-14

                  Address: Suite 369 9754 Roberts Pines, West Benitaburgh, NM 69180-7958

                  Phone: +522993866487

                  Job: Sales Executive

                  Hobby: Worldbuilding, Shopping, Quilting, Cooking, Homebrewing, Leather crafting, Pet

                  Introduction: My name is Golda Nolan II, I am a thoughtful, clever, cute, jolly, brave, powerful, splendid person who loves writing and wants to share my knowledge and understanding with you.