2013-02-27

Install MegaCli on Dell PowerEdge 2950

Today our database server running out of hard disk space now. As there is no system administrator here any more, we need to fix it our self. The first thing is to figure our what is the current situation. It is very easy to figure it our from system application level, but there is a challenge for us developer to get more hardware level info from our server. We are using Dell, to be more precise we are using PowerEdge 2950 which equipped with Dell PERC 5/i (re-brandedLSI MegaRAID SAS 8408E). So we can find this product and download related software from http://www.lsi.com/support/Pages/download-search.aspx. In my case, I just downloaded the MegaCli.zip from "Management software and tools" section and put it in the home folder. After unzip it, a rpm file thing like MegaCli-8.xx.xx.-x.rpm should be there. I tried to install it with alien, but it MegaCli does not work after installation. So I followed how2forge.info instruction to extract the content of this rpm files by using rpm2cpio. Here is the command:
  rpm2cpio MegaCli-x.xx.xx.xx.rpm | cpio -idmv
This actually stacked at the end, so I have to ctr-C it to quit. But all files needed are there. Cd to related folder and simply try:
  ./MegaCli64 -AdpAllInfo -aALL 
or
  ./MegaCli -AdpAllInfo -aALL
in case 32bit system is using.