1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

Also skip pvmove for remotely active LVs.

This commit is contained in:
Milan Broz 2012-03-27 11:43:32 +00:00
parent 3be9089cd3
commit 3d5d5196d0

View File

@ -239,6 +239,14 @@ static struct logical_volume *_set_up_pvmove_lv(struct cmd_context *cmd,
continue; 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 (vg_is_clustered(vg)) {
if (lv_is_active_exclusive_locally(lv)) if (lv_is_active_exclusive_locally(lv))
lv_exclusive_count++; lv_exclusive_count++;