ZFS integration

One of the most outstanding features of CachyOS - the one that ultimately drew my attention to it - is its support of ZFS right from the beginning.

Here some experiences and recommendations I have.

I love to use the tool zectl to manage snap shots (called boot environments) there is even a tool called zectl-pacmanhook to automatically create such a boot environment when the kernel is updated (It is configurable how many boot environments are kept)

To round it up. zfsbootmenu is a very nice Bootloader, specifically build around zfs installations.

It would be extremely cool if the installer would also offer zfsbootmenu as a boot option and preinstall (or at least offer) the zectl boot environment management.

zectl wants the bootfs property of the zpool set to correctly operate.
Also inside the ROOT/ dataset should only be the root datasets. Other datasets like home/ or the ones for caches and logs should be outside of it. (That would be a wish of mine for the installer)

All these tools are in the AUR
zectl GitHub - johnramsden/zectl: ZFS Boot Environment manager for Linux to manage
zectl-pacmanhook GitHub - eoli3n/zectl-pacman-hook: Automate boot environment creation and rotation before kernel upgrade.
zfsbootmenu https://zfsbootmenu.org/

2 Likes

Hi!

I love to use the tool zectl to manage snap shots (called boot environments) there is even a tool called zectl-pacmanhook to automatically create such a boot environment when the kernel is updated (It is configurable how many boot environments are kept)

I look into this adding it to the repository and maybe considering to add it to the zfs installation.

To round it up. zfsbootmenu is a very nice Bootloader, specifically build around zfs installations.

Someone needs to work on a Calamares implemnentation

It would be extremely cool if the installer would also offer zfsbootmenu

Explained above

4 Likes