aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-05-10 00:06:52 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-10 00:06:52 -0700
commit28d627fb4572b378063f58dd533487bdb1ca67a6 (patch)
treefe84d378c357b55f9544bc5c3b71f3c2cf0abef7 /Documentation
parent9828805c649d2753c7e83e5ac55d0c4156719cca (diff)
downloadhistory-28d627fb4572b378063f58dd533487bdb1ca67a6.tar.gz
[PATCH] update Documentation/md.txt
From: <spam@altium.nl> (Dick Streefland) The following patch documents the currently undocumented raid= kernel parameter.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/md.txt23
1 files changed, 21 insertions, 2 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt
index 203231307a2606..3fb3b1ef18fb9c 100644
--- a/Documentation/md.txt
+++ b/Documentation/md.txt
@@ -2,6 +2,8 @@ Tools that manage md devices can be found at
http://www.<country>.kernel.org/pub/linux/utils/raid/....
+Boot time assembly of RAID arrays
+---------------------------------
You can boot with your md device with the following kernel command
lines:
@@ -11,6 +13,8 @@ for old raid arrays without persistent superblocks:
for raid arrays with persistent superblocks
md=<md device no.>,dev0,dev1,...,devn
+or, to assemble a partitionable array:
+ md=d<md device no.>,dev0,dev1,...,devn
md device no. = the number of the md device ...
0 means md0,
@@ -34,7 +38,22 @@ A possible loadlin line (Harald Hoyer <HarryH@Royal.Net>) looks like this:
e:\loadlin\loadlin e:\zimage root=/dev/md0 md=0,0,4,0,/dev/hdb2,/dev/hdc3 ro
--------------------------------
+
+Boot time autodetection of RAID arrays
+--------------------------------------
+
+When md is compiled into the kernel (not as module), partitions of
+type 0xfd are scanned and automatically assembled into RAID arrays.
+This autodetection may be suppressed with the kernel parameter
+"raid=noautodetect".
+
+The kernel parameter "raid=partitionable" (or "raid=part") means
+that all auto-detected arrays are assembled as partitionable.
+
+
+Superblock formats
+------------------
+
The md driver can support a variety of different superblock formats.
(It doesn't yet, but it can)
@@ -82,7 +101,7 @@ array using HOT_REMOVE_DISK.
Specific Rules that apply to format-0 super block arrays, and
- arrays with no superblock (non-presistant).
+ arrays with no superblock (non-persistant).
-------------------------------------------------------------
An array can be 'created' by describing the array (level, chunksize