Date: Mon, 8 Nov 2004 15:40:05 +0100 From: Michael Riexinger <michael.riexinger@de.clara.net> To: freebsd-geom@freebsd.org Cc: Terje Elde <terje+geom@elde.net> Subject: Re: gmirror problems Message-ID: <200411081540.05593.michael.riexinger@de.clara.net> In-Reply-To: <20041108124606.GC8120@darkness.comp.waw.pl> References: <200411081140.57792.michael.riexinger@de.clara.net> <20041108120513.GH11057@calleigh.elde.net> <20041108124606.GC8120@darkness.comp.waw.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <name> ad0 > > Only new metadata will be written, data are not touched. > > Then just add a new disk and synchronization will start > automatically: > > # gmirror insert <name> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411081540.05593.michael.riexinger>