GlusterFS : GlusterFS Client |
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 1.9G 0 1.9G 0% /dev tmpfs tmpfs 392M 536K 392M 1% /run /dev/mapper/debian--vg-root ext4 27G 1.1G 25G 5% / tmpfs tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service tmpfs tmpfs 2.0G 0 2.0G 0% /tmp /dev/vda1 ext4 943M 74M 804M 9% /boot tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/serial-getty@ttyS0.service tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service tmpfs tmpfs 392M 4.0K 392M 1% /run/user/0 node01.srv.world:/vol_distributed fuse.glusterfs 54G 2.8G 49G 6% /mnt # verify reading and writing root@client:~# echo "Gluster write test" > /mnt/testfile.txt root@client:~# cat /mnt/testfile.txt Gluster write test |
No comments:
Post a Comment