> > I redone the procedure with the new released version, and 
> it seems to be
> > better:
> > 
> > Extraction of dmesg:
> > 
> > softraid0 at root
> > root on wd0a swap on wd0b dump on wd0b
> > raid0: Component /dev/wd0d being configured at row: 0 col: 0
> >          Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
> >          Version: 2 Serial Number: 100 Mod Counter: 128
> >          Clean: Yes Status: 0
> > raid0: Component /dev/wd1d being configured at row: 0 col: 1
> >          Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
> >          Version: 2 Serial Number: 100 Mod Counter: 128
> >          Clean: Yes Status: 0
> > raid0 at root
> > 
> > The last question I have is: it seems that I actually boot 
> on wd0a, which is
> > not a RAID disk. How can I boot on raid0a ?
> > 
> 
> It seems the raid autoconfig does not work.
> What does raidctl -vs raid0 say? 
=> same as your result

raid0 Components:
           /dev/wd0d: optimal
           /dev/wd1d: optimal
No spares.
Component label for /dev/wd0d:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 100, Mod Counter: 143
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 17799936
   RAID Level: 1
   Autoconfig: Yes
   Root partition: Yes
   Last configured as: raid0
Component label for /dev/wd1d:
   Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 100, Mod Counter: 143
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 17799936
   RAID Level: 1
   Autoconfig: Yes
   Root partition: Yes
   Last configured as: raid0
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.


> Did you build your kernel with RAID autoconfig support?

I build the kernel with following options:
option RAID_AUTOCONFIG
pseudo-device raid 4
 
And my /etc/raid0.conf:

START array
1 2 0
START disks
/dev/wd0d
/dev/wd1d
START layout
128 1 1 1
START queue
fifo 100

The creation of the RAID:
raidctl -C /etc/raid0.conf raid0
raidctl -I 100 raid0
raidctl -iv raid0

Reply via email to