Installing ZFS on CentOS 6.4

Introduction

  • UPDATE THE SYSTEM
    • Install the updates for the CentOS by running the following command
      • $yum –y update
  • Restart the server after installing all the updates
  • INSTALLING ZFS ON CENTOS 6.4
  • 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  http://archive.zfsonlinux.org/epel/zfs-release-1-3.e16.noarch.rpm
      • $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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s