mdadm/tests
Robert Buchholz f2e29ad691 Repair mode for raid6
In repair mode, raid6check will rewrite one single stripe
by regenerating the data (or parity) of two raid devices that
are specified via the command line.
If you need to rewrite just one slot, pick any other slot
at random.

Note that the repair option will change data on the disks
directly, so both the md layer above as well as any layers
above md (such as filesystems) may be accessing the stripe
data from cached buffers. Either instruct the kernels
to drop the caches or reassemble the raid after repair.

Signed-off-by: NeilBrown <neilb@suse.de>
2012-07-09 17:22:45 +10:00
..
00linear tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
00multipath Check for multipath module before running multipath tests 2012-05-23 13:25:44 +10:00
00raid0 tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
00raid1 Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +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 Increase minimum chunk size in testsuite to 64kB 2012-05-24 15:36:30 +10:00
02r6grow Increase minimum chunk size in testsuite to 64kB 2012-05-24 15:36:30 +10: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 tests/03r5assemV1 - slow down recovery a bit more. 2011-12-23 06:41:52 +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-add-internalbitmap New tests testing the addition of bitmaps 2012-05-30 10:45:27 +10:00
05r1-add-internalbitmap-v1a New tests testing the addition of bitmaps 2012-05-30 10:45:27 +10:00
05r1-add-internalbitmap-v1b New tests testing the addition of bitmaps 2012-05-30 10:45:27 +10:00
05r1-add-internalbitmap-v1c New tests testing the addition of bitmaps 2012-05-30 10:45:27 +10:00
05r1-bitmapfile Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
05r1-grow-external Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
05r1-grow-internal Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
05r1-grow-internal-1 Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
05r1-internalbitmap Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
05r1-internalbitmap-v1a Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
05r1-internalbitmap-v1b Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
05r1-internalbitmap-v1c Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
05r1-n3-bitmapfile Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
05r1-re-add Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
05r1-re-add-nosuper Fix tests/05r1-re-add-nosupper 2012-03-22 17:30:07 +11:00
05r1-remove-internalbitmap New tests testing removal of internal bitmaps 2012-05-30 10:46:25 +10:00
05r1-remove-internalbitmap-v1a New tests testing removal of internal bitmaps 2012-05-30 10:46:25 +10:00
05r1-remove-internalbitmap-v1b New tests testing removal of internal bitmaps 2012-05-30 10:46:25 +10:00
05r1-remove-internalbitmap-v1c New tests testing removal of internal bitmaps 2012-05-30 10:46:25 +10: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 Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
07autoassemble Update some device sizes for self tests. 2012-05-18 17:08:28 +10: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 More fixes for tests. 2011-06-16 14:18:18 +10: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 Remove more duplicated code 2011-06-15 16:30:09 +10:00
09imsm-assemble Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
09imsm-create-fail-rebuild Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
10ddf-create Create: round off size for RAID1 arrays. 2012-03-22 16:53:51 +11:00
11spare-migration test: Don't use dev6 and dev7 together in a non-multipath test 2011-03-28 13:24:04 +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 More fixes for tests. 2011-06-16 14:18:18 +10:00
16imsm-r5_5d-migrate-r0_5d More fixes for tests. 2011-06-16 14:18:18 +10: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
19raid6repair Repair mode for raid6 2012-07-09 17:22:45 +10: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 Remove more duplicated code 2011-06-15 16:30:09 +10:00
imsm-grow-template imsm: Unit Tests - remove backup-file during grow command 2011-06-08 17:15:04 +10:00
testdev Update test scripts for new blockdev 2006-10-23 14:56:22 +10:00
utils tests: use $config to store test config path 2011-03-28 10:34:17 +11:00