[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/test t-mirror-lvconvert.sh



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mornfall sourceware org	2010-04-06 22:22:26

Modified files:
	test           : t-mirror-lvconvert.sh 

Log message:
	Put back the `lvconvert -m+1 --mirrorlog disk' test in t-lvconvert-mirror.sh.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-mirror-lvconvert.sh.diff?cvsroot=lvm2&r1=1.20&r2=1.21

--- LVM2/test/t-mirror-lvconvert.sh	2010/04/06 18:13:43	1.20
+++ LVM2/test/t-mirror-lvconvert.sh	2010/04/06 22:22:26	1.21
@@ -271,14 +271,14 @@
 lvs -a -o+devices $vg
 check_mirror_count_ $vg/$lv1 2 
 not_sh check_mirror_log_ $vg/$lv1 
-# FIXME Next test broken - code does allocation in several pieces 
-#lvconvert -m+1 --mirrorlog disk -i1 $vg/$lv1 $dev3:0 $dev4 
-#lvs -a -o+devices $vg
-#check_no_tmplvs_ $vg/$lv1 
-#check_mirror_count_ $vg/$lv1 3 
-#check_mirror_log_ $vg/$lv1 
-#mimages_are_redundant_ $vg $lv1 
-#mirrorlog_is_on_ $vg/$lv1 $dev3 
+# FIXME on next line, specifying $dev3:0 $dev4 (i.e log device first) fails (!)
+lvconvert -m+1 --mirrorlog disk -i1 $vg/$lv1 $dev4 $dev3:0
+lvs -a -o+devices $vg
+check_no_tmplvs_ $vg/$lv1 
+check_mirror_count_ $vg/$lv1 3 
+check_mirror_log_ $vg/$lv1 
+mimages_are_redundant_ $vg $lv1 
+mirrorlog_is_on_ $vg/$lv1 $dev3 
 check_and_cleanup_lvs_
 
 # ---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]