From d6ddacf6a1543ba690fc349fad4c0c05cad1183b Mon Sep 17 00:00:00 2001 From: Heinz Mauelshagen Date: Fri, 31 Mar 2017 13:51:39 +0200 Subject: [PATCH] lvchange: persistent major/minor processing regression Fix a regression introduced by new command line processing (see starting commit 1e2420bca85da9a37570871cd70192e9ae831786) causing activation to be rejected in combination with setting persistent minor device numbers. Resolves: rhbz1437611 --- tools/command-lines.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/command-lines.in b/tools/command-lines.in index 6a73bf8f4..3e3f48035 100644 --- a/tools/command-lines.in +++ b/tools/command-lines.in @@ -296,12 +296,17 @@ OO: --monitor Bool, OO_LVCHANGE ID: lvchange_poll DESC: Start or stop processing an LV conversion. -lvchange --persistent y --minor Number LV -OO: --major Number, OO_LVCHANGE +lvchange --persistent y --minor Number --activate Active LV +OO: --minor Number, OO_LVCHANGE ID: lvchange_persistent DESC: Make the minor device number persistent for an LV. RULE: all not LV_thinpool LV_cachepool +lvchange --persistent n --activate LV +ID: lvchange_persistent +DESC: Remove the minor device number persistent for an LV. +RULE: all not LV_thinpool LV_cachepool + --- OO_LVCONVERT_POOL: --poolmetadata LV, --poolmetadatasize SizeMB,