GlusterFS 7 : GlusterFS Client2020/03/30 |
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 ~]#
dnf -y install centos-release-gluster7
[root@client ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-Gluster-7.repo
[root@client ~]#
dnf --enablerepo=centos-gluster7 -y install glusterfs glusterfs-fuse # 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 devtmpfs devtmpfs 3.8G 0 3.8G 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/mapper/cl-root xfs 26G 1.7G 25G 7% / /dev/vda1 ext4 976M 254M 656M 28% /boot tmpfs tmpfs 782M 0 782M 0% /run/user/0 node01.srv.world:/vol_distributed fuse.glusterfs 52G 4.0G 49G 8% /mnt |
Sponsored Link |