CentOS配置GlusterFS问题记录

2022/4/22 7:12:53

本文主要是介绍CentOS配置GlusterFS问题记录,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

1、创建卷时提示:

volume create: zp-volume: failed: The brick 10.10.31.213:/gfs_data is a mount point. Please create a sub-directory under the mount point and use that as the brick directory. Or use 'force' at the end of the command if you want to override this behavior.

 

 解决办法不能直接在/gfs_data目录下创建卷,需要在一个子目录下创建卷

2、创建卷时提示:

volume create: zp-volume: failed: Host 10.38.1.213 is not in 'Peer in Cluster' state

 

 但是10.38.1.213 又在集群中

 

 

问题原因:出现该问题的原因是创建虚拟机时使用的是内网IP,每个虚拟机上绑定了一个公网IP,而图中出现问题的地方是用的公网IP去访问所以报错,要使用内网IP



这篇关于CentOS配置GlusterFS问题记录的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程