WHATS_NEW | 4 ++++ tools/pvscan.c | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 2532a99..c642f47 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,3 +1,7 @@ +Version 2.02.105 - +=================================== + Do not fail the whole autoactivation if the VG refresh done before fails. + Version 2.02.104 - =================================== Fix missing lvmetad scan for PVs found on MD partitions. diff --git a/tools/pvscan.c b/tools/pvscan.c index ce8c446..4f99f45 100644 --- a/tools/pvscan.c +++ b/tools/pvscan.c @@ -147,10 +147,8 @@ static int _auto_activation_handler(struct cmd_context *cmd, usleep(REFRESH_BEFORE_AUTOACTIVATION_RETRY_USLEEP_DELAY); } - if (!refresh_done) { - log_error("%s: refresh before autoactivation failed.", vg->name); - goto out; - } + if (!refresh_done) + log_warn("%s: refresh before autoactivation failed.", vg->name); if (!vgchange_activate(vg->cmd, vg, activate)) { log_error("%s: autoactivation failed.", vg->name);