• Improve your RAID controller efficiency with real-time MegaCLI metrics. Collects adapter, physical drives and battery stats using megacli command-line tool.
  • Before we go through megacli commands we need to follow megacli concepts. Adapter – The physical controller which we are going to use, represented by id...
  • # check disk status MegaCli -PDlist -aALL -NoLog | egrep 'Slot|state' | awk '/Slot/{if (x)print x;x="";}{x=(!x)?$0:x" -"$0;}END{print x;}' | sed 's/Firmware state://g'.
  • This post covers the important commands of the RAID server of MegaCli, tw_cli, and mdam. Tagged with linux, raid, sysadmin, server.
  • MegaCli Cheat sheet. SCSI codes. Online expansion of Raid-1. Megacli to storcli cross reference. Hardware Raid Setup using MegaCli.
  • Search technical documentation and downloads including firmware and drivers.
  • To reduce patrol read resource usage to 2% in order to minimize the performance impact: # MegaCli64 -AdpSetProp PatrolReadRate 2 -aALL.
  • To manage MegaRaid hardware RAID (storage) controllers from LSI (now acquired by Broadcom), the MegaCli command can be used (in most cases).
  • You can get the enclosure device ID using MegaCli -EncInfo -aALL. The E:S syntax is also used for specifying the physical drives when creating a new RAID virtual...
  • # Note to self… # example: Raid 1, rebuild. one disk is bad. megacli -PDlist -a0 megacli -PDMakeGood -PhysDrv[252:4] -a0 megacli -CfgForeign -Scan -a0...