Centos7 安装GlusterFS集群(二)

2024-11-10 16:20:58

1、创建卷gluster volume create app-data replica 3 transport tcp k8s-master-98:/gfs-data/ k8s-node01-92:/gfs-data/ k8s-node02-93:/gfs-data/ force

Centos7 安装GlusterFS集群(二)

2、列出卷gluster volume list

Centos7 安装GlusterFS集群(二)

3、查看卷信息gluster volume info

Centos7 安装GlusterFS集群(二)

4、启动卷gluster volume start app-data

Centos7 安装GlusterFS集群(二)

5、查看卷状态gluster volume status

Centos7 安装GlusterFS集群(二)

6、创建目录/gfs-sharemount -t glusterfs localhost:app-data /gfs-share并加入/etc/fstab

Centos7 安装GlusterFS集群(二)
猜你喜欢