GlusterFS : GlusterFS Client2024/05/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:~#
apt -y install glusterfs-client # OK to specify any target nodes in cluster root@client:~# mount -t glusterfs node01.srv.world:/vol_distributed /mnt
df -hT Filesystem Type Size Used Avail Use% Mounted on tmpfs tmpfs 392M 1.1M 391M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv ext4 28G 6.1G 20G 24% / tmpfs tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock /dev/vda2 ext4 2.0G 95M 1.7G 6% /boot tmpfs tmpfs 392M 12K 392M 1% /run/user/0 node01.srv.world:/vol_distributed fuse.glusterfs 55G 13G 40G 25% /mnt # verify reading and writing root@client:~# echo "Gluster write test" > /mnt/testfile.txt root@client:~# cat /mnt/testfile.txt Gluster write test |
Sponsored Link |
|