Subject: Re: Raid sollution wanted
To: Matthias Scheler <tron@zhadum.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 04/08/2002 21:47:03
On Mon, Apr 08, 2002 at 09:37:50PM +0200, Matthias Scheler wrote:
> On Mon, Apr 08, 2002 at 09:34:33PM +0200, Manuel Bouyer wrote:
> > I think it was pulled up to 1.5.x (I have 1.5.2 machines running with root
> > on raid, and are booting off the raid).
> 
> I only looked in "src/CHANGES-1.5.3" and hence didn't find the entry.

It's revision 1.12.14.1 of syssrc/sys/arch/i386/stand/lib/biosdisk.c
OK, you still need to have /boot on a separate partition but it's not really a
big issue: for example I have:
#disklabel wd0
8 partitions:
#        size   offset     fstype   [fsize bsize cpg/sgs]
  a:   360864     1008       RAID                        # (Cyl.    1 - 358)
  b:   258141   103731       swap                        # (Cyl.  102*- 358)
  c: 78165297       63     unused        0     0         # (Cyl.    0*- 77544)
  d: 78165360        0     unused        0     0         # (Cyl.    0 - 77544)
  e: 77803488   361872       RAID                        # (Cyl.  359 - 77544)
  f:      945       63     4.2BSD     1024  8192    16   # (Cyl.    0*- 0)

disklabel raid0:
4 partitions:
#        size   offset     fstype   [fsize bsize cpg/sgs]
  a:   102627        0     4.2BSD     1024  8192    16   # (Cyl.    0 - 101*)
  b:   258141   102627       swap                        # (Cyl.  101*- 357*)
  d:   360768        0     unused        0     0         # (Cyl.    0 - 357*)


My /boot is on /dev/wd0f (and /dev/wd1f), but the kernel is on /dev/raid0a.
Note that raid0 has to be a raid-1 of /dev/wd0a and /dev/wd1a

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--