Subject: Re: configuring raid5 array with raidframe problem..
To: None <ado@nirvanaclub.sk>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-users
Date: 09/09/2004 08:49:42
andrej misovic writes:
> David Maxwell wrote:
>  > It will help a lot if you show your raid configuration files, and the
>  > series of commands you're running.
>  >
> 
> okay..
> I got installed system on wd0..
> 
> 1. I crated netbsd partition on each disk..
> 
> fdisk -u wd1,2,3
> (I select partition 0, for whole disk..it's start from 63 sect.)
> 
> 2. I created slice on netbsd parttion
> 
> disklabel -i wd1
> 
> I choose slice a, fs type raid, size -until the end of patition
> 
> disklabel wd1 > d.label
> disklabel -R -r wd2 d.label
> disklabel -R -r wd3 d.label
> 
> 3. - raid configuration file.. raid0.conf
> 
> START array
> 1 3 0
> 
> START disks
> /dev/wd1a
> /dev/wd2a
> /dev/wd3a
> 
> START layout
> 64 1 1 5
> 
> START queue
> fifo 100
> --EOF
> 
> then I initialized array with:
> raidctl -C /path/to/raid0.conf raid0
> 
> --and after that..raidctl outputs error
> about hosed component, that in this case
> was /dev/wd2a, which was secundary master disk..

There will almost always be complaints about hosed components and 
what-not when doing an initial configuration -- the "-C" option says
"ignore those errors and configure anyway".

> next initialization steps I didn't make,
> because I think, it was unnecessary to gone ahead..

If you continue on and do the "-I" step, I think you'll find things 
are working just fine. 

Later...

Greg Oster