How To Install glusterfs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install glusterfs.x86_64 in Amazon Linux 2. glusterfs.x86_64 is Distributed File System

Introduction

In this tutorial we learn how to install glusterfs.x86_64 on Amazon Linux 2.

What is glusterfs.x86_64

GlusterFS is a distributed file-system capable of scaling to several petabytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. GlusterFS is one of the most sophisticated file systems in terms of features and extensibility. It borrows a powerful concept called Translators from GNU Hurd kernel. Much of the code in GlusterFS is in user space and easily manageable. This package includes the glusterfs binary, the glusterfsd daemon and the libglusterfs and glusterfs translator modules common to both GlusterFS server and client framework.

We can use yum to install glusterfs.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install glusterfs.x86_64.

Install glusterfs.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install glusterfs.x86_64 using yum by running the following command:

sudo yum -y install glusterfs.x86_64

How To Uninstall glusterfs.x86_64 on Amazon Linux 2

To uninstall only the glusterfs.x86_64 package we can use the following command:

sudo yum remove glusterfs.x86_64

glusterfs.x86_64 Package Contents on Amazon Linux 2

/run/gluster
/usr/lib64/glusterfs
/usr/lib64/glusterfs/3.12.2
/usr/lib64/glusterfs/3.12.2/auth
/usr/lib64/glusterfs/3.12.2/auth/addr.so
/usr/lib64/glusterfs/3.12.2/auth/login.so
/usr/lib64/glusterfs/3.12.2/rpc-transport
/usr/lib64/glusterfs/3.12.2/rpc-transport/socket.so
/usr/lib64/glusterfs/3.12.2/xlator
/usr/lib64/glusterfs/3.12.2/xlator/debug
/usr/lib64/glusterfs/3.12.2/xlator/debug/error-gen.so
/usr/lib64/glusterfs/3.12.2/xlator/debug/io-stats.so
/usr/lib64/glusterfs/3.12.2/xlator/debug/sink.so
/usr/lib64/glusterfs/3.12.2/xlator/debug/trace.so
/usr/lib64/glusterfs/3.12.2/xlator/encryption
/usr/lib64/glusterfs/3.12.2/xlator/encryption/crypt.so
/usr/lib64/glusterfs/3.12.2/xlator/features
/usr/lib64/glusterfs/3.12.2/xlator/features/access-control.so
/usr/lib64/glusterfs/3.12.2/xlator/features/barrier.so
/usr/lib64/glusterfs/3.12.2/xlator/features/cdc.so
/usr/lib64/glusterfs/3.12.2/xlator/features/changelog.so
/usr/lib64/glusterfs/3.12.2/xlator/features/gfid-access.so
/usr/lib64/glusterfs/3.12.2/xlator/features/read-only.so
/usr/lib64/glusterfs/3.12.2/xlator/features/shard.so
/usr/lib64/glusterfs/3.12.2/xlator/features/snapview-client.so
/usr/lib64/glusterfs/3.12.2/xlator/features/worm.so
/usr/lib64/glusterfs/3.12.2/xlator/meta.so
/usr/lib64/glusterfs/3.12.2/xlator/performance
/usr/lib64/glusterfs/3.12.2/xlator/performance/io-cache.so
/usr/lib64/glusterfs/3.12.2/xlator/performance/io-threads.so
/usr/lib64/glusterfs/3.12.2/xlator/performance/md-cache.so
/usr/lib64/glusterfs/3.12.2/xlator/performance/nl-cache.so
/usr/lib64/glusterfs/3.12.2/xlator/performance/open-behind.so
/usr/lib64/glusterfs/3.12.2/xlator/performance/quick-read.so
/usr/lib64/glusterfs/3.12.2/xlator/performance/read-ahead.so
/usr/lib64/glusterfs/3.12.2/xlator/performance/readdir-ahead.so
/usr/lib64/glusterfs/3.12.2/xlator/performance/stat-prefetch.so
/usr/lib64/glusterfs/3.12.2/xlator/performance/write-behind.so
/usr/lib64/glusterfs/3.12.2/xlator/system
/usr/lib64/glusterfs/3.12.2/xlator/system/posix-acl.so
/usr/share/doc/glusterfs-3.12.2
/usr/share/doc/glusterfs-3.12.2/COPYING-GPLV2
/usr/share/doc/glusterfs-3.12.2/COPYING-LGPLV3
/usr/share/doc/glusterfs-3.12.2/ChangeLog
/usr/share/doc/glusterfs-3.12.2/INSTALL
/usr/share/doc/glusterfs-3.12.2/README.md
/usr/share/doc/glusterfs-3.12.2/THANKS
/usr/share/glusterfs
/usr/share/glusterfs/scripts
/usr/share/glusterfs/scripts/post-upgrade-script-for-quota.sh
/usr/share/glusterfs/scripts/pre-upgrade-script-for-quota.sh
/usr/share/man/man8/glusterd.8.gz
/usr/share/man/man8/glusterfs.8.gz
/usr/share/man/man8/glusterfsd.8.gz
/usr/share/man/man8/mount.glusterfs.8.gz
/var/log/glusterfs

References

Summary

In this tutorial we learn how to install glusterfs.x86_64 on Amazon Linux 2 using yum.