Fix test for imsm prodigal member scenario

The 'container_enough' changes fliped the default from assembling
an array as soon as we possibly could, to assembling only when all
expected devices are present.
This broken 09imsm-assemble which expects the original default.
So change from "-I" to "-IR" to restore the expected behaviour.

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2010-08-05 11:44:26 +10:00
parent 69a3f12e6e
commit c61c4dd01d
1 changed files with 5 additions and 5 deletions

View File

@ -9,19 +9,19 @@ mdadm -Ss
# make dev0 and dev1 a new rebuild family
mdadm -A $container $dev0 $dev1
mdadm -I $container
mdadm -IR $container
mdadm --wait ${member}_0
mdadm -Ss
# make dev2 and dev3 a new rebuild family
mdadm -A $container $dev2 $dev3
mdadm -I $container
mdadm -IR $container
mdadm --wait ${member}_0
mdadm -Ss
# reassemble and make sure one of the families falls out
mdadm -A $container $dev0 $dev1 $dev2 $dev3
mdadm -I $container
mdadm -IR $container
testdev ${member}_0 1 $size 1
if mdadm --remove $container $dev0 ; then
# the dev[23] family won
@ -38,9 +38,9 @@ mdadm -Ss
# reassemble with a new id for the dev[23] family
mdadm -A $container $dev0 $dev1
mdadm -I $container
mdadm -IR $container
mdadm -A ${container}2 $dev2 $dev3 --update=uuid
mdadm -I ${container}2
mdadm -IR ${container}2
testdev ${member}_0 1 $size 1
testdev ${member}_1 1 $size 1