master - pvmove: better check for exclusive LV
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=5a961d3411c8c11312d2998378277efc8988fc7f Commit: 5a961d3411c8c11312d2998378277efc8988fc7f Parent: 7c6fb63041cd5c1fb899cc468d0a5cf23a01abbe Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Jan 12 15:59:07 2018 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Jan 17 14:44:33 2018 +0100
pvmove: better check for exclusive LV
--- tools/pvmove.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
tools/pvmove.c +3 -1
@@ -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);