Understanding issue in building raid with raidctl

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christophe Rioux
Date: Wednesday, August 20, 2008 - 1:01 am

I follow some documentation for building the software raid on my system:
http://www.argon18.com/raid_openbsd.html
http://www.openbsd-france.org/documentations/OpenBSD-raid1.html#deux

And the result is, I have 2 disk which are working in RAID-1. I build
following configuration:

Physical disk: 250 Go (2 x)

Disklabel: wd0 and wd1
wdXa: 10 Gb
wdXb: 512m
wdXd: the rest of the disk

=> as far I undestand, the wdXa disk are needed to boot before starting the
RAID. This are more or less lost disk place ?


I build again the same disklabel on the raid0 disk:
  a:         20971853        235680435	4.2BSD   2048 16384    1 
  b:          1048576         256652288	swap                   
  c:        466350720                0  	unused      0     0      
  d:        208649856        257700864	4.2BSD   2048 16384    1 
  i:          1000974        136512000	MSDOS                   
  j:             4017        235676418		unknown    

But the result is:
a: 10 Gb
d: 100 Gb
i ????
j ????

When I start the system, I have the feeling that I'm booting on the wd0a
disk, and not on the raid0a disk

Questions:
* how can I be sure I'm booting on the right disk ?
* where are my 130 Gb lost place ?
* where will the system write the logs down ? Wd0a or raid0a ? If those
information are writing to raid0a, that means, I can reduce the wdXa disk to
the minimum requirements (1 Gb for example)

Christophe
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Understanding issue in building raid with raidctl, Christophe Rioux, (Wed Aug 20, 1:01 am)
Re: Understanding issue in building raid with raidctl, Raimo Niskanen, (Wed Aug 20, 3:19 am)