ZFS packages for Fedora, CentOS Stream & RHEL for the aarch64 architecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Nicolas Massé 82efc7ce6d wip 11 months ago
.copr wip 11 months ago
centos-9 work in progress 11 months ago
centos-10 wip 11 months ago
fedora-41 work in progress 11 months ago
fedora-42 work in progress 11 months ago
fedora-43 work in progress 11 months ago
.gitattributes initial commit 11 months ago
.gitignore initial commit 11 months ago
README.md doc 11 months ago
build.sh work in progress 11 months ago
update.sh work in progress 11 months ago

README.md

ZFS RPM packages for aarch64 architecture for Fedora, CentOS Stream & RHEL

Purpose

This repository provides ZFS and libvirt RPM packages compiled specifically for the aarch64 (ARM64) architecture on Fedora, CentOS Stream, and RHEL systems. The main goals are:

  • ZFS Support on ARM64: Provides native ZFS filesystem support for aarch64 systems where official ZFS packages may not be available or up-to-date
  • Libvirt with ZFS Storage: Patches libvirt to enable ZFS storage pool support on aarch64 architecture, allowing virtualization environments to leverage ZFS storage backends
  • Multi-distribution Support: Builds packages for multiple Linux distributions (Fedora 41-43, CentOS Stream 9-10) to ensure broad compatibility
  • Automated Building: Uses COPR (Cool Other Package Repo) infrastructure for automated building and distribution

The repository automatically downloads upstream source RPMs, applies necessary patches (especially the 20-enable-zfs.patch for libvirt), and builds optimized packages for ARM64 systems.

Usage

Installing ZFS Packages

The packages are built and hosted on COPR. To use them on your aarch64 system:

  1. Enable the COPR repository:

    sudo dnf copr enable nmasse-itix/zfs-aarch64
    
  2. Install ZFS packages:

    # Install ZFS userspace utilities
    sudo dnf install zfs zfs-dkms
    
    # Install libvirt with ZFS support
    sudo dnf install libvirt
    

And then follow the Getting Started documentation.

Supported Distributions

  • Fedora: 41, 42, 43
  • CentOS Stream: 9, 10
  • RHEL: 9, 10 (via EPEL repositories)

Using ZFS with Libvirt

After installing the patched libvirt package, you can create ZFS storage pools:

# Create a ZFS storage pool definition
virsh pool-define-as mypool zfs - - - - /path/to/zfs/dataset

# Start and enable the pool
virsh pool-start mypool
virsh pool-autostart mypool

Development

If you want to fork this repo and build it yourself, here are the instructions with copr-cli.

copr-cli create --chroot fedora-41-aarch64 --chroot fedora-42-aarch64 --chroot epel-9-aarch64 --chroot epel-10-aarch64 zfs-aarch64

And then send the build to COPR.

./build.sh

License

The source code of ZFS, Libvirt and the Fedora RPM spec files remain licensed under their original license. The patches and top-level scripts may be too trivial to receive a license. In case a license is required for them, they are under MIT License.