Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2004 07:13:59 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        John Hay <jhay@icomtek.csir.co.za>
Cc:        y@zibbi.icomtek.csir.co.za
Subject:   Re: geom mirror problem
Message-ID:  <20041008051359.GF73767@darkness.comp.waw.pl>
In-Reply-To: <20041007202326.GA55025@zibbi.icomtek.csir.co.za>
References:  <20041006195428.GA8886@zibbi.icomtek.csir.co.za> <20041007055209.GU73767@darkness.comp.waw.pl> <20041007065125.GA29164@zibbi.icomtek.csir.co.za> <20041007082652.GX73767@darkness.comp.waw.pl> <20041007085920.GA32875@zibbi.icomtek.csir.co.za> <20041007090656.GY73767@darkness.comp.waw.pl> <20041007132421.GA41532@zibbi.icomtek.csir.co.za> <20041007133537.GC73767@darkness.comp.waw.pl> <20041007202326.GA55025@zibbi.icomtek.csir.co.za>

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

--mWEPrn9k3Wj8m9KK
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 07, 2004 at 10:23:27PM +0200, John Hay wrote:
+> > This is because ad0 is open with exclusive bit, so gmirror cannot open
+> > it for writing and it gets (EPERM - error=3D1 - errno(2)).
+> > gmirror.patch should eliminate this race.
+>=20
+> With gmirror.patch I don't see the geom_mirror error messages, but then
+> it doesn't finish booting:
+>=20
+> #######################################################
+> GEOM_MIRROR: Device gm0 created (id=3D861616013)
+> GEOM_MIRROR: Device gm0: provider ad0 detected
+> GEOM_MIRROR: Device gm0: provider ad2 detected
+> Mounting root from ufs:/dev/mirror/gm0s1a
+> setrootbyname failed
+> Root mount failed: 6
+> Manual root filesystem specification
+> ...
+> mountroot>
+> #######################################################
+>=20
+> So how do I go from here? Is there something else I can try?

I wonder how is this possible with g_mirror.c rev.1.36...
Could you try this patch and send me the output:

	http://people.freebsd.org/~pjd/patches/gmirror.3.patch

--=20
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

--mWEPrn9k3Wj8m9KK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBZiIXForvXbEpPzQRAlZ+AKDTmzgRDS+Qjq2l5BXmtwS4pgUcaQCg917D
O4VHYNaHDmR3PLtF1WSMAHg=
=sc6E
-----END PGP SIGNATURE-----

--mWEPrn9k3Wj8m9KK--



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