Fedora 34
Sponsored Link

GlusterFS 9 : GlusterFS Client2021/05/08

 
Configure GlusterFS Client to mount GlusterFS volumes.
[1] To mount with GlusterFS Native, Set like follows.
The example below shows to mount [vol_distributed] volume to [/mnt].
[root@client ~]#
dnf -y install glusterfs glusterfs-fuse
# OK to specify any target nodes in cluster

[root@client ~]#
mount -t glusterfs node01.srv.world:/vol_distributed /mnt
[root@client ~]#
df -hT

Filesystem                        Type            Size  Used Avail Use% Mounted on
devtmpfs                          devtmpfs        1.9G     0  1.9G   0% /dev
tmpfs                             tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs                             tmpfs           786M 1004K  785M   1% /run
/dev/mapper/fedora_fedora-root    xfs              15G  1.5G   14G  10% /
tmpfs                             tmpfs           2.0G  4.0K  2.0G   1% /tmp
/dev/vda1                         xfs            1014M  186M  829M  19% /boot
tmpfs                             tmpfs           393M     0  393M   0% /run/user/0
node01.srv.world:/vol_distributed fuse.glusterfs   30G  3.4G   27G  12% /mnt

# verify reading and writing

[root@client ~]#
echo "Gluster write test" > /mnt/testfile.txt

[root@client ~]#
cat /mnt/testfile.txt

Gluster write test
Matched Content