1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

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
This commit is contained in:
Heinz Mauelshagen 2017-03-31 13:51:39 +02:00
parent 0ed087aae5
commit d6ddacf6a1

View File

@ -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,