Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Welcome to the archzfs wiki!
Report an issue
To report an issue with OpenZFS integration into Arch Linux, visit the reporting page!
The archzfs repository
This repository is not endorsed by the Arch Developers and is referred to as an "unofficial" repository for Arch Linux.
Included package groups
The archzfs repository includes the following package groups that target a particular kernel.
You can install multiple of these groups side by side, but you can't mix git and non git versions.
The default kernel for Arch Linux and latest stable OpenZFS. Use this if you are concerned about ZFS stability.
While this is the best option for most people, occasionally the OpenZFS project gets behind on stable support for the latest Linux Kernel release. This means that if Linux 4.15 is released to core, but the latest stable release of OpenZFS does not support Linux 4.15, it is not possible to perform a system update. Sometimes it can take a few days, a few weeks, or a month to release a new stable version of OpenZFS. If you happen miss to upgrade a more recent OpenZFS supported version, and the latest stable is ahead of the OpenZFS supported one, there's a solution to upgrade to the latest OpenZFS supported kernel without digging up the matching kernel packages from Arch Linux Archive.
Some users just wait for a new stable OpenZFS version. It is possible to tell pacman to ignore updates to the linux package in
/etc/pacman.confand keep the system up-to-date, minus the kernel. Other users don't like having a system that is not completely up-to-date. The archzfs project has packages for users of all types!
The for Arch Linux with OpenZFS being built from the latest git commit for ZFS and SPL. Use this if feature is required from OpenZFS that is not included in the latest stable release of OpenZFS, or if the current stable OpenZFS version does not support the Linux version that is in core.
The packages with "git" in the names in the archzfs repo build from the master branches of the ZFS and SPL repositories of the OpenZFS project. This does result in some risk that a system may become unstable due to unknown bugs. However, every commit that makes it into the master branch in these projects has been regression tested, so there is some comfort in knowing that. In the future, the archzfs project will run the same tests that the OpenZFS project uses after packages are built for reduced risk.
archzfs-linux-lts and archzfs-linux-lts-git
Support for the lts Linux Kernel packages.
archzfs-linux-hardened and archzfs-linux-hardened-git
Support for the linux-hardened kernel.
archzfs-linux-zen and archzfs-linux-zen-git
Support for the linux-zen kernel packages in extra. See https://github.com/zen-kernel/zen-kernel/issues/30 for provide features of the linux-zen kernel.
archzfs-linux-vfio and archzfs-linux-vfio-git
Support for the linux-vfio kernel packages from AUR. See https://aur.archlinux.org/packages/linux-vfio/ and
archzfs-dkms and archzfs-dkms-git
These packages support all kernels, but need to be automatically rebuilt on every kernel update on the users machine. This can increase the time it takes to update a system. Use this package if switching kernels often.
Using the archzfs repository
Add the following to the end of
[archzfs] Server = http://archzfs.com/$repo/$arch
Both the database and the packages are signed, so you will have to add the key to pacman's trusted key list.
# pacman-key -r F75D9D76 # pacman-key --lsign-key F75D9D76
Then update your pacman database.
# pacman -Syyu
You can now install zfs.
Contribute to the project
Using the test scripts