Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 00:53:19 +0000
From:      Deomid Ryabkov <myself@rojer.pp.ru>
To:        Cristiano Deana <cristiano.deana@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: mpt driver: check raid status
Message-ID:  <47DDC0FF.7050801@rojer.pp.ru>
In-Reply-To: <d8a4930a0803050207j218ee20ai74a66082fc560ac9@mail.gmail.com>
References:  <d8a4930a0803050207j218ee20ai74a66082fc560ac9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms090400040403060703050302
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit

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@rojer.pp.ru
rojer@sysadmins.ru
ICQ: 8025844


--------------ms090400040403060703050302
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJPTCC
AvkwggJioAMCAQICEBSs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b9NcFPvlE
QEFPVmNxosvzHfsBre7yVXozqtO/w7FJ8ErMIkowlAFuHu5eIC5WIJcfc6JJ5xUelQAAAAAA
AA==
--------------ms090400040403060703050302--



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