geom mirror problem

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Oct 15 00:31:42 PDT 2004


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!
-------------- 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/20041015/48cd1d1d/attachment.bin


More information about the freebsd-current mailing list