Re: atacontrol missing drive after upgrade to 6.3

2008-11-19 Thread Mark Sams
> > > > You're using Intel MatrixRAID, aren't you?  Please migrate away from

> > > > this immediately, your data is at risk.

Although I am not using Matrix RAID, I guess I will switch to gmirror to be 
safe. Does the following approach seem valid?


1) Break the mirror (ar0)
2) Reboot using ad0
3) (from the link
http://lantech.geekvenue.net/chucktips/jason/chuck/1175552464/index_html ):

  Step 1: Use sysctl to allow the mounted disk to be modified
  Step 2: Create the mirror (gm0) using ad0 with gmirror
  Step 3: Modify /boot/loader.conf to load gmirror on startup
  Step 4: Replace ar0 with gm0 in /etc/fstab
  Step 6: Use gmirror insert command to add ad1 to gm0
  Step 7: Check the mirroring status with gmirror statusShould I just call the 
mirror ar0 instead of gm0 and save doing step4? Any problem with that?

Thanks in advance.

Mark



  Make the switch to the world's best email. Get Yahoo!7 Mail! 
http://au.yahoo.com/y7mail
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: atacontrol missing drive after upgrade to 6.3

2008-11-19 Thread Mark Sams
- Original Message 

> From: Jeremy Chadwick <[EMAIL PROTECTED]>
> You're using Intel MatrixRAID, aren't you?  Please migrate away from
> this immediately, your data is at risk.

Ummm... I don't think so. It is just a standard RAID 1 mirror using the
built in ICH5 chip. It has been running fine for a over a year now on
the other builds of FreeBSD 6.x.  It is not RAID 0+1 or whatever the
Matrix RAID thing is.


  Make the switch to the world's best email. Get Yahoo!7 Mail! 
http://au.yahoo.com/y7mail
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


atacontrol missing drive after upgrade to 6.3

2008-11-19 Thread Mark Sams
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  at ata0-master UDMA100
ad1: 238475MB  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:  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's best email. Get Yahoo!7 Mail! 
http://au.yahoo.com/y7mail
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"