mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-10 05:18:36 +03:00
Also skip pvmove for remotely active LVs.
This commit is contained in:
parent
c950126620
commit
195aa7699e
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user