From c24d913c47d9639df277b613cee9b5a57aca0762 Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Thu, 3 Dec 2015 17:40:10 +0000 Subject: [PATCH] lvconvert: Reinstate raid merge after splitmirror. After commit 46c8d6bb8ae91ee67c8633496cc6c3d92bb4f3ce (lvconvert: Improve message for raid without -m) --- tools/lvconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 82b804f5c..d480f6ac9 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -1734,7 +1734,7 @@ static int _lvconvert_raid(struct logical_volume *lv, struct lvconvert_params *l return 0; } - if (seg_is_linear(seg) && !arg_count(cmd, mirrors_ARG)) { + if (seg_is_linear(seg) && !lp->merge_mirror && !arg_count(cmd, mirrors_ARG)) { log_error("Raid conversions require -m/--mirrors"); return 0; }