From owner-freebsd-questions@FreeBSD.ORG Sun Oct 31 18:30:08 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8798616A4CE for ; Sun, 31 Oct 2004 18:30:08 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 73EFA43D41 for ; Sun, 31 Oct 2004 18:30:07 +0000 (GMT) (envelope-from Emanuel.Strobl@gmx.net) Received: (qmail 6060 invoked by uid 65534); 31 Oct 2004 18:30:06 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) (62.245.232.135) by mail.gmx.net (mp012) with SMTP; 31 Oct 2004 19:30:06 +0100 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-questions@freebsd.org Date: Sun, 31 Oct 2004 19:30:00 +0100 User-Agent: KMail/1.7 References: <200410292355.43148.haimat@lame.at> <200410302352.12237.Emanuel.Strobl@gmx.net> <200410311901.24005.haimat@lame.at> In-Reply-To: <200410311901.24005.haimat@lame.at> X-OS: FreeBSD X-Birthday: 10/06/72 X-Address: Munich, 80686 X-Tel: +49 89 18947781 X-CelPhone: +49 173 9967781 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1331509.23PpyFD48U"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200410311930.05675.Emanuel.Strobl@gmx.net> cc: "Matthias F. Brandstetter" Subject: Re: howto software raid under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 18:30:08 -0000 --nextPart1331509.23PpyFD48U Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Sonntag, 31. Oktober 2004 19:01 schrieb Matthias F. Brandstetter: > ---------- quoting Emanuel Strobl ---------- > > > Why going outside and searching the internet? > > You have a complete operating system, and it's one of the best > > documented out there. Just 'man ata', 'man atacontrol' and 'man > > gmirror'. Remember that FreeBSD isn't just a hacked kernel with lots of > > stuff arround without any sense, it's standardized an documented! ;) > > Ok, I looked at "man gmirror", but found nothing for my 5.2.1 system. As > you mentioned, gmirror is for 5.3 only. > > I missed "man atacontrol", sorry for this. Now I've looked at its man pag= e, > looks good. Only one problem: man page says that I can only rebuild an > RAID1 array on RAID capable ATA controllers. But I have no such "real" ATA > controller. How can I replace a faulty disk with atacontrol on a normal > ATA controller then? You can use 'atacontrol detach' then powerdown, replace the drive and after= =20 booting you can 'atacontrol addspar ar0 ad6' (or what ever drive and array= =20 failed) and 'atacontrol rebuild ar0'. I've done some "simulation" of this but never had a real failed drive, also= I=20 never checked data integry by md5 sums or something like that. One important thing: If you "simulate" the failure by 'atacontrol detach' make sure to wipe out = the=20 first and last sectors of the "failed" disk, because otherwise ata would=20 detect two raid arrays when booting next time and if you "failed" the first= =20 drive you get messed up! =2DMano > > Thanks for your help, Emanuel! > Greetings, Matthias --nextPart1331509.23PpyFD48U Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBhS8tBylq0S4AzzwRAuo5AJ9o/ijItYfMosYEW6TVBSx1Db2+pwCfXKs3 9hj5XQ9eKJycAEaB0jbQyLI= =OIDb -----END PGP SIGNATURE----- --nextPart1331509.23PpyFD48U--