Re: geom mirror problem

From: John Hay <jhay_at_icomtek.csir.co.za>
Date: Fri, 15 Oct 2004 08:20:24 +0200
> +> +> 
> +> +> 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

Ok, I have tried it with all the other patches also applied. Maybe I should
try with only this one? I see you are pulling all your changes into
RELENG_5, so maybe I should try with just that and no patches?

Anyway I have booted twice now and both times it booted, but in degraded
mode. It looks like this:

###################
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
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: Device gm0 created (id=861616013).
GEOM_MIRROR: Device gm0: provider ad0 detected.
GEOM_MIRROR: Device gm0: provider ad2 detected.
GEOM_MIRROR: g_mirror_can_go: geom gm0.sync
GEOM_MIRROR: g_mirror_can_go: NULL provider
GEOM_MIRROR: g_mirror_can_go: can_go=0
GEOM_MIRROR: Device gm0: provider ad2 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
GEOM_MIRROR: Device gm0: rebuilding provider ad0.
GEOM_MIRROR: g_mirror_can_go: geom gm0.sync
GEOM_MIRROR: g_mirror_can_go: geom is ready
GEOM_MIRROR: g_mirror_can_go: geom gm0
GEOM_MIRROR: g_mirror_can_go: geom is ready
GEOM_MIRROR: g_mirror_can_go: can_go=1
Mounting root from ufs:/dev/mirror/gm0s1a
###################

How can I see why it starts in degraded mode or can one deduce it from
the above output?

John
-- 
John Hay -- John.Hay_at_icomtek.csir.co.za / jhay_at_FreeBSD.org
Received on Fri Oct 15 2004 - 04:20:42 UTC

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