ZFS


yum install http://download.zfsonlinux.org/epel/zfs-release.el7_3.noarch.rpm
# 编辑yum源,开启[zfs-kmod] 关闭[zfs]
yum install zfs

touch /vdev1
truncate -s 50G /vdev1
zpool create data /vdev1

zfs set compression=lz4 data
zfs set  atime=off data
zfs set logbias=throughput data

chown dalmatiner /data/dalmatinerdb
chown dalmatinerfe /data/dalmatinerfe

systemctl enable zfs.target #开机加载模块
systemctl enable/start zfs-import-cache.service
systemctl enable/start zfs-mount.service
zpool destroy data

zfs get mounted data
zfs get mountpoint data
vi /etc/sysconfig/modules/zfs.modules

#!/bin/sh
/sbin/modinfo -F filename zfs > /dev/null 2>&1
if [ $? -eq 0 ]; then
    /sbin/modprobe zfs
fi

chmod 755 /etc/sysconfig/modules/zfs.modules