diff options
author | Neil Brown <neilb@suse.de> | 2003-07-28 23:59:00 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2003-07-28 23:59:00 +0000 |
commit | aa88f531b468349982905ecacf11da2cb6678ce6 (patch) | |
tree | 9a138bc93ff24d041d638a2dcabe3fb6279aee55 /mdadm.8 | |
parent | 56eedc1a3f077e1822a4ee0889a78d89e834b037 (diff) | |
download | mdadm-aa88f531b468349982905ecacf11da2cb6678ce6.tar.gz mdadm-aa88f531b468349982905ecacf11da2cb6678ce6.tar.xz mdadm-aa88f531b468349982905ecacf11da2cb6678ce6.zip |
mdadm-1.3.0mdadm-1.3.0
Diffstat (limited to 'mdadm.8')
-rw-r--r-- | mdadm.8 | 40 |
1 files changed, 36 insertions, 4 deletions
@@ -1,5 +1,5 @@ .\" -*- nroff -*- -.TH MDADM 8 "" v1.2.0 +.TH MDADM 8 "" v1.3.0 .SH NAME mdadm \- manage MD devices .I aka @@ -232,9 +232,14 @@ Specify rounding factor for linear array (==chunk size) .TP .BR -l ", " --level= -Set raid level. Options are: linear, raid0, 0, stripe, raid1, 1, mirror, raid5, 4, +Set raid level. When used with +.IR --create , +options are: linear, raid0, 0, stripe, raid1, 1, mirror, raid5, 4, raid5, 5, multipath, mp. Obviously some of these are synonymous. -Only the first 4 are valid when Building. + +When used with +.IR --build , +only linear, raid0, 0, stripe are valid. .TP .BR -p ", " --parity= @@ -255,7 +260,13 @@ Specify the number of active devices in the array. This, plus the number of spare devices (see below) must equal the number of .I component-devices (including "\fBmissing\fP" devices) -that are listed on the command line. +that are listed on the command line. Setting a value of 1 is probably +a mistake and so requires that +.B --force +be specified first. A value of 1 will then be allowed for linear, +multipath, raid0 and raid1. It is never allowed for raid4 or raid5. +.br +Note that this number cannot be changed once the array has been created. .TP .BR -x ", " --spare-devices= @@ -429,6 +440,18 @@ This is useful with which will only continue monitoring if a mail address or alert program is found in the config file. +.TP +.BR -1 ", " --oneshot +Check arrays only once. This will generate +.B NewArray +events and more significantly +.B DegradedArray +events. Running +.in +5 +.B " mdadm --monitor --scan -1" +.in -5 +from a cron script will ensure regular notification of any degraded arrays. + .SH ASSEMBLE MODE .HP 12 @@ -776,6 +799,15 @@ A new md array has been detected in the file. .TP +.B DegradedArray +A newly noticed array appears to be degraded. This message is not +generated when +.I mdadm +notices a drive failure which causes degradation, but only when +.I mdadm +notices that an array is degraded when it first sees the array. + +.TP .B MoveSpare A spare drive has been moved from one array in a .B spare-group |