1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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:
Ondrej Kozina 2015-04-16 17:40:53 +02:00
parent a1474b98f9
commit ea5c1b0a73

View File

@ -516,7 +516,7 @@ static int _update_metadata(struct cmd_context *cmd, struct volume_group *vg,
{
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)) {
log_error("ABORTING: Volume group metadata update failed.");
return 0;
@ -530,7 +530,7 @@ static int _update_metadata(struct cmd_context *cmd, struct volume_group *vg,
/* Commit on-disk metadata */
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))
log_error("Unable to resume logical volumes.");
return 0;