These are Arch Linux PKGBUILDs for ZFS on Linux (ZoL) based on the master branch.
The PKGBUILDs were started as a fork of the wonderful work done by @demizer to be tailored for my own needs. They have thus since diverged in some ways from the original. Feel free to use them if you like—I tend to update them pretty often—but please also understand that, unfortunately, I cannot offer any support for them. Unless you really know what you're doing, I strongly suggest that you instead use the semi-official packages at archzfs/archzfs.
Important notice: ZFS will fail to load properly the pools and datasets without the right systemd units enabled. A preset file with sane defaults is included. It can be easily applied by e.g. running the following command:
systemctl preset \
$(tail -n +2 /usr/lib/systemd/system-preset/50-zfs.preset | cut -d ' ' -f 2)
Notice: You'll need a recent version of GRUB to be able to boot from a ZFS pool, especially from one that has more feature flags enabled. The official GRUB package from Arch's core repo should in most cases work fine. Alternatively, the grub-git package from AUR may be needed instead. The grub-zfs
package that was included previously has been discontinued, as it got badly outdated and wasn't really needed any more, and is replaced in the repo by grub-git
.
There is a publicly available repository with binary packages for the x86_64
architecture, but it is also provided as is. The current package versions in the repo are as follows:
grub-git-2.04.r29.g0f3f5b7c1-1
zfs-utils-git-0.8.0.r495.g82e996c26_5.4.7.arch1.r1-1
zfs-git-0.8.0.r495.g82e996c26_5.4.7.arch1.r1-1