1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

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

This commit is contained in:
Petr Rockai 2010-04-06 22:22:26 +00:00
parent f3b0e21c20
commit d2aa9707de

View File

@ -271,14 +271,14 @@ lvcreate -l2 -m1 --mirrorlog core -n $lv1 $vg $dev1 $dev2
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_
# ---