Modify

Ticket #3 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Smart informations

Reported by: dominique.carbonnier@… Owned by: gandalf
Priority: major Milestone: 1.0.0
Component: wiki Version:
Keywords: Cc:

Description

How can we get the smart informations of sas disks behind a raid controller such as megaraid_sas or megasr ?

Attachments

Change History

comment:1 Changed 3 years ago by gandalf

  • Status changed from new to closed
  • Resolution set to fixed

Hi,

It's a bit tricky but here is how to extract this information from megacli.

First you need to get Enclosure and Slot IDs of the target disks.
Here is the command to run for the first adapter:

megacli -PDlist -a0 | grep -e '^Enclosure Device ID:' -e '^Slot Number:'

In my case it returns:

Enclosure Device ID: 32
Slot Number: 0
Enclosure Device ID: 32
Slot Number: 1

Now I can ask megacli to return me details about theses physical disks:

megacli -pdInfo -PhysDrv [32:0,32:1] -a0

Looks at the following lines:

Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0

Best regards, Adam.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.