Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2006 13:15:17 -0400
From:      Brian Reichert <reichert@numachi.com>
To:        mike@lanline.com
Cc:        isp@freebsd.org
Subject:   Re: megaraid controller
Message-ID:  <20060623171517.GC17264@numachi.com>
In-Reply-To: <Pine.BSI.4.05L.10606212118070.26770-100000@mail.lanline.com>
References:  <Pine.BSI.4.05L.10606212118070.26770-100000@mail.lanline.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, Jun 21, 2006 at 09:20:18PM -0400, mike@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060623171517.GC17264>