Subject: RAID10
To: None <port-i386@netbsd.org>
From: dkwok <dkwok@iware.com.au>
List: port-i386
Date: 06/28/2001 11:16:14
This is a multi-part message in MIME format.
------=_NextPart_000_0041_01C0FFC3.BE563440
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have initialized all the raid disk and transfer from boot partition to =
the raid devices, set raid to boot from raid sets. I have also changed =
the fstab for the new raid settings.
I have set autoconf for boot up as follows;
raidctl -A root raid1 (my raid root file system)
raidctl -A yes raid0 (raid swap file)
raidctl -A yes raid2
raidctl -A yes raid3
raidctl -A yes raid4 (stripped raid10)
Do I need to do autoconf to raid2 and raid3 in order to turn on raid4 as =
stripped?
Anyhow I did that. But after reboot, it complains about raid4 not =
configured.
I reboot the system with all autoconf turned off. Then disklabel raid4 =
says
the device is not configured.
I have to initialize the raid4 again with raidctl -C /etc/raid4.conf =
raid4,
raidctl -I 123455 raid4
raidctl -iv raid4
The interesting thing is raidctl -iv raid4 does not show any progress of =
initialization and only takes 2 seconds. I suspect it is not done =
properly. However, when I do disklabel raid4 again after this, the =
previously setting is back and raid4 can be mounted. What did I do =
wrong?
David Kwok
------=_NextPart_000_0041_01C0FFC3.BE563440
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have initialized all the raid disk =
and transfer=20
from boot partition to the raid devices, set raid to boot from raid =
sets. I have=20
also changed the fstab for the new raid settings.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I have set autoconf for boot up as=20
follows;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>raidctl -A root raid1 (my raid root =
file=20
system)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>raidctl -A yes raid0 (raid swap =
file)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>raidctl -A yes raid2</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>raidctl -A yes raid3</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>raidctl -A yes raid4 (stripped =
raid10)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Do I need to do autoconf to raid2 and =
raid3 in=20
order to turn on raid4 as stripped?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Anyhow I did that. But after reboot, it =
complains=20
about raid4 not configured.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I reboot the system with all autoconf =
turned off.=20
Then disklabel raid4 says</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>the device is not =
configured.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I have to initialize the raid4 again =
with raidctl=20
-C /etc/raid4.conf raid4,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>raidctl -I 123455 raid4</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>raidctl -iv raid4</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>The interesting thing is raidctl -iv =
raid4 does not=20
show any progress of initialization and only takes 2 seconds. I suspect =
it is=20
not done properly. However, when I do disklabel raid4 again after this, =
the=20
previously setting is back and raid4 can be mounted. What did I do=20
wrong?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>David Kwok</FONT></DIV></BODY></HTML>
------=_NextPart_000_0041_01C0FFC3.BE563440--