1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

commands: fix lvconvert raid rule

Recent rule change was incorrect.
We want to allow 'lvconvert --type raid' on raid1 LVs.
This commit is contained in:
David Teigland 2017-02-27 16:33:38 -06:00
parent 8d0df0c011
commit 998151e83e

View File

@ -347,7 +347,7 @@ OP: PV ...
ID: lvconvert_raid_types
DESC: Convert LV to raid or change raid layout.
RULE: all not lv_is_locked lv_is_pvmove
RULE: LV_raid not LV_raid0 LV_raid1
RULE: LV_raid not LV_raid0
lvconvert --mirrors SNumber LV
OO: OO_LVCONVERT_RAID, OO_LVCONVERT, --mirrorlog MirrorLog