From owner-freebsd-questions@FreeBSD.ORG Tue Aug 23 18:22:57 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA9D116A41F for ; Tue, 23 Aug 2005 18:22:57 +0000 (GMT) (envelope-from stewart@nameless-uk.com) Received: from mail.squidge.com (mail0.squidge.com [195.10.252.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46BEE43D45 for ; Tue, 23 Aug 2005 18:22:56 +0000 (GMT) (envelope-from stewart@nameless-uk.com) Received: from [10.0.2.15] (nameless-uk.demon.co.uk [62.49.20.115]) (authenticated bits=0) by mail.squidge.com (8.13.4/8.12.9) with ESMTP id j7NIMsQk034699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 23 Aug 2005 19:22:54 +0100 (BST) Message-ID: <430B697E.8040703@nameless-uk.com> Date: Tue, 23 Aug 2005 19:22:54 +0100 From: Stewart Morgan Organization: Nameless Media Group Ltd User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.7.3) Gecko/20040910 X-Accept-Language: en, en-us MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS at mail.squidge.com X-Spam-Level: -2.8 Subject: gmirror over ggate X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stewart@nameless-uk.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2005 18:22:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm running 5.4-RELEASE with geom_{mirror,gate}.ko and the various geom, gmirror and ggate[cd] userland libs/tools built from a fairly recent CVSup (8/Aug). Having successfully setup gmirror to link a local and remote device together, I wanted to test what happens when the remote machine "dies", so I've simulated that by killing the ggated process. As expected ggatec notices, as does gmirror and the array is marked degraded. I then set about a recovery procedure: I restart ggated on the "dead" machine then destroy and re-create the ggatec unit -- so that gmirror picks it up the change, which it does. However it then barfs with "Component ggate0 (device test) broken, skipping" and I get the following with kern.geom.*.debug*=1 :- - ----8<--------8<--------8<--------8<--------8<--------8<---- g_post_event_x(0xc0534400, 0xc3e98480, 2, -1067996144) g_mirror_taste(MIRROR, ggate0) GEOM_MIRROR[2]: Tasting ggate0. g_detach(0xc4008600) g_destroy_consumer(0xc4008600) g_destroy_geom(0xc4095600(mirror:taste)) ~ magic: GEOM::MIRROR ~ version: 3 ~ name: test ~ mid: 2465257116 ~ did: 1740936384 ~ all: 2 ~ genid: 0 ~ syncid: 1 ~ priority: 0 ~ slice: 4096 ~ balance: prefer ~ mediasize: 16688867328 sectorsize: 512 syncoffset: 0 ~ mflags: NONE ~ dflags: NONE hcprovider: ggate0 ~ provsize: 16688867840 ~ MD5 hash: f4b64bb297186874c4ad915cba692390 GEOM_MIRROR[1]: Adding disk ggate0 to test. GEOM_MIRROR[2]: Adding disk ggate0. GEOM_MIRROR[0]: Component ggate0 (device test) broken, skipping. GEOM_MIRROR[0]: Cannot add disk ggate0 to test (error=22). - ---->8-------->8-------->8-------->8-------->8-------->8---- Am I doing something wrong, or is this a bug? Stewart, - - - Stewart Morgan MEng MIEE Technical Director, Nameless-UK Phone : +44 870 757 1625 | Address: The Production House Fax : +44 870 168 0210 | 147a Saint Michael's Hill PGP ID: 0xECD5CE64 | Bristol, BS2 8DB, UK - - --------------------------x------------------------------------- PGP Fingerprint: 89DE F8C3 CA14 598C 30DB 504A 3055 DDD7 ECD5 CE64 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDC2l+MFXd1+zVzmQRAhWwAKD+DZZI81RfZcgRoEekuaz6rqchTACg9iJ5 Y03jss/Fxp9Un0UTsY4axrA= =jHfT -----END PGP SIGNATURE-----