Install ZFS Packages

Instructions on how to install our ZFS packages.

ZFS

ZFS is a centrepiece on our storage design. BtrFS is not there yet. Our packages provide support for OpenZFS v2 as Red Hat 8 (including CentOS, Oracle Linux, Rocky Linux rebuilds) lacks any v2 support i.e the packages which are part of the distribution repositories are still the old 0.8.x ZFS on Linux, so they are missing the improvements made since ZoL merged with OpenZFS.

The package builds themselves are driven by the OpenZFS make targets. The only notable change is to rebuild noarch packages as deemed x86_64 packages to simplify repository maintenance.

The installation is straightforward:

# dkms is provided by EPEL, this is Oracle Linux example
# kernel-devel is a prerequisite for dkms build
# kernel-uek-devel is Oracle Linux specific
sudo dnf install oracle-epel-release-el8 kernel-devel kernel-uek-devel
sudo dnf install zfs zfs-dkms

zfs-dkms builds the actual kernel module for the ZFS driver. Note that on the first run, the zfs module is not automatically loaded, therefore, it needs to be manually loaded:

sudo modprobe zfs

Supported distributions

Our builds were made under Oracle Linux 8.3. They should run without issues under Red Hat / CentOS 8.