1
0
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:
Zdenek Kabelac 2023-09-13 23:39:08 +02:00
parent 738c4b84fb
commit fba81cf3e9

View File

@ -26,7 +26,7 @@ aux target_at_least dm-mirror 1 10 0 || skip
# Throttle mirroring # Throttle mirroring
aux throttle_dm_mirror || skip aux throttle_dm_mirror || skip
aux prepare_pvs 6 60 aux prepare_pvs 6 90
vgcreate -s 512k $vg "$dev1" "$dev2" vgcreate -s 512k $vg "$dev1" "$dev2"
pvcreate --metadatacopies 0 "$dev3" pvcreate --metadatacopies 0 "$dev3"
@ -41,9 +41,9 @@ for backgroundarg in "-b" "" ;
do do
# Create multisegment LV # Create multisegment LV
lvcreate -an -Zn -l30 -n $lv1 $vg "$dev1" lvcreate -an -Zn -l60 -n $lv1 $vg "$dev1"
lvcreate -an -Zn -l30 -n $lv2 $vg "$dev2" lvcreate -an -Zn -l60 -n $lv2 $vg "$dev2"
lvcreate -an -Zn -l30 -n $lv1 $vg1 "$dev4" lvcreate -an -Zn -l60 -n $lv1 $vg1 "$dev4"
lvextend -l+30 -n $vg1/$lv1 "$dev5" lvextend -l+30 -n $vg1/$lv1 "$dev5"
cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3") cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")