Fedora 41
Sponsored Link

GlusterFS 11 : GlusterFS Client2024/11/01

 
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
/dev/mapper/fedora-root           xfs              15G  2.0G   14G  13% /
devtmpfs                          devtmpfs        4.0M     0  4.0M   0% /dev
tmpfs                             tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs                             tmpfs           782M  1.1M  781M   1% /run
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-network-generator.service
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-udev-load-credentials.service
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-sysctl.service
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-tmpfiles-setup-dev-early.service
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-tmpfiles-setup-dev.service
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-vconsole-setup.service
tmpfs                             tmpfs           2.0G     0  2.0G   0% /tmp
/dev/vda2                         xfs             960M  316M  645M  33% /boot
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-tmpfiles-setup.service
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-resolved.service
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/getty@tty1.service
tmpfs                             tmpfs           1.0M     0  1.0M   0% /run/credentials/serial-getty@ttyS0.service
tmpfs                             tmpfs           391M  4.0K  391M   1% /run/user/0
node01.srv.world:/vol_distributed fuse.glusterfs   30G  4.2G   26G  14% /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