From owner-freebsd-geom@FreeBSD.ORG Mon Nov 8 12:04:46 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F45516A4CE for ; Mon, 8 Nov 2004 12:04:46 +0000 (GMT) Received: from foo.nemo-project.org (foo.nemo-project.org [194.54.103.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 335D743D1F for ; Mon, 8 Nov 2004 12:04:43 +0000 (GMT) (envelope-from terje+geom@elde.net) Received: by foo.nemo-project.org (Postfix, from userid 1001) id B4BF0D91C0; Mon, 8 Nov 2004 13:05:13 +0100 (CET) Date: Mon, 8 Nov 2004 13:05:13 +0100 From: Terje Elde To: freebsd-geom@freebsd.org Message-ID: <20041108120513.GH11057@calleigh.elde.net> References: <200411081140.57792.michael.riexinger@de.clara.net> <20041108110554.GZ8120@darkness.comp.waw.pl> <200411081247.39449.michael.riexinger@de.clara.net> <20041108115506.GB8120@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041108115506.GB8120@darkness.comp.waw.pl> User-Agent: Mutt/1.5.4i Subject: Re: gmirror problems X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 12:04:46 -0000 On Mon, Nov 08, 2004 at 12:55:06PM +0100, Pawel Jakub Dawidek wrote: > Ok, everything is clear now. You disconnected ad1, but ad0 was marked > for synchronization. It that case gmirror cannot find any valid component, > because the only one it can find is stale. > So: > 1. You should test it when mirror is in complete state (then you can remove > any component). > 2. You can remove ad0 and put ad1 to make your test. Hi, This makes a interesting question pop up in my head. If his ad1 had been reformatted, burned or lost, if there any way he could try to partially recover from this? gmirror can't find a valid component, so it never makes the volume available. If I understand gmirror correctly, it keeps it's metadata at the end of the partition, so he could mount the mirror directly as a normal filesystem, then try to recover the files onto a fresh mirror? Also, do I understand it correctly that he could (in theory anyway): 1. gmirror remove - to clear meta-data on ad0 2. insert a new ad1 3. gmirror label myvol ad0 ad1 - to create a new volume, have it syncronize to ad1 4. access the data as it was when the syncronization of ad0 stopped? Trying to make sure I understand things right, Terje