megaraid controller

Brian Reichert reichert at numachi.com
Fri Jun 23 17:15:21 UTC 2006


On Wed, Jun 21, 2006 at 09:20:18PM -0400, mike at lanline.com wrote:
> 
> Anyone know how to tell if a hardware raid controller is in degrated mode
> through camcontrol or any other command line util?

Doesn't atacontrol work like this?

  # atacontrol status ar0
  ar0: ATA RAID1 subdisks: ad4 ad8 status: READY

>From dmesg:

  ATA PseudoRAID loaded
  ********** ATA PseudoRAID ar0 Metadata **********
  =================================================
  format              nVidia MediaShield
  type                RAID1
  flags               0x01 1<READY>
  magic_0             0x557a925c3cb22c4d
  magic_1             0x61b30330621f01db
  generation          0
  total_sectors       488395008
  offset_sectors      0
  heads               255
  sectors             63
  cylinders           30401
  width               1
  interleave          128
  total_disks         2
      disk 0:      flags = 0x0b b<ONLINE,ASSIGNED,PRESENT>
         ad4:  sectors 488395008
      disk 1:      flags = 0x0b b<ONLINE,ASSIGNED,PRESENT>
         ad8:  sectors 488395008
  =================================================
  ar0: 238474MB <nVidia MediaShield RAID1> status: READY
  ar0: 488395008 sectors [30401C/255H/63S] <>
  subdisks defined as:
  ar0: disk0 READY (master) using ad4 at ata2-master
  ar0: disk1 READY (mirror) using ad8 at ata4-master
  

> 
> I know on boot it'll show up in the dmesg, but I want to do it without
> that if possible.
> 
> thanks.
> -mike
> 
> 
> _______________________________________________
> freebsd-isp at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe at freebsd.org"

-- 
Brian Reichert				<reichert at numachi.com>
55 Crystal Ave. #286			Daytime number: (603) 434-6842
Derry NH 03038-1725 USA			BSD admin/developer at large	


More information about the freebsd-isp mailing list