<div dir="ltr"><div>Oh, I missed that configuration.</div>Thanks very much!!!!!</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 18, 2015 at 9:21 PM, Duncan Thomas <span dir="ltr"><<a href="mailto:duncan.thomas@gmail.com" target="_blank">duncan.thomas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>For the LVM and raw block device drivers, there is already an option to do that - set volume_clear to 'zero' in cinder.conf<br><br></div>If you want this for other drivers, then the code could easily be adopted, however I would question whether it is a good idea - the I/O load of zeroing out volumes is very large, and can easily overshadow the other I/O on the system significantly.<br><br></div>If you are using the LVM driver, I'd suggest investigating the thin provisioning options, since they provide similar levels of tenant security (though not disk disposal security) with far better performance.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 18 November 2015 at 10:03, Young Yang <span dir="ltr"><<a href="mailto:afe.young@gmail.com" target="_blank">afe.young@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><br></div><div>There are some sensitive data in my volume. </div><div>I hope openstack can completely erase all the data (e.g. overwrite the whole volume will 0 bits) when deleting a cinder volume.</div><div><br></div><div>I plan to write some code to make Openstack to mount that volume and rewrite the whole volume with 0 bits.</div><div><br></div><div>But I'm wondering if there is any better way to accomplish that.</div><div><br></div><div>Thanks in advance! :) </div><div><br></div><div><br></div><div><br></div></div>
<br></div></div><span class="">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div><div dir="ltr"><div>-- <br>Duncan Thomas</div></div></div>
</font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>