1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

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
This commit is contained in:
Jonathan Earl Brassow 2009-10-14 14:55:44 +00:00
parent 39dabc84cf
commit a1bb606aab

View File

@ -1228,8 +1228,8 @@ int remove_mirror_log(struct cmd_context *cmd,
return 0; return 0;
} }
} else if (vg_is_clustered(vg)) { } else if (vg_is_clustered(vg)) {
log_error("Unable to convert the log of inactive " log_error("Unable to convert the log of an inactive "
"cluster mirror %s", lv->name); "cluster mirror, %s", lv->name);
return 0; return 0;
} else if (yes_no_prompt("Full resync required to convert " } else if (yes_no_prompt("Full resync required to convert "
"inactive mirror %s to core log. " "inactive mirror %s to core log. "