From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22142 invoked from network); 10 Jun 1998 14:57:09 -0000 Received: from iplink.net (192.139.81.2) by mail2.redhat.com with SMTP; 10 Jun 1998 14:57:09 -0000 Received: from iplink.net ([192.139.81.2]:58379 "HELO caesar.iplink.net" ident: "NO-IDENT-SERVICE") by caesar.iplink.net with SMTP id <30641-2815>; Wed, 10 Jun 1998 11:24:16 -0400 Date: Wed, 10 Jun 1998 11:24:16 -0400 (EDT) From: Alvin Starr To: axp-list@redhat.com cc: axp-list@redhat.com Subject: Re: RAID for AXP. In-Reply-To: <199806101419.KAA25566@adder.cs.Virginia.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 10 Jun 1998, Greg Lindahl wrote: > > I have the software raid working with 2.1.101 but seem to have hit my > > head when trying to get a root file system to be raid1. It looks as > > though initrd is not supported by milo or the alpha verion of linux. > > Perhaps I'm missing something, but doesn't it go like this: > > 1) linload loads milo from a FAT filesystem > 2) Milo reads a kernel off any filesystem it understands, and passes > it arguments > 3) that kernel reads the root filesystem off anything it understands > > With this existing setup, you can have your root filesystem on raid1 > -- you just can't make milo read the kernel off a mirrored 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. I may have missed some recient changes in the raid software but as far as I know the only way to do this is through the initrd type process. > disk. That's a 99% solution for most people; a running system will > survive a disk failure, but may not be able to reboot. A raid1 mirrored device is readable by milo and can be used for booting. it is just that if you write the drive you are up the creek or if the drive is striped. one other possiblity would be to have a system call that would allow the root to be remounted on another device after the system starts it's run up. Reading from the the raw device that is part of a mirror is ok it is just when you want to mount the file system for writing that you will have to have the real /dev/md up and running. I have even thought a bit about chroot-ing the system after it starts up but to do that I would have to hack init. > initrd in the kernel wouldn't help you; initrd in milo would get the > other 1%. Alvin Starr || voice: (416)585-9971 Interlink Connectivity || fax: (416)585-9974 alvin@iplink.net ||