Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Installing ZFS on Centos 7

Here are the only commands used to install ZFS on Centos 7

First install from CentOS-7-x86_64-Minimal-1611.iso

yum -y install epel-release
yum -y update

after reboot

yum localinstall --nogpgcheck
# backup kept here:
yum -y install kernel-devel
yum -y install zfs
modprobe zfs

without running modprobe zfs, ZFS did not run.

After reboot, ZFS was not running either.

I followed the instructions here, specifically:

systemctl preset zfs-import-cache zfs-import-scan zfs-mount zfs-share zfs-zed

after reboot:

systemctl enable zfs-import-scan

reboot again, and all works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.