Hi All,
I was trying to test ZFS on my system, but ran into an issue with that.
When going to 'Storage' -> 'zfs' -> 'Pools', I'm getting the following error message:
ZitatAlles anzeigenFailed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; zfs list -p -H -t all -o name,type 2>&1' with exit code '1': The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
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; export LANGUAGE=; zfs list -p -H -t all -o name,type 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:220
Stack trace:
#0 /usr/share/omvzfs/Utils.php(441): OMV\System\Process->execute(Array, 1)
#1 /usr/share/omvzfs/Utils.php(253): OMVModuleZFSUtil::exec('zfs list -p -H ...', Array, 1)
#2 /usr/share/openmediavault/engined/rpc/zfs.inc(245): OMVModuleZFSUtil::getZFSFlatArray()
#3 [internal function]: OMVRpcServiceZFS->listPools(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('listPools', Array, Array)
#6 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Zfs', 'listPools', Array, Array, 1)
#7 {main}
A similar error message appears when trying to run zpool list:
Zitat$ zpool list
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
When I try to do the suggested action, I'm getting the following error:
Zitat$ sudo modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/6.1.19-v8+
System:
RPI 4.
Variant:
4GB RAM
uname -m output:
aarch64
OMV version:
6.3.7-5 (but it happened to me on earlier versions too).
Kernel:
Linux 6.1.19-v8+
ZFS plugin version:
openmediavault-zfs 6.0.12
(not sure if required) - main drive:
SSD through USB-3.
Hopefully, I haven't missed any important details. Let me know if there's an additional input needed for this issue.
Also, since I'm using RPI, then all storage is external drives. The ZFS is meant to be used for RAID-Z. I'm aware to the fact that this is not recommended. For my setup and usage - it's ok (this is a test environment. not a "production" one. I'm using it mainly to learn OMV and docker).
Anyone knows how to solve this case?
Thanks,