diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-06-15 13:17:45 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-06-18 15:28:01 +0000 |
commit | 572fe840287c07b12890bbcd18dec3a0607ce138 (patch) | |
tree | 41b80f007c5782fc776e8c005c19ab223dc33556 /install-files/openstack/usr | |
parent | 8e027cf368732a084851b67336bdc56393c09be1 (diff) | |
download | definitions-572fe840287c07b12890bbcd18dec3a0607ce138.tar.gz |
Cinder: 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
Diffstat (limited to 'install-files/openstack/usr')
-rw-r--r-- | install-files/openstack/usr/share/openstack/cinder/cinder.conf | 4 |
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 |