gmirror woes on 6.2-S, Aug 1

Kelsey Cummings kgc at corp.sonic.net
Wed Aug 15 15:21:10 PDT 2007


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?  

A second problem with the new system is that the USB keyboard and mouse are
initialized during boot, I have to unplug and then plug them back in before
they are seen.  Any ideas there?

Apparently relevant dmesg output:

atapci0: <JMicron JMB363 SATA300 controller> mem 0xf9000000-0xf9001fff irq 19 at device 0.0 on pci3
atapci0: AHCI Version 01.00 controller with 2 ports detected
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
atapci1: <JMicron JMB363 UDMA133 controller> port 0x9000-0x9007,0x9400-0x9403,0x9800-0x9807,0x9c00-0x9c03,0xa000-0xa00f irq 16 at device 0.1 on pci3
ata4: <ATA channel 0> on atapci1
atapci2: <Intel ICH8 SATA300 controller> port 0xd400-0xd407,0xd800-0xd803,0xdc00-0xdc07,0xe000-0xe003,0xe400-0xe41f mem 0xf9106000-0xf91067ff irq 19 at device 31.2 on pci0
atapci2: AHCI Version 01.10 controller with 4 ports detected
ata5: <ATA channel 0> on atapci2
ata6: <ATA channel 1> on atapci2
ata7: <ATA channel 2> on atapci2
ata8: <ATA channel 3> on atapci2
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
acd0: CDRW <Memorex 52MAXX 3252AJ/QWS3> at ata4-master UDMA33
ad10: 286168MB <WDC WD3000JD-00KLB0 08.05J08> at ata5-master SATA150
ad12: 286168MB <WDC WD3000JD-00KLB0 08.05J08> at ata6-master SATA150

-- 
Kelsey Cummings - kgc at corp.sonic.net      sonic.net, inc.
System Architect                          2260 Apollo Way
707.522.1000                              Santa Rosa, CA 95407


More information about the freebsd-questions mailing list