Subject: Re: Fw: Raid10
To: dkwok <dkwok@iware.com.au>
From: Greg Oster <oster@cs.usask.ca>
List: port-i386
Date: 06/27/2001 08:48:09
"dkwok" writes:
> Thank you, Guys
>
> You are sport on. But it say 4 partitions in the first place?
That's just the default. Feel free to change it :)
> Also why the raid partition has to start from e not a if a is available?
Partitions a, b, c, and (sometimes) d are considered "special".
You could use any of them for a RAID component, but I prefer 'e' :)
> ----- Original Message -----
> From: Greg Oster <oster@cs.usask.ca>
> To: dkwok <dkwok@iware.com.au>
> Cc: <port-i386@netbsd.org>
> Sent: Wednesday, June 27, 2001 4:42 PM
> Subject: Re: Fw: Raid10
>
>
> > "dkwok" writes:
> > >
> > > ----- Original Message -----
> > > From: dkwok <dkwok@iware.com.au>
> > > To: <port-i386@netbsd.org>
> > > Sent: Tuesday, June 26, 2001 2:19 PM
> > > Subject: Raid10
> > >
> > >
> > > > I am running NetBSD-1.5.1_BETA2.
> > > >
> > > > I am building a Raid10 set which consists of 4 ide disks, wd0, wd1,
> wd2 &
> > > > wd3. Wd0 & Wd2 are in a pair and wd 1 & wd3 are in a pairs.
> > > >
> > > > First I build raid1 set as follows:
> > > > wd0 & wd2
> > > > a: 500M 0 4.2BSD 1024 8192 16
> > > > c: 30000M 0 unused
> > > > d: 30000M 0 unused
> > > > e: 500M 500M RAID # swap disk - raid0
> > > > f: 20000M 1000M RAID # / - raid1
> > > > g: 27000M 30000M RAID # strip - raid2
> > > >
> > > > wd1 & wd3
> > > >
> > > > c: 15000M 0 unused
> > > > d: 15000M 0 unused
> > > > e: 15000M 0 RAID # strip -raid3
> > > >
> > > > The configuration of raid1 for raid0, raid1, raid2, raid3 is ok. Then
> I am
> > > > stuck as to how to configure the disklabel of raid2 & raid3 for
> stripping.
> > > > I have man page, it is very brief on the makeup of raid.conf for raid
> on
> > > > raid. However my problem is that I cannot setup the disklabel of raid2
> and
> > > > raid3 by assigning e partition for raid as this:
> > > >
> > > > raid2
> > > > d: 27000M 0 unused
> > > > e: 27000M 0 RAID
> > > > raid3
> > > > d: 15000M 0 unused
> > > > e: 15000M 0 RAID
> > > > When I replace the disklabel by doing disklabel -R -r raid2
> > > > /root/disklabel.raid2, I got the error message saying:
> > > >
> > > > disklabel: warning: unused partition e: size 27000M offset 0
> >
> > You don't show the full disklabel, but how many partitions are in the
> >
> > 8 partitions:
> >
> > line? (I'm betting it just says 4... Bump that to 5 (or 8 or whatever)
> > and you should be fine...
> >
> > > > Anyone has experienced setting up raid10 set?
> >
> > Yup.
> >
> > Later...
> >
> > Greg Oster
> >
> >
> >
Later...
Greg Oster