Re: geom mirror problem

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Fri, 8 Oct 2004 07:13:59 +0200
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=1 - errno(2)).
+> > gmirror.patch should eliminate this race.
+> 
+> With gmirror.patch I don't see the geom_mirror error messages, but then
+> it doesn't finish booting:
+> 
+> #######################################################
+> GEOM_MIRROR: Device gm0 created (id=861616013)
+> 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>
+> #######################################################
+> 
+> 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

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

Received on Fri Oct 08 2004 - 03:14:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:16 UTC