Difference between revisions of "Smartctl and megaraid"
Line 7: | Line 7: | ||
smartctl -a -d sat+megaraid,5 /dev/sda #in case ddisk connected via sata interface,not sas | smartctl -a -d sat+megaraid,5 /dev/sda #in case ddisk connected via sata interface,not sas | ||
− | smartctl /dev/sda -d sat+megaraid,0 -l selftest #selftest example [sata] | + | smartctl /dev/sda -d sat+megaraid,5 -t short #test |
+ | smartctl /dev/sda -d megaraid,5 -t short | ||
+ | |||
+ | smartctl /dev/sda -d sat+megaraid,0 -l selftest #selftest log example [sata] | ||
smartctl /dev/sda -d megaraid,0 -l selftest [sas] | smartctl /dev/sda -d megaraid,0 -l selftest [sas] | ||
Revision as of 14:59, 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
smartctl /dev/sda -d sat+megaraid,5 -t short #test smartctl /dev/sda -d megaraid,5 -t short
smartctl /dev/sda -d sat+megaraid,0 -l selftest #selftest log example [sata] smartctl /dev/sda -d megaraid,0 -l selftest [sas]
MegaCli:
- Show status
MegaCli -AdpAllInfo -aAll
- Get physical drive info
MegaCli -PDList -aAll
- Get virtual disk info
MegaCli -LDInfo -Lall -aAll
- Display configuration
MegaCli -CfgDsply -aAll
- 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