How to use the MegaCLI Utility with your RAID Controller on your DELL PowerEdge Server in Linux The MegaRAID Storage Manager includes both GUI (MSM) and The megacli tool is used for managing the controller via the command-line interface, text based tools (MegaCLI) to monitor and manage the disk array. Installation of the MegaCLI RPM 1, Ensure you are logged in as ‘root’ –To get the following 2 rpm files. http:///QiqvBnrdkuQEk 访问密码 7d2d # upload MegaCli-8.02.16-1.i386.rpm and Lib_Utils-1.00-09.noarch.rpm A. Running MegaRAID Storage Manager (MSM) MSM is a GUI Java application.To launch MSM, execute the following command: B. Running MegaCLI To run the MegaRAID CLI, execute the following command: 64-bit Example Usage:Display logical devices # /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -LALL -aALL Adapter 0 — Virtual Drive Information: Display Physical Devices # /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL Check disk health # /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL|egrep "Slot Number|S.M.A.R.T"
Slot Number: 0Slot Number: 0
Drive has flagged a S.M.A.R.T alert : No
Slot Number: 1
Drive has flagged a S.M.A.R.T alert : No
Slot Number: 2
Drive has flagged a S.M.A.R.T alert : Yes
Slot Number: 3
Drive has flagged a S.M.A.R.T alert : No
Slot Number: 4
Drive has flagged a S.M.A.R.T alert : No
Slot Number: 5
Drive has flagged a S.M.A.R.T alert : No
NOTE: When replace new disk “Firmware state” value is “Unconfigured(good), Spun Up”, Wait a moment begin to reconfigure RAID changed to “Rebuild” ,Default “Firmware state” value is “Online, Spun Up”. Show Rebuild Progress # /opt/MegaRAID/MegaCli/MegaCli64 -PDRbld -ShowProg -physdrv[32:2] -aALL Rebuild Progress on Device at Enclosure 252, Slot 3 Completed 55% in 22 Minutes. Display detailed Adapter and Device information # /opt/MegaRAID/MegaCli/MegaCli64 -AdpAlILog -aALL Display battery information # /opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -aALL Display in depth controller information : # /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL Display virtual disk information : # /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL Display physical disk information : # /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL Generate a controller log # /opt/MegaRAID/MegaCli/MegaCli64 -AdpEventLog -GetEvents -f controller_log.txt -aALL For ibm http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=migr-5082327 |
|