Jump to content

ZFS again


ChrisO

Recommended Posts

Hi

I was using:

Title:                  Armbian 21.08.5 Odroidhc4 Debian buster legacy

 

Then something bad pushed me to run apt update/upgrade

 

No ZFS anymore.

Installed 22.08.2, but, when tried to install kernel headers using armbian-config, result: "grep: invalid max count" message.

What is the current correct way to install Armbian with ZFS?

 

Thanks

ChrisO

Edited by ChrisO
addition
Link to comment
Share on other sites

Started armbian-config, selected "Software", error message appears: grep: invalid max count
Selected "Headers_install", again error message from grep. Headers not installed.

Installed headers with:
apt install linux-headers-current-meson64

Result:
Loading new zfs-2.1.4 DKMS files...
It is likely that 5.19.10-meson64 belongs to a chroot's host
Building for 5.10.144-meson64
Building initial module for 5.10.144-meson64
configure: error: 
    *** Unable to build an empty module.
            
Error! Bad return status for module build on kernel: 5.10.144-meson64 (aarch64)
root@odroidhc4:~# tail /var/lib/dkms/zfs/2.1.4/build/make.log
DKMS make.log for zfs-2.1.4 for kernel 5.10.144-meson64 (aarch64)
Wed Sep 28 10:36:10 AM CEST 2022
make: *** No targets specified and no makefile found.  Stop.
 

Thanks

ChrisO

Link to comment
Share on other sites

ZFS package on Debian is too old for 5.19.y ... You need 2.1.5. I only manage to bring it up to Ubuntu, while on Debian another afternoon. Which I can't afford.

Try getting updated packages, perhaps with those from Ubuntu will work. Dunno.

Link to comment
Share on other sites

6 minutes ago, ChrisO said:

It is likely that 5.19.10-meson64 belongs to a chroot's host
Building for 5.10.144-meson64


And also this looks odd. Do you perhaps have both (edge and current) kernels + headers installed? Perhaps you didn't reboot on upgrade?

Link to comment
Share on other sites

Installed from scratch, Armbian_22.08.1_Odroidhc4_jammy_current_5.10.139.img

apt update/upgrade
apt install zfs-dkms zfsutils-linux

Forgot the linux-headers.
Started armbian-config, selected "Software", error message appears: grep: invalid max count
Selected "Headers_install", again error message from grep. Headers not installed.

Installed headers with:
apt install linux-headers-current-meson64
then
dpkg-reconfigure zfs-dkms

Result:

Loading new zfs-2.1.4 DKMS files...
Building for 5.10.144-meson64
Building initial module for 5.10.144-meson64
configure: error: 
    *** Unable to build an empty module.
            
Error! Bad return status for module build on kernel: 5.10.144-meson64 (aarch64)
Consult /var/lib/dkms/zfs/2.1.4/build/make.log for more information.
root@odroidhc4:~# cat /var/lib/dkms/zfs/2.1.4/build/make.log
DKMS make.log for zfs-2.1.4 for kernel 5.10.144-meson64 (aarch64)
Wed Sep 28 12:44:00 PM CEST 2022
make: *** No targets specified and no makefile found.  Stop.
 

Thanks,

ChrisO

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