From: Zdenek Kabelac Date: Fri, 12 Jan 2018 14:59:07 +0000 (+0100) Subject: pvmove: better check for exclusive LV X-Git-Tag: v2_02_178-rc1~253 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=5a961d3411c8c11312d2998378277efc8988fc7f;p=lvm2.git pvmove: better check for exclusive LV --- diff --git a/tools/pvmove.c b/tools/pvmove.c index 39cf25f2d..9bbe12be4 100644 --- a/tools/pvmove.c +++ b/tools/pvmove.c @@ -451,7 +451,9 @@ static struct logical_volume *_set_up_pvmove_lv(struct cmd_context *cmd, } if (vg_is_clustered(vg) && - lv_is_active_exclusive_remotely(lv)) { + lv_is_visible(lv) && + lv_is_active(lv) && + !lv_is_active_exclusive_locally(lv)) { lv_skipped = 1; log_print_unless_silent("Skipping LV %s which is activated " "exclusively on remote node.", lv->name);