Jump to content

ZFS on 5.10 kernels (HC4)


Go to solution Solved by dynamo,

Recommended Posts

Posted

Hi,

 

I'm new to armbian, running armbian focal on an ODROID HC4. I'm trying to setup ZFS but when I install the zfs packages it is failing to build the kernel module. I checked the release notes for ZFS 2.0.1 and it should support 5.10 kernels? Any pointers are appreciated.

 

root@odroid:~# uname -a
Linux odroid 5.10.34-meson64 #21.05.1 SMP PREEMPT Thu May 6 21:24:14 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
root@odroid:~# dpkg -l | grep zfs
ii  libzfs4linux                   2.0.1-1                           arm64        OpenZFS filesystem library for Linux
ii  zfs-auto-snapshot              1.2.4-2                           all          ZFS automatic snapshot service
ii  zfs-dkms                       2.0.1-1                           all          OpenZFS filesystem kernel modules for Linux
ii  zfsutils-linux                 2.0.1-1                           arm64        command-line tools to manage OpenZFS filesystems
root@odroid:~# zfs -V
zfs-2.0.1-1
zfs_version_kernel() failed: No such file or directory
root@odroid:~# modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/5.10.34-meson64

 

Thanks.

  • Solution
Posted

Never mind, I found out the armbian-config utility didn't install the kernel headers when I selected them. I had to manually install them. That fixed it.

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines