summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2020-07-15 10:57:05 -0500
committerDavid Teigland <teigland@redhat.com>2020-07-15 10:57:05 -0500
commit119d5947881a8b99640d81592986e508e040766d (patch)
tree4018ddfb61ad5b7c96c181cff3fe1fdf4f44679f
parent4667c4b35be03ad0dd6b0dc5aac65ac516af0a0b (diff)
downloadlvm2-119d5947881a8b99640d81592986e508e040766d.tar.gz
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.)
-rw-r--r--tools/command-lines.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/command-lines.in b/tools/command-lines.in
index 0051b77b5..e38b6e62f 100644
--- a/tools/command-lines.in
+++ b/tools/command-lines.in
@@ -359,7 +359,8 @@ OP: PV ...
ID: lvconvert_raid_types
DESC: Convert LV to raid or change raid layout
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
OO: --regionsize RegionSize, --interval Number, --mirrorlog MirrorLog, OO_LVCONVERT