There are several ways to wipe a block storage device. The traditional way is
to set the
thin, and then use the
parameter if using the LVM backend. Alternatively, if the volume encryption
feature is used, then volume wiping is not necessary if the volume encryption
key is deleted. See the OpenStack Configuration Reference doc in the
section for set up details and also the Castellan usage document
for key deletion.
In older OpenStack releases,
lvm_type=default was used to signify a
wipe. While this method still works,
lvm_type=default is not
recommended for setting secure delete.
volume_clear parameter can be set to
will write a single pass of zeroes to the device.
For more information about the
volume_clear parameter, see section
Cinder Configuration Options
of the cinder project documentation.