Hello Chris,

Before setting up your mirror, I recommanded you to read "RAID options
for OpenBSD" from the OpenBSD FAQ
(http://www.openbsd.org/faq/faq14.html#RAID) and then the following
manuals (which I did when I teached myself making a RAIDFRAME mirror on
4.2) :

    * raid(4),
    * raidctl(8),
    * newfs(8),
    * disklabel(8),
    * fdisk(8),
    * boot(8),
    * installboot(8),
    * dd(1),

With the same steps, my configuration is working on 4.3 & 4.4 (amd64).

You can also *precisely* describe your steps (commands and traces), and
in this case, I could easely help you.

Best regards,

Chris Harries a icrit :
> Thank you for your advice Alexis, I have now tried to do this using wd2d and
> it does indeed make sense. I am still having problems however. Everything
> seams to go fine, to what the 2 guides I am following suggest, but when
> reconstructing the data is where I get stuck!
> 
> When running raidctl -vF component0 raid0 I see
> 
> RECON: initiating reconstruction on row - col 0 -> spare at row 0 col 2.
> Quiescence reached...
> 
> And that is where it stops, just sitting there. I am guessing when you do
> the command it brings up a bar of how much it has reconstructed with maybe
> an ETA, but I don't see this, no hard drive light flashing.
> 
> Befor that command I do
> 
> disklabel wd1 > /root/disklabel.wd1
> disklabel -R wd0 /root/disklabel.wd1
> raidctl -a /dev/wd0b raid0
> 
> Which seams fine with me. Did you following a guide to teach your self this?
> I have tried reading over man raidctl but it's now showing me anything more
> then I know already and what I am not doing correct to cause this
> reconstruction to just hang...? Any ideas
> 
> Many Thanks
> Chris
> -----Original Message-----
> From: Alexis de BRUYN [mailto:ale...@de-bruyn.fr]
> Sent: 31 March 2009 12:33
> To: Chris Harries
> Cc: misc@openbsd.org
> Subject: Re: raidctl -vF component0 raid0
> 
>>> A: 144522 4.2BSD (this is the 64MB drive to boot off
>>> B: 1953375480 RAID (this is the RAID data partition
>>> C: 1953523055 UNUSED
> 
> Using 'b' (even 'c') is not a good idea for me too.
> 
> Try on your second disk (mirror), before configuring RAID, with the two
> following partitions:
> 
>  a:    512M  4.2BSD   Boot partition
>  c:   -----  unused   Entire drive
>  d:       *  RAID     Everything except boot kernel
> 
> 
>>>>> START disks
>>>>> /dev/wd2b # the fake device
>>>>> /dev/wd1b
>>>>>
> 
> And then:
> 
> START disks
> /dev/wd2d
> /dev/wd1d
> 
> It works for my several configurations all the times.
> 
> Chris Harries a icrit :
>> Thank you for your time.
>>
>> This I did find weird, wondering why on this guide, it is setting B to
> RAID
>> and not swap...on boot it does say it cannot find swap but this guide did
>> come recommended...
>>
>> It says
>>
>> A: 144522 4.2BSD (this is the 64MB drive to boot off
>> B: 1953375480 RAID (this is the RAID data partition
>> C: 1953523055 UNUSED
>>
>> I am guessing you meant wd0 and wd1, the guide suggested making wd2 as the
>> fake device as I am creating the install on wd0, putting over to wd1 then
>> booting to wd1 and initializing wd0 again and create the raid, in a very
> cut
>> way to explain it
>>
>> Chris
>>
>> -----Original Message-----
>> From: J.C. Roberts [mailto:list-...@designtools.org]
>> Sent: 30 March 2009 13:16
>> To: Chris Harries
>> Cc: misc@openbsd.org
>> Subject: Re: raidctl -vF component0 raid0
>>
>> On Mon, 30 Mar 2009 09:43:31 +0100 "Chris Harries"
>> <ch...@sharescope.co.uk> wrote:
>>
>>> START disks
>>> /dev/wd2b # the fake device
>>> /dev/wd1b
>>>
>> The above looks weird. The 'b' partition is typically swap.
>>
>> What do the following commands tell you?
>>
>>      $ sudo disklabel -n wd1
>>
>>      $ sudo disklabel -n wd2
>>
>>
> 
> --
> Alexis de BRUYN
> email : ale...@de-bruyn.fr
> 

-- 
Alexis de BRUYN
email : ale...@de-bruyn.fr

Reply via email to