Skip to end of metadata
Go to start of metadata

Get raw disk information from MegaRAID CLI an Exadata

$> /opt/MegaRAID/MegaCli/MegaCli <cmd>

Obtain controller information

MegaCli -AdpAllInfo -aALL
MegaCli -CfgDsply -aALL
MegaCli -adpeventlog -getevents -f lsi-events.log -a0 nolog

Obtain information on physical disks

MegaCli -PDList -aALL
MegaCli -PDInfo -PhysDrv S -aALL

Create RAID10 disk

MegaCli -CfgSpanAdd -r10 -Array0S,E:S -Array1S,E:S -aN

Set global hot spare

MegaCli -PDHSP -Set -PhysDrv S -aN

Replace missing drive

MegaCli -PdReplaceMissing -PhysDrv S -ArrayN -rowN -aN