How To Install glusterfs on Fedora 34

glusterfs is Distributed File System

Introduction

In this tutorial we learn how to install glusterfs on Fedora 34.

What is glusterfs

GlusterFS is a distributed file-system capable of scaling to several petabytes. It aggregates various storage bricks over TCP/IP interconnect into one large parallel network filesystem. 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install glusterfs.

Install glusterfs on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install glusterfs

Install glusterfs on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove glusterfs

glusterfs Package Contents on Fedora 34

/run/gluster
/run/gluster/metrics
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/c6c339d88331ed7493ed66631bef112e2b0f26
/usr/lib/.build-id/06
/usr/lib/.build-id/06/f676b0bda651162ff238d5db97a22b2cec4e84
/usr/lib/.build-id/12
/usr/lib/.build-id/12/e39660b8b52edef81fd2247868819fd858c625
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/2bf9566b8c82299b4eadc26d3c9096a672efe0
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/c1b647134ec328e9e2408c59e87c944bb18496
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/1a0737e77a770cf7241f3b34ff1d7be81ed081
/usr/lib/.build-id/45
/usr/lib/.build-id/45/b1a1f4f872e7b776e81ffb1ec2922b658c67f9
/usr/lib/.build-id/54
/usr/lib/.build-id/54/da03d1ace18ce2dd7ccea1e08e2b1675d8bdff
/usr/lib/.build-id/56
/usr/lib/.build-id/56/28d333a33db0cf5c917c8ad3468136d961ee64
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/04cd50162a1ceb519ccf7ddde2df19ceaef7a2
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/e8408d24f44f3af27dfdd0b75b216dcc5a9673
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/06312151b0ef3f4ea8f8f1de44a8e7246f6572
/usr/lib/.build-id/70
/usr/lib/.build-id/70/09e19f2ea133849eedde0b28d47d6587b84ef6
/usr/lib/.build-id/70/aabd8f23acc54ae37b7f74846136c009815596
/usr/lib/.build-id/78
/usr/lib/.build-id/78/75ffcddfbaf7567ee7da168218113e3932f242
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/d8c6fda8b45211dfd9bf2684c37fdcfd0030a3
/usr/lib/.build-id/81
/usr/lib/.build-id/81/c0b7cfa63289bb31111ffa85e80baa6054d5ba
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/552bd32ba24dba063842099c9dfa831b92cc04
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/b152002829e4eecad349a8c87b6d0f296f4f6e
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/8735fc6ab2c6a6ebccee587869003b9996f735
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/af47e438175871c1ceb00479bd60137a5568d1
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/3a7fe3644800993421b45940bfecc388723911
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/4845683b71b2f55133f11faa34ffd47bda2dd9
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/0493a43b2ab163b435b42ff34a1e679369d1e4
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/b69050b8b23b1e9ebd36e786740af930cddab2
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/a308cffe5e6159001014d617db2eb85a74aef5
/usr/lib/.build-id/df
/usr/lib/.build-id/df/59657d2f4763cd893c0cf1f1eb32e2b5e40829
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/34545f8c544326ed2e817c60aab940b021412f
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/510c658cf75b0361ef17007811846d5cf7d23d
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/1a017a89a7ae354ed751e571bc8bb14a995ee0
/usr/lib/tmpfiles.d/gluster.conf
/usr/lib64/glusterfs
/usr/lib64/glusterfs/9.3
/usr/lib64/glusterfs/9.3/auth
/usr/lib64/glusterfs/9.3/auth/addr.so
/usr/lib64/glusterfs/9.3/auth/login.so
/usr/lib64/glusterfs/9.3/rpc-transport
/usr/lib64/glusterfs/9.3/rpc-transport/socket.so
/usr/lib64/glusterfs/9.3/xlator
/usr/lib64/glusterfs/9.3/xlator/debug
/usr/lib64/glusterfs/9.3/xlator/debug/delay-gen.so
/usr/lib64/glusterfs/9.3/xlator/debug/error-gen.so
/usr/lib64/glusterfs/9.3/xlator/debug/io-stats.so
/usr/lib64/glusterfs/9.3/xlator/debug/sink.so
/usr/lib64/glusterfs/9.3/xlator/debug/trace.so
/usr/lib64/glusterfs/9.3/xlator/features
/usr/lib64/glusterfs/9.3/xlator/features/access-control.so
/usr/lib64/glusterfs/9.3/xlator/features/barrier.so
/usr/lib64/glusterfs/9.3/xlator/features/cdc.so
/usr/lib64/glusterfs/9.3/xlator/features/changelog.so
/usr/lib64/glusterfs/9.3/xlator/features/cloudsync.so
/usr/lib64/glusterfs/9.3/xlator/features/gfid-access.so
/usr/lib64/glusterfs/9.3/xlator/features/namespace.so
/usr/lib64/glusterfs/9.3/xlator/features/read-only.so
/usr/lib64/glusterfs/9.3/xlator/features/shard.so
/usr/lib64/glusterfs/9.3/xlator/features/snapview-client.so
/usr/lib64/glusterfs/9.3/xlator/features/utime.so
/usr/lib64/glusterfs/9.3/xlator/features/worm.so
/usr/lib64/glusterfs/9.3/xlator/meta.so
/usr/lib64/glusterfs/9.3/xlator/performance
/usr/lib64/glusterfs/9.3/xlator/performance/io-cache.so
/usr/lib64/glusterfs/9.3/xlator/performance/io-threads.so
/usr/lib64/glusterfs/9.3/xlator/performance/md-cache.so
/usr/lib64/glusterfs/9.3/xlator/performance/nl-cache.so
/usr/lib64/glusterfs/9.3/xlator/performance/open-behind.so
/usr/lib64/glusterfs/9.3/xlator/performance/quick-read.so
/usr/lib64/glusterfs/9.3/xlator/performance/read-ahead.so
/usr/lib64/glusterfs/9.3/xlator/performance/readdir-ahead.so
/usr/lib64/glusterfs/9.3/xlator/performance/stat-prefetch.so
/usr/lib64/glusterfs/9.3/xlator/performance/write-behind.so
/usr/lib64/glusterfs/9.3/xlator/system
/usr/lib64/glusterfs/9.3/xlator/system/posix-acl.so
/usr/share/doc/glusterfs
/usr/share/doc/glusterfs/COMMITMENT
/usr/share/doc/glusterfs/ChangeLog
/usr/share/doc/glusterfs/INSTALL
/usr/share/doc/glusterfs/README.md
/usr/share/doc/glusterfs/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/licenses/glusterfs
/usr/share/licenses/glusterfs/COPYING-GPLV2
/usr/share/licenses/glusterfs/COPYING-LGPLV3
/usr/share/man/man8/gluster-setgfid2path.8.gz
/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
/run/gluster
/run/gluster/metrics
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/72b5dc9f5410c5c8d0935ab7e1957d1b8362bc
/usr/lib/.build-id/11
/usr/lib/.build-id/11/3c6f05d16d8b5a448746babb3a9683fbcbd4a5
/usr/lib/.build-id/13
/usr/lib/.build-id/13/45451a393b6dedf686016347ec0f26df922147
/usr/lib/.build-id/17
/usr/lib/.build-id/17/74c09a0e955a2afa78f4c1b27ddb13e02d6b07
/usr/lib/.build-id/22
/usr/lib/.build-id/22/b73f83832ebeff8965880e933a85db1fc9fcf6
/usr/lib/.build-id/31
/usr/lib/.build-id/31/a002f856ee18bd93b837e206f672ebbed4d224
/usr/lib/.build-id/35
/usr/lib/.build-id/35/814e4ac66f0f3298bde0428c2e0c4caaf57819
/usr/lib/.build-id/37
/usr/lib/.build-id/37/b13627307c5c8c0bce19e626dd5c3bf0176b82
/usr/lib/.build-id/45
/usr/lib/.build-id/45/536d813e5ea2bd71b175433fb4c6fe9e2f89a8
/usr/lib/.build-id/52
/usr/lib/.build-id/52/dcc2175e2568f8d8a4d9e65a3b1142c5981cd3
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/8184e26aad055b881953b41b2f050aa231275b
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/769ea55fae8740f4ffa431dd30b73173af2a93
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/eb8897ccc3b397ba46a30fe39eaed1535a0466
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/53210a8777423d0ac7a5243615b6f2d646cba4
/usr/lib/.build-id/81
/usr/lib/.build-id/81/21e3865c26b0b4b979fd89e2948cb74a9be489
/usr/lib/.build-id/87
/usr/lib/.build-id/87/b48ee0a6e20c3060d8f624c96514b5246db3b5
/usr/lib/.build-id/95
/usr/lib/.build-id/95/2d27f9111a069ebd768b5aaced5bfaddbca362
/usr/lib/.build-id/99
/usr/lib/.build-id/99/f4df925487a00ec85e5b84566bbd223bc487c1
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/2920fe81594a8ee2b3ec74e9f0344e7f76199f
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/93be69e713bdea1eac01822b78e65eee9c4546
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/697b14a9c97500acfa939d76057217f44f183a
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/1fdebf65fd4a831fb50ec0855edc049b6c4ee4
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/235720cab6f0563672e7b8456acd3e80c799cb
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/8ef57a29d959d25fcffa4c2834665561308772
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/9bad7957d81534fa28f1c5f796ff3e0d950273
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/11e086044a36885b9cf7bb401ab59c9ab78f00
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/e49c663ae4b166b74163e1a83117938d0677fd
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/61e838b12f848f9a6410239036961f802676a1
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/c89b99f7fdc5d6e4129b1f757141857a007ad0
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/a80d158b32ad07438276b7f0b2cd688c08a954
/usr/lib/tmpfiles.d/gluster.conf
/usr/lib64/glusterfs
/usr/lib64/glusterfs/9.1
/usr/lib64/glusterfs/9.1/auth
/usr/lib64/glusterfs/9.1/auth/addr.so
/usr/lib64/glusterfs/9.1/auth/login.so
/usr/lib64/glusterfs/9.1/rpc-transport
/usr/lib64/glusterfs/9.1/rpc-transport/socket.so
/usr/lib64/glusterfs/9.1/xlator
/usr/lib64/glusterfs/9.1/xlator/debug
/usr/lib64/glusterfs/9.1/xlator/debug/delay-gen.so
/usr/lib64/glusterfs/9.1/xlator/debug/error-gen.so
/usr/lib64/glusterfs/9.1/xlator/debug/io-stats.so
/usr/lib64/glusterfs/9.1/xlator/debug/sink.so
/usr/lib64/glusterfs/9.1/xlator/debug/trace.so
/usr/lib64/glusterfs/9.1/xlator/features
/usr/lib64/glusterfs/9.1/xlator/features/access-control.so
/usr/lib64/glusterfs/9.1/xlator/features/barrier.so
/usr/lib64/glusterfs/9.1/xlator/features/cdc.so
/usr/lib64/glusterfs/9.1/xlator/features/changelog.so
/usr/lib64/glusterfs/9.1/xlator/features/cloudsync.so
/usr/lib64/glusterfs/9.1/xlator/features/gfid-access.so
/usr/lib64/glusterfs/9.1/xlator/features/namespace.so
/usr/lib64/glusterfs/9.1/xlator/features/read-only.so
/usr/lib64/glusterfs/9.1/xlator/features/shard.so
/usr/lib64/glusterfs/9.1/xlator/features/snapview-client.so
/usr/lib64/glusterfs/9.1/xlator/features/utime.so
/usr/lib64/glusterfs/9.1/xlator/features/worm.so
/usr/lib64/glusterfs/9.1/xlator/meta.so
/usr/lib64/glusterfs/9.1/xlator/performance
/usr/lib64/glusterfs/9.1/xlator/performance/io-cache.so
/usr/lib64/glusterfs/9.1/xlator/performance/io-threads.so
/usr/lib64/glusterfs/9.1/xlator/performance/md-cache.so
/usr/lib64/glusterfs/9.1/xlator/performance/nl-cache.so
/usr/lib64/glusterfs/9.1/xlator/performance/open-behind.so
/usr/lib64/glusterfs/9.1/xlator/performance/quick-read.so
/usr/lib64/glusterfs/9.1/xlator/performance/read-ahead.so
/usr/lib64/glusterfs/9.1/xlator/performance/readdir-ahead.so
/usr/lib64/glusterfs/9.1/xlator/performance/stat-prefetch.so
/usr/lib64/glusterfs/9.1/xlator/performance/write-behind.so
/usr/lib64/glusterfs/9.1/xlator/system
/usr/lib64/glusterfs/9.1/xlator/system/posix-acl.so
/usr/share/doc/glusterfs
/usr/share/doc/glusterfs/COMMITMENT
/usr/share/doc/glusterfs/ChangeLog
/usr/share/doc/glusterfs/INSTALL
/usr/share/doc/glusterfs/README.md
/usr/share/doc/glusterfs/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/licenses/glusterfs
/usr/share/licenses/glusterfs/COPYING-GPLV2
/usr/share/licenses/glusterfs/COPYING-LGPLV3
/usr/share/man/man8/gluster-setgfid2path.8.gz
/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 on Fedora 34 using yum and dnf.