Native ZFS on Linux
RHEL / CentOS / Scientific Linux Packages

DKMS style packages for RHEL, CentOS, and Scientific Linux are available from the zfsonlinux.org repository. These packages track the latest official upstream tag and are refreshed as new releases are made available. Packages are provided for:

  • Releases: 6, 7
  • Arches: x86_64

To add the repository to your system install the zfs-release package as shown below. This will add the /etc/yum.repo.d/zfs.repo file and required signing keys to your system. Additionally, if your system does not already have the EPEL repository installed you will need to add it. Once both repositories are installed you can install zfs like any other package using yum. As new updated packages are made available they will be detected and installed as part of the standard update process.

  • EPEL 6
  • $ sudo yum localinstall --nogpgcheck https://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    $ sudo yum localinstall --nogpgcheck http://archive.zfsonlinux.org/epel/zfs-release.el6.noarch.rpm
    $ sudo yum install kernel-devel zfs
    		
  • OpenVZ 2.6.32 EPEL 6
  • $ sudo yum localinstall --nogpgcheck https://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    $ sudo yum localinstall --nogpgcheck http://archive.zfsonlinux.org/epel/zfs-release.el6.noarch.rpm
    $ sudo yum install vzkernel-devel zfs
    		
  • EPEL 7
  • $ sudo yum localinstall --nogpgcheck https://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
    $ sudo yum localinstall --nogpgcheck http://archive.zfsonlinux.org/epel/zfs-release.el7.noarch.rpm
    $ sudo yum install kernel-devel zfs 

In addition to the primary zfs repository a zfs-testing repository is available. This repository, which is disabled by default, contains the latest versions of zfs which are under active development. These packages are made available in order to get feedback from testers regarding the functionality and stability of upcoming releases. These packages should not be used on production systems. Packages from the testing repository can be installed as follows.

$ sudo yum --enablerepo=zfs-testing install kernel-devel zfs 

Package keys

The EPEL ZFS on Linux packages are signed using the public gpg key with the id F14AB620. The public key is part of the zfs-release package for EPEL.

        Key ID: F14AB620
        Key fingerprint = C93A FFFD 9F3F 7B03 C310  CEB6 A9D5 A1C0 F14A B620