Jump to content

The ZFS modules are not loaded


dmitri don

Recommended Posts

Hello,

Followed instructions and installed zfs, rebooted, installed all updated via apt update and apt upgrade, rebooted and situation is like this:

 

root@helios64:~# zpool status
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.


root@helios64:~# modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/5.10.21-rockchip64

 

root@helios64:~# apt install zfsutils-linux
Reading package lists... Done
Building dependency tree       
Reading state information... Done
zfsutils-linux is already the newest version (2.0.3-1~bpo10+1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 

root@helios64:~# uname -a
Linux helios64 5.10.21-rockchip64 #21.02.3 SMP PREEMPT Mon Mar 8 01:05:08 UTC 2021 aarch64 GNU/Linux

 

Any suggestions?

Link to comment
Share on other sites

dmitri don first of all thanks so much sharing the third command this fixed my ZFS in OMV5!!

 

sudo armbian-config

 

Go to Software and install headers.

 

nano /etc/apt/sources.list

 

#add these lines to your file.
#----------------------------------------------------------------------------------------------------

deb http://deb.debian.org/debian buster main contrib non-free
#deb-src http://deb.debian.org/debian buster main contrib non-free

#1deb http://deb.debian.org/debian buster-updates main contrib non-free
#deb-src http://deb.debian.org/debian buster-updates main contrib non-free

#2deb http://deb.debian.org/debian buster-backports main contrib non-free
#deb-src http://deb.debian.org/debian buster-backports main contrib non-free

#3deb http://security.debian.org/ buster/updates main contrib non-free
#deb-src http://security.debian.org/ buster/updates main contrib non-free

#----------------------------------------------------------------------------------------------------

#save

 

//Install DKMS v2.0.1

sudo apt install zfs-dkms zfsutils-linux zfs-auto-snapshot

 

//unhash #1,#2,#3 and save

 

apt update && apt upgrade -y && apt dist-upgrade && apt install linux-headers-current-rockchip64

 

#+++++++++++++++++++++++++++++++++++++++++++++++++++++

//update headers manually - not necessary if above procedure worked.

#https://imola.armbian.com/apt/pool/main/l/

wget https://imola.armbian.com/apt/pool/main/l/linux-5.10.35-rockchip64/linux-dtb-current-rockchip64_21.05.1_arm64.deb

wget https://imola.armbian.com/apt/pool/main/l/linux-5.10.35-rockchip64/linux-headers-current-rockchip64_21.05.1_arm64.deb

wget https://imola.armbian.com/apt/pool/main/l/linux-5.10.35-rockchip64/linux-image-current-rockchip64_21.05.1_arm64.deb

 

dpkg -i linux-dtb-current-rockchip64_21.05.1_arm64.deb

dpkg -i linux-headers-current-rockchip64_21.05.1_arm64.deb

dpkg -i linux-image-current-rockchip64_21.05.1_arm64.deb

 

sudo apt install zfs-dkms zfsutils-linux zfs-auto-snapshot

#+++++++++++++++++++++++++++++++++++++++++++++++++++++

 

//install omv

armbian-config -> Software -> Softy -> mouseclick omv to get * -> click install

 

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//optional not necessary if above went ok, this includes the extras now.

//and after install also the extras as per the video above. https://wiki.omv-extras.org/

//commands:

 

wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

connect to OMV localhost:80, change ssh /  omv port to another port if you want for your reversed http tunnel in putty. (when you work remote)
go to update management -> check -> update to latest version  (5.6.7-1 usul) kernel 5.10.35-rockchip64
go to OMV-extras -> tick extra repos and back ports to green -> save
updates -> run update, run omv-update, run upgrade, run dist-upgrade, run apt clean

 

go to plugins -> scroll down and install openmediavault-zfs 5.0.6
Install all other plugins you need. (install luks after openmediavault-zfs, also encryptionspeed is 3,5 times faster than in zfs itself)

 

root@helios64:~# sudo modprobe zfs
root@helios64:~# lsmod | grep zfs
zfs                  3690496  6
zunicode              331776  1 zfs
zzstd                 389120  1 zfs
zlua                  151552  1 zfs
zcommon                90112  1 zfs
znvpair                98304  2 zfs,zcommon
zavl                   20480  1 zfs
icp                   253952  1 zfs
spl                   110592  6 zfs,icp,zzstd,znvpair,zcommon,zavl
root@helios64:~#

 

root@helios64:~# zfs version
zfs-2.0.3-1~bpo10+1
zfs-kmod-2.0.1-1

root@helios64:~#

 

I am not sure if you want OMV with it. My guess that your problem is kernel header related.

 

Please let me know if this is a help to you :)

 

Kr,
Stront

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines