diff --git a/WHATS_NEW b/WHATS_NEW index 6989e6453..c09de9e40 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.67 - =============================== + Avoid print activation message if there is a missing VG (Replicator). Fixed scripts/relpath.awk to work in mawk Add _add_partial_replicator_to_dtree(). Activation code read and releases also remote VGs (Replicator). diff --git a/tools/vgchange.c b/tools/vgchange.c index a25a373ce..4f27eea97 100644 --- a/tools/vgchange.c +++ b/tools/vgchange.c @@ -224,8 +224,10 @@ static int _vgchange_available(struct cmd_context *cmd, struct volume_group *vg) ret = _activate_lvs_in_vg(cmd, vg, available); - log_print("%d logical volume(s) in volume group \"%s\" now active", - lvs_in_vg_activated(vg), vg->name); + /* Print message only if there was not found a missing VG */ + if (!vg->cmd_missing_vgs) + log_print("%d logical volume(s) in volume group \"%s\" now active", + lvs_in_vg_activated(vg), vg->name); return ret; }