Import 2.2.8pre2
[davej-history.git] / Documentation / md.txt
blob0107ca5d870d34a83d311b464f58f868c587fa18
1 Tools that manage md devices can be found at sweet-smoke.ufr-info-p7.ibp.fr
2 in public/Linux/md035.tar.gz.
4         Marc ZYNGIER <zyngier@ufr-info-p7.ibp.fr>
6 --
8 You can boot (if you selected boot support in the configuration) with your md 
9 device with the following kernel command line:
11 md=<md device no.>,<raid level>,<chunk size factor>,<fault level>,dev0,dev1,...,devn
13 md device no. = the number of the md device ... 
14               0 means md0, 
15               1 md1,
16               2 md2,
17               3 md3,
18               4 md4
20 raid level = -1 linear mode
21               0 striped mode
22               other modes are currently unsupported.
24 chunk size factor = (raid-0 and raid-1 only)
25               Set  the chunk size as PAGE_SIZE << n.
26               
27 fault level = (raid-1 only)
28               Set  the maximum fault number as n.
29               Currently unsupported due to lack of boot support for raid1.
30                             
31 dev0-devn: e.g. /dev/hda1,/dev/hdc1,/dev/sda1,/dev/sdb1
32                             
33 my loadlin line looks like this:
35 e:\loadlin\loadlin e:\zimage root=/dev/md0 md=0,0,4,0,/dev/hdb2,/dev/hdc3 ro
36                             
37         Harald Hoyer <HarryH@Royal.Net>