[Openstack] How to speed-up removal of a volume in Openstack Essex

Heber Dijks heber at dijks.nl
Mon Jul 9 10:18:22 UTC 2012


Daniel filed a bug for it (https://bugs.launchpad.net/nova/+bug/1022511),
thanks Daniel!

So go to Lanuchpad and confirm the bug if it affects you too.

Regards,
Heber

On Mon, Jul 9, 2012 at 11:40 AM, Daniel P. Berrange <berrange at redhat.com>wrote:

> On Mon, Jul 09, 2012 at 11:17:13AM +0200, Heber Dijks wrote:
> > When terminating a volume, openstack default overwrites the complete
> volume
> > with zero’s for security reasons. This can take a long time, especially
> > with large volumes.
> >
> > If security isn’t an issue in your environment, you can speed-up deletion
> > to only overwrite the first 1GB with zero’s, which will then delete only
> > the mbr, partition table and the first part of the filesystem.
> >
> > See this post (
> >
> https://dijks.wordpress.com/2012/07/09/how-to-speedup-removal-of-a-volume/
> )
> > for a brief tutorial to speed-up removal of a volume if security isn't an
> > issue.
>
> On the flipside if security /is/ your concern, then you may well consider
> fill-with-zeros to be insufficient.  The ability to invoke the 'scrub'
> command, would be quite desirable. It sounds like Nova really ought to
> have this be all configurable, to choose between none, zeros, or one of
> the many 'scrub' algorithms.
>
> Regards,
> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/:|
> |: http://libvirt.org              -o-             http://virt-manager.org:|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/:|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc:|
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120709/4d6e0573/attachment.html>


More information about the Openstack mailing list