howto software raid under FreeBSD?

Emanuel Strobl Emanuel.Strobl at
Sun Oct 31 13:34:41 PST 2004

Am Sonntag, 31. Oktober 2004 19:42 schrieb Matthias F. Brandstetter:
> ---------- quoting Emanuel Strobl ----------
> > You can use 'atacontrol detach' then powerdown, replace the drive and
> > after booting you can 'atacontrol addspar ar0 ad6' (or what ever drive
> > and array failed) and 'atacontrol rebuild ar0'.
> Problem is, that man page says "atacontrol rebuild" is only valid on RAID
> capable ATA controllers. But since I have no such controller, I can't use
> this command.

I don't know why this is in the man page, last time I read it (some years ago) 
it was not in there.
You can use the rebuild command also on non-raid controllers, at least it was 
possible for me when I did some tests about 3 months ago.
As I can see you're considering gmirror, perhaps that's the better solution 
for you. In all cases, simulate a drive failure, so you do know what to do 
when one drive really fails.


> How can I rebuild the array on a normal ATA controller?
> Greetings, Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list