Skip to contentSkip to conversation

2018-06-01-stable - vcfgrestore: add prompt with active volumes

PATCH Zdenek Kabelac 1 participant 1 message Jul 4, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=99cddd67a9dfcd6400640ac8ebf8d6d568ce19d6
Commit:        99cddd67a9dfcd6400640ac8ebf8d6d568ce19d6
Parent:        814dd84e0769da568232a19f798baf24b8a26127
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Jun 22 18:45:48 2018 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Jul 4 13:40:50 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 |   75 +++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 75 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
index d2142fc..ff0746e 100644
@@ -1,5 +1,6 @@
 Version 2.02.180 - 
 =================================
+  Enhance vgcfgrestore to check for active LVs in restored VG.
   lvconvert: provide possible layouts between linear and striped/raid
   Fix unmonitoring of merging snapshots.
   Add missing -l description in fsadm man page.
tools/vgcfgrestore.c +74 -1

97 lines not on this page · raw message