megacli -LDInfo -Lall -aALL
megacli -AdpAllInfo -aALL
megacli -FwTermLog -Dsply -aALL
megacli -AdpGetTime –aALL
megacli -AdpAllInfo -aAll
megacli -LDInfo -LALL -aAll
megacli -AdpBbuCmd -GetBbuStatus -aALL |grep 'Charger Status'
megacli -AdpBbuCmd -GetBbuStatus -aALL
megacli -AdpBbuCmd -GetBbuCapacityInfo -aALL
megacli -AdpBbuCmd -GetBbuDesignInfo -aALL
megacli -AdpBbuCmd -GetBbuProperties -aALL
显示Raid卡型号,Raid设置,Disk相关信息
Device |Normal |Damage |Rebuild |Normal
Virtual Drive |Optimal|Degraded|Degraded|Optimal
Physical Drive |Online |Failed Unconfigured|Rebuild|Online
megacli -PDRbld -ShowProg -PhysDrv [Enclosure Device ID:Slot Number] -a0
Rebuild 中的物理磁盘状态中会显示:"Firmware state: Rebuild"
megacli -pdrbld -showprog -physdrv[E:S] -aALL
Rebuild Progress on Device at Enclosure 32, Slot 5 Completed 77% in 101 Minutes.
megacli -pdrbld -progdsply -physdrv[E:S] -aALL
Rebuild progress of physical drives...
Enclosure:Slot Percent Complete Time Elps
032 :05 #######################87 %################******* 01:59:07
megacli -AdpAllinfo -aALL | grep -i rebuild
设置 RAID 卡 Rebuild 比例为60%:
megacli -AdpSetProp { RebuildRate -60} -aALL
Adapter 0: Set rebuild rate to 60% success.