geom mirror problem

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Oct 7 22:14:01 PDT 2004


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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041008/ae1ceefd/attachment-0001.bin


More information about the freebsd-current mailing list