CentOS 7
Sponsored Link

GlusterFS 5 : Clients' Settings2018/12/13

 
It's the settings for GlusterFS clients to mount GlusterFS volumes.
[1] For mounting with GlusterFS Native Client, Configure like follows.
[root@client ~]#
yum -y install centos-release-gluster5
[root@client ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-Gluster-5.repo
[root@client ~]#
yum --enablerepo=centos-gluster5 -y install glusterfs glusterfs-fuse
# for example, 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
/dev/mapper/centos-root           xfs              26G  1.3G   25G   5% /
devtmpfs                          devtmpfs        3.9G     0  3.9G   0% /dev
tmpfs                             tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs                             tmpfs           3.9G  8.6M  3.9G   1% /run
tmpfs                             tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/vda1                         xfs            1014M  248M  767M  25% /boot
tmpfs                             tmpfs           799M     0  799M   0% /run/user/0
node01.srv.world:/vol_distributed fuse.glusterfs   52G  3.1G   49G   6% /mnt
Matched Content