当我们使用gluster 命令查看共享卷状态时 会出现一下错误:
[root@test01 ~]# gluster volume list
gluster: symbol lookup error: gluster: undefined symbol: get_vol_type
这里表明 我们使用的二进制文件gluster 出现损坏,解决方案就是找一个和gluster一样版本的二进制文件进行替换。
[root@sdsds zc]# gluster --version
glusterfs 9.6
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.
并且找到二进制文件存放路径
[root@ceshi]# which gluster
/usr/sbin/gluster