April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

ZFS installation and configuration in CentOS 6 & 7

ZFS installation and configuration in CentOS 6 & 7
ZFS is a combined file system and logical volume manager designed by Sun Microsystems.
The features of ZFS include protection against data corruption, support for high storage capacities,
efficient data compression, integration of the concepts of file system and volume management,
snapshots and copy-on-write clones, continuous integrity checking and automatic repair,
RAID-Z and native NFSv4 ACLs.
Installation:
CentOS 6
# yum install epel-release -y
# sudo yum localinstall –nogpgcheck http://archive.zfsonlinux.org/epel/zfs-release.el6.noarch.rpm
# yum install kernel-devel zfs -y
CentOS 7
# yum localinstall –nogpgcheck http://archive.zfsonlinux.org/epel/zfs-release.el7.noarch.rpm
# yum install epel-release -y
# yum install kernel-devel zfs -y
And check wether the zfs kernel are loaded or not.
# lsmod | grep zfs
Usage :
Add 3 or more disks to your machine. And check the disk label. Consider we selected 3 disks named sda , sdb , sdc .
# zpool create -f mypool raidz sda sdb sdc
# zpool status

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>