From 0d353e23b165bddf2108f69346fc3b5bb610adbf Mon Sep 17 00:00:00 2001 From: Pranav Salunke Date: Wed, 3 Sep 2014 09:45:26 +0530 Subject: [PATCH] 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 --- labs/scripts/setup_cinder_volumes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labs/scripts/setup_cinder_volumes.sh b/labs/scripts/setup_cinder_volumes.sh index e1355a5e..ac8d6fe0 100755 --- a/labs/scripts/setup_cinder_volumes.sh +++ b/labs/scripts/setup_cinder_volumes.sh @@ -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