You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
938 B

WHATS_NEW | 1 +
tools/lvcreate.c | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/WHATS_NEW b/WHATS_NEW
index 0b571ae..26aa5b0 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.02.169 -
=====================================
+ Fix limit of stripes in lvcreate.
Avoid parallel usage of cpg_mcast_joined() in clvmd with corosync.
Fix segfault in lvmetad from missing NULL in daemon_reply_simple.
diff --git a/tools/lvcreate.c b/tools/lvcreate.c
index dbc0708..dae9da6 100644
--- a/tools/lvcreate.c
+++ b/tools/lvcreate.c
@@ -559,8 +559,10 @@ static int _read_mirror_and_raid_params(struct cmd_context *cmd,
else if (seg_is_any_raid6(lp))
max_images -= 2;
}
- } else
+ } else if (seg_is_mirrored(lp))
max_images = DEFAULT_MIRROR_MAX_IMAGES;
+ else
+ max_images = MAX_STRIPES;
/* Common mirror and raid params */
if (arg_is_set(cmd, mirrors_ARG)) {
--
1.8.3.1