mdadm/tests
Krzysztof Wojcik e53d022c72 FIX: Tests: raid0->raid10 without degradation
raid0->raid10 transition needs at least 2 spare devices.
After level changing to raid10 recovery is triggered on
failed (missing) disks. At the end of recovery process
we have fully operational (not degraded) raid10 array.

Initialy there was possibility to migrate raid0->raid10
without recovery triggering (it results degraded raid10).
Now it is not possible.
This patch adapt tests to new mdadm's behavior.

Signed-off-by: Krzysztof Wojcik <krzysztof.wojcik@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2011-03-24 10:11:58 +11:00
..
00linear tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
00multipath tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
00raid0 tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
00raid1 tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
00raid4 Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
00raid5 Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
00raid6 Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
00raid10 Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
01r1fail Manage: be more careful about --add attempts. 2010-11-22 19:35:25 +11:00
01r5fail Refine some tests. 2005-09-12 06:47:33 +00:00
01r5integ tests: add some simple data integrity tests for raid5/raid6 2009-04-14 10:19:05 +10:00
01raid6integ test/raid6integ: correct type 2009-10-19 16:57:16 +11:00
02lineargrow tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
02r1add Fix but when assembling v1 arrays 2005-08-15 06:35:38 +00:00
02r1grow tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
02r5grow tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
02r6grow tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
03r0assem tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
03r5assem Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
03r5assemV1 Increase default chunk size to 512K 2009-11-17 13:08:55 +11:00
04r0update Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
04r1update Add 'quite' option and tidy up some tests. 2005-08-15 06:14:27 +00:00
05r1-bitmapfile tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
05r1-grow-external tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
05r1-grow-internal tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
05r1-grow-internal-1 Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r1-internalbitmap Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r1-internalbitmap-v1a Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r1-internalbitmap-v1b Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r1-internalbitmap-v1c Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r1-n3-bitmapfile Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
05r1-re-add tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
05r1-re-add-nosuper Assorted fixes 2005-08-16 06:45:23 +00:00
05r5-bitmapfile Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
05r5-internalbitmap Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r6-bitmapfile Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
06name tests/06name: adjust for homehost 2008-11-04 21:56:36 +11:00
06r5swap Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
06sysfs Assorted fixes 2005-08-16 06:45:23 +00:00
06update-uuid Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
06wrmostly tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
07autoassemble tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
07autodetect udevadm settle in autodetect test 2010-08-05 16:50:03 +10:00
07changelevelintr Test different r5/r6 layouts. 2009-10-16 17:50:07 +11:00
07changelevels tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
07layouts Fix tests/layouts 2010-07-29 14:20:35 +10:00
07reshape5intr Fix writing of second backup superblock during grow 2010-08-05 21:39:17 +10:00
07testreshape5 Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
08imsm-overlap test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
09imsm-assemble tests: add IMSM_NO_PLATFORM to some places that were missing it. 2011-02-01 14:44:02 +11:00
09imsm-create-fail-rebuild tests: add IMSM_NO_PLATFORM to some places that were missing it. 2011-02-01 14:44:02 +11:00
10ddf-create Create: report failure if array cannot be started. 2010-12-01 11:03:28 +11:00
11spare-migration Spare migration tests updated 2011-02-08 11:44:50 +11:00
12imsm-r0_2d-grow-r0_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r0_2d-grow-r0_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r0_2d-grow-r0_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r0_3d-grow-r0_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r5_3d-grow-r5_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r5_3d-grow-r5_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r0_r0_2d-grow-r0_r0_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r0_r0_2d-grow-r0_r0_5d UT FIX: Pass all UT in suit 13 2011-02-09 20:51:24 +11:00
13imsm-r0_r0_3d-grow-r0_r0_4d UT FIX: Pass all UT in suit 13 2011-02-09 20:51:24 +11:00
13imsm-r0_r5_3d-grow-r0_r5_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r0_r5_3d-grow-r0_r5_5d UT FIX: Pass all UT in suit 13 2011-02-09 20:51:24 +11:00
13imsm-r5_r0_3d-grow-r5_r0_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r5_r0_3d-grow-r5_r0_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r0_3d-r5_3d-migrate-r5_4d-r5_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r0_3d_no_spares-migrate-r5_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r0_r0_2d-takeover-r10_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r1_2d-grow-r1_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r1_2d-takeover-r0_2d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r5_3d-grow-r5_5d-no-spares test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r5_3d-migrate-r4_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r10_4d-grow-r10_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r10_r5_4d-takeover-r0_2d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r0_3d_64k-migrate-r0_3d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r5_3d_4k-migrate-r5_3d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r5_3d_64k-migrate-r5_3d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r5_6d_4k-migrate-r5_6d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r5_r0_3d_64k-migrate-r5_r0_3d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
16imsm-r0_3d-migrate-r5_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
16imsm-r0_5d-migrate-r5_6d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
16imsm-r5_3d-migrate-r0_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
16imsm-r5_5d-migrate-r0_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
18imsm-1d-takeover-r0_1d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
18imsm-1d-takeover-r1_2d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
18imsm-r0_2d-takeover-r10_4d FIX: Tests: raid0->raid10 without degradation 2011-03-24 10:11:58 +11:00
18imsm-r1_2d-takeover-r0_1d imsm: Test for raid1 -> raid0 takeover added 2011-02-14 09:18:48 +11:00
18imsm-r10_4d-takeover-r0_2d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
ToTest Add test suite and release 2005-08-04 04:56:22 +00:00
check Add test suite and release 2005-08-04 04:56:22 +00:00
env-imsm-template FIX: Tests: raid0->raid10 without degradation 2011-03-24 10:11:58 +11:00
imsm-grow-template FIX: Tests: raid0->raid10 without degradation 2011-03-24 10:11:58 +11:00
testdev Update test scripts for new blockdev 2006-10-23 14:56:22 +10:00
utils Spare migration tests 2010-11-29 09:43:29 +11:00