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:
parent
3063b48602
commit
f33d75e2e5
@ -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)
|
||||
|
||||
###########################################
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user