diff --git a/WHATS_NEW b/WHATS_NEW index d5247493e..c5f3cd26e 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.93 - ==================================== + Allow 'lvconvert --repair' to operate on RAID 4/5/6 Fix 'build_parallel_areas_from_lv' to work properly with RAID 4/5/6 Version 2.02.92 - 20th February 2012 diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 043613f4c..79b664636 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -1736,7 +1736,8 @@ static int _lvconvert_single(struct cmd_context *cmd, struct logical_volume *lv, return ECMD_FAILED; } - if (arg_count(cmd, repair_ARG) && !(lv->status & MIRRORED)) { + if (arg_count(cmd, repair_ARG) && + !(lv->status & MIRRORED) && !(lv->status & RAID)) { if (arg_count(cmd, use_policies_ARG)) return ECMD_PROCESSED; /* nothing to be done here */ log_error("Can't repair non-mirrored LV \"%s\".", lv->name);