From owner-freebsd-stable@FreeBSD.ORG Mon Jul 5 00:00:06 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 649BA16A4CE for ; Mon, 5 Jul 2004 00:00:06 +0000 (GMT) Received: from flintsbach.schmalzbauer.de (flintsbach.schmalzbauer.de [62.245.232.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D46643D31 for ; Mon, 5 Jul 2004 00:00:05 +0000 (GMT) (envelope-from h@schmalzbauer.de) Received: from korso.flintsbach.schmalzbauer.de (korso.flintsbach.schmalzbauer.de [172.21.2.3])i64Nx0Vt003438; Mon, 5 Jul 2004 01:59:00 +0200 (CEST) (envelope-from h@schmalzbauer.de) Received: from cale.flintsbach.schmalzbauer.de (cale.flintsbach.schmalzbauer.de [172.21.1.250]) by korso.flintsbach.schmalzbauer.de (Postfix) with ESMTP id EC26A40; Mon, 5 Jul 2004 01:58:59 +0200 (CEST) From: Harald Schmalzbauer To: Doug Ambrisko Date: Mon, 5 Jul 2004 01:58:53 +0200 User-Agent: KMail/1.6.2 References: <200407042321.i64NLCad069761@ambrisko.com> In-Reply-To: <200407042321.i64NLCad069761@ambrisko.com> X-OS: FreeBSD 5.3 X-Country: Germany X-Address: Munich, 80686 X-Phone2: +49 (0) 89 18947781 X-Name: Harald Schmalzbauer X-Birthday: 06 Oktober 1972 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_CnJ6A1TlJo+Y9ks"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407050158.59274@harryhomeworkstation> X-Spam-Status: No, hits=0.0 required=3.5 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailjail.dmz.flintsbach.schmalzbauer.de cc: freebsd-stable@freebsd.org Subject: Re: atacontrol Raid, cannot re-add member to array X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2004 00:00:06 -0000 --Boundary-02=_CnJ6A1TlJo+Y9ks Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Montag, 5. Juli 2004 01:21 schrieb Doug Ambrisko: > Harald Schmalzbauer writes: > | I've never tried ataraid with "non-raid" controllers but I doubt that > | detach/attach would work. I asked S?ren about the missing addspare in > | -stable but never got any answer. > > I've add addspare and some other features in my 4.10 Release patches: > http://www.ambrisko.com/doug/ata/ata_stable_sata_5.patch > > You might want to give that a try. Ughh, if I knew that 3 days eralier.... =46irst, thank you very much for wour work, but since I couldn't get a prom= ise=20 =46asttrak100 tx2 over the weekend (which is very well supported by S=F8ren= s=20 ataraid) I replaced my sil0680 with a hpt372 and played with the original=20 HighPoint drivers (http://www.highpoint-tech.com/USA/b372.htm#FreeBSD) and= =20 although the module I'm using is for 4.9, it works flawlessly on 4.10-stabl= e.=20 Via sysctl hpt37x2.status you can use all functions like with the bios, als= o=20 auto rebuild et cetera works perfectly. (alias raidinfo 'sysctl=20 hpt37x2.status') The main reason why I couldn't use the hpt37(2) with 4.10 was that if one=20 drive fails, ataraid removes the drive from the raid configuration. If now= =20 the same drives returnes (like it happens sometimes after a reboot) you hav= e=20 two (ar0 and ar1) arrays. Now you have to know which drive failed and which= =20 one the controller reports as remaining drive for the original array and dd= =20 (if=3D/dev/zero of=3D/dev/ad? count=3D63) the opposite drive. Otherwise the system ends up in booting from ar0, which in my case was the= =20 "failed" disk, returning after a reboot, and so I had a inconsistent severa= l=20 weeks old system. Your patch my be great for all sil0680 useres but hpt370 users really shoul= d=20 use the manufacturers driver. You can see a dmesg with them at=20 http://www.schmalzbauer.de/netz/dmesg.korso Best regards, =2DHarry > > Doug A. --Boundary-02=_CnJ6A1TlJo+Y9ks Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBA6JnCBylq0S4AzzwRAoE3AJ9in9vj98u3WI8DrPO/r6cqnyByUwCeKMRz kdcakOkUYDGtmxPYTYFVgEI= =VDF6 -----END PGP SIGNATURE----- --Boundary-02=_CnJ6A1TlJo+Y9ks--