1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: lower allocated memory

Use  smaller mirror to have faster sync.
TODO: switch to delayed devs...
This commit is contained in:
Zdenek Kabelac 2016-09-07 16:43:42 +02:00
parent 6064a5084e
commit a13440d7ca

View File

@ -23,7 +23,7 @@ aux prepare_vg 9 288
# aux delay_dev "$dev1" 0 1 # aux delay_dev "$dev1" 0 1
# Create 3-way mirror # Create 3-way mirror
lvcreate --yes --type mirror -m 2 -L 256M -n $lv1 $vg lvcreate --yes --type mirror -m 2 -L 64M -n $lv1 $vg
check lv_field $vg/$lv1 segtype "mirror" check lv_field $vg/$lv1 segtype "mirror"
check lv_field $vg/$lv1 stripes 3 check lv_field $vg/$lv1 stripes 3
echo y | mkfs -t ext4 /dev/mapper/$vg-$lv1 echo y | mkfs -t ext4 /dev/mapper/$vg-$lv1