[linux-lvm] [PATCH 0/2] yum-utils fs snapshot plugin: fix old LVM snapshots and add thinp support

Mike Snitzer msnitzer at fedoraproject.org
Sun Mar 10 16:18:08 UTC 2013


I'd really appreciate it if someone with commit access to yum-utils
could both review and then commit these changes for me.  I'd like to
see these changes committed in time for the F19 feature freeze this
Tuesday (Mar 12), as this work is a prereq for the following F19

Ondrej Kozina may also offer an additional patch to have fs-snapshot
use the snapper utility [1] to create the snapshots (by Tuesday) but
that is still TBD.

While implementing snapshot support for thinly provisioned LVM volumes
I quickly noticed that the older LVM snapshot no longer works.  This
was due to a regression in commandline processing in "dmsetup
splitname".  So the first patch addresses this regression.

The second patch adds support for thinly provisioned LVM volumes.
Please see each patch's headers for more details.


[1] http://en.opensuse.org/Portal:Snapper

Mike Snitzer (2):
  fs snapshot plugin: fix inspect_volume_lvm to use supported dmsetup splitname options
  fs snapshot plugin: add support for snapshotting thinly provisioned LVM volumes

 docs/yum-fs-snapshot.conf.5        |  3 ++-
 plugins/fs-snapshot/fs-snapshot.py | 34 +++++++++++++++++++++-------------
 2 files changed, 23 insertions(+), 14 deletions(-)


More information about the linux-lvm mailing list