mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +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:
parent
47dfe904ab
commit
7b0804c22f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user