atacontrol rebuild, how?

Ben Stuyts ben at stuyts.com
Thu Sep 2 13:39:13 PDT 2004


On 2 Sep 2004, at 01:35, Benjamin Close wrote:

> Perhaps something worth trying is the following - It's what I have to 
> do to get the promisc card I use to rebuild:
>
>    - Identify the channel the drive is on (ie ad6 on ata3)
>
> atacontrol detach ata3
> atacontrol attach ata3
> atacontrol addspare ar0 ad6

That was it, I didn't do the addspare. Also, it seems you HAVE to do 
the detach/attach commands, otherwise it won't work.

> atacontrol rebuild
>
> The command exits straight away but if you run: atacontrol status ar0
> I get a 'REBUILDING 0%' message

Yes, it looks ok now.

Many thanks,
Ben

> Also checking the ps output shows a rebuild thread.
>
> Might work, for you.
>
> Cheers,
>    Benjamin
>
> Ben Stuyts wrote:
>
>> Hi,
>>
>> I have installed beta-2 (31082004) on a Supermicro 5013C-T (P4SCE 
>> motherboard with ICH5R, and two WD 74 GB Raptor SATA drives, which I 
>> want to mirror).
>>
>> I know the ICH5R is not a real raid controller, but I'm trying to get 
>> it to work using atacontrol and the built-in RAID1 support.
>>
>> Using the procedure described in 
>> http://www.techno-obscura.com/~delgado/notes/fbsd-ich5SATAraid.html 
>> (thanks!) I managed to get FreeBSD installed on RAID1 on ar0.
>>
>> Next I tried to remove a drive (atacontrol detach), and even zeroed 
>> the first area of the disk. After reattaching the drive, I cannot get 
>> atacontrol to rebuild the drive. If I do atacontrol rebuild ar0, it 
>> does absolutely nothing. From browsing this mailing list I see that 
>> this seems to be a problem with using non-raid controllers, but will 
>> this be improved in the future? Or am I doing something wrong?
>>
>> What other options do I have? Is geom-vinum ready for this? All I 
>> want is a fully mirrored system (incl root and swap).
>>
>> I could put a simple raid controller in, like the Promise S150 
>> TX2Plus or TX4, but if I can get it to work with the ICH5R controller 
>> that would be great.
>>
>> Thanks,
>> Ben
>>
>> _______________________________________________
>> freebsd-current at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to 
>> "freebsd-current-unsubscribe at freebsd.org"
>
>
>
> -- 
> 3D Research Associate / System Administrator     +61 8 8302 3669
> School of Computer and Information Science       Room D1-07, ML Campus
> University of South Australia                    Mawson Lakes Blvd.
Benjamin.Close at cs.unisa.edu.au                   South Australia, 5095
> F00D C83D 5F7E 5561 DF91  B74D E602 CAA3 4842 B5B4



More information about the freebsd-current mailing list