From owner-freebsd-geom@FreeBSD.ORG Mon Nov 8 14:39:34 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 D18A916A4D1; Mon, 8 Nov 2004 14:39:34 +0000 (GMT) Received: from thekla.de.clara.net (thekla.de.clara.net [212.82.225.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 317B743D41; Mon, 8 Nov 2004 14:39:34 +0000 (GMT) (envelope-from michael.riexinger@de.clara.net) Received: from localhost.de.clara.net ([127.0.0.1] helo=localhost) by thekla.de.clara.net with esmtp (Exim 4.30; FreeBSD) id 1CRAg9-000Ocp-Er; Mon, 08 Nov 2004 15:39:33 +0100 Received: from box.int.de.clara.net ([192.168.0.226]) by thekla.de.clara.net with esmtp (Exim 4.30; FreeBSD) id 1CRAg9-000Ocj-9s; Mon, 08 Nov 2004 15:39:33 +0100 From: Michael Riexinger To: freebsd-geom@freebsd.org Date: Mon, 8 Nov 2004 15:40:05 +0100 User-Agent: KMail/1.7 References: <200411081140.57792.michael.riexinger@de.clara.net> <20041108120513.GH11057@calleigh.elde.net> <20041108124606.GC8120@darkness.comp.waw.pl> In-Reply-To: <20041108124606.GC8120@darkness.comp.waw.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411081540.05593.michael.riexinger@de.clara.net> cc: Pawel Jakub Dawidek cc: Terje Elde 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 14:39:34 -0000 On Monday 08 November 2004 13:46, Pawel Jakub Dawidek wrote: > On Mon, Nov 08, 2004 at 01:05:13PM +0100, Terje Elde wrote: > +> 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? > > Yes, he can just: > > # gmirror create ad0 > > Only new metadata will be written, data are not touched. > > Then just add a new disk and synchronization will start > automatically: > > # gmirror insert ad1 I did several tests now and all went fine, gmirror is what i was looking for :) Now a last question: For setting up gmirror on my 2 hd's (the first contained a fresh freebsd installation), I had to boot from cd, using the fixit cd, chrooting a bit for loading gmirror etc. Is there an easier way for doing this? First i tried using the single user mode but there was an operation not permitted when i tried to do a 'gmirror label'. Can I for example say: Create a mirror on ad1 with the data on ad0, wait till it's built, reboot the machine from the gmirror and then insert ad0? Best regards, Michael Riexinger systems engineer -- claranet gmbh internet service provider tel +49 (0) 69 - 40 80 18 - 300 email: michael.riexinger@de.clara.net http://www.claranet.de/