From owner-freebsd-stable@FreeBSD.ORG Fri Oct 23 11:53:32 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1AF31065676 for ; Fri, 23 Oct 2009 11:53:32 +0000 (UTC) (envelope-from prvs=0547a2b378=ob@gruft.de) Received: from main.mx.e-gitt.net (service.rules.org [IPv6:2001:1560:2342::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6DCAF8FC14 for ; Fri, 23 Oct 2009 11:53:32 +0000 (UTC) Received: from ob by main.mx.e-gitt.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1N1Ii3-000C4o-L4 for freebsd-stable@freebsd.org; Fri, 23 Oct 2009 13:53:31 +0200 Date: Fri, 23 Oct 2009 13:53:31 +0200 From: Oliver Brandmueller To: freebsd-stable@freebsd.org Message-ID: <20091023115331.GE95002@e-Gitt.NET> Mail-Followup-To: freebsd-stable@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: Oliver Brandmueller Subject: Re: problems with gmirror on ggate over slow link X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2009 11:53:33 -0000 Hi, On Fri, Oct 23, 2009 at 11:56:24AM +0100, Pete French wrote: > If the remote diisc is actually on a very close machine - e.g. a server > plugged into the same ether net - then all works fine. If I make > the remote disc somewhere actually substantially further away on the > nbetwork, however, then when I attach the disc it starts to rebuild the > mirror but then fails a fraction of a second later thus: > > GEOM_MIRROR: Device mysql0: rebuilding provider ggate1a. > GEOM_MIRROR: Synchronization request failed (error=5). ggate1a[WRITE(offset=1310720, length=131072)] > GEOM_MIRROR: Device mysql0: provider ggate1a disconnected. > GEOM_MIRROR: Device mysql0: rebuilding provider ggate1a stopped. > > The interesting this is that the problem is only with gmirror, not with > the underlying ggate disc which remains attached and accessible. I tested > this by adding a second partition (ggate1b in the example above) and > mounting a UFS filesystem on that. Just a wild guess, have you tried to set kern.geom.mirror.timeout to a higher value? - Olli -- | Oliver Brandmueller http://sysadm.in/ ob@sysadm.in | | Ich bin das Internet. Sowahr ich Gott helfe. |