mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: use exclusive activation
Slightly better for clvmd - thought test is still crashing as table is broken.
This commit is contained in:
parent
a4363fbcb5
commit
44f1f45e16
@ -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 64M -n $lv1 $vg
|
lvcreate --yes -aey --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
|
||||||
@ -79,7 +79,7 @@ aux wait_for_sync $vg $lv1
|
|||||||
lvremove --yes $vg/$lv1
|
lvremove --yes $vg/$lv1
|
||||||
|
|
||||||
# Create 3-way raid0
|
# Create 3-way raid0
|
||||||
lvcreate -y --type raid0 -i 3 -L 256M -n $lv1 $vg
|
lvcreate -y -aey --type raid0 -i 3 -L 64M -n $lv1 $vg
|
||||||
check lv_field $vg/$lv1 segtype "raid0"
|
check lv_field $vg/$lv1 segtype "raid0"
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user