Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2006 23:18:18 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        freebsd-geom@freebsd.org
Subject:   Re: GEOM_MIRROR crashes
Message-ID:  <20060617211818.GA32426@garage.freebsd.pl>
In-Reply-To: <877j3fzlkm.fsf@gemini.sunstarsys.com>
References:  <877j3fzlkm.fsf@gemini.sunstarsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060617211818.GA32426>