From owner-freebsd-stable@FreeBSD.ORG Fri Mar 4 10:31:26 2005 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 CD75616A4CE; Fri, 4 Mar 2005 10:31:26 +0000 (GMT) Received: from torch.higis.ru (gate.higis.ru [81.195.168.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2BB943D54; Fri, 4 Mar 2005 10:31:25 +0000 (GMT) (envelope-from dimma@torch.higis.ru) Received: from localhost (localhost [127.0.0.1]) by torch.higis.ru (8.12.10/8.12.10) with ESMTP id j24AVNCT056606; Fri, 4 Mar 2005 13:31:23 +0300 (MSK) (envelope-from dimma@torch.higis.ru) Received: from torch.higis.ru ([127.0.0.1]) by localhost (torch.higis.ru [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 56451-01; Fri, 4 Mar 2005 13:31:20 +0300 (MSK) Received: from torch.higis.ru (localhost [127.0.0.1]) by torch.higis.ru (8.12.10/8.12.10) with ESMTP id j24AVK6q056603; Fri, 4 Mar 2005 13:31:20 +0300 (MSK) (envelope-from dimma@torch.higis.ru) Received: (from dimma@localhost) by torch.higis.ru (8.12.10/8.12.10/Submit) id j24AVJLs056602; Fri, 4 Mar 2005 13:31:19 +0300 (MSK) (envelope-from dimma) Date: Fri, 4 Mar 2005 13:31:19 +0300 From: Dmitriy Kirhlarov To: Pawel Jakub Dawidek Message-ID: <20050304103118.GA56394@torch.higis.ru> References: <20050225175517.GE5514@torch.higis.ru> <20050228090743.GS9291@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20050228090743.GS9291@darkness.comp.waw.pl> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at higis.ru cc: freebsd-stable@freebsd.org Subject: Re: gmirror over ggate{d,c} 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: Fri, 04 Mar 2005 10:31:27 -0000 Hi Pawel! On Mon, 28 Feb 2005, Pawel Jakub Dawidek wrote: > +> I trying create distributed mirror. > +>=20 > +> Machines interconnect 1Gbit. > +> I exporting slice /dev/ar0s1g via ggated on first node. > +> Import them via ggatec on second node. > +> Include ggate0 in gmirrored slice data and run "gmirror rebuild". > +> After some time I get messages on console: > +> GEOM_MIRROR: Synchronization request failed (error=3D5). ggate0[WRITE(= offse > +> t=3D511442944, length=3D131072)] > +> GEOM_MIRROR: Device data: provider ggate0 disconnected. > +> GEOM_MIRROR: Device data: rebuilding provider ggate0 stopped. > +>=20 > +> First node -- 5.3-STABLE. Second -- 5.3-RELEASE. > +>=20 > +> Any ideas? > +> May be some enhanced information needed? >=20 > Please set kern.geom.gate.debug sysctl to 1, rerun your test and send > console output. I importing device from clh1 to clh0 and mirroring data from clh1 device to= clh0 device. clh1 -- FreeBSD 5.3-RELEASE ggated running clh0 -- FreeBSD 5.3-STABLE ggatec and gmirror running On the clh1: Mar 3 16:01:00 clh1 ggated: Error while receiving hdr packet: Connection r= eset by peer. Mar 3 16:01:00 clh1 ggated: Exiting. On the clh0: GEOM_MIRROR: Device data: provider ar0s1g detected. GEOM_MIRROR: Device data: rebuilding provider ar0s1g. GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34684698624, length=3D= 16384)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34684715008, length=3D= 16384)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34692628480, length=3D= 131072)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34693120000, length=3D= 114688)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34693562368, length=3D= 131072)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34693971968, length=3D= 114688)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34696445952, length=3D= 131072)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34698330112, length=3D= 131072)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34698608640, length=3D= 131072)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34699100160, length=3D= 131072)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34699313152, length=3D= 131072)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34699460608, length=3D= 131072)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34699919360, length=3D= 131072)] GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3D34700263424, length=3D= 131072)] GEOM_GATE[1]: Request timeout. ggate0[READ(offset=3D802684928, length=3D131= 072)] GEOM_MIRROR: Request failed (error=3D5). ggate0[WRITE(offset=3D34684698624,= length=3D16384)] GEOM_MIRROR: Device data: provider ggate0 disconnected. GEOM_MIRROR: Device data: provider mirror/data destroyed. GEOM_MIRROR: Device data: rebuilding provider ar0s1g stopped. After that clh0 is hanging -- keyboard work and I can ping machine, but can= 't login: $ ssh -v clh0 OpenSSH_3.6.1p1 FreeBSD-20030924, SSH protocols 1.5/2.0, OpenSSL 0x0090703f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be truste= d. debug1: Connecting to clh0.office.higis.ru [192.168.0.221] port 22. debug1: Connection established. debug1: identity file /home/dimma/.ssh/identity type -1 debug1: identity file /home/dimma/.ssh/id_rsa type -1 debug1: identity file /home/dimma/.ssh/id_dsa type -1 On the console: login: dimma Password: That's all -- no shell prompt. By. Dmitriy