Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2010 21:02:28 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Guido van Rooij <guido@gvr.org>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Booting from a gmirror always leads to a broken gmirror
Message-ID:  <20101118200228.GB2416@garage.freebsd.pl>
In-Reply-To: <20101118163323.GA2524@gvr.gvr.org>
References:  <20101118163323.GA2524@gvr.gvr.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thu, Nov 18, 2010 at 05:33:23PM +0100, Guido van Rooij wrote:
> Hi,
> 
> I am running 8.1-RELEASE with the folloing mirror setup:
[...]
> Nov 18 15:36:01 gvr kernel: GEOM_MIRROR: Component da0 (device gm0) broken, skipping.
> Nov 18 15:36:01 gvr kernel: GEOM_MIRROR: Device mirror/gm0 launched (1/2).
> Nov 18 15:36:01 gvr kernel: Enter passphrase for da0s2: 
> 
> Now, the passphrase the geli asks, is for the so-called broken disk. But it is not broken.
> I can always rebuild it fine when I rebooted and re-insert da0. 
> My question: why does gmirror mark da0 as broken?

I can't answer it just yet, but can you set kern.geom.mirror.debug=2
from the loader prompt and send the debug output here?

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkzlhlMACgkQForvXbEpPzQXkwCdHkorwOcaqZ1WnAAoKVlFPwUf
z+MAn0fWz5dStRcPqsM6saE/zYSqQOTA
=HuWu
-----END PGP SIGNATURE-----

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