Update setup.sh

This commit is contained in:
Julian Doberauer 2023-06-17 11:56:03 +00:00
parent 0da9e9a1d1
commit c486f59627

View File

@ -20,3 +20,8 @@ echo "/dev/xvdb1 /data ext4 defaults 0 0" >> /etc/fstab
mkdir -p /data && mount -a && mkdir -p /data/gv0 mkdir -p /data && mount -a && mkdir -p /data/gv0
docker-compose up -d docker-compose up -d
sleep 5
#docker-compose exec glusterfs gluster peer probe 10.0.1.61
#docker-compose exec glusterfs gluster peer probe 10.0.1.62
#docker-compose exec glusterfs gluster volume create gv0 disperse 3 redundancy 1 10.0.1.60:/data/gv0 10.0.1.61:/data/gv0 10.0.1.62:/data/gv0
#docker-compose exec glusterfs gluster volume gv0 start