atacontrol missing drive after upgrade to 6.3

Jeremy Chadwick koitsu at
Wed Nov 19 11:10:54 PST 2008

On Wed, Nov 19, 2008 at 09:15:12AM -0800, Mark Sams wrote:
> 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 (
> 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

You're using Intel MatrixRAID, aren't you?  Please migrate away from
this immediately, your data is at risk.

The problem you're experiencing is documented there.

There is no solution, as far as I know.  The problems still exist on
RELENG_7 also.

I recommend you back up (off-load) all of your data onto a disk or
system somewhere else, and use gmirror(8) instead.  Please, stay away
from Intel MatrixRAID on FreeBSD.

| Jeremy Chadwick                                jdc at |
| Parodius Networking              |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |

More information about the freebsd-stable mailing list