Native ZFS installation on rhel6
Zfs (zettabyte File System), as a brand new file system, has completely abandoned the traditional file system + volume manager + storage (File System + volume management + storage) architecture, all storage devices are managed through the ZFS pool. As long as you add various storage devices to the same ZFS pool, you can easily manage the configuration file system in this ZFS pool.
1) view the RHEL version
$ CAT/etc/RedHat-release
Red Hat Enterprise Linux Server Release 6.4 (Santiago)
2) pre-Installation
$ Yum install kernel-devel zlib-devel libuuid-devel libblkid-devel libselinux-devel parted lsscsi
3) download ZFS Software
$ Wget http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.0-rc14.tar.gz
$ Wget http://archive.zfsonlinux.org/downloads/zfsonlinux/spl/spl-0.6.0-rc14.tar.gz
4) install SPL
$ Tar xfvz spl-0.6.0-rc14.tar.gz
$ Spl-0.6.0-rc14 CD
$./Configure & make rpm
$ Rpm-uvh *. x86_64.rpm
Preparing... ########################################### [100%] 1:spl-modules-devel ########################################### [ 33%] 2:spl-modules ########################################### [ 67%] 3:spl ########################################### [100%]
5) install ZFS
$ Tar xfvz zfs-0.6.0-rc14.tar.gz
$./Configure & make rpm
$ Rpm-uvh *. x86_64.rpm
Preparing... ########################################### [100%] 1:zfs-test ########################################### [ 17%] 2:zfs-modules-devel ########################################### [ 33%] 3:zfs-modules ########################################### [ 50%] 4:zfs-dracut ########################################### [ 67%] 5:zfs-devel ########################################### [ 83%] 6:zfs ########################################### [100%]
Cheungmine
6) Start ZFS and check the status
$ Modprobe ZFS
$ Lsmod | grep-I ZFS
zfs 1141031 0zcommon 44398 1 zfsznvpair 80033 2 zfs,zcommonzavl 6925 1 zfszunicode 323159 1 zfsspl 261442 5 zfs,zcommon,znvpair,zavl,zunicode
Cheungmine
Usage reference:
Http://prefetch.net/blog/index.php/2012/02/13/installing-zfs-on-a-centos-6-linux-server/
Http://www.ibm.com/developerworks/cn/linux/l-zfs/index.html
Native ZFS installation on rhel6