summaryrefslogtreecommitdiffstats
path: root/mdadm.8
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-05-21 14:25:44 +1000
committerNeil Brown <neilb@suse.de>2007-05-21 14:25:44 +1000
commit1f48664b8e65cafa65d121bb626649a6310cfaf2 (patch)
tree83ecb51e0102d5ae4e4a7bd50930ade1301bfd75 /mdadm.8
parent69646c1483b7b728d77ae2c944d624f8c05ad4db (diff)
downloadmdadm-1f48664b8e65cafa65d121bb626649a6310cfaf2.tar.gz
mdadm-1f48664b8e65cafa65d121bb626649a6310cfaf2.tar.xz
mdadm-1f48664b8e65cafa65d121bb626649a6310cfaf2.zip
Add --auto-detect for in-kernel autodetect.
This is equivalent to raidautorun that some distros provide.
Diffstat (limited to 'mdadm.8')
-rw-r--r--mdadm.821
1 files changed, 20 insertions, 1 deletions
diff --git a/mdadm.8 b/mdadm.8
index 16f71f2..e70a1a9 100644
--- a/mdadm.8
+++ b/mdadm.8
@@ -154,6 +154,10 @@ information gathering operations.
'''This mode allows operations on independent devices such as examine MD
'''superblocks, erasing old superblocks and stopping active arrays.
+.TP
+.B Auto-detect
+This mode does not act on a specific device or array, but rather it
+requests the Linux Kernel to activate any auto-detected arrays.
.SH OPTIONS
.SH Options for selecting a mode are:
@@ -181,9 +185,24 @@ mode.
Change the size or shape of an active array.
.TP
-.BE \-I ", " \-\-incremental
+.BR \-I ", " \-\-incremental
Add a single device into an appropriate array, and possibly start the array.
+.TP
+.B \-\-auto-detect
+Request that the kernel starts any auto-detected arrays. This can only
+work if
+.I md
+is compiled into the kernel \(em not if it is a module.
+Arrays can be auto-detected by the kernel if all the components are in
+primary MS-DOS partitions with partition type
+.BR FD .
+In-kernel autodetect is not recommended for new installations. Using
+.I mdadm
+to detect and assemble arrays \(em possibly in an
+.I initrd
+\(em is substantially more flexible and should be preferred.
+
.P
If a device is given before any options, or if the first option is
.BR \-\-add ,