mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: pvmove large disk area
With some faster test hw machine we need to make this test a bit more resource consuming.
This commit is contained in:
parent
738c4b84fb
commit
fba81cf3e9
@ -26,7 +26,7 @@ aux target_at_least dm-mirror 1 10 0 || skip
|
||||
# Throttle mirroring
|
||||
aux throttle_dm_mirror || skip
|
||||
|
||||
aux prepare_pvs 6 60
|
||||
aux prepare_pvs 6 90
|
||||
|
||||
vgcreate -s 512k $vg "$dev1" "$dev2"
|
||||
pvcreate --metadatacopies 0 "$dev3"
|
||||
@ -41,9 +41,9 @@ for backgroundarg in "-b" "" ;
|
||||
do
|
||||
|
||||
# Create multisegment LV
|
||||
lvcreate -an -Zn -l30 -n $lv1 $vg "$dev1"
|
||||
lvcreate -an -Zn -l30 -n $lv2 $vg "$dev2"
|
||||
lvcreate -an -Zn -l30 -n $lv1 $vg1 "$dev4"
|
||||
lvcreate -an -Zn -l60 -n $lv1 $vg "$dev1"
|
||||
lvcreate -an -Zn -l60 -n $lv2 $vg "$dev2"
|
||||
lvcreate -an -Zn -l60 -n $lv1 $vg1 "$dev4"
|
||||
lvextend -l+30 -n $vg1/$lv1 "$dev5"
|
||||
|
||||
cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
|
||||
|
Loading…
Reference in New Issue
Block a user