gmirror woes on 6.2-S, Aug 1

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Aug 16 05:30:10 PDT 2007


On Wed, Aug 15, 2007 at 02:57:19PM -0700, Kelsey Cummings wrote:
> FreeBSD meno 6.2-STABLE FreeBSD 6.2-STABLE #3: Wed Aug  1
> 08:21:29 PDT 2007     root@:/usr/obj/usr/src/sys/SMP  i386
> 
> I just swapped a gmirror pair of disks into a new box and have run into a 
> problem that I can't seem to figure out.  Upon boot it reports the
> following and doesn't appear to see ad10, the other disk in the mirror set.
> 
> GEOM_MIRROR: Device gm0 created (id=2427626556).
> GEOM_MIRROR: Device gm0: provider ad12 detected.
> GEOM_MIRROR: Force device gm0 start due to timeout.
> GEOM_MIRROR: Device gm0: provider ad12 activated.
> GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
> 
> However, ad10 was seen at boot and is currently attached.
> 
> meno# atacontrol list | grep ad
>     Master: ad10 <WDC WD3000JD-00KLB0/08.05J08> Serial ATA v1.0
>     Master: ad12 <WDC WD3000JD-00KLB0/08.05J08> Serial ATA v1.0
> 
> So:
> 
> meno# gmirror forget gm0
> meno# gmirror insert gm0 ad10
> meno# gmirror status
>       Name    Status  Components
> mirror/gm0  DEGRADED  ad12
>                       ad10 (0%)
> ...
> 
> Which compelete and everything appears to work fine, until I reboot and
> repeat the cycle.  Has anyone run into anything similar, if so, what is
> the fix?  

Could I add:

kern.geom.mirror.debug=2

to your /boot/loader.conf and reboot? It should print provider it
tastes, this will show us if ad10 is given for tasting at all.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
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-questions/attachments/20070816/0436b8aa/attachment.pgp


More information about the freebsd-questions mailing list