GlusterFS创建volume失败的解决方法
报错:volume create: gv0: failed: /data/glusterfs/peony-gluster-configis already part of a volume
在/data/glusterfs目录中删除".glusterfs"的目录 rm -rf /data/glusterfs/peony-gluster-configis/.glusterfs setfattr -x trusted.glusterfs.volume-id /data/glusterfs/peony-gluster-configis setfattr -x trusted.gfid /data/glusterfs/peony-gluster-configis
再次创建
gluster volume create peony-gluster-config replica 2 thin-arbiter 1 transport tcp k8smaster01:/data/glusterfs/peony-gluster-config k8smaster02:/data/glusterfs/peony-gluster-config k8snode01:/data/glusterfs/peony-gluster-config k8snode02:/data/glusterfs/peony-gluster-config k8snode03:/data/glusterfs/peony-gluster-config