Fedora 38
Sponsored Link

GlusterFS 11 : GlusterFS Client2023/04/25

 
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        4.0M     0  4.0M   0% /dev
tmpfs                             tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs                             tmpfs           780M  972K  780M   1% /run
/dev/mapper/fedora-root           xfs              28G  1.9G   27G   7% /
tmpfs                             tmpfs           2.0G     0  2.0G   0% /tmp
/dev/vda2                         xfs             960M  281M  680M  30% /boot
tmpfs                             tmpfs           390M     0  390M   0% /run/user/0
node01.srv.world:/vol_distributed fuse.glusterfs   56G  4.4G   52G   8% /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