GlusterFS : GlusterFS Client2026/04/28 |
|
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 680M 1020K 679M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv ext4 14G 5.7G 7.4G 44% / tmpfs tmpfs 1.7G 0 1.7G 0% /dev/shm none tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service none tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-resolved.service tmpfs tmpfs 1.7G 0 1.7G 0% /tmp /dev/vda2 ext4 2.0G 96M 1.7G 6% /boot none tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-networkd.service none tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service none tmpfs 1.0M 0 1.0M 0% /run/credentials/serial-getty@ttyS0.service tmpfs tmpfs 340M 8.0K 340M 1% /run/user/0 node01.srv.world:/vol_distributed fuse.glusterfs 28G 12G 15G 44% /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 |
|
|