From e5a5fd3669914337f85fc5c12e867680eb3f58a9 Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Mon, 8 Aug 2016 23:13:34 +0100 Subject: [PATCH] lvconvert: Fix repair and replace routing. --- tools/lvconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 7c014e0ee..72b493123 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -1919,7 +1919,7 @@ static int _lvconvert_raid(struct logical_volume *lv, struct lvconvert_params *l return 1; } goto try_new_takeover_or_reshape; - } else if (!*lp->type_str || seg->segtype == lp->segtype) { + } else if (!lp->repair && !lp->replace && (!*lp->type_str || seg->segtype == lp->segtype)) { log_error("Conversion operation not yet supported."); return 0; } -- 2.43.5