Zfs

From KlavoWiki
Jump to navigationJump to search

https://en.wikipedia.org/wiki/Non-standard_RAID_levels#RAID-Z

CentOS 7.2

yum -y install gcc
rpm -Uhv ftp://ftp.gwdg.de/opensuse/repositories/home:/Kenzy:/modified:/C7/CentOS_7/noarch/dkms-2.2.0.3-31.1.noarch.rpm
yum localinstall --nogpgcheck http://archive.zfsonlinux.org/epel/zfs-release.el7.noarch.rpm
yum install zfs
reboot


zpool create -f data1 raidz /dev/sdb /dev/sdc /dev/sdd /dev/sde
zpool create -f data1 raidz2 -m /mnt/data1 /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg
zpool status
zpool destory data1

zfs CLI Reference