LSI MegaRAID Card - SMART Data

Follow

In a situation where you're utilising an LSI based RAID card, you should be able to utilise the below commands as an example to obtain data from the SMART Information on the Hard Drives.

In some cases, you may actually need to use MegaCLI in order to find out the Drive ID's, otherwise they would load on standard 0, 1, 2, 3 order.

An example command to obtain the device ID's is below.

# /opt/MegaRAID/MegaCli/MegaCli64 -PdList -A0 | grep 'Device Id'
Device Id: 8
Device Id: 9

./MegaCli64 -PdList -A0 | grep 'Inquiry\|state\|Device Id'

Inquiry Data: TOSHIBA MK2001TRKB 100142T0A02WFQ41
Device Id: 33
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA MK2001TRKB 100142E0A09UFQ41
Device Id: 32
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA MK2001TRKB 10015280A04YFQ41
Device Id: 31
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA MK2001TRKB 100142U0A07KFQ41
Device Id: 39
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA MK2001TRKB 10015280A065FQ41
Device Id: 40
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA MK2001TRKB 10015280A05IFQ41
Device Id: 41
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA MK2001TRKB 100142T0A02HFQ41
Device Id: 42
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA MK2001TRKB 100142E0A08FFQ41
Device Id: 38
Firmware state: Failed
Inquiry Data: TOSHIBA MK2001TRKB 100142S0A05TFQ41
Device Id: 37
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA MK2001TRKB 100142S0A07KFQ41
Device Id: 36
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA MK2001TRKB 10015280A04ZFQ41
Device Id: 35
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA MK2001TRKB 10015280A068FQ41

 

If using SATA / SSD Drives

# smartctl -a /dev/sda -d sat+megaraid,8
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-24-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===

Device Model: xxxxx
Serial Number: xxxxx

 

If using SAS Drives

# smartctl -a /dev/sda -d megaraid,8
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-24-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===

Device Model: xxxxx
Serial Number: xxxxx

Have more questions? Submit a request

Comments

Powered by Zendesk