[lvm-devel] LVM2 ./WHATS_NEW tools/lvconvert.c

mbroz at sourceware.org mbroz at sourceware.org
Mon Jun 15 13:43:17 UTC 2009


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mbroz at sourceware.org	2009-06-15 13:43:16

Modified files:
	.              : WHATS_NEW 
	tools          : lvconvert.c 

Log message:
	Suggest use lvchange --resync when up converting not yet synced mirror.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1150&r2=1.1151
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvconvert.c.diff?cvsroot=lvm2&r1=1.80&r2=1.81

--- LVM2/WHATS_NEW	2009/06/15 12:15:23	1.1150
+++ LVM2/WHATS_NEW	2009/06/15 13:43:15	1.1151
@@ -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.
--- LVM2/tools/lvconvert.c	2009/06/15 12:08:59	1.80
+++ LVM2/tools/lvconvert.c	2009/06/15 13:43:16	1.81
@@ -683,8 +683,8 @@
 			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;
 		}
 		/*




More information about the lvm-devel mailing list