Code review comment for lp:~anotherjesse/nova/zero-volumes

Revision history for this message
Erica Windisch (ewindisch) wrote :

On Sun, Apr 10, 2011 at 6:45 PM, anotherjesse <email address hidden>wrote:

> Eric - for Cactus do you think we should switch to zeroing on create?
>

I think it warrants further discussion, or a configurable option.

The best option would be to create all volumes as a snapshot of dm-zero. You
can see an example of this in Linux's device-mapper/zero.txt. This would
have some performance overhead, but will be fast and effective. There could
be backwards compatibility issues with earlier versions of Nova unless we
device a naming-scheme/workaround to support older volumes.

As far as zeroing volumes, if it is decided to stay with this, then I
suggest either wiping on create or using a hybrid approach (wipe on delete,
verify on create). Note that wiping on delete is largely incompatible with
LVM snapshots.

--
Regards,
Eric Windisch

« Back to merge proposal