diff options
Diffstat (limited to 'tools/pvmove.c')
-rw-r--r-- | tools/pvmove.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/pvmove.c b/tools/pvmove.c index 2d0e2d68..a81bce30 100644 --- a/tools/pvmove.c +++ b/tools/pvmove.c @@ -239,6 +239,14 @@ static struct logical_volume *_set_up_pvmove_lv(struct cmd_context *cmd, continue; } + if (vg_is_clustered(vg) && + lv_is_active_exclusive_remotely(lv)) { + lv_skipped = 1; + log_print("Skipping LV %s which is activated " + "exclusively on remote node.", lv->name); + continue; + } + if (vg_is_clustered(vg)) { if (lv_is_active_exclusive_locally(lv)) lv_exclusive_count++; |