Increase cinder volumes hard disk size
Increases cinder volumes hard disk size to 4GB. 2GB was not sufficient for creating multiple volumes at once. Change-Id: Iae9a8a4f71a297f0bbf017b80011cb9cc6d517cb
This commit is contained in:
parent
7c42385c89
commit
0d353e23b1
@ -20,7 +20,7 @@ sudo apt-get install -y lvm2
|
||||
echo "Configuring LVM physical and logical volumes."
|
||||
cinder_loop_path=/var/lib/cinder-volumes
|
||||
cinder_loop_dev=/dev/loop2
|
||||
sudo dd if=/dev/zero of=$cinder_loop_path bs=1 count=0 seek=2G
|
||||
sudo dd if=/dev/zero of=$cinder_loop_path bs=1 count=0 seek=4G
|
||||
sudo losetup $cinder_loop_dev $cinder_loop_path
|
||||
sudo pvcreate $cinder_loop_dev
|
||||
sudo vgcreate cinder-volumes $cinder_loop_dev
|
||||
|
Loading…
x
Reference in New Issue
Block a user