mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
integrity: allow type option to be set when changing mirrors
Allow the optional '--type raid1' to be included in the lvconvert command when adding or removing raid images with integrity. It does not change the meaning of the command (specifying a type that matches the current type is redundant but generally allowed.)
This commit is contained in:
parent
4667c4b35b
commit
119d594788
@ -359,7 +359,8 @@ OP: PV ...
|
|||||||
ID: lvconvert_raid_types
|
ID: lvconvert_raid_types
|
||||||
DESC: Convert LV to raid or change raid layout
|
DESC: Convert LV to raid or change raid layout
|
||||||
DESC: (a specific raid level must be used, e.g. raid1).
|
DESC: (a specific raid level must be used, e.g. raid1).
|
||||||
RULE: all not lv_is_locked lv_is_pvmove lv_is_raid_with_integrity
|
RULE: all not lv_is_locked lv_is_pvmove
|
||||||
|
RULE: lv_is_raid_with_integrity not --stripes_long --stripesize --regionsize --interval
|
||||||
|
|
||||||
lvconvert --mirrors SNumber LV
|
lvconvert --mirrors SNumber LV
|
||||||
OO: --regionsize RegionSize, --interval Number, --mirrorlog MirrorLog, OO_LVCONVERT
|
OO: --regionsize RegionSize, --interval Number, --mirrorlog MirrorLog, OO_LVCONVERT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user