Date: Sun, 31 Oct 2004 19:30:00 +0100 From: Emanuel Strobl <Emanuel.Strobl@gmx.net> To: freebsd-questions@freebsd.org Cc: "Matthias F. Brandstetter" <haimat@lame.at> Subject: Re: howto software raid under FreeBSD? Message-ID: <200410311930.05675.Emanuel.Strobl@gmx.net> In-Reply-To: <200410311901.24005.haimat@lame.at> References: <200410292355.43148.haimat@lame.at> <200410302352.12237.Emanuel.Strobl@gmx.net> <200410311901.24005.haimat@lame.at>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410311930.05675.Emanuel.Strobl>