mpt driver: check raid status

Deomid Ryabkov myself at rojer.pp.ru
Mon Mar 17 01:13:18 UTC 2008


do sysctl -a | grep nonoptimal_volumes
this should find an oid somewhere under mpt branch, and it should 
reflect the number of raid volumes in state other than "optimal".
in most cases this means that a disk has gone bad.

Cristiano Deana wrote:
> Hi,
>
> I'm using a 7-RELEASE on a Dell PowerEdge 1955, using a mpt driver to
> manage a hardware raid1.
> Is there any way to check the status of the raid?
>
> Now it's running on a single disk (the second one failed and has been
> removed), and the only thing i can see are:
> mpt0: mpt_cam_event: 0x16
> mpt0: mpt_cam_event: 0x12
> mpt0: mpt_cam_event: 0x16
> mpt0: mpt_cam_event: 0x15
> mpt0: mpt_cam_event: 0x21
> mpt0: mpt_cam_event: 0x15
> mpt0: mpt_cam_event: 0x21
> mpt0: mpt_cam_event: 0x15
> mpt0: mpt_cam_event: 0x21
>
> in messages.
>
> Thanks in advance
>
>   


-- 
Deomid Ryabkov aka Rojer
myself at rojer.pp.ru
rojer at sysadmins.ru
ICQ: 8025844

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3295 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20080317/1a919874/smime.bin


More information about the freebsd-hackers mailing list