Native ZFS on Linux
ZFS Lustre Servers

Lustre DKMS packages for RHEL, CentOS and Scientific Linux are available from the repository. They track the upstream Lustre maintenance branch and are refreshed periodically. Packages are provided for:

  • Releases: 6
  • 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 lustre 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
    $ sudo yum localinstall --nogpgcheck
    # Install a ZFS based Lustre server.
    $ sudo yum install kernel-devel lustre lustre-osd-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 lustre lustre-osd-zfs

To familiarize yourself with the ZFS Lustre servers you can quickly setup a new test filesystem using the script. Make sure SELinux is disabled and the lustre-tests package is installed, then run:

$ sudo yum install lustre-tests
$ sudo FSTYPE=zfs /usr/lib64/lustre/tests/

$ df -h
Filesystem            Size  Used Avail Use% Mounted on
lustre-mdt1/mdt1      154M  2.9M  149M   2% /mnt/mds1
lustre-ost1/ost1      154M  1.3M  151M   1% /mnt/ost1
lustre-ost2/ost2      154M  1.2M  151M   1% /mnt/ost2
                      308M  2.4M  302M   1% /mnt/lustre

You've create a single node Lustre filesystem backed by ZFS which is mounted at /mnt/lustre. When you're done testing it can be unmounted and the servers stopped with the script. To deploy a more realistic configuration you should refer to the official Lustre documentation.

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