summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-06-15 13:17:45 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-06-17 15:35:40 +0000
commit4a48e55b8b2f41a834de22bda6d4bbe1384080c5 (patch)
tree219864e2c75123d35930f45b7e70036f1d1cf632
parent5c08ede91430fa595b41e798f77acb393a46978c (diff)
downloaddefinitions-4a48e55b8b2f41a834de22bda6d4bbe1384080c5.tar.gz
Wipe only the first 50 MiB of the Volumes when deleting
This will wipe the partition table of the Volume making the process of deleting a volume faster. Note that before when deleting a volume it was filled by zeros wiping all the contents on it no matter the size of the volume. This process is very long and can cause performance issues to the the users if some volumes are deleting a the same time. Change-Id: I701810758683b715c98e10ac6a923c48afc519c4
-rw-r--r--install-files/openstack/usr/share/openstack/cinder/cinder.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/install-files/openstack/usr/share/openstack/cinder/cinder.conf b/install-files/openstack/usr/share/openstack/cinder/cinder.conf
index f690fbed..1f39b810 100644
--- a/install-files/openstack/usr/share/openstack/cinder/cinder.conf
+++ b/install-files/openstack/usr/share/openstack/cinder/cinder.conf
@@ -973,11 +973,11 @@ volume_backend_name=LVM_iSCSI
#enforce_multipath_for_image_xfer=false
# Method used to wipe old volumes (string value)
-#volume_clear=zero
+volume_clear=zero
# Size in MiB to wipe at start of old volumes. 0 => all
# (integer value)
-#volume_clear_size=0
+volume_clear_size=50
# The flag to pass to ionice to alter the i/o priority of the
# process used to zero a volume after deletion, for example