Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 21:52:22 -0500
From:      Mark Bucciarelli <mark@gaiahost.coop>
To:        freebsd-geom@freebsd.org
Subject:   Re: How to recover a gmirror from a disaster
Message-ID:  <20051214025222.GB2708@rabbit>
In-Reply-To: <20051213232008.GA749@garage.freebsd.pl>
References:  <20051213131637.GC2188@rabbit> <20051213232008.GA749@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 14, 2005 at 12:20:08AM +0100, Pawel Jakub Dawidek wrote:

> Could you add kern.geom.mirror.debug=3 to your /boot/loader.conf and
> boot again?

I'm sorry, with the previous posters help I was able to boot and this 
error no longer occurs.

> +> This is 5.4-RELEASE.
> +> 
> +> The da0 disk is good (I did a surface scan) and I can mount it and 
> +> backup the data when I put it in bay #2.
> +> 
> +> So ...
> +> 
> +>     Did my command in step #6 cause this mess?   If so, what should I 
> +>     have used--forget first?
> 
> If da1 was disconnected you should get an error, that mirror is not
> complete. Yes, 'forget' is the right command.
 
Yes, as is documented in the man page.

> +>     How can I get this disk to boot again?
> 
> Actually you can simply:
> 
> 	# gmirror label gm0 da0
> 
> No data will be lost. You can also boot from da0 directly.

No data loss.  My error was not using the forget command.

m




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051214025222.GB2708>