diff --git a/glusterfs/setup.sh b/glusterfs/setup.sh index e54915b..8f895a3 100644 --- a/glusterfs/setup.sh +++ b/glusterfs/setup.sh @@ -13,7 +13,7 @@ cd /home/ubuntu wget -O docker-compose.yml $BASE_URL/docker-compose.yml wget -O my.layout $BASE_URL/my.layout -sfdisk /dev/sdb < my.layout +sfdisk /dev/xvdb1 < my.layout mkfs.ext4 /dev/xvdb1 echo "/dev/xvdb1 /data ext4 defaults 0 0" >> /etc/fstab mkdir -p /data && mount -a && mkdir -p /data/gv0