How to recover a gmirror from a disaster
Mark Bucciarelli
mark at gaiahost.coop
Tue Dec 13 18:52:11 PST 2005
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
More information about the freebsd-geom
mailing list