Subject: Raid10
To: None <port-i386@netbsd.org>
From: dkwok <dkwok@iware.com.au>
List: port-i386
Date: 06/26/2001 14:19:37
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
Anyone has experienced setting up raid10 set?
David kwok