diff --git a/lib/metadata/raid_manip.c b/lib/metadata/raid_manip.c index 4b2cb610e..b99b6713b 100644 --- a/lib/metadata/raid_manip.c +++ b/lib/metadata/raid_manip.c @@ -913,7 +913,7 @@ static int _raid_extract_images(struct logical_volume *lv, uint32_t new_count, display_lvname(seg_lv(seg, s))); } else { /* Conditions for second pass */ - if (!target_pvs || !lv_is_on_pvs(seg_lv(seg, s), target_pvs) || + if (!lv_is_on_pvs(seg_lv(seg, s), target_pvs) || !lv_is_on_pvs(seg_metalv(seg, s), target_pvs)) continue;