Hello,
==> UPDATE: I finally managed to fix the issue by moving away from current kernel and installing the edge one:
on armbian-config, install "edge" kernel (5.17.5-meson64)
install manually the kernel header (armbian-config only install "current" kernel header, i.e., 5.10.*): sudo apt install linux-headers-edge-meson64
sudo apt remove zfs-dkms
sudo apt install zfs-dkms
sudo apt install zfsutils-linux
Then I managed to recover my zfs pool with:
sudo zpool import -f mypool
sudo zpool upgrade mypool
Now it's working again! 🥰
It's me again. I have been busy since my last attempt to fix my ZFS issues, but now I found some time to start from zero:
grabbed the latest version from https://redirect.armbian.com/odroidhc4/Jammy_current,
installed on my SD card with Balena Etcher,
and recreated my system from zero.
I installed the kernel headers with armbian-config, as it was not activated by default, and then, I followed the same steps as described above in @Igor's post:
Then started apt upgrade:
While doing apt upgrade, I had 2 issues appeared, saying /etc/issue and /etc/issue.net were different from maintainers. I assume it's not a big deal, installed from the maintainer and continued:
Then it continued the upgrade without noticeable issue:
Then I tried to install zfs... and it doesn't work:
sudo apt install zfs-dkms
It starts by showing a message about licence incompatibility. I select 'OK' to continue... and then, it crashes!
It says "Unable to build an empty module":
What did I do wrong?!
I would be grateful if someone could help me to solve it. All my NAS data is bricked. 🥵
I don't understand why it's so difficult to have ZFS running on my ODROID HC4 (but it worked in the past with an older version) ... this raises another question: shall I move away from ZFS for peace of mind?
Thank you, guys! And sorry to bother you again.
Luis