Быстрая настройка ZFS on Linux

Установка

wget https://download.zfsonlinux.org/epel/zfs-release.el7_6.noarch.rpm
yum install -y zfs-release.el7_6.noarch.rpm
yum update -y
Измените репозиторий для использования пакета "kABI-tracking kmod"

For most users the kABI-tracking kmod packages are recommended in order to avoid needing to rebuild ZFS for every kernel update. DKMS packages are recommended for users running a non-distribution kernel or for users who wish to apply local customizations to ZFS on Linux.

# /etc/yum.repos.d/zfs.repo

 [zfs]
 name=ZFS on Linux for EL 7 - dkms
 baseurl=https://download.zfsonlinux.org/epel/7/$basearch/
-enabled=1
+enabled=0
 metadata_expire=7d
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux
@@ -9,7 +9,7 @@
 [zfs-kmod]
 name=ZFS on Linux for EL 7 - kmod
 baseurl=https://download.zfsonlinux.org/epel/7/kmod/$basearch/
-enabled=0
+enabled=1
 metadata_expire=7d
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux
Продолжение установки
yum install -y zfs

Настройка

zpool create dedup /dev/sdb
zpool add dedup cache /dev/sdc
zfs set dedup=on dedup
zfs set compression=on dedup