From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6514 invoked from network); 11 Jun 1998 02:51:31 -0000 Received: from iplink.net (192.139.81.2) by mail2.redhat.com with SMTP; 11 Jun 1998 02:51:31 -0000 Received: from iplink.net ([192.139.81.2]:61458 "HELO caesar.iplink.net" ident: "NO-IDENT-SERVICE") by caesar.iplink.net with SMTP id <30165-1867>; Wed, 10 Jun 1998 23:18:35 -0400 Date: Wed, 10 Jun 1998 23:18:35 -0400 (EDT) From: Alvin Starr To: Richard Henderson cc: axp-list@redhat.com Subject: Re: RAID for AXP. In-Reply-To: <19980610191031.B30698@dot.cygnus.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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=,,,,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 ||