]> git.ipfire.org Git - thirdparty/mdadm.git/blob - mdadm.8
a04f7a029c590eebbe97ad70244944339d217758
[thirdparty/mdadm.git] / mdadm.8
1 .\" -*- nroff -*-
2 .TH MDADM 8 "" v1.2.0
3 .SH NAME
4 mdadm \- manage MD devices
5 .I aka
6 Linux Software Raid.
7
8 .SH SYNOPSIS
9
10 .BI mdadm " [mode] <raiddevice> [options] <component-devices>"
11
12 .SH DESCRIPTION
13 RAID devices are virtual devices created from two or more
14 real block devices. This allows multiple devices (typically disk
15 drives or partitions there-of) to be combined into a single device to
16 hold (for example) a single filesystem.
17 Some RAID levels include redundancy and so can survive some degree of
18 device failure.
19
20 Linux Software RAID devices are implemented through the md (Multiple
21 Devices) device driver.
22
23 Currently, Linux supports
24 .B LINEAR
25 md devices,
26 .B RAID0
27 (striping),
28 .B RAID1
29 (mirroring),
30 .BR RAID4 ,
31 .BR RAID5 ,
32 and
33 .BR MULTIPATH .
34
35 .B MULTIPATH is not a Software RAID mechanism, but does involve
36 multiple devices. For
37 .B MULTIPATH
38 each device is a path to one common physical storage device.
39
40
41 .B mdadm
42 is a program that can be used to create, manage, and monitor
43 MD devices. As
44 such it provides a similar set of functionality to the
45 .B raidtools
46 packages.
47 The key differences between
48 .B mdadm
49 and
50 .B raidtools
51 are:
52 .IP \(bu 4
53 .B mdadm
54 is a single program and not a collection of programs.
55 .IP \(bu 4
56 .B mdadm
57 can perform (almost) all of its functions without having a
58 configuration file and does not use one by default. Also
59 .B mdadm
60 helps with management of the configuration
61 file.
62 .IP \(bu 4
63 .B mdadm
64 can provide information about your arrays (through Query, Detail, and Examine)
65 that
66 .B raidtools
67 cannot.
68 .P
69 .I mdadm
70 does not use
71 .IR /etc/raidtab ,
72 the
73 .B raidtools
74 configuration file, at all. It has a different configuration file
75 with a different format and an different purpose.
76
77 .SH MODES
78 mdadm has 6 major modes of operation:
79 .TP
80 .B Assemble
81 Assemble the parts of a previously created
82 array into an active array. Components can be explicitly given
83 or can be searched for.
84 .B mdadm
85 checks that the components
86 do form a bona fide array, and can, on request, fiddle superblock
87 information so as to assemble a faulty array.
88
89 .TP
90 .B Build
91 Build a legacy array without per-device superblocks.
92
93 .TP
94 .B Create
95 Create a new array with per-device superblocks.
96 '''It can progress
97 '''in several step create-add-add-run or it can all happen with one command.
98
99 .TP
100 .B Manage
101 This is for doing things to specific components of an array such as
102 adding new spares and removing faulty devices.
103
104 .TP
105 .B Misc
106 This mode allows operations on independent devices such as examine MD
107 superblocks, erasing old superblocks and stopping active arrays.
108
109 .TP
110 .B "Follow or Monitor"
111 Monitor one or more md devices and act on any state changes. This is
112 only meaningful for raid1, raid5 or multipath arrays as only these have
113 interesting state. raid0 or linear never have missing, spare, or
114 failed drives, so there is nothing to monitor.
115
116
117 .SH OPTIONS
118
119 Available options are:
120
121 .TP
122 .BR -A ", " --assemble
123 Assemble a pre-existing array.
124
125 .TP
126 .BR -B ", " --build
127 Build a legacy array without superblocks.
128
129 .TP
130 .BR -C ", " --create
131 Create a new array.
132
133 .TP
134 .BR -Q ", " --query
135 Examine a device to see
136 (1) if it is an md device and (2) if it is a component of an md
137 array.
138 Information about what is discovered is presented.
139
140 .TP
141 .BR -D ", " --detail
142 Print detail of one or more md devices.
143
144 .TP
145 .BR -E ", " --examine
146 Print content of md superblock on device(s).
147
148 .TP
149 .BR -F ", " --follow ", " --monitor
150 Select
151 .B Monitor
152 mode.
153
154 .TP
155 .BR -h ", " --help
156 Display help message or, after above option, mode specific help
157 message.
158
159 .TP
160 .B --help-options
161 Display more detailed help about command line parsing and some commonly
162 used options.
163
164 .TP
165 .BR -V ", " --version
166 Print version information for mdadm.
167
168 .TP
169 .BR -v ", " --verbose
170 Be more verbose about what is happening.
171
172 .TP
173 .BR -b ", " --brief
174 Be less verbose. This is used with
175 .B --detail
176 and
177 .BR --examine .
178
179 .TP
180 .BR -f ", " --force
181 Be more forceful about certain operations. See the various modes of
182 the exact meaning of this option in different contexts.
183
184 .TP
185 .BR -c ", " --config=
186 Specify the config file. Default is
187 .BR /etc/mdadm.conf .
188 If the config file given is
189 .B partitions
190 then nothing will be read, but
191 .I mdadm
192 will act as though the config file contained exactly
193 .B "DEVICE partitions"
194 and will read
195 .B /proc/partitions
196 to find a list of devices to scan.
197 If the word
198 .B none
199 is given for the config file, then
200 .I mdadm
201 will act as though the config file were empty.
202
203 .TP
204 .BR -s ", " --scan
205 scan config file or
206 .B /proc/mdstat
207 for missing information.
208 In general, this option gives
209 .B mdadm
210 permission to get any missing information, like component devices,
211 array devices, array identities, and alert destination from the
212 configuration file:
213 .BR /etc/mdadm.conf .
214 One exception is MISC mode when using
215 .B --detail
216 or
217 .B --stop
218 in which case
219 .B --scan
220 says to get a list of array devices from
221 .BR /proc/mdstat .
222
223 .SH For create or build:
224
225 .TP
226 .BR -c ", " --chunk=
227 Specify chunk size of kibibytes. The default is 64.
228
229 .TP
230 .BR --rounding=
231 Specify rounding factor for linear array (==chunk size)
232
233 .TP
234 .BR -l ", " --level=
235 Set raid level. Options are: linear, raid0, 0, stripe, raid1, 1, mirror, raid5, 4,
236 raid5, 5, multipath, mp. Obviously some of these are synonymous.
237 Only the first 4 are valid when Building.
238
239 .TP
240 .BR -p ", " --parity=
241 Set raid5 parity algorithm. Options are:
242 left-asymmetric,
243 left-symmetric,
244 right-asymmetric,
245 right-symmetric,
246 la, ra, ls, rs. The default is left-symmetric.
247
248 .TP
249 .BR --layout=
250 same as --parity
251
252 .TP
253 .BR -n ", " --raid-devices=
254 Specify the number of active devices in the array. This, plus the
255 number of spare devices (see below) must equal the number of
256 .I component-devices
257 (including "\fBmissing\fP" devices)
258 that are listed on the command line.
259
260 .TP
261 .BR -x ", " --spare-devices=
262 Specify the number of spare (eXtra) devices in the initial array.
263 Spares can also be added
264 and removed later. The number of component devices listed
265 on the command line must equal the number of raid devices plus the
266 number of spare devices.
267
268
269 .TP
270 .BR -z ", " --size=
271 Amount (in Kibibytes) of space to use from each drive in RAID1/4/5.
272 This must be a multiple of the chunk size, and must leave about 128Kb
273 of space at the end of the drive for the RAID superblock.
274 If this is not specified
275 (as it normally is not) the smallest drive (or partition) sets the
276 size, though if there is a variance among the drives of greater than 1%, a warning is
277 issued.
278
279 .SH For assemble:
280
281 .TP
282 .BR -u ", " --uuid=
283 uuid of array to assemble. Devices which don't have this uuid are
284 excluded
285
286 .TP
287 .BR -m ", " --super-minor=
288 Minor number of device that array was created for. Devices which
289 don't have this minor number are excluded. If you create an array as
290 /dev/md1, then all superblocks will contain the minor number 1, even if
291 the array is later assembled as /dev/md2.
292
293 Giving the literal word "dev" for
294 .B --super-minor
295 will cause
296 .I mdadm
297 to use the minor number of the md device that is being assembled.
298 e.g. when assembling
299 .BR /dev/md0 ,
300 .M --super-minor=dev
301 will look for super blocks with a minor number of 0.
302
303 .TP
304 .BR -f ", " --force
305 Assemble the array even if some superblocks appear out-of-date
306
307 .TP
308 .BR -R ", " --run
309 Attempt to start the array even if fewer drives were given than are
310 needed for a full array. Normally if not all drives are found and
311 .B --scan
312 is not used, then the array will be assembled but not started.
313 With
314 .B --run
315 an attempt will be made to start it anyway.
316
317 .TP
318 .BR -U ", " --update=
319 Update the superblock on each device while assembling the array. The
320 argument given to this flag can be either
321 .B sparc2.2
322 or
323 .BR super-minor .
324
325 The
326 .B sparc2.2
327 option will adjust the superblock of an array what was created on a Sparc
328 machine running a patched 2.2 Linux kernel. This kernel got the
329 alignment of part of the superblock wrong. You can use the
330 .B "--examine --sparc2.2"
331 option to
332 .I mdadm
333 to see what effect this would have.
334
335 The
336 .B super-minor
337 option will update the
338 .B "prefered minor"
339 field on each superblock to match the minor number of the array being
340 assembled. This is not need on 2.6 and later kernels as they make
341 this adjustment automatically.
342
343
344 .SH For Manage mode:
345
346 .TP
347 .BR -a ", " --add
348 '''add, or
349 hotadd listed devices.
350
351 .TP
352 .BR -r ", " --remove
353 remove listed devices. They must not be active. i.e. they should
354 be failed or spare devices.
355
356 .TP
357 .BR -f ", " --fail
358 mark listed devices as faulty.
359
360 .TP
361 .BR --set-faulty
362 same as --fail.
363
364 .SH For Examine mode:
365
366 .TP
367 .B --sparc2.2
368 In an array was created on a 2.2 Linux kernel patched with RAID
369 support, the superblock will have been created incorrectly, or at
370 least incompatibly with 2.4 and later kernels. Using the
371 .B --sparc2.2
372 flag with
373 .B --examine
374 will fix the superblock before displaying it. If this appears to do
375 the right thing, then the array can be successfully assembled using
376 .BR "--assemble --update=sparc2.2" .
377
378 .SH For Misc mode:
379
380 .TP
381 .BR -R ", " --run
382 start a partially built array.
383
384 .TP
385 .BR -S ", " --stop
386 deactivate array, releasing all resources.
387
388 .TP
389 .BR -o ", " --readonly
390 mark array as readonly.
391
392 .TP
393 .BR -w ", " --readwrite
394 mark array as readwrite.
395
396 .TP
397 .B --zero-superblock
398 If the device contains a valid md superblock, the block is
399 over-written with zeros. With
400 --force
401 the block where the superblock would be is over-written even if it
402 doesn't appear to be valid.
403
404 .SH For Monitor mode:
405 .TP
406 .BR -m ", " --mail
407 Give a mail address to send alerts to.
408
409 .TP
410 .BR -p ", " --program ", " --alert
411 Give a program to be run whenever an event is detected.
412
413 .TP
414 .BR -d ", " --delay
415 Give a delay in seconds.
416 .B mdadm
417 polls the md arrays and then waits this many seconds before polling
418 again. The default is 60 seconds.
419
420 .TP
421 .BR -f ", " --daemonise
422 Tell
423 .B mdadm
424 to run as a background daemon if it decides to monitor anything. This
425 causes it to fork and run in the child, and to disconnect form the
426 terminal. The process id of the child is written to stdout.
427 This is useful with
428 .B --scan
429 which will only continue monitoring if a mail address or alert program
430 is found in the config file.
431
432 .SH ASSEMBLE MODE
433
434 .HP 12
435 Usage:
436 .B mdadm --assemble
437 .I md-device options-and-component-devices...
438 .HP 12
439 Usage:
440 .B mdadm --assemble --scan
441 .I md-devices-and-options...
442 .HP 12
443 Usage:
444 .B mdadm --assemble --scan
445 .I options...
446
447 .PP
448 This usage assembles one or more raid arrays from pre-existing components.
449 For each array, mdadm needs to know the md device, the identity of the
450 array, and a number of component-devices. These can be found in a number of ways.
451
452 In the first usage example (without the
453 .BR --scan )
454 the first device given is the md device.
455 In the second usage example, all devices listed are treated as md
456 devices and assembly is attempted.
457 In the third (where no devices are listed) all md devices that are
458 listed in the configuration file are assembled.
459
460 If precisely one device is listed, but
461 .B --scan
462 is not given, that
463 .I mdadm
464 acts as though
465 .B --scan
466 was given and identify information is extracted from the configuration file.
467
468 The identity can be given with the
469 .B --uuid
470 option, with the
471 .B --super-minor
472 option, can be found in the config file, or will be taken from the
473 super block on the first component-device listed on the command line.
474
475 Devices can be given on the
476 .B --assemble
477 command line or in the config file. Only devices which have an md
478 superblock which contains the right identity will be considered for
479 any array.
480
481 The config file is only used if explicitly named with
482 .B --config
483 or requested with (a possibly implicit)
484 .B --scan.
485 In the later case,
486 .B /etc/mdadm.conf
487 is used.
488
489 If
490 .B --scan
491 is not given, then the config file will only be used to find the
492 identity of md arrays.
493
494 Normally the array will be started after it is assembled. However if
495 .B --scan
496 is not given and insufficient drives were listed to start a complete
497 (non-degraded) array, then the array is not started (to guard against
498 usage errors). To insist that the array be started in this case (as
499 may work for RAID1 or RAID5), give the
500 .B --run
501 flag.
502
503
504 .SH BUILD MODE
505
506 .HP 12
507 Usage:
508 .B mdadm --build
509 .I device
510 .BI --chunk= X
511 .BI --level= Y
512 .BI --raid-devices= Z
513 .I devices
514
515 .PP
516 This usage is similar to
517 .BR --create .
518 The difference is that it creates a legacy array without a superblock. With
519 these arrays there is no difference between initially creating the array and
520 subsequently assembling the array, except that hopefully there is useful
521 data there in the second case.
522
523 The level may only be 0, raid0, or linear. All devices must be listed
524 and the array will be started once complete.
525
526 .SH CREATE MODE
527
528 .HP 12
529 Usage:
530 .B mdadm --create
531 .I device
532 .BI --chunk= X
533 .BI --level= Y
534 .br
535 .BI --raid-devices= Z
536 .I devices
537
538 .PP
539 This usage will initialise a new md array, associate some devices with
540 it, and activate the array.
541
542 As devices are added, they are checked to see if they contain raid
543 superblocks or filesystems. They are also checked to see if the variance in
544 device size exceeds 1%.
545
546 If any discrepancy is found, the array will not automatically be run, though
547 the presence of a
548 .B --run
549 can override this caution.
550
551 To create a "degraded" array in which some devices are missing, simply
552 give the word "\fBmissing\fP"
553 in place of a device name. This will cause
554 .B mdadm
555 to leave the corresponding slot in the array empty.
556 For a RAID4 or RAID5 array at most one slot can be
557 "\fBmissing\fP".
558 For a RAID1 array, only one real device needs to be given. All of the
559 others can be
560 "\fBmissing\fP".
561
562 '''If the
563 '''.B --size
564 '''option is given, it is not necessary to list any component-devices in this command.
565 '''They can be added later, before a
566 '''.B --run.
567 '''If no
568 '''.B --size
569 '''is given, the apparent size of the smallest drive given is used.
570
571 The General Management options that are valid with --create are:
572 .TP
573 .B --run
574 insist of running the array even if some devices look like they might
575 be in use.
576
577 .TP
578 .B --readonly
579 start the array readonly - not supported yet.
580
581 .SH MANAGE MODE
582 .HP 12
583 Usage:
584 .B mdadm
585 .I device
586 .I options... devices...
587 .PP
588
589 This usage will allow individual devices in an array to be failed,
590 removed or added. It is possible to perform multiple operations with
591 on command. For example:
592 .br
593 .B " mdadm /dev/md0 -f /dev/hda1 -r /dev/hda1 -a /dev/hda1"
594 .br
595 will firstly mark
596 .B /dev/hda1
597 as faulty in
598 .B /dev/md0
599 and will then remove it from the array and finally add it back
600 in as a spare. However only one md array can be affected by a single
601 command.
602
603 .SH MISC MODE
604 .HP 12
605 Usage:
606 .B mdadm
607 .I options ...
608 .I devices ...
609 .PP
610
611 MISC mode includes a number if distinct operations that
612 operate on distinct devices. The operations are:
613 .TP
614 --query
615 The device is examined to see if it is
616 (1) an active md array, or
617 (2) a component of an md array.
618 The information discovered is reported.
619
620 .TP
621 --detail
622 The device should be an active md device.
623 .B mdadm
624 will display a detailed description of the array.
625 .B --brief
626 or
627 .B --scan
628 will cause the output to be less detailed and the format to be
629 suitable for inclusion in
630 .BR /etc/mdadm.conf .
631
632 .TP
633 --examine
634 The device should be a component of an md array.
635 .B mdadm
636 will read the md superblock of the device and display the contents.
637 If
638 .B --brief
639 is given, or
640 .B --scan
641 then multiple devices that are components of the one array
642 are grouped together and reported in a single entry suitable
643 for inclusion in
644 .BR /etc/mdadm.conf .
645
646 Having
647 .B --scan
648 without listing any devices will cause all devices listed in the
649 config file to be examined.
650
651 .TP
652 --stop
653 This devices should active md arrays which will be deactivated, if
654 they are not currently in use.
655
656 .TP
657 --run
658 This will fully activate a partially assembled md array.
659
660 .TP
661 --readonly
662 This will mark an active array as read-only, providing that it is
663 not currently being used.
664
665 .TP
666 --readwrite
667 This will change a
668 .B readonly
669 array back to being read/write.
670
671 .TP
672 --scan
673 For all operations except
674 .BR --examine ,
675 .B --scan
676 will cause the operation to be applied to all arrays listed in
677 .BR /proc/mdstat .
678 For
679 .BR --examine,
680 .B --scan
681 causes all devices listed in the config file to be examined.
682
683
684 .SH MONITOR MODE
685
686 .HP 12
687 Usage:
688 .B mdadm --monitor
689 .I options... devices...
690
691 .PP
692 This usage causes
693 .B mdadm
694 to periodically poll a number of md arrays and to report on any events
695 noticed.
696 .B mdadm
697 will never exit once it decides that there are arrays to be checked,
698 so it should normally be run in the background.
699
700 As well as reporting events,
701 .B mdadm
702 may move a spare drive from one array to another if they are in the
703 same
704 .B spare-group
705 and if the destination array has a failed drive but not spares.
706
707 If any devices are listed on the command line,
708 .B mdadm
709 will only monitor those devices. Otherwise all arrays listed in the
710 configuration file will be monitored. Further, if
711 .B --scan
712 is given, then any other md devices that appear in
713 .B /proc/mdstat
714 will also be monitored.
715
716 The result of monitoring the arrays is the generation of events.
717 These events are passed to a separate program (if specified) and may
718 be mailed to a given E-mail address.
719
720 When passing event to program, the program is run once for each event
721 and is given 2 or 3 command-line arguements. The first is the
722 name of the event (see below). The second is the name of the
723 md device which is affected, and the third is the name of a related
724 device if relevant, such as a component device that has failed.
725
726 If
727 .B --scan
728 is given, then a program or an E-mail address must be specified on the
729 command line or in the config file. If neither are available, then
730 .B mdadm
731 will not monitor anything.
732 Without
733 .B --scan
734 .B mdadm
735 will continue monitoring as long as something was found to monitor. If
736 no program or email is given, then each event is reported to
737 .BR stdout .
738
739 The different events are:
740
741 .RS 4
742 .TP
743 .B DeviceDisappeared
744 An md array which previously was configured appears to no longer be
745 configured.
746
747 .TP
748 .B RebuildStarted
749 An md array started reconstruction.
750
751 .TP
752 .BI Rebuild NN
753 Where
754 .I NN
755 is 20, 40, 60, or 80, this indicates that rebuild has passed that many
756 percentage of the total.
757
758 .TP
759 .B Fail
760 An active component device of an array has been marked as faulty.
761
762 .TP
763 .B FailSpare
764 A spare component device which was being rebuilt to replace a faulty
765 device has failed.
766
767 .TP
768 .B SpareActive
769 A spare component device which was being rebuilt to replace a faulty
770 device as been successfully rebuild and has been made active.
771
772 .TP
773 .B NewArray
774 A new md array has been detected in the
775 .B /proc/mdstat
776 file.
777
778 .TP
779 .B MoveSpare
780 A spare drive has been moved from one array in a
781 .B spare-group
782 to another to allow a failed drive to be replaced.
783
784 .RE
785
786 Only
787 .B Fail
788 and
789 .B FailSpare
790 cause Email to be sent. All events cause the program to be run.
791 The program is run with two or three arguments, they being the event
792 name, the array device and possibly a second device.
793
794 Each event has an associated array device (e.g.
795 .BR /dev/md1 )
796 and possibly a second device. For
797 .BR Fail ,
798 .BR FailSpare ,
799 and
800 .B SpareActive
801 the second device is the relevant component device.
802 For
803 .B MoveSpare
804 the second device is the array that the spare was moved from.
805
806 For
807 .B mdadm
808 to move spares from one array to another, the different arrays need to
809 be labelled with the same
810 .B spare-group
811 in the configuration file. The
812 .B spare-group
813 name can be any string. It is only necessary that different spare
814 groups use different names.
815
816 When
817 .B mdadm
818 detects that an array which is in a spare group has fewer active
819 devices than necessary for the complete array, and has no spare
820 devices, it will look for another array in the same spare group that
821 has a full complement of working drive and a spare. It will then
822 attempt to remove the spare from the second drive and add it to the
823 first.
824 If the removal succeeds but the adding fails, then it is added back to
825 the original array.
826
827 .SH EXAMPLES
828
829 .B " mdadm --query /dev/name-of-device"
830 .br
831 This will find out if a given device is a raid array, or is part of
832 one, and will provide brief information about the device.
833
834 .B " mdadm --assemble --scan"
835 .br
836 This will assemble and start all arrays listed in the standard confile
837 file. This command will typically go in a system startup file.
838
839 .B " mdadm --stop --scan"
840 .br
841 This will shut down all array that can be shut down (i.e. are not
842 currently in used). This will typically going in a system shutdown script.
843
844 .B " mdadm --follow --scan --delay=120"
845 .br
846 If (and only if) there is an Email address or program given in the
847 standard config file, then
848 monitor the status of all arrays listed in that file by
849 polling them ever 2 minutes.
850
851 .B " mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hd[ac]1"
852 .br
853 Create /dev/md0 as a RAID1 array consisting of /dev/hda1 and /dev/hdc1.
854
855 .br
856 .B " echo 'DEVICE /dev/hd*[0-9] /dev/sd*[0-9]' > mdadm.conf"
857 .br
858 .B " mdadm --detail --scan >> mdadm.conf"
859 .br
860 This will create a prototype config file that describes currently
861 active arrays that are known to be made from partitions of IDE or SCSI drives.
862 This file should be reviewed before being used as it may
863 contain unwanted detail.
864
865 .B " echo 'DEVICE /dev/hd[a-z] /dev/sd*[a-z]' > mdadm.conf"
866 .br
867 .B " mdadm --examine --scan --config=mdadm.conf >> mdadm.conf"
868 .ber
869 This will find what arrays could be assembled from existign IDE and
870 SCSI whole drives (not partitions) and store the information is the
871 format of a config file.
872 This file is very likely to contain unwanted detail, particularly
873 the
874 .B devices=
875 entries. It should be reviewed and edited before being used as an
876 actual config file.
877
878 .B " mdadm --examine --brief --scan --config=partitions"
879 .br
880 .B " mdadm -Ebsc partitions"
881 .br
882 Create a list of devices by reading
883 .BR /proc/partitions ,
884 scan these for RAID superblocks, and printout a brief listing of all
885 that was found.
886
887 .B " mdadm -Ac partitions -m 0 /dev/md0"
888 .br
889 Scan all partitions and devices listed in
890 .BR /proc/partitions
891 and assemble
892 .B /dev/md0
893 out of all such devices with a RAID superblock with a minor number of 0.
894
895 .B " mdadm --monitor --scan --daemonise > /var/run/mdadm"
896 .br
897 If config file contains a mail address or alert program, run mdadm in
898 the background in monitor mode monitoring all md devices. Also write
899 pid of mdadm daemon to
900 .BR /var/run/mdadm .
901
902 .B " mdadm --create --help"
903 .br
904 Providew help about the Create mode.
905
906 .B " mdadm --config --help"
907 .br
908 Provide help about the format of the config file.
909
910 .B " mdadm --help"
911 .br
912 Provide general help.
913
914
915 .SH FILES
916
917 .SS /proc/mdstat
918
919 If you're using the
920 .B /proc
921 filesystem,
922 .B /proc/mdstat
923 lists all active md devices with information about them.
924 .B mdadm
925 uses this to find arrays when
926 .B --scan
927 is given in Misc mode, and to monitor array reconstruction
928 on Monitor mode.
929
930
931 .SS /etc/mdadm.conf
932
933 The config file lists which devices may be scanned to see if
934 they contain MD super block, and gives identifying information
935 (e.g. UUID) about known MD arrays. See
936 .BR mdadm.conf (5)
937 for more details.
938
939
940 .SH NOTE
941 .B mdadm
942 was previously known as
943 .BR mdctl .
944
945 .SH SEE ALSO
946 For information on the various levels of
947 RAID, check out:
948
949 .IP
950 .UR http://ostenfeld.dk/~jakob/Software-RAID.HOWTO/
951 http://ostenfeld.dk/~jakob/Software-RAID.HOWTO/
952 .UE
953 .PP
954 for new releases of the RAID driver check out:
955
956 .IP
957 .UR ftp://ftp.kernel.org/pub/linux/kernel/people/mingo/raid-patches
958 ftp://ftp.kernel.org/pub/linux/kernel/people/mingo/raid-patches
959 .UE
960 .PP
961 or
962 .IP
963 .UR http://www.cse.unsw.edu.au/~neilb/patches/linux-stable/
964 http://www.cse.unsw.edu.au/~neilb/patches/linux-stable/
965 .URk
966 .PP
967 .BR mdadm.conf (5),
968 .BR md (4).
969 .PP
970 .IR raidtab (5),
971 .IR raid0run (8),
972 .IR raidstop (8),
973 .IR mkraid (8)