geom mirror problem

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Oct 13 08:00:38 PDT 2004


On Mon, Oct 11, 2004 at 03:48:28PM +0200, Pawel Jakub Dawidek wrote:
+> +> #######################################################
+> +> ad0: 114473MB <ST3120022A/8.54> [232581/16/63] at ata0-master UDMA100
+> +> ad2: 114473MB <ST3120022A/8.54> [232581/16/63] at ata1-master UDMA100
+> +> GEOM_MIRROR: g_mirror_can_go: can_go=1
+> +> 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 I guess there is still some kind of race going on and I was just lucky
+> +> with my first try with gmirror.3.patch?
+> 
+> Looks like it. I'll try to prepare another, but more hackish patch.

Here is a real hack, but I can't find a quick, non-hackish and
non-intrusive fix:

	http://people.freebsd.org/~pjd/patches/g_mirror.c.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/20041013/250c6425/attachment.bin


More information about the freebsd-current mailing list