Merge "2.5x increase in default volume backing file size"
diff --git a/lib/cinder b/lib/cinder
index 5b38719..119cc91 100644
--- a/lib/cinder
+++ b/lib/cinder
@@ -93,11 +93,10 @@
         # volume group, create your own volume group called ``stack-volumes`` before
         # invoking ``stack.sh``.
         #
-        # By default, the backing file is 2G in size, and is stored in ``/opt/stack/data``.
+        # By default, the backing file is 5G in size, and is stored in ``/opt/stack/data``.
 
         if ! sudo vgs $VOLUME_GROUP; then
             VOLUME_BACKING_FILE=${VOLUME_BACKING_FILE:-$DATA_DIR/${VOLUME_GROUP}-backing-file}
-            VOLUME_BACKING_FILE_SIZE=${VOLUME_BACKING_FILE_SIZE:-2052M}
             # Only create if the file doesn't already exists
             [[ -f $VOLUME_BACKING_FILE ]] || truncate -s $VOLUME_BACKING_FILE_SIZE $VOLUME_BACKING_FILE
             DEV=`sudo losetup -f --show $VOLUME_BACKING_FILE`
diff --git a/stack.sh b/stack.sh
index a035f55..93d20d4 100755
--- a/stack.sh
+++ b/stack.sh
@@ -1683,11 +1683,10 @@
     # volume group, create your own volume group called ``stack-volumes`` before
     # invoking ``stack.sh``.
     #
-    # By default, the backing file is 2G in size, and is stored in ``/opt/stack/data``.
+    # By default, the backing file is 5G in size, and is stored in ``/opt/stack/data``.
 
     if ! sudo vgs $VOLUME_GROUP; then
         VOLUME_BACKING_FILE=${VOLUME_BACKING_FILE:-$DATA_DIR/${VOLUME_GROUP}-backing-file}
-        VOLUME_BACKING_FILE_SIZE=${VOLUME_BACKING_FILE_SIZE:-2052M}
         # Only create if the file doesn't already exists
         [[ -f $VOLUME_BACKING_FILE ]] || truncate -s $VOLUME_BACKING_FILE_SIZE $VOLUME_BACKING_FILE
         DEV=`sudo losetup -f --show $VOLUME_BACKING_FILE`
diff --git a/stackrc b/stackrc
index 3a19cdb..badde68 100644
--- a/stackrc
+++ b/stackrc
@@ -120,3 +120,6 @@
 if [ -f $RC_DIR/localrc ]; then
     source $RC_DIR/localrc
 fi
+
+# 5Gb default volume backing file size
+VOLUME_BACKING_FILE_SIZE=${VOLUME_BACKING_FILE_SIZE:-5130M}