1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

In case we refuse to continue due to missing PVs, print a hint about using

vgreduce --removemissing to remedy the situation.
This commit is contained in:
Petr Rockai 2009-11-19 13:44:37 +00:00
parent e2683aafe6
commit 4e11dfe3ca

View File

@ -3378,8 +3378,8 @@ static struct volume_group *_vg_lock_and_read(struct cmd_context *cmd, const cha
if (!cmd->handles_missing_pvs && vg_missing_pv_count(vg) &&
(lock_flags & LCK_WRITE)) {
log_error("Cannot change VG %s while PVs are missing!",
vg->name);
log_error("Cannot change VG %s while PVs are missing.", vg->name);
log_error("Consider vgreduce --removemissing.");
failure |= FAILED_INCONSISTENT; /* FIXME new failure code here? */
goto_bad;
}