Debian 12 bookworm
Sponsored Link

GlusterFS : GlusterFS Client2023/06/19

 
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:~#
apt -y install glusterfs-client
# 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
udev                              devtmpfs        1.9G     0  1.9G   0% /dev
tmpfs                             tmpfs           392M  560K  391M   1% /run
/dev/mapper/debian--vg-root       ext4             28G  1.4G   26G   5% /
tmpfs                             tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs                             tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/vda1                         ext2            455M   58M  373M  14% /boot
tmpfs                             tmpfs           392M     0  392M   0% /run/user/0
node01.srv.world:/vol_distributed fuse.glusterfs   56G  3.2G   51G   6% /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