Hacker News new | ask | show | jobs
by _jal 2288 days ago
This looks nice. Going to have to give it a try.

I'd love to see automated ZFS-on-root setup, but suspect that'll have to come from Canonical if we ever get it.

4 comments

In 20.04 they will have ZFS on root with BEs as an install option, looking forward to seeing the first major Linux distro making it available as a default.
Currently running that exact setup, it’s sweet
I'm surprised that they did not do that yet. While ZFS license status is questionable, Canonical seems to be sure that everything's OK, so they should embrace its technical superiority. Something like full system rollback after bad update is trivial with snapshots and it's extremely useful feature.
Looks to be that's what they have done. They've developed a new tool called `zsys` https://github.com/ubuntu/zsys which will help with system administration, rollbacks, auto snapshots before and after package changes. I believe it will also support boot environments.
I thought that Ubuntu was already capable of doing this in the latest release (19.10.)

There are third party scripts to accomplish this. I would look at https://github.com/saveriomiroddi/zfs-installer. The only reason I have not used it is that I had already written my own https://github.com/HankB/Linux_ZFS_Root. And in this case, better the devil I know. (I'm presently updating my script to follow the most recent instructions at https://github.com/openzfs/zfs/wiki/Debian-Buster-Root-on-ZF...)

ZFS-installer appears to be more mature and is seeing more effort than mine. Perhaps I should give it a try.

You can do automated ZFS-on-root installs through MAAS https://maas.io/