1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

tests: drop testing of raids in cluster

Since raid is not clustered yet - drop it from testing in cluster phase.
(saving running some time)
This commit is contained in:
Zdenek Kabelac 2013-05-29 12:48:29 +02:00
parent e4dfa785d1
commit cd9350198e
3 changed files with 7 additions and 3 deletions

View File

@ -11,6 +11,8 @@
. lib/test
test -e LOCAL_CLVMD && skip
get_image_pvs() {
local d
local images
@ -26,7 +28,7 @@ aux target_at_least dm-raid 1 2 0 || skip
# 9 PVs needed for RAID10 testing (3-stripes/2-mirror - replacing 3 devs)
aux prepare_pvs 9 80
vgcreate -c n -s 256k $vg $(cat DEVICES)
vgcreate -s 256k $vg $(cat DEVICES)
###########################################
# RAID1 convert tests

View File

@ -11,6 +11,8 @@
. lib/test
test -e LOCAL_CLVMD && skip
get_image_pvs() {
local d
local images
@ -28,7 +30,7 @@ aux target_at_least dm-raid 1 3 1 || skip
# 9 PVs needed for RAID10 testing (3-stripes/2-mirror - replacing 3 devs)
aux prepare_pvs 9 80
vgcreate -c n -s 256k $vg $(cat DEVICES)
vgcreate -s 256k $vg $(cat DEVICES)
lvcreate --type raid10 -m 1 -i 3 -l 3 -n $lv1 $vg
aux wait_for_sync $vg $lv1

View File

@ -23,7 +23,7 @@ lvcreate -s -l 100%FREE -n $lv $vg --virtualsize 1024T
aux lvmconf 'devices/filter = [ "a/dev\/mapper\/.*$/", "a/dev\/LVMTEST/", "r/.*/" ]'
pvcreate $DM_DEV_DIR/$vg/$lv
vgcreate -c n $vg1 $DM_DEV_DIR/$vg/$lv
vgcreate $vg1 $DM_DEV_DIR/$vg/$lv
lvcreate -l 100%FREE -n $lv1 $vg1
check lv_field $vg1/$lv1 size "1024.00t"