GlusterFS is a distributed filesystem that is scalable and highly available. There are a few modes that you can configure GlusterFS with such as replicated, distributed and dispersed. Each comes with their own benefit and can be configured based on your workload or requirement.

You can create a high availability storage with GlusterFS on 2 or more common off-the-shelf server hardware. It could be easily be configured on Linux distributions such as CentOS / Red Hat and Ubuntu.

Steps to create highly available storage with GlusterFS:

  1. Install and configure GlusterFS server on your preferred Linux hosts.
  2. Prepare a dedicated partition on each server to be used for the volume.

    XFS is the recommended filesystem type for GlusterFS but other filesystems can also be used.

    Shared partition can also be used but is not recommended.

  3. Create a storage cluster or peer nodes configuration that will host our GlusterFS volume.
  4. Create a GlusterFS volume on top of the created storage cluster.
  5. Mount GlusterFS volume from remote machines.
Discuss the article:

Comment anonymously. Login not required.