Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Alvin Starr <alvin@iplink.net>
To: Richard Henderson <rth@cygnus.com>
Cc: axp-list@redhat.com
Subject: Re: RAID for AXP.
Date: Wed, 10 Jun 1998 23:18:35 -0400 (EDT)	[thread overview]
Message-ID: <Pine.OSF.3.91.980610224159.61A-100000@caesar.iplink.net> (raw)
In-Reply-To: <19980610191031.B30698@dot.cygnus.com>

On Wed, 10 Jun 1998, Richard Henderson wrote:

> On Wed, Jun 10, 1998 at 11:45:56AM -0400, Greg Lindahl wrote:
> > > The problem with raid under linux is that there is no way to have the 
> > > kernel boot up and directly recoginze the raid drives. Some user level 
> > > programmes must be run.
> > 
> > Oh, yech. That's not very boot-friendly, although it works fine for
> > user files.
> 
> You can in 2.1.x.  See Documentation/md.txt.
> 
> 
> r~
> 
> 
> ----
> 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 = (raid-0 and raid-1 only)
>               Set  the chunk size as PAGE_SIZE << n.
>               
> fault level = (raid-1 only)
>               Set  the maximum fault number as n.
>               Currently unsupported due to lack of boot support for raid1.
>                             
> dev0-devn: e.g. /dev/hda1,/dev/hdc1,/dev/sda1,/dev/sdb1

Yes you are correct. There is support for booting a raid system. I am 
sure I read just about every FAQ and document on the linux raid 
implemtation and nobody mentioned the boot support.  FYI It also seems to 
work for raid1 if you uncoment out the section that tests for raid1/5 in 
md.c. My quickie test allowes me to boot a kernel that mounts /dev/md0 as 
the root partition. I have not done any extensive tests but my quick boot 
and poke around the file system seems to work correctly.

It looks now like my prblem is how to stop cleanly.

Alvin Starr                   ||   voice: (416)585-9971
Interlink Connectivity        ||   fax:   (416)585-9974
alvin@iplink.net              ||


  reply	other threads:[~1998-06-11  2:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-10 15:45 RAID for AXP Greg Lindahl
1998-06-11  2:10 ` Richard Henderson
1998-06-11  3:18   ` Alvin Starr [this message]
1998-06-11 18:23     ` Christoph Nadig
1998-06-11 19:18       ` Alvin Starr
1998-06-11 21:41       ` Wes Bauske
1998-06-12  7:14       ` Joakim Roubert
  -- strict thread matches above, loose matches on Subject: below --
1998-06-10 14:59 Alan Wood
1998-06-10 14:19 Greg Lindahl
1998-06-10 15:24 ` Alvin Starr
1998-06-10 15:09   ` Michal Jaegermann
1998-06-09 19:56 Alvin Starr
1998-06-09 11:52 ` Jay.Estabrook
1998-06-15 19:19 ` Carlos Carvalho
1998-06-16 13:57   ` Alvin Starr
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox