Re: geom mirror problem

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Fri, 15 Oct 2004 09:31:39 +0200
On Fri, Oct 15, 2004 at 08:20:24AM +0200, John Hay wrote:
+> 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?

You should try with no patches at all.

+> 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?

Increase debug level to 2 by doing:

	# echo kern.geom.mirror.debug=2 >> /boot/loader.conf

Could you send me the output of df(1) and 'swapctl -l' commands?

-- 
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 15 2004 - 05:31:42 UTC

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