Skip to contentSkip to conversation

master - vcfgrestore: add prompt with active volumes

PATCH Zdenek Kabelac 1 participant 1 message Jun 22, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=6b3a4aac0954264c3f054e7dd6c87babca77c244
Commit:        6b3a4aac0954264c3f054e7dd6c87babca77c244
Parent:        106ee05ba01146abff248a4e7eae77982fda9ebd
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Jun 22 18:45:48 2018 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Jun 22 23:37:36 2018 +0200

vcfgrestore: add prompt with active volumes

Add check for active device with names matching restored VG. When such devices are present in dm table, prompt user, if he wish to continue.

---
 WHATS_NEW            |    1 +
 tools/vgcfgrestore.c |   76 +++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 76 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
index 70fb76a..d90ff3a 100644
@@ -1,5 +1,6 @@
 Version 3.0.0
 =============
+  Enhance vgcfgrestore to check for active LVs in restored VG.
   Configure supports --disable-silent-rules for verbose builds.
   Fix unmonitoring of merging snapshots.
   Cache can uses metadata format 2 with cleaner policy.
tools/vgcfgrestore.c +75 -1

98 lines not on this page · raw message