From 4a48e55b8b2f41a834de22bda6d4bbe1384080c5 Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Mon, 15 Jun 2015 13:17:45 +0000 Subject: 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 --- install-files/openstack/usr/share/openstack/cinder/cinder.conf | 4 ++-- 1 file 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 -- cgit v1.2.1