Bug 984705 - Improve LVM snapshot wiping
Summary: Improve LVM snapshot wiping
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 3.0
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: ---
Assignee: Eric Harney
QA Contact: Dafna Ron
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-15 18:29 UTC by Eric Harney
Modified: 2016-04-26 13:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-17 17:05:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eric Harney 2013-07-15 18:29:15 UTC
Bug 975052 partially solved a problem where Cinder LVM snapshots fill up while being zeroed, by enabling LVM autoextend.  This bug is to further investigate how Cinder can leverage LVM to wipe volumes more intelligently.

One proposal is to have LVM actually perform the wipe, rather than using dd:
https://bugzilla.redhat.com/show_bug.cgi?id=975052#c11

Comment 2 Eric Harney 2013-12-04 16:22:52 UTC
LVM2 2.02.95 is gaining support for detaching a snapshot LV to a regular LV which we can wipe.

https://bugzilla.redhat.com/show_bug.cgi?id=1006072

https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=7b65363bf781cd58d45e2d9f12fdfed59b9dee55

Comment 3 Eric Harney 2014-08-21 13:14:58 UTC
This will most likely be addressed by moving toward the ThinLVM driver.

Comment 4 Alasdair Kergon 2014-08-21 13:22:03 UTC
lvconvert --splitsnapshot should be all you need to do this now.

When you want to remove one, 
use lvconvert --splitsnapshot,
then wipe the volume split off.

Comment 5 Eric Harney 2015-12-17 17:05:13 UTC
This should be addressed by just using the ThinLVM driver.


Note You need to log in before you can comment on or make changes to this bug.