Difference between revisions of "Smartctl and megaraid"

From vpsget wiki
Jump to: navigation, search
(Created page with "[DRAFT] smartctl -a -d megaraid,5 /dev/sda # Show status MegaCli -AdpAllInfo -aAll # Get physical drive info MegaCli -PDList -aAll # Get virtual disk info MegaCli -LDInfo -L...")
 
Line 1: Line 1:
 
[DRAFT]
 
[DRAFT]
  
smartctl -a -d megaraid,5 /dev/sda
+
 
 +
smartctl -a -d megaraid,5 /dev/sda #device port specified after megaraid,N
 +
smartctl -a -d megaraid,4 /dev/sda #look into port 4
 +
 
 +
smartctl -a -d sat+megaraid,5 /dev/sda #in case ddisk connected via sata interface,not sas
  
 
# Show status
 
# Show status

Revision as of 14:56, 6 October 2015

[DRAFT]


smartctl -a -d megaraid,5 /dev/sda #device port specified after megaraid,N
smartctl -a -d megaraid,4 /dev/sda #look into port 4
smartctl -a -d sat+megaraid,5 /dev/sda #in case ddisk connected via sata interface,not sas
  1. Show status

MegaCli -AdpAllInfo -aAll

  1. Get physical drive info

MegaCli -PDList -aAll

  1. Get virtual disk info

MegaCli -LDInfo -Lall -aAll

  1. Display configuration

MegaCli -CfgDsply -aAll

  1. Dump eventlog events to file 'events' and open it

MegaCli -AdpEventLog -GetEvents -f events -aAll && less events Hopefully this will help you out if you ever have to use the MegaCLI RAI