CM3588 NAS: ZFS plugin OMV7 Failed to execute: ZFS(solution)
Posted: Mon Apr 07, 2025 3:16 am
Device FriendlyElec CM3588 NAS
When installing OMV7 ZFS plugin, it dose not work failed.
Solution is only for images from FriendlyElec download (image from Armbian downlad dose not fit with this solution because I could not find linux-headers deb file)
image download link: https://dl.friendlyelec.com/cm3588
solution was don on image: rk3588-eflasher-openmediavault-6.1-arm64-20250123.img.gz
1- Reconfigure Apt sources:
mv /etc/apt/sources.list /etc/apt/sources.list.old
nano /etc/apt/sources.list
#deb https://mirrors.aliyun.com/debian bookworm main non-free contrib
#deb-src https://mirrors.aliyun.com/debian bookworm main non-free contrib
#deb https://mirrors.aliyun.com/debian-security bookworm-security main
#deb-src https://mirrors.aliyun.com/debian-security bookworm-security main
#deb https://mirrors.aliyun.com/debian bookworm-backports main non-free contrib
#deb-src https://mirrors.aliyun.com/debian bookworm-backports main non-free contrib
deb http://deb.debian.org/debian bookworm main non-free-firmware
deb-src http://deb.debian.org/debian bookworm main non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb http://deb.debian.org/debian bookworm-backports main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-backports main non-free-firmware
2- Compiling linux-headers for DKMS (Dynamic Kernel Module Support):
In order to install ZFS, we first need to install linux headers for our kernel to add DKMS support.
sudo -i
dpkg -i /opt/archives/linux-headers-6.1.99_6.1.99-32_arm64.deb
3- ZFS is install:
sudo apt install zfs-dkms
sudo apt install zfsutils-linux
4- Now that ZFS is installed, we will try to run a command to test that ZFS and DKMS are actually functional.
zpool status
If this works, it will report that we have 0 pools. If you get an error that says: "The ZFS modules are not loaded. Try running '/sbin/modprobe zfs' as root to load them", that means DKMS isn't working properly and you likely missed a step up above or it failed to compile, which should have given you an error.
Note: linux-headers deb file under /opt/archives folder
I tried these steps and zfs works like charm.
Refernce: https://github.com/Vincent-Dalstra/CM35 ... pt-sources
===========================================================================
cockpit : ZFS full contol (ZFS status, Create ZFS Pool, mount, unmount, snapshot),:
Install cockpit If you need full control for ZFS to check and replace harddisk if failed use cockpit (after installing cockpit you can reach interface by http:ip address:9090
1- cockpit install
sudo apt install cockpit
2- cockpit commands to get zfs
git clone https://github.com/45drives/cockpit-zfs-manager.git
sudo cp -r cockpit-zfs-manager/zfs /usr/share/cockpit
4- Navigator for Cockpit
wget https://github.com/45Drives/cockpit-nav ... al_all.deb
sudo apt install ./cockpit-navigator_0.5.10-1focal_all.deb
When installing OMV7 ZFS plugin, it dose not work failed.
Solution is only for images from FriendlyElec download (image from Armbian downlad dose not fit with this solution because I could not find linux-headers deb file)
image download link: https://dl.friendlyelec.com/cm3588
solution was don on image: rk3588-eflasher-openmediavault-6.1-arm64-20250123.img.gz
1- Reconfigure Apt sources:
mv /etc/apt/sources.list /etc/apt/sources.list.old
nano /etc/apt/sources.list
#deb https://mirrors.aliyun.com/debian bookworm main non-free contrib
#deb-src https://mirrors.aliyun.com/debian bookworm main non-free contrib
#deb https://mirrors.aliyun.com/debian-security bookworm-security main
#deb-src https://mirrors.aliyun.com/debian-security bookworm-security main
#deb https://mirrors.aliyun.com/debian bookworm-backports main non-free contrib
#deb-src https://mirrors.aliyun.com/debian bookworm-backports main non-free contrib
deb http://deb.debian.org/debian bookworm main non-free-firmware
deb-src http://deb.debian.org/debian bookworm main non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb http://deb.debian.org/debian bookworm-backports main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-backports main non-free-firmware
2- Compiling linux-headers for DKMS (Dynamic Kernel Module Support):
In order to install ZFS, we first need to install linux headers for our kernel to add DKMS support.
sudo -i
dpkg -i /opt/archives/linux-headers-6.1.99_6.1.99-32_arm64.deb
3- ZFS is install:
sudo apt install zfs-dkms
sudo apt install zfsutils-linux
4- Now that ZFS is installed, we will try to run a command to test that ZFS and DKMS are actually functional.
zpool status
If this works, it will report that we have 0 pools. If you get an error that says: "The ZFS modules are not loaded. Try running '/sbin/modprobe zfs' as root to load them", that means DKMS isn't working properly and you likely missed a step up above or it failed to compile, which should have given you an error.
Note: linux-headers deb file under /opt/archives folder
I tried these steps and zfs works like charm.
Refernce: https://github.com/Vincent-Dalstra/CM35 ... pt-sources
===========================================================================
cockpit : ZFS full contol (ZFS status, Create ZFS Pool, mount, unmount, snapshot),:
Install cockpit If you need full control for ZFS to check and replace harddisk if failed use cockpit (after installing cockpit you can reach interface by http:ip address:9090
1- cockpit install
sudo apt install cockpit
2- cockpit commands to get zfs
git clone https://github.com/45drives/cockpit-zfs-manager.git
sudo cp -r cockpit-zfs-manager/zfs /usr/share/cockpit
4- Navigator for Cockpit
wget https://github.com/45Drives/cockpit-nav ... al_all.deb
sudo apt install ./cockpit-navigator_0.5.10-1focal_all.deb