MegaRaid RAID controller

To confirms the server has indeed a MegaRaid RAID controller installed.

lspci | grep -i lsi | grep -i megaraid
02:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 05)

You can use MegaCli command to list available RAID arrays,

MegaCli -LDInfo -Lall -aALL

==

Adapter 0 — Virtual Drive Information:
Virtual Disk: 0 (Target Id: 0)
Name:
RAID Level: Primary-1, Secondary-0, RAID Level Qualifier-0
Size:223.062 GB
State: Optimal
Stripe Size: 256 KB
Number Of Drives:2
Span Depth:1
Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
Access Policy: Read/Write
Disk Cache Policy: Enabled
Encryption Type: None
Virtual Disk: 1 (Target Id: 1)
Name:
RAID Level: Primary-1, Secondary-0, RAID Level Qualifier-0
Size:1.818 TB
State: Optimal
Stripe Size: 256 KB
Number Of Drives:2
Span Depth:1
Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
Access Policy: Read/Write
Disk Cache Policy: Disk’s Default
Encryption Type: None

Exit Code: 0x00

===

Checking hard drives’ state

First, you must list the Device Id for each drives in order to fully test them with smartmontools:

MegaCli -PDList -aAll | egrep 'Slot\ Number|Device\ Id|Inquiry\ Data|Raw|Firmware\ state' | sed 's/Slot/\nSlot/g'

Slot Number: 0
Device Id: 5
Raw Size: 223.570 GB [0x1bf244b0 Sectors]
Firmware state: Online
Inquiry Data: CVWL426004GZ240NGN INTEL SSDSC2BB240G4 D2010370

Slot Number: 1
Device Id: 4
Raw Size: 223.570 GB [0x1bf244b0 Sectors]
Firmware state: Online
Inquiry Data: CVWL426004D7240NGN INTEL SSDSC2BB240G4 D2010370

Slot Number: 2
Device Id: 7
Raw Size: 1.819 TB [0xe8e088b0 Sectors]
Firmware state: Online
Inquiry Data: PN2134P5G7SEGXHGST HUS724020ALA640 MF6OAA70

Slot Number: 3
Device Id: 6
Raw Size: 1.819 TB [0xe8e088b0 Sectors]
Firmware state: Online
Inquiry Data: PN2134P6JKVSTVHGST HUS724020ALA640 MF6OAA70

For details, Please check the url.
http://docs.ovh.ca/en/guides-raid-hard.html
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s