GEOM_MIRROR crashes

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Jun 17 21:21:36 UTC 2006


On Sat, Jun 17, 2006 at 02:25:13PM -0400, Joe Schaefer wrote:
+> 
+> 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).
+> 
+> ==================================================
+> 
+> /var/log/messages contains
+> 
+>   GEOM_MIRROR: Request failed (error=5). da1[WRITE(offset=117082004992, length=16384)]
+>   GEOM_MIRROR: Device gm0: provider da1 disconnected.
+>   GEOM_MIRROR: Request failed (error=5). da1[WRITE(offset=117851348480, length=16384)]
+>   GEOM_MIRROR: Request failed (error=5). da2[WRITE(offset=117851348480, length=16384)]
+>   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=5 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.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20060617/552bad20/attachment.pgp


More information about the freebsd-geom mailing list