CentOS 7
Sponsored Link

GlusterFS 6 : GlusterFS Clients' Setting2019/05/30

 
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-gluster6
[root@client ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-Gluster-6.repo
[root@client ~]#
yum --enablerepo=centos-gluster6 -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.4G   25G   6% /
devtmpfs                          devtmpfs        3.9G     0  3.9G   0% /dev
tmpfs                             tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs                             tmpfs           3.9G  8.5M  3.9G   1% /run
tmpfs                             tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/vda1                         xfs            1014M  250M  765M  25% /boot
tmpfs                             tmpfs           799M     0  799M   0% /run/user/0
node01.srv.world:/vol_distributed fuse.glusterfs   52G  3.2G   49G   7% /mnt
Matched Content