installer icon indicating copy to clipboard operation
installer copied to clipboard

Support ZFS on installation

Open orf opened this issue 7 years ago • 6 comments

Would it be possible to select zfs as a filesystem to use upon installation?

orf avatar Mar 09 '17 23:03 orf

Why not use btrfs? It's functionality is similar to that of zfs.

michaelmyc avatar Mar 10 '17 00:03 michaelmyc

Also, I guess it would be great to give users freedom to manually execute commands to finish part of the installation and go back to using the script, so users can tweak their installation.

michaelmyc avatar Mar 10 '17 00:03 michaelmyc

BTRFS is ok, but if you're comfortable with zfs and it's tools it's nice to have. Reading up on zfs in the arch wiki it seems that this might be a huge pain to support, as it requires custom repositories?

Anyway feel free to close this, I just wondered if it was possible

orf avatar Mar 10 '17 16:03 orf

I was just wondering if anybody had the same wish for ZFS. imho btrfs is nice, but not as solid and feature rich as ZFS with it's stability, caching and raidz support. You'd have to configure RAID/LVM with btrfs and it'd still lack quite a few things.

ZFS just needs a few packages on ISO build-time, I found this guide pretty helpful for most of the configuration, although it leaves out a few things that are interesting for performance like ZIL and L2ARC. Is there any docs on how to build arch-anywhere? I'd like to try implement this, at least as a crude experimental feature that can be built upon in the future.

izzy avatar Mar 16 '17 11:03 izzy

I've considered adding this but there are just too many steps. Adding support to the ISO for ZFS wouldn't be hard but adding support to the installer script would. Anyone is free to edit the code and try to get this working and submit a pull request. I have ideas on how it could be done so feel free to ask me any questions. Its just not something that I personally want to work on at the moment, too much of a headache. Anyone is free to attemp to impliment this if they wish, otherwise it will have to wait for a later release when I have the time.

deadhead420 avatar Mar 16 '17 20:03 deadhead420

I too would like to be able to install to ZFS root. The features are numerous and the stability is greater than btrfs. Native software RAID, compression, snapshots which are more intuitive than btrfs IMO, remote syncing of said snapshots for backup, and now native encryption.

Installation to a natively encrypted (not with LUKS) ZFS mirror, where /boot also lives within the encrypted FS, would be awesome!

All of the guides I've seen so far only cover separate /boot partition and only the BIOS/MBR + GRUB method seems to allow for booting from a single ZFS pool, BUT I think most users wouldn't mind having a smaller drive (read as one not requiring GPT partition table), for their system drives. Drives supporting that mode can be up to 2TB, so they're not exactly "small" per se.

UNIcodeX avatar May 02 '18 14:05 UNIcodeX