Nicola Zilio Posted November 24 Posted November 24 (edited) Dear all, I am trying to install ZFS on my ODROID N2+ without success. I am sure this question has been asked before, but I don't think the answers I found are still relevant, unfortunately. Linux odroid 6.6.47-current-meson64 #3 SMP PREEMPT Mon Aug 19 04:04:32 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux BOARD=odroidn2 BOARD_NAME="Odroid N2" BOARDFAMILY=meson-g12b BUILD_REPOSITORY_URL=https://github.com/armbian/build BUILD_REPOSITORY_COMMIT=89476e86f LINUXFAMILY=meson64 ARCH=arm64 BOOT_SOC= IMAGE_TYPE=stable BOARD_TYPE=conf INITRD_ARCH=arm64 KERNEL_IMAGE_TYPE=Image KERNEL_TARGET=current,edge KERNEL_TEST_TARGET=current FORCE_BOOTSCRIPT_UPDATE=yes FORCE_UBOOT_UPDATE= OVERLAYDIR="/boot/dtb/amlogic/overlay" VENDOR="Armbian" VENDORDOCS="https://docs.armbian.com" VENDORURL="https://www.armbian.com" VENDORSUPPORT="https://forum.armbian.com" VENDORBUGS="https://www.armbian.com/bugs" BOOTSCRIPT_FORCE_UPDATE="yes" BOOTSCRIPT_DST="boot.cmd" VERSION=24.8.4 REVISION=24.8.4 BRANCH=current Using armbian-config, I installed the kernel headers, and also the full firmware for good measure. After restarting the board, I run `apt install zfs-dkms zfsutils-linux`, but I get Preparing to unpack .../zfsutils-linux_2.2.6-0arter97~ubuntu22.04.1_arm64.deb ... Unpacking zfsutils-linux (2.2.6-0arter97~ubuntu22.04.1) ... Selecting previously unselected package zfs-dkms. Preparing to unpack .../zfs-dkms_2.2.6-0arter97~ubuntu22.04.1_all.deb ... Unpacking zfs-dkms (2.2.6-0arter97~ubuntu22.04.1) ... Setting up zfsutils-linux (2.2.6-0arter97~ubuntu22.04.1) ... modprobe: FATAL: Module zfs not found in directory /lib/modules/6.6.47-current-meson64 Trying to create a pool raises this error zpool create wdred_zpool raidz2 x y z The ZFS modules cannot be auto-loaded. Try running 'modprobe zfs' as root to manually load them. modprobe zfs modprobe: FATAL: Module zfs not found in directory /lib/modules/6.6.47-current-meson64 Any ideas? Thank you in advance. Edited November 24 by Nicola Zilio 0 Quote
Igor Posted November 24 Posted November 24 6 hours ago, Nicola Zilio said: Any ideas? If you only shows symptoms but not providing logs, we are in the dark. Perhaps headers install was not successful ? Or who knows what ... armbianmonitor -u 0 Quote
Solution Nicola Zilio Posted November 25 Author Solution Posted November 25 Hi @Igor, Thank you for following up on this! In the end, coincidentally I think, I managed to get it to work. I saw that a new armbian package was available via apt. I installed it, and because it included kernel 6.6.61-current-meson64, I saw that when this was being built, one of the steps was to write the headers for ZFS. I restarted my board, and now ZFS works. 0 Quote
Nicola Zilio Posted December 8 Author Posted December 8 @Igor, I have now upgraded to kernel 6.6.63 and in the process ZFS support was removed. The compilation process even stated that it would do that because some module was missing. I don't really understand why it would do that. Here's the link for the output of armbianmonitor -u, https://paste.next.armbian.com/axogecixoy. Thanks in advance. 0 Quote
Nicola Zilio Posted December 8 Author Posted December 8 Ok, once again, I found a solution, though I don't understand why the following needs to be done: I uninstalled ZFS support via armbian-config I installed again ZFS support via armbian-config I force-installed the relevant package apt install --reinstall linux-headers-current-meson64 0 Quote
Igor Posted December 8 Posted December 8 There are some troubles, some caused by us, some by 3rd party. Improved mechanism is about to be merged https://github.com/armbian/configng/pull/308 0 Quote
Nicola Zilio Posted December 12 Author Posted December 12 (edited) @Igor, I'm sorry to bother about this again, but after an additional upgrade, things have gotten even more complicated. When I try to enable ZFS support I get the following error Reading package lists... Done Building dependency tree... Done Reading state information... Done zfs-dkms is already the newest version (2.2.7-0arter97~ubuntu22.04.1). Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: zfsutils-linux : Breaks: zfs-dkms (> 2.2.6-0arter97~ubuntu22.04.1...) It seems that zfsutils-linux and zfs-dkms are incompatible. Edited December 12 by Nicola Zilio 0 Quote
Igor Posted December 12 Posted December 12 4 hours ago, Nicola Zilio said: It seems that zfsutils-linux and zfs-dkms are incompatible. I just update ZFS today and didn't run into those problems: filename: /lib/modules/6.6.63-current-x86/updates/dkms/zfs.ko version: 2.2.7-0arter97~ubuntu22.04.1 Try to reinstall zfsutils-linux and zfs-dkms. Ubuntu provides 2.2.7, which does not exists upstream ... 0 Quote
Nicola Zilio Posted December 12 Author Posted December 12 From what I can see, they are (?) root@odroid:/# apt-cache policy zfsutils-linux zfsutils-linux: Installed: 2.2.6-0arter97~ubuntu22.04.1 Candidate: 2.2.6-0arter97~ubuntu22.04.1 Version table: *** 2.2.6-0arter97~ubuntu22.04.1 500 500 http://apt.armbian.com jammy/jammy-utils arm64 Packages 100 /var/lib/dpkg/status 2.2.5-0arter97~ubuntu22.04.1 500 500 http://apt.armbian.com jammy/jammy-utils arm64 Packages 2.2.4-0arter97~ubuntu22.04.1 500 500 http://apt.armbian.com jammy/jammy-utils arm64 Packages 2.1.5-1ubuntu6~22.04.4 500 500 http://ports.ubuntu.com jammy-security/main arm64 Packages 500 http://ports.ubuntu.com jammy-updates/main arm64 Packages 2.1.2-1ubuntu3 500 500 http://ports.ubuntu.com jammy/main arm64 Packages root@odroid:/# apt-cache policy zfs-dkms zfs-dkms: Installed: 2.2.6-0arter97~ubuntu22.04.1 Candidate: 2.2.7-0arter97~ubuntu22.04.1 Version table: 2.2.7-0arter97~ubuntu22.04.1 500 500 http://apt.armbian.com jammy/jammy-utils arm64 Packages 500 http://apt.armbian.com jammy/jammy-utils all Packages *** 2.2.6-0arter97~ubuntu22.04.1 500 500 http://apt.armbian.com jammy/jammy-utils arm64 Packages 500 http://apt.armbian.com jammy/jammy-utils all Packages 100 /var/lib/dpkg/status 2.2.5-0arter97~ubuntu22.04.1 500 500 http://apt.armbian.com jammy/jammy-utils arm64 Packages 500 http://apt.armbian.com jammy/jammy-utils all Packages 2.2.4-0arter97~ubuntu22.04.1 500 500 http://apt.armbian.com jammy/jammy-utils arm64 Packages 500 http://apt.armbian.com jammy/jammy-utils all Packages 2.1.5-1ubuntu6~22.04.4 500 500 http://ports.ubuntu.com jammy-security/universe arm64 Packages 500 http://ports.ubuntu.com jammy-updates/universe arm64 Packages 2.1.2-1ubuntu3 500 500 http://ports.ubuntu.com jammy/universe arm64 Packages I managed to resolve the issue by specifying the version to use, in this case 2.2.6-0arter97~ubuntu22.04.1 0 Quote
Recommended Posts
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.