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

test: Test failing due to too few PVs

Commit 33d69162e4 reduced the number of
PVs to a level where the test could not function.  (It is impossible
to replace 3 PVs of a 4-way RAID1 LV if there are only 5 PVs.)
This commit is contained in:
Jonathan Brassow 2014-07-10 18:52:55 -05:00
parent 3063b48602
commit f33d75e2e5
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ get_image_pvs() {
########################################################
aux have_raid 1 3 0 || skip
aux prepare_pvs 5
aux prepare_pvs 9
vgcreate -s 256k $vg $(cat DEVICES)
###########################################

View File

@ -25,7 +25,7 @@ get_image_pvs() {
aux raid456_replace_works || skip
aux have_raid 1 3 0 || skip
aux prepare_pvs 6
aux prepare_pvs 7 # 7 devices for 2 dev replacement of 5-dev RAID6
vgcreate -s 256k $vg $(cat DEVICES)
# RAID 4/5/6 (can replace up to 'parity' devices)