Subject: Raid10 construction
To: None <port-i386@netbsd.org>
From: david kwok <dkwok@iware.com.au>
List: port-i386
Date: 06/25/2001 09:47:42
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