Skip to content

yum-utils: fs-snapshot support for LVM snapshots

David Zeuthen lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] yum-utils: fs-snapshot support for LVM snapshots
Quoted 11 lines · Mike Snitzer
Quoted 6 lines

It'd be good to have your input on the gnome-disk-utility UI for snapshots too, now that we'll have more than one user for it -- we're discussing at:

https://bugzilla.gnome.org/show_bug.cgi?id=608204
http://bugs.freedesktop.org/show_bug.cgi?id=26258

I'm open to helping answer any questions David might have, and making any lvm changes needed to assist his effort, once he has time to look at gnome-disk-utility's snapshot integration (via lvm and btrfs).

Quoted 6 lines

It would be nice if gnome-disk-utility knew to treat LVM snapshot LVs that have a "yum_<date>" tag as being part of a "system rollback point" or some such. But I'm not sure of the best way for David to programatically (or via lvm utility) access a snapshot LV's lvm tag(s). A stop-gap would be to just rely on the suffix of the LV name to end
with: "_yum_<date>" (but that is fairly crude!)

I think some kind of "system restore/rollback point" functionality is a good idea.

I'm not sure, however, that Palimpsest should be the UI (it's a disk utility, first and foremost) for this - it sounds like it might be better to do a dedicated system-config-restorepoint program for this. I don't know. That said, I think we still might want to display a list of snapshots in Palimpsest for both LVM and btrfs - and with good naming maybe that UI is good enough for rollback purposes and we don't need a s-c-restorepoint. I don't know.

Regarding the LVM tags (which we'd also like to display and allow the user to edit), I've already filed a bug asking for something like

char **lvm_vg_get_tags(const vg_t vg);
char **lvm_lv_get_tags(const lv_t lv);
char **lvm_pv_get_tags(const pv_t pv);

in liblvm2app.

Thanks,
David