summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2017-11-07 23:19:17 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2017-11-08 00:02:54 +0100
commitf7fc7bc44a6e63f06363e27ca9f3b499d9a39eee (patch)
tree0e8016d655ace47cad3bd0f0f0f41097d66697e8
parente822a9f38ddf416378ccc5c09859a39ed9794306 (diff)
downloadlvm2-f7fc7bc44a6e63f06363e27ca9f3b499d9a39eee.tar.gz
lvconvert: update delaying message
Make more obvious the operation just got delayed (using same wording as with thin snapshots)
-rw-r--r--tools/lvconvert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lvconvert.c b/tools/lvconvert.c
index 848007281..eab7e6d7a 100644
--- a/tools/lvconvert.c
+++ b/tools/lvconvert.c
@@ -2057,15 +2057,15 @@ static int _lvconvert_merge_old_snapshot(struct cmd_context *cmd,
*/
if (lv_is_active_locally(origin)) {
if (!lv_check_not_in_use(origin, 0)) {
- log_print_unless_silent("Can't merge until origin volume is closed.");
+ log_print_unless_silent("Delaying merge since origin is open.");
merge_on_activate = 1;
} else if (!lv_check_not_in_use(lv, 0)) {
- log_print_unless_silent("Can't merge until snapshot is closed.");
+ log_print_unless_silent("Delaying merge since snapshot is open.");
merge_on_activate = 1;
}
} else if (vg_is_clustered(origin->vg) && lv_is_active(origin)) {
/* When it's active somewhere else */
- log_print_unless_silent("Can't check whether remotely active snapshot is open.");
+ log_print_unless_silent("Delaying merge since origin is remotely active.");
merge_on_activate = 1;
}