GlusterFS 9 : GlusterFS Client2021/08/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:~#
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 udev devtmpfs 2.0G 0 2.0G 0% /dev tmpfs tmpfs 394M 476K 393M 1% /run /dev/mapper/debian--vg-root ext4 28G 1.1G 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 470M 48M 398M 11% /boot tmpfs tmpfs 394M 0 394M 0% /run/user/0 node01.srv.world:/vol_distributed fuse.glusterfs 56G 2.8G 51G 6% /mnt # verify read and write root@client:~# echo "Gluster write test" > /mnt/testfile.txt root@client:~# cat /mnt/testfile.txt Gluster write test |
Sponsored Link |