mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
pvmove: make log messages more comprehensible
clarify messages printed during pvmove set up (in _update_metadata fn) and subsequent metadata updates during a segment progression
This commit is contained in:
parent
a1474b98f9
commit
ea5c1b0a73
@ -516,7 +516,7 @@ static int _update_metadata(struct cmd_context *cmd, struct volume_group *vg,
|
|||||||
{
|
{
|
||||||
int r = 0;
|
int r = 0;
|
||||||
|
|
||||||
log_verbose("Updating volume group metadata for the first time.");
|
log_verbose("Setting up pvmove in on-disk volume group metadata.");
|
||||||
if (!vg_write(vg)) {
|
if (!vg_write(vg)) {
|
||||||
log_error("ABORTING: Volume group metadata update failed.");
|
log_error("ABORTING: Volume group metadata update failed.");
|
||||||
return 0;
|
return 0;
|
||||||
@ -530,7 +530,7 @@ static int _update_metadata(struct cmd_context *cmd, struct volume_group *vg,
|
|||||||
|
|
||||||
/* Commit on-disk metadata */
|
/* Commit on-disk metadata */
|
||||||
if (!vg_commit(vg)) {
|
if (!vg_commit(vg)) {
|
||||||
log_error("ABORTING: First volume group metadata update failed.");
|
log_error("ABORTING: Volume group metadata update failed.");
|
||||||
if (!resume_lvs(cmd, lvs_changed))
|
if (!resume_lvs(cmd, lvs_changed))
|
||||||
log_error("Unable to resume logical volumes.");
|
log_error("Unable to resume logical volumes.");
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user