Ubuntu 16.04
Sponsored Link

GlusterFS : Clients' Settings2016/06/05

 
It's the settings for GlusterFS clients to mount GlusterFS volumes.
[1] For mounting with GlusterFS Native Client, Configure like follows.
root@client:~#
apt-get -y install glusterfs-client
# mount vol_distributed volume on /mnt

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        2.0G     0  2.0G   0% /dev
tmpfs                             tmpfs           396M  5.6M  390M   2% /run
/dev/mapper/ubuntu--vg-root       ext4             25G  1.8G   22G   8% /
tmpfs                             tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs                             tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs                             tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/vda1                         ext2            472M  101M  347M  23% /boot
tmpfs                             tmpfs           100K     0  100K   0% /run/lxcfs/controllers
tmpfs                             tmpfs           396M     0  396M   0% /run/user/0
node01.srv.world:/vol_distributed fuse.glusterfs   50G  3.6G   44G   8% /mnt
[2] NFS (v3) is also supported, so it's possible to mount with NFS.
Configure for it on GlusterFS Servers first, refer to here.
root@client:~#
apt-get -y install nfs-common
root@client:~#
systemctl enable rpcbind
root@client:~#
mount -t nfs -o mountvers=3 node01.srv.world:/vol_distributed /mnt

root@client:~#
df -hT

Filesystem                        Type      Size  Used Avail Use% Mounted on
udev                              devtmpfs  2.0G     0  2.0G   0% /dev
tmpfs                             tmpfs     396M  5.6M  390M   2% /run
/dev/mapper/ubuntu--vg-root       ext4       25G  1.8G   22G   8% /
tmpfs                             tmpfs     2.0G     0  2.0G   0% /dev/shm
tmpfs                             tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs                             tmpfs     2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/vda1                         ext2      472M  101M  347M  23% /boot
tmpfs                             tmpfs     100K     0  100K   0% /run/lxcfs/controllers
tmpfs                             tmpfs     396M     0  396M   0% /run/user/0
node01.srv.world:/vol_distributed nfs        50G  3.6G   44G   8% /mnt
Matched Content