mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
tests: increase min version for raid testing
Seems smaller version are causing weird kernel lookups.
This commit is contained in:
parent
3f8048f28c
commit
c5c3995ed5
@ -15,7 +15,7 @@
|
||||
aux prepare_vg 4
|
||||
|
||||
TYPE=raid1
|
||||
aux have_raid 1 1 0 || TYPE=mirror
|
||||
aux have_raid 1 3 0 || TYPE=mirror
|
||||
|
||||
lvcreate -aey --type $TYPE -m 1 -l 2 -n $lv1 $vg
|
||||
lvchange -an $vg/$lv1
|
||||
|
@ -22,7 +22,7 @@ get_image_pvs() {
|
||||
########################################################
|
||||
# MAIN
|
||||
########################################################
|
||||
aux have_raid 1 2 0 || skip
|
||||
aux have_raid 1 3 0 || skip
|
||||
|
||||
aux prepare_pvs 5
|
||||
vgcreate -s 256k $vg $(cat DEVICES)
|
||||
|
@ -23,7 +23,7 @@ get_image_pvs() {
|
||||
# MAIN
|
||||
########################################################
|
||||
aux raid456_replace_works || skip
|
||||
aux have_raid 1 2 0 || skip
|
||||
aux have_raid 1 3 0 || skip
|
||||
|
||||
aux prepare_pvs 6
|
||||
vgcreate -s 256k $vg $(cat DEVICES)
|
||||
|
@ -12,7 +12,7 @@
|
||||
. lib/test
|
||||
|
||||
which mkfs.ext3 || skip
|
||||
aux have_raid 1 1 0 || skip
|
||||
aux have_raid 1 3 0 || skip
|
||||
|
||||
aux prepare_dmeventd
|
||||
aux prepare_vg 5
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
. lib/test
|
||||
|
||||
aux have_raid 1 1 0 || skip
|
||||
aux have_raid 1 3 0 || skip
|
||||
aux raid456_replace_works || skip
|
||||
|
||||
aux lvmconf 'allocation/maximise_cling = 0'
|
||||
|
@ -16,7 +16,7 @@
|
||||
# FIXME update test to make something useful on <16T
|
||||
aux can_use_16T || skip
|
||||
|
||||
aux have_raid 1 1 0 || skip
|
||||
aux have_raid 1 3 0 || skip
|
||||
|
||||
aux prepare_vg 5
|
||||
|
||||
|
@ -18,7 +18,7 @@ lv_devices() {
|
||||
########################################################
|
||||
# MAIN
|
||||
########################################################
|
||||
aux have_raid 1 1 0 || skip
|
||||
aux have_raid 1 3 0 || skip
|
||||
|
||||
aux prepare_pvs 6 20 # 6 devices for RAID10 (2-mirror,3-stripe) test
|
||||
vgcreate -s 512k $vg $(cat DEVICES)
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
. lib/test
|
||||
|
||||
aux have_raid 1 1 0 || skip
|
||||
aux have_raid 1 3 0 || skip
|
||||
|
||||
aux prepare_pvs 6 80
|
||||
|
||||
|
@ -21,7 +21,7 @@ create_vg_() {
|
||||
vgcreate -s 64k "$@"
|
||||
}
|
||||
|
||||
aux have_raid 1 1 0 || skip
|
||||
aux have_raid 1 3 0 || skip
|
||||
|
||||
aux prepare_pvs 5 10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user