MegaCLI on CentOS 7

Installation

1Yum install Lib_Utils-1.00-08.noarch.rpm MegaCli-8.01.06-1.i386.rpm

(i386 binary works ok on x64 servers)

List all controllers

1/opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL

List all physical disks

1/opt/MegaRAID/MegaCli/MegaCli64 -PDlist -a0 | grep -e '^Enclosure Device ID:' -e '^Slot Number:' -e '^Inquiry'

Show Logical disks

1/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -lall -aALL

Add a logical volume(Single disk Raid0)

More info - http://www.waldersten.net/content.php?/archives/62-Create-virtual-disks-online-using-MegaCli.html