lkml.org 
[lkml]   [1998]   [Jun]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 05 Jun 1998 08:43:47 +0200
FromHarald Hoyer <>
SubjectError in Documentation/md.txt
Hi,

due to confusion of some users, I detected an error in the mdadd man page and in
Documentation/md.txt.
As I wrote Documentation/md.txt, I just copied the factor part from the mdadd
page ... but that was wrong.
So here comes the right version attached.

Marc, could you please update your man page?

Gadi, could you please add this to your patch collection for Linus?


-- 
»»»» Harald Hoyer ««»» mailto:HarryH@Royal.Net ««»» http://hot.spotline.de ««««
···············································································
If God had a beard, he'd be a UNIX programmer.Tools that manage md devices can be found at sweet-smoke.ufr-info-p7.ibp.fr
in public/Linux/md035.tar.gz.

	Marc ZYNGIER <zyngier@ufr-info-p7.ibp.fr>

--

You can boot (if you selected boot support in the configuration) with your md 
device with the following kernel command line:

md=<md device no.>,<raid level>,<chunk size factor>,<fault level>,dev0,dev1,...,devn

md device no.: 
              the number of the md device ... 
              0 means md0, 
	      1 md1,
	      2 md2,
	      3 md3,
	      4 md4

raid level: 
              -1 linear mode
              0 striped mode
	      other modes are currently unsupported.

chunk size factor n (raid-0 and raid-1 only):
              Set  the chunk size as (2^n) * PAGE_SIZE.

	      Look at this table for intel (for alpha divide chunksize by 4):
		chunks | factor
		---------------
		1024k  |  8
		 512k  |  7
		 256k  |  6
		 128k  |  5
		  64k  |  4
		  32k  |  3
		  16k  |  2
		   8k  |  1
		   4k  |  0
fault level m (raid-1 only):
              Set  the maximum fault number as m.
	      Currently unsupported due to lack of boot support for raid1.

dev0-devn: e.g. /dev/hda1,/dev/hdc1,/dev/sda1,/dev/sdb1

my loadlin line looks like this:

e:\loadlin\loadlin e:\zimage root=/dev/md0 md=0,0,4,0,/dev/hdb2,/dev/hdc3 ro

        Harald Hoyer <HarryH@Royal.Net>
\
 
 \ /
  Last update: 2005-03-22 13:42    [from the cache]
©2003-2008