Skip to content

yum-utils fs snapshot plugin: fix old LVM snapshots and add thinp support

Mike Snitzer linux-lvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fs snapshot plugin: fix inspect_volume_lvm to use supported dmsetup splitname optionsplugins/fs-snapshot/fs-snapshot.py+1 -10 replies
2/2fs snapshot plugin: add support for snapshotting thinly provisioned LVM volumesdocs/yum-fs-snapshot.conf.5 plugins/fs-snapshot/fs-snapshot.py+22 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Hi,

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 feature:
https://fedoraproject.org/wiki/Features/YumFsSnapshotThinpSupport

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.

Thanks,
Mike

[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(-)
Signature · 1 line
1.8.1