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

posted @ 2022-04-21 19:51  为什么要取名字  阅读(191)  评论(0编辑  收藏  举报