Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Large OpenStack Volumes Taking too Long to Delete
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
You are trying to delete large OpenStack volumes but the deletions are taking too long. The following log entries are observed in the /var/log/pf9/cindervolume-base.log file.
Javascript
2022-03-23 20:53:28.137 INFO cinder.volume.utils [...] Performing secure delete on volume: /dev/mapper/cinder--volumes-volume--f1846afc--2e87--4ee8--ba2d--b3cfc004d0352022-03-23 21:15:55.967 INFO cinder.volume.utils [...] Volume copy 307200.00 MB at 227.97 MB/s2022-03-23 21:15:56.391 INFO cinder.volume.drivers.lvm [...] Successfully deleted volume: f1846afc-2e87-4ee8-ba2d-b3cfc004d035Environment
- Platform9 Managed OpenStack - All Versions
- Cinder
Cause
The volume_clear parameter is set to zero. This will write a single pass of zeroes to the device before deleting it.
Resolution
- Edit the
/opt/pf9/etc/pf9-cindervolume-base/conf.d/cinder_overrides.conffile and set thevolume_clearproperty tononeon all Cinder hosts.
Javascript
xxxxxxxxxx[pf9@test-host conf.d]$ cat /opt/pf9/etc/pf9-cindervolume-base/conf.d/cinder_overrides.conf[DEFAULT]glance_api_servers = http://10.80.15.19:9292debug=true [lvm-backend]volume_clear = nonetarget_ip_address = 10.80.16.20lvm_type = thin- Restart the
pf9-cindervolume-baseservice on the Cinder host.
Javascript
xxxxxxxxxx# sustemctl restart pf9-cindervolume-baseAdditional Information
https://docs.openstack.org/security-guide/block-storage/volume_wiping.html
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message