ZFS (JBOD) Installation Instructions

Disable selinux semanage permissive -a httpd_t   ZFS Setup *Kernel & Kernel Devel should match exact versions Grub configured to boot with kernel 3.10.0-514.el7.x86_64.rpm http://ask.xmodulo.com/change-default-boot-kernel-centos.html    
  • If server restarts, check if zfs module is well loaded by dkms and then reboot again to have zpool import auto restore the pool
    yum install -y wget wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/7.0/x86_64/updates/security/kernel-devel-3.10.0-514.el7.x86_64.rpm yum install -y kernel-devel-3.10.0-514.el7.x86_64.rpm   yum install -y http://download.zfsonlinux.org/epel/zfs-release.el7_5.noarch.rpm yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install -y dkms yum install -y zfs   Verify: modprobe zfs zpool status   Create with 2 raidz:   zpool create  -O atime=off -O compression=lz4 mnt raidz sdb sdc sdd raidz sde sdf sdg   Or use disk paths:   fdisk -l      zpool create -o ashift=12 -O atime=off -O compression=lz4 mnt raidz pci-0000:02:00.0-sas-exp0x5003048001ad34ff-phy13-lun-0 pci-0000:02:00.0-sas-exp0x5003048001ad34ff-phy14-lun-0 pci- 0000:02:00.0-sas-exp0x5003048001ad34ff-phy15-lun-0 raidz pci-0000:02:00.0-sas-exp0x5003048001ad34ff-phy16-lun-0 pci-0000:02:00.0-sas-exp0x5003048001ad34ff-phy17-lun-0 pci-0000:02:00.0-sas-e xp0x5003048001ad34ff-phy18-lun-0   ZSF links   https://linoxide.com/tools/guide-install-use-zfs-centos-7/ http://open-zfs.org/wiki/Performance_tuning#RAID-Z_stripe_width http://open-zfs.org/wiki/System_Administration https://www.reddit.com/r/DataHoarder/comments/28kq0c/one_large_zfs_pool_vs_multiple_smaller_ones/   https://madaboutbrighton.net/articles/2016/increase-zfs-pool-by-adding-larger-disks