Hi. I'm setting up my server to have a ZFS raid-z2 on it. I have a fresh install of Debian 9. The first thing I did was install OMV using the OMV provided guide. However, I cannot get ZFS working. The output from the installation is below. I have installed, uninstalled, and re-installed the plugin with the same results. I have the ZFS option under Storage, but when I click ZFS I get an error popup. I have the buttons to Add/Import pool but no drives show up when I click Add.
When I click ZFS I get an error message:
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.UTF-8; zfs list -H -t snapshot -o name,used,refer 2>&1' with exit code '1': The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them. in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/omvzfs/Utils.php(432): OMV\System\Process->execute(Array, 1)
#1 /usr/share/omvzfs/Utils.php(390): OMVModuleZFSUtil::exec('zfs list -H -t ...', Array, 1)
#2 /usr/share/openmediavault/engined/rpc/zfs.inc(195): OMVModuleZFSUtil::getAllSnapshots()
#3 [internal function]: OMVRpcServiceZFS->getAllSnapshots(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#5 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getAllSnapshots', Array, Array)
#6 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ZFS', 'getAllSnapshots', Array, Array, 1)
#7 {main}
Alles anzeigen
I then try running /sbin/modprobe zfs as root and get this output:
modprobe: FATAL: Module zfs not found in directory /lib/modules/4.9.0-8-amd64
Here are the most notable errors from the ZFS plugin install log. Full log is here because it is big: https://gist.github.com/sketty…8f900cbac4afc8e649c5b92b4
cp: cannot stat '/var/lib/dkms/spl/0.7.12/build/spl_config.h': No such file or directory
cp: cannot stat '/var/lib/dkms/spl/0.7.12/build/module/Module.symvers': No such file or directory
...
Cannot create socket to [localhost]:2812 -- Connection refused
Guides I used:
I followed this guide to install OMV Extras via command line: http://omv-extras.org/joomla/index.php/guides. Rebooted, then installed the ZFS plugin.
I followed this guide on Installing ZFS plugin: [HOWTO] Instal ZFS-Plugin & use ZFS on OMV