SpiralLinux / SpiralLinux-project

SpiralLinux project
https://spirallinux.github.io/
131 stars 5 forks source link

ZFS support #406

Closed danboid closed 4 months ago

danboid commented 4 months ago

I discovered SpiralLinux yesterday and my initial impressions are very good. I was inspired to try it out after noticing a post you made to grub-btrfs issues that you've had the good sense to include grub-btrfs and snapper by default which I think all x86 Linux OSs should install when you format using BTRFS, which shoud be the default, otherwise you might as well stick with XFS.

So now I'm stuck with recommending SpiralLinux for single disk Debian BTRFS installs and Proxmox-VE for those who want to use ZFS / software RAID because BTRFS RAID support is useless and ZFS has much better performance. I would love to see the Calamares / SpiralLinux installer improved so that we can install directly to mirrored, RAIDZ and RAIDZ2 ZFS pools then I would only need to recommend one version of Linux for everyone.

If ZFS support did get added , it would be good to also duplicate the special way that PVE installs GRUB so that you can boot off any disk in your ZFS pool in case any of them fail. This works for both UEFI and BIOS installations.

I realise that ZFS support could well be out of scope or too much work to add but if you don't ask you don't get.

Thanks!

geckolinux commented 4 months ago

Hi there, thanks for the suggestion. I would also strongly prefer ZFS support, but I don't think it's feasible given that SpiralLinux is built around GRUB for the broadest support of different BIOS / EFI environments as well as the user's choice of filesystem. In order to offer snapshot boot environments it would require integrating https://zfsbootmenu.org, which in turn requires a different bootloader, all of which would require a lot of custom scripting within Calamares that would probably be less reliable. You can see an overview of the challenges here: https://github.com/calamares/calamares/issues/1947 I'll close this request for now as cantfix, but anybody who has a concrete suggestion of how to implement this is welcome to post it here.