1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00

Attempt to fix buildbot failure in t-lvconvert-mirror.sh due to failing to

wait for mirror to get into sync before running subsequent command.
This commit is contained in:
Alasdair Kergon 2010-08-17 22:01:41 +00:00
parent 22149572e8
commit c496bc13e2

View File

@ -222,6 +222,7 @@ check mirror_legs $vg $lv1 2
# BZ 463272: disk log mirror convert option is lost if downconvert option is also given
aux prepare_vg 5
lvcreate -l1 -m2 --corelog -n $lv1 $vg $dev1 $dev2 $dev3
while [ `lvs --noheadings -o copy_percent $vg/$lv1` != "100.00" ]; do sleep 1; done
lvconvert -m1 --mirrorlog disk $vg/$lv1 $dev1
check mirror $vg $lv1 $dev1