mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
pvmove: better check for exclusive LV
This commit is contained in:
parent
7c6fb63041
commit
5a961d3411
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user