Installing ZFS on CentOS 6.4


    • Install the updates for the CentOS by running the following command
      • $yum –y update
  • Restart the server after installing all the updates
  • Using ZFS on Linux is an attractive solution for a high-performance NFS server due to several key factors
    • Cost, ability to use commodity hardware with free software
    • Simplicity, quick install and easy to configure / manage
    • Flexibility, ZFS offers a plethora of options for your filesystems needs
    • After upgrading the system in the previous step do the following
      • $yum localinstall –nogpgcheck
      • $yum install zfs
      • The next step is to install the ZFS module (drivers) with the following command
        • $modprobe zfs
        • I did not have to use this command on a CentOS 6.4, so after installing the zfs in the previous step, I restarted the server
        • The update command and the zfs installation installed all the new updates with the new kernel version.
        • Now that zfs has been installed, let us make sure it is loaded appropriately by using the following command
          • $lsmod | grep zfs
          • zfs
          • Now I want to create my ZFS array, to do that I need to find the device ID’s of my hard drives. Running the command
            • $fdisk -l | grep 2000.4
            • Gives me a list of the 2TB drives that I will be using for the zfs array