关于GlusterFS客户端机安装
最近在centOS7上安装GLusterFS 这个分布式的软件,在服务器上已经安装且配置好了集群,服务器节点有两个,也创建了存储卷,如下:
[root@host3 ~]# gluster volume info
Volume Name: app1-mysql-vol
Type: Replicate
Volume ID: f4fe26c1-77a9-469a-a5e9-dfb5fa0c4b7a
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: host3:/data/gluster/app1-mysql
Brick2: host4:/data/gluster/app1-mysql
Options Reconfigured:
performance.client-io-threads: off
nfs.disable: on
transport.address-family: inet
这是存储卷的信息(注:服务器节点上安装了yum install -y centos-release-gluster yum install -y glusterfs glusterfs-server
yum install -y glusterfs-fuse yum install -y glusterfs-rdma 由于安装文档上没有写版本,所以我就直接安装了)
现在客户端安装了yum install -y glusterfs glusterfs-fuse,也没有版本,打开服务器和客户端的glusterfs-fuse版本信息,分别是glusterfs-fuse-6.3-1.el7.x86_64和glusterfs-fuse-3.12.2-18.el7.x86_64,这个暂且不说,但是在服务器的虚拟机上执行[root@host3 ~]# yum install glusterfs-fuse-3.12.2-18.el7.x86_64时,却提示已经安装,这个暂且不说。
现在准备将客户端机器挂载到服务器存储卷上,执行mount.glusterfs 192.168.198.135:/app1-mysql-vol /var/data/app1-mysql
出现了Mount failed. Please check the log file for more details.这样的提示,查看log显示:[2019-06-30 03:31:48.748284] W [MSGID: 101095] [xlator.c:213:xlator_dynload] 0-xlator: /usr/lib64/glusterfs/3.12.2/xlator/features/utime.so: cannot open shared object file: No such file or directory
发现运行到这一步有问题,打开 /usr/lib64/glusterfs/3.12.2/xlator/features文件夹,发现的确没有这个utime.so链接库,我并不知道这是不是版本的问题,只是猜测,按理说yum安装的不应该是最新的版本吗?还有,为啥我在服务器上尝试安装客户端的gluster-fuse版本,或者在客户端机上安装服务器上的glusterfs-fuse版本,却提示No package glusterfs-fuse-6.3-1.el7.x86_64 available.
Error: Nothing to do呢?