Hacker News new | ask | show | jobs
by xenophonf 2032 days ago
I've had zero problems with kernel updates on Ubuntu 20.04 with ZFS on a natively encrypted root. I followed the instructions in the wiki, lightly modified for my hardware and workload:

https://gist.github.com/xenophonf/76fd44ae24772e457cb63d00c0...

`apt-get update && apt-get dist-upgrade -y` works as expected. I plan to switch to a similar config on my Lenovo laptop when I upgrade it to the next Ubuntu LTS release.

1 comments

Ubuntu's kernel isn't exactly keeping up to date though. I assume the person you were replying to may be following mainline.

As someone using new kernel version as they are released, I'm not willing to use a filesystem that may break with a kernel update. It also seems openzfs only supports up to kernel 5.6, according the the github release. I'm on 5.9, so its not even an option.

Yeah, too many scary notes and warnings for me.

https://wiki.archlinux.org/index.php/ZFS

I would need a package that depends on zfs and provides linux-kernel at an appropriate version. Can't have something so critical break because of an upgrade, and I don't want to pin it and forget to upgrade it (also fairly anti-arch).

I’ve ran the latest kernel with latest openzfs git since around kernel 4.x, currently on 5.9.11. I build inkernel as opposed to a module.

There have been a couple cases where I had to wait a week or two for compatibility fixed to get merged into zfs git, but otherwise staying up to date has not been a problem.