How To Install glusterfs on Rocky Linux 8

In this tutorial we learn how to install glusterfs on Rocky Linux 8. glusterfs is Distributed File System

Introduction

In this tutorial we learn how to install glusterfs on Rocky Linux 8.

What is glusterfs

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 or dnf to install glusterfs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install glusterfs.

Install glusterfs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install glusterfs

Install glusterfs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install glusterfs

How To Uninstall glusterfs on Rocky Linux 8

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

sudo dnf remove glusterfs

glusterfs Package Contents on Rocky Linux 8

/run/gluster
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/6b2a9dec0516613df5cd099029dc5476d0511e
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/8d76e346d44418da7f035835abff7c715ff2bd
/usr/lib/.build-id/2d/db68843011f7f25cda76bd93306877e9cad57b
/usr/lib/.build-id/30
/usr/lib/.build-id/30/3abedbe6e5bfa71116da74abfd6af3897fe190
/usr/lib/.build-id/32
/usr/lib/.build-id/32/cd59091a89fd9a3aa962a85d6c9d21c978d0da
/usr/lib/.build-id/33
/usr/lib/.build-id/33/453f4dd850c0d86663958474e91561f3bf8be4
/usr/lib/.build-id/36
/usr/lib/.build-id/36/89fb247605e1ab1ba0e17df8432f579294bf46
/usr/lib/.build-id/39
/usr/lib/.build-id/39/ee1a75e4d3331e9e05fca966aaf76d371788a4
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/18a31cfb975add8524a0c2a9f0b9ee73900e16
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/4aa3df88e4862441b99894fabdcdd6b7edeb85
/usr/lib/.build-id/63
/usr/lib/.build-id/63/d2d2629b6cdd392c0aa3ecd0ea8bce0bf22d1b
/usr/lib/.build-id/65
/usr/lib/.build-id/65/f24e835b8dd0535d03ff230fe148f1f2d25ec8
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/3f9d69745d3f3f4882ccbe33b646c0573264c4
/usr/lib/.build-id/72
/usr/lib/.build-id/72/03a322e2d4708e3db6f49de89fe57edc58cb50
/usr/lib/.build-id/81
/usr/lib/.build-id/81/4a952166a4cf6cf54cbd6852c00cc87f526aba
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/e071de9512ef558c675fba17e19e16a78cd03e
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/acda1b5d326a5e883cb9ea646438c0244e5fc7
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/f7cd3930a05e907e40df80e96743705a5bfd9a
/usr/lib/.build-id/91
/usr/lib/.build-id/91/bee2e50c8691e3c1a6cfceba3b936c3c6f75b0
/usr/lib/.build-id/93
/usr/lib/.build-id/93/e95cc506d86f3bbd2d22645567b19cbd657630
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/8cba3b67b386decf39e88655b7a6b71b2b5268
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/ebfe7dc999dfd1828134f71e722c07b605c4d4
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/edb3d2f1bd27963a462514a75d79cdeeba42df
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/26af4eea975e206914362d68b757ad7145f8e1
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/8859bf4f6633188f5286a704f8ef79a553d52a
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/3f69392541f6196af723c10e9b312d067a00d9
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/bb9db925d5f07a0bcd41b8aaa1579c5f899edd
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/2b8fe5b73c2654a483c7f9fe270b279224e724
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/1cb17f5909fde4516c95e53b76d47dfbbb196a
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/80e78e2af8a02d41711fe9490e85d8c758ca1c
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/043d4f50d001b622a41000a6600c06a58f9114
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/5a800f2f63089e7c0ff00483b10f9b8182c226
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/54a4c8159445dfbf77e1d0aef5c8bf482bc7de
/usr/lib64/glusterfs
/usr/lib64/glusterfs/6.0
/usr/lib64/glusterfs/6.0/auth
/usr/lib64/glusterfs/6.0/auth/addr.so
/usr/lib64/glusterfs/6.0/auth/login.so
/usr/lib64/glusterfs/6.0/rpc-transport
/usr/lib64/glusterfs/6.0/rpc-transport/socket.so
/usr/lib64/glusterfs/6.0/xlator
/usr/lib64/glusterfs/6.0/xlator/debug
/usr/lib64/glusterfs/6.0/xlator/debug/delay-gen.so
/usr/lib64/glusterfs/6.0/xlator/debug/error-gen.so
/usr/lib64/glusterfs/6.0/xlator/debug/io-stats.so
/usr/lib64/glusterfs/6.0/xlator/debug/sink.so
/usr/lib64/glusterfs/6.0/xlator/debug/trace.so
/usr/lib64/glusterfs/6.0/xlator/features
/usr/lib64/glusterfs/6.0/xlator/features/access-control.so
/usr/lib64/glusterfs/6.0/xlator/features/barrier.so
/usr/lib64/glusterfs/6.0/xlator/features/cdc.so
/usr/lib64/glusterfs/6.0/xlator/features/changelog.so
/usr/lib64/glusterfs/6.0/xlator/features/cloudsync.so
/usr/lib64/glusterfs/6.0/xlator/features/gfid-access.so
/usr/lib64/glusterfs/6.0/xlator/features/namespace.so
/usr/lib64/glusterfs/6.0/xlator/features/read-only.so
/usr/lib64/glusterfs/6.0/xlator/features/shard.so
/usr/lib64/glusterfs/6.0/xlator/features/snapview-client.so
/usr/lib64/glusterfs/6.0/xlator/features/utime.so
/usr/lib64/glusterfs/6.0/xlator/features/worm.so
/usr/lib64/glusterfs/6.0/xlator/meta.so
/usr/lib64/glusterfs/6.0/xlator/performance
/usr/lib64/glusterfs/6.0/xlator/performance/io-cache.so
/usr/lib64/glusterfs/6.0/xlator/performance/io-threads.so
/usr/lib64/glusterfs/6.0/xlator/performance/md-cache.so
/usr/lib64/glusterfs/6.0/xlator/performance/nl-cache.so
/usr/lib64/glusterfs/6.0/xlator/performance/open-behind.so
/usr/lib64/glusterfs/6.0/xlator/performance/quick-read.so
/usr/lib64/glusterfs/6.0/xlator/performance/read-ahead.so
/usr/lib64/glusterfs/6.0/xlator/performance/readdir-ahead.so
/usr/lib64/glusterfs/6.0/xlator/performance/stat-prefetch.so
/usr/lib64/glusterfs/6.0/xlator/performance/write-behind.so
/usr/lib64/glusterfs/6.0/xlator/system
/usr/lib64/glusterfs/6.0/xlator/system/posix-acl.so
/usr/share/doc/glusterfs
/usr/share/doc/glusterfs/COMMITMENT
/usr/share/doc/glusterfs/COPYING-GPLV2
/usr/share/doc/glusterfs/COPYING-LGPLV3
/usr/share/doc/glusterfs/ChangeLog
/usr/share/doc/glusterfs/INSTALL
/usr/share/doc/glusterfs/README.md
/usr/share/doc/glusterfs/THANKS
/usr/share/glusterfs/scripts/collect-system-stats.sh
/usr/share/glusterfs/scripts/identify-hangs.sh
/usr/share/glusterfs/scripts/log_accounting.sh
/usr/share/man/man8/gluster-setgfid2path.8.gz
/usr/share/man/man8/gluster.8.gz
/usr/share/man/man8/glusterfs.8.gz
/usr/share/man/man8/mount.glusterfs.8.gz
/var/log/glusterfs

References

Summary

In this tutorial we learn how to install glusterfs on Rocky Linux 8 using yum and dnf.