diff options
Diffstat (limited to 'tools/vgchange.c')
-rw-r--r-- | tools/vgchange.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/vgchange.c b/tools/vgchange.c index f2d399c4..4266d633 100644 --- a/tools/vgchange.c +++ b/tools/vgchange.c @@ -115,6 +115,16 @@ static int _activate_lvs_in_vg(struct cmd_context *cmd, ((lv->status & PVMOVE) )) continue; + /* + * If the LV is active exclusive remotely, + * then ignore it here + */ + if (lv_is_active_exclusive_remotely(lv)) { + log_verbose("%s/%s is exclusively active on" + " a remote node", vg->name, lv->name); + continue; + } + expected_count++; if (activate == CHANGE_AN) { |