Subject: Re: configuring raid5 array with raidframe problem..
To: Havard Eidnes <he@netbsd.org>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-users
Date: 09/09/2004 09:22:50
Havard Eidnes writes:
> > 2. I created slice on netbsd parttion
> >
> > disklabel -i wd1
> >
> > I choose slice a, fs type raid, size -until the end of patition
> >
> > disklabel wd1 > d.label
> > disklabel -R -r wd2 d.label
> > disklabel -R -r wd3 d.label
> >
> > 3. - raid configuration file.. raid0.conf
> >
> > START array
> > 1 3 0
> >
> > START disks
> > /dev/wd1a
> > /dev/wd2a
> > /dev/wd3a
> 
> An error it is easy to do here is to let the individual components
> (such as /dev/wd1a) of the raid array start at the beginning of the
> 'c' partition of the disk (assuming i386, 'c' is the "raw partition"
> and specifies where the BSD disklabel is located).  Not offsetting the
> components from the 'c' partition will cause your BSD disklabel to be
> overwritten by raidframe, and it's pretty much downhill from there.

RAIDframe completely ignores the first 16K of the component, so as 
long as the BSD disklabel isn't beyond the first 16K it's safe to 
leave disklabels and what-not there.

> Offset 'a' a little inwards, and it'll work better.
> 
> If this isn't the trap you've fallen into I don't know what to
> suggest, and would need more concrete information about the
> configuration and the exact error message to give further advice.
> 
> Regards,
> 
> - H=E5vard

Later...

Greg Oster