Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
yum remove zfs zfs-kmod spl spl-kmod libzfs2 libnvpair1 libuutil1 libzpool2 zfs-release
yum install http://download.zfsonlinux.org/epel/zfs-release.el7_4.noarch.rpm
find /lib/modules/ \( -name "splat.ko" -or -name "zcommon.ko" \
	-or -name "zpios.ko" -or -name "spl.ko" -or -name "zavl.ko" -or \
	-name "zfs.ko" -or -name "znvpair.ko" -or -name "zunicode.ko" \) \
	-exec /bin/rm {} \;


Disable [zfs] and enable [zfs-kmod] in the zfs repo:

...

Code Block
yum autoremove
yum install zfs zfs-dracut
systemctl preset zfs-import-cache zfs-import-scan zfs-mount zfs-share zfs-zed zfs.target


# Do the system update
yum update

# Re-enable services
systemctl enable zfs-import-cache
systemctl enable zfs-import-scan
systemctl enable zfs-mount
systemctl enable zfs-share
systemctl enable zfs-zed
systemctl enable zfs.target

...