HNHacker News
TopNewBestAskShowJobs

aeadio

270 karma · joined July 22, 2022

submissionscomments
aeadio··on The Future of ZFS on Ubuntu Desktop Is Not Looking Good
This right here.

As a long time ZFS user, I was excited when Canonical promised first class ZFS integration. But it was clear from the first release that Ubuntu's ZFS project was a mess. Clearly some folks got excited about ZFS, but didn't absorb much of the existing knowledge or wisdom in the ecosystem. Issues like dataset/pool layout, how snapshots were handled on update, were handled in completely unusual and boneheaded ways.

The ecosystem already had the concept of boot environments, which more or less standardized what a rool-on-zpool layout ought to look like, and how to handle graceful, recoverable system upgrades. What Ubuntu could have brought to the table was a really high quality beadm replacement for Linux, moving Grub's ZFS support forward with support for more feature flags and boot environments, or investing in ZFSBootMenu.

Instead they went ahead with zsys, and it's still not entirely clear what they want or expect it to be. That they needed to write a daemon to enable "complex zfs dataset layouts" should've been an early clue that they were going down the wrong path. The dataset layout for a root filesystem should never be so complex, that you need to write a whole daemon to manage it.

The packaging issues and bad patches are almost besides the point.

aeadio··on The Future of ZFS on Ubuntu Desktop Is Not Looking Good
Void Linux with ZFSBootMenu isn't far off. Multiple core Void team members uses and maintain ZFS support; kernel version bumps are blocked on OpenZFS support. ZFSBootMenu handles the bootloader, which can support fully upgraded ZFS pools and doesn't need pared-down zpool properties like Grub.

ZFSBootMenu is developed natively on Void, and their wiki has bootstrap instructions for a Void install with root on ZFS. Everything's well supported, including native zpool encryption. Plus gives you a multitude of tools right in the bootloader -- snapshot rollback/management, boot environment creation/management, booting older kernels, and a full recovery command line with zfs available. You can tweak the bundled dracut config to include other tools as well.

Even supports generating a unified, SecureBoot-signed EFI binary.

The experience is leagues ahead of the Ubuntu mess.

← PreviousPage 3 of 3