Subject: [Fwd: Raid10 construction]
To: None <port-i386@netbsd.org>
From: david kwok <dkwok@iware.com.au>
List: port-i386
Date: 06/25/2001 10:58:16
This is a multi-part message in MIME format.
--------------6AC329F5AC14DA25C95DD6ED
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

 
--------------6AC329F5AC14DA25C95DD6ED
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Message-ID: <3B3708BE.58FF168D@iware.com.au>
Date: Mon, 25 Jun 2001 09:47:42 +0000
From: david kwok <dkwok@iware.com.au>
MIME-Version: 1.0
To: port-i386@netbsd.org
Subject: Raid10 construction
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am building a Raid10 on NetBSD-1.5.1_BETA2.

I have built one for Raid5 but have no experience in build 2 layers of
Raid.

There are wd0, wd1, wd2 and wd3. wd0 & wd2 are in a pair and wd1 & wd3
are in a pair. The disklabel is like this:

wd0&wd2

a:   500M     0   4.2BSD  1024   8192  16 # BOOT PARTITION
c: 30000M     0   unused
d: 30000M     0   unused
e:   500M   500   RAID    # SWAP  - Raid0
f:  2000M  1000   RAID    # /     - Raid1
g: 27000M  3000	  RAID    # STRIP - Raid2

wd1&wd3

c: 15000M     0   unused
d: 15000M     0   unused
e: 15000M     0   RAID    # STRIP - Raid3

I have been able to construct Raid1 out the 4 pairs. Then I need to
strip the Raid2 & Raid3 together. I have read the man page for raid on
raid, it is only a short paragraph about the raid.conf setting.

However I am stuck on setting the disklabel of raid2 & raid3, I cannot
set e: partition as raid:

d: 27000M     0   unused
e: 27000M     0   RAID

I have an error message after replacing the disklabel by doing disklabel
-R -r raid2 /root/disklabel.raid2. The messages: disklabe: Warning
unused partition e: size 27000M offset 0. I can set a: to Raid ffs. But
then it is supposed to set to e: as according to the man page.

Anyone has experience with Raid10 setup. Very much appreciated.

David Kwok

--------------6AC329F5AC14DA25C95DD6ED--