From a1bb606aabd89abda9312cb59cb6edc8e68da111 Mon Sep 17 00:00:00 2001 From: Jonathan Earl Brassow Date: Wed, 14 Oct 2009 14:55:44 +0000 Subject: [PATCH] I saw this in a bug report: [root@xxxx-01 ~]# lvconvert -m 1 --corelog VG/cmirror Unable to convert the log of inactive cluster mirror cmirror I've tried to clean-up the message a little more, so the name of the mirror stands out more while preserving the sense that it's not a problem with the specific device, but the fact that it is inactive that is causing the problem. New msg: Unable to convert the log of an inactive cluster mirror, cmirror --- lib/metadata/mirror.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/metadata/mirror.c b/lib/metadata/mirror.c index 4edb5325d..ff1ecb0fe 100644 --- a/lib/metadata/mirror.c +++ b/lib/metadata/mirror.c @@ -1228,8 +1228,8 @@ int remove_mirror_log(struct cmd_context *cmd, return 0; } } else if (vg_is_clustered(vg)) { - log_error("Unable to convert the log of inactive " - "cluster mirror %s", lv->name); + log_error("Unable to convert the log of an inactive " + "cluster mirror, %s", lv->name); return 0; } else if (yes_no_prompt("Full resync required to convert " "inactive mirror %s to core log. " -- 2.43.5