atacontrol missing drive after upgrade to 6.3

Mark Sams msams992000 at yahoo.com.au
Wed Nov 19 09:41:53 PST 2008


I upgraded from 6.2 to 6.3 p5 last night. Upon rebooting, the second disk in the mirror is missing.

# atacontrol status ar0
ar0: ATA RAID1 status: DEGRADED
 subdisks:
   0 ad0  ONLINE
   1 ---- MISSING

# grep ata /var/run/dmesg.boot
ad0: 238475MB <WDC WD2500AVJB-63UDA0 00.02C01> at ata0-master UDMA100
ad1: 238475MB <WDC WD2500AVJB-63UDA0 00.02C01> at ata0-slave UDMA100
ar0: disk0 READY (master) using ad0 at ata0-master
ar1: disk1 READY (mirror) using ad1 at ata0-slave

I am unsure how to re-add the disk, or if this is a bug. I noticed a number of fixes for atacontrol.c beyond the current version in 6.3 (1.36.2.6)
http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/atacontrol/atacontrol.c

Obviously it won't rebuild
# atacontrol rebuild ar0
atacontrol: ioctl(IOCATARAIDREBUILD): Input/output error

Do I do?
atacontrol detach ata0-slave
&& atacontrol attach ata0-slave && atacontrol addspare ad1 ar0 
&& atacontrol rebuild ar0

(not sure what channel I am supposed to be using) Or is this something that requires atacontrol.c to be patched?

I am not sure where to start, so I thought I would ask here first before trying anything.

btw, its Intel ICH5:
atapci1: <Intel ICH5 SATA150 controller> port 0xc000-0xc007,0xc400-0xc403,0xc800-0xc807,0xcc00-0xcc03,0xd000-0xd00f irq 18 at device 31.2 on pci0

Thank you in advance for any help you can provide.

Mark


      Make the switch to the world&#39;s best email. Get Yahoo!7 Mail! http://au.yahoo.com/y7mail


More information about the freebsd-stable mailing list