]> sourceware.org Git - lvm2.git/commitdiff
Suggest use lvchange --resync when up converting not yet synced mirror.
authorMilan Broz <mbroz@redhat.com>
Mon, 15 Jun 2009 13:43:15 +0000 (13:43 +0000)
committerMilan Broz <mbroz@redhat.com>
Mon, 15 Jun 2009 13:43:15 +0000 (13:43 +0000)
WHATS_NEW
tools/lvconvert.c

index 11e028748593b16d6807a07a8248684c302632a1..9c50de6ebf28f57d5c8f910574bb683185d90ee6 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.48 - 
 ===============================
+  Suggest use lvchange --resync when up converting not yet synced mirror.
   Destroy toolcontext on exit in clvmd (fixes memory pool leaks).
   Fix lvconvert to not poll mirror if no conversion in progress.
   Fix memory leaks in toolcontext error path.
index c13551fcaae385517aee39d07dc83819d25d7563..73aa6b2754e517ff01a36c28d09b2c7554dd8b58 100644 (file)
@@ -683,8 +683,8 @@ static int _lvconvert_mirrors(struct cmd_context *cmd, struct logical_volume *lv
                        lp->need_polling = 1;
        } else if (lp->mirrors > existing_mirrors || failed_mirrors) {
                if (lv->status & MIRROR_NOTSYNCED) {
-                       log_error("Not adding mirror to mirrored LV "
-                                 "without initial resync");
+                       log_error("Can't add mirror to out-of-sync mirrored "
+                                 "LV: use lvchange --resync first.");
                        return 0;
                }
                /*
This page took 0.048704 seconds and 5 git commands to generate.