Re: geom mirror problem

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Wed, 13 Oct 2004 17:00:27 +0200
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!

Received on Wed Oct 13 2004 - 13:00:38 UTC

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