From owner-freebsd-geom@FreeBSD.ORG Sat Jun 17 21:21:36 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CF6A16A482 for ; Sat, 17 Jun 2006 21:21:36 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63E9643D48 for ; Sat, 17 Jun 2006 21:21:34 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 150A751391; Sat, 17 Jun 2006 23:21:33 +0200 (CEST) Received: from localhost (public-gprs32452.centertel.pl [87.96.126.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5D7F050E81 for ; Sat, 17 Jun 2006 23:21:20 +0200 (CEST) Date: Sat, 17 Jun 2006 23:18:18 +0200 From: Pawel Jakub Dawidek To: freebsd-geom@freebsd.org Message-ID: <20060617211818.GA32426@garage.freebsd.pl> References: <877j3fzlkm.fsf@gemini.sunstarsys.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <877j3fzlkm.fsf@gemini.sunstarsys.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Subject: Re: GEOM_MIRROR crashes X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2006 21:21:36 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 17, 2006 at 02:25:13PM -0400, Joe Schaefer wrote: +>=20 +> I added two 143G drives da1 and da2 in a round-robin +> gmirror array, and ever since the box crashes periodically. +> It's been happening over the last few weeks, with increasing +> frequency (twice today). +>=20 +> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D +>=20 +> /var/log/messages contains +>=20 +> GEOM_MIRROR: Request failed (error=3D5). da1[WRITE(offset=3D1170820049= 92, length=3D16384)] +> GEOM_MIRROR: Device gm0: provider da1 disconnected. +> GEOM_MIRROR: Request failed (error=3D5). da1[WRITE(offset=3D1178513484= 80, length=3D16384)] +> GEOM_MIRROR: Request failed (error=3D5). da2[WRITE(offset=3D1178513484= 80, length=3D16384)] +> GEOM_MIRROR: Device gm0: provider da2 disconnected. +> GEOM_MIRROR: Device gm0: provider mirror/gm0 destroyed. This looks like your both disks has bad sectors in the same place. The error=3D5 is EIO returned from your disk driver. By default gmirror disconnects failed components on first EIO. In 6.1 it won't disconnect last failed component. In FreeBSD 6.1 you can prevent disconnecting any failed components by setting kern.geom.mirror.disconnect_on_failure sysctl/tunable to 0. This won't help you much in this case, though. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFElHGaForvXbEpPzQRApjYAKC9JxVbIeEaZw7FG4KxbDQlNTce7gCgiLgm z47HWu/G31vg+uJ8jsvtTjE= =1cd6 -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--