Subject: Re: raid10 construction
To: david kwok <dkwok@iware.com.au>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 06/27/2001 16:15:42
On Sun, Jun 24, 2001 at 06:09:48PM +0000, david kwok wrote:
> My current NetBSD version is NetBSD-1.5.1_BETA2.
>
> I have constructed the first layer ok, ie the raid1 set for 2 pairs of
> disks, wd0 & wd2, wd1 & wd3.
>
> Disklabel for wd0 & wd2 is:
>
> a: 500M 4.2BSD #boot partition
> c:27000M unused #
> e: 500M RAID #swap, raid0
> f: 2000M RAID #/ , raid1
> g:27000M RAID #to be stripped with second set, raid2
>
> Disklabel for wd1 & wd3 is
>
> c:15000M unused
> d:15000M unused
> e:15000M RAID # to be stripped with first set, raid3
>
> Now I am stuck with how to proceed after completing the installation of
> raid0, raid1, raid2 and raid3.
>
> I have read the man page about raid on raid.
>
> It shows how the raid.conf should be scripted. However I cannot set the
> disklabel of the raid disk as this:
>
> d: 27000M 0 unused
> e: 27000M 0 RAID
>
> When I do disklabel -R -r raid2 /root/disklabel.raid2
> The error message is:
> disklabel: waring, unused partition e: size 27000M offset 0
I suspect your file has a line like:
4 partitions:
Change this to '8'
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--