diff options
author | Ondrej Kozina <okozina@redhat.com> | 2015-04-16 17:40:53 +0200 |
---|---|---|
committer | Ondrej Kozina <okozina@redhat.com> | 2015-04-28 22:45:54 +0200 |
commit | ea5c1b0a7310ffb9528a4c3451d347360b021303 (patch) | |
tree | 36d56d01c8cded58fe56f15024ecaee2af85425d | |
parent | a1474b98f90de0ed272935debc6773f08cdfbace (diff) | |
download | lvm2-ea5c1b0a7310ffb9528a4c3451d347360b021303.tar.gz |
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
-rw-r--r-- | tools/pvmove.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pvmove.c b/tools/pvmove.c index 6acac42da..90cf5fe6b 100644 --- a/tools/pvmove.c +++ b/tools/pvmove.c @@ -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; |