Skip to contentSkip to conversation

master - lvconvert: repair supports poometadatespare switch

PATCH Zdenek Kabelac 1 participant 1 message Sep 20, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=aeb4f2bf3d25927e6cac2e37842498b207fefd1c
Commit:        aeb4f2bf3d25927e6cac2e37842498b207fefd1c
Parent:        03bcd29481e879eb890278997e7f7214757de952
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Sep 13 11:48:15 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Sep 20 15:14:16 2017 +0200

lvconvert: repair supports poometadatespare switch

Enable handling of --poolmetadataspare so if user can prevent creation of _pmspare volume during --repair operation (just like during actual lvcreate or lvconvert) for pool volumes.

---
 WHATS_NEW              |    1 +
 tools/command-lines.in |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
index 8e8ed2c..e76214d 100644
@@ -1,5 +1,6 @@
 Version 2.02.175 - 
 ======================================
+  lvconvert --repair respects --poolmetadataspare option.
 
 Version 2.02.174 - 13th September 2017
 ======================================
tools/command-lines.in +2 -1
index 2f4e48f..e915483 100644
@@ -664,12 +664,13 @@ FLAGS: SECONDARY_SYNTAX
 # and the LV type is known.
 
 lvconvert --repair LV_raid_mirror_thinpool
-OO: --usepolicies, --interval Number, OO_LVCONVERT
+OO: --usepolicies, --interval Number, --poolmetadataspare Bool, OO_LVCONVERT
 OP: PV ...
 ID: lvconvert_repair_pvs_or_thinpool
 DESC: Replace failed PVs in a raid or mirror LV.
 DESC: Repair a thin pool.
 RULE: all not lv_is_locked lv_is_pvmove
+RULE: --poolmetadataspare Bool and LV_cache LV_cachepool LV_thinpool
 
 lvconvert --replace PV LV_raid
 OO: OO_LVCONVERT