From: Jonathan Earl Brassow Date: Wed, 14 Oct 2009 14:55:44 +0000 (+0000) Subject: I saw this in a bug report: X-Git-Tag: v2_02_91~2584 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=a1bb606aabd89abda9312cb59cb6edc8e68da111;p=lvm2.git 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 --- 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. "