Atlantic.Net Blog

How to Install and Configure GlusterFS on CentOS 6

Andrew Mora
by Atlantic.Net (6posts) under VPS Hosting
Verified and Tested 12/31/14


Quick installation of GlusterFS on Centos 6.x. GlusterFS clusters together storage building blocks over Infiniband RDMA or TCP/IP interconnect, aggregating disk and memory resources and managing data in a single global namespace.


You’ll need a separate hard disk(s) or virtual disk(s) to use as glusterfs storage mount point(s).

Installing and Configuring GlusterFS on CentOS 6

Install XFS file system

yum install xfsprogs –y

Download GlusterFS official repository

wget -P /etc/yum.repos.d

Install GlusterFS via YUM

 yum install glusterfs{-fuse,-server}

NOTE: You may be prompted during the installation to “Import a GPG key”, simply select “yes” and the installation will continue.

Partition, format and mount your GlusterFS Volume. In this case our “extra harddisk/virtual disk” is /dev/sdb/. NOTE: I will not be going into detail about how to partition your harddisk, as it is out of the scope of this article. We will be using the FDISK utility to partition /dev/sdb. Also note that you may choose your partitioning scheme as you please. For the sake of simplicity, we’ll be creating a single large partition /deb/sdb1

 fdisk /dev/sdb
Sample Fdisk Operation

Sample Fdisk Operation

Create a new Primary or extended partition, write it to the disk and exit the FDISK utility.

Proceed to format the disk in XFS.

 mkfs.xfs /dev/sdb1 –f

Add your new disk to /etc/fstab so that the disk is mounted at boot time

echo "/dev/sdb1 /export/brick1 xfs defaults 1 2" >> /etc/fstab
mount -a && mount

Start the GlusterFS daemon and make sure it starts upon boot time.

 service glusterd start ; chkconfig glusterd on


Congratulations you have installed and configured GlusterFS on CentOS 6. We hope this article assisted you with the process. Thank you for following this How-To, check back for updates and more interesting Centos how-to’s or learn more about our reliable VPS hosting solutions.

Get A Free To Use Cloud VPS

Free Tier Includes:
G2.1GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G2.1GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4


London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom