磁碟陣列檢視命令 RAID

longer3281發表於2018-07-26

#/opt/MegaRAID/MegaCli/MegaCli64  -LDInfo -Lall -aALL 查raid級別

#/opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL 查raid卡資訊

#/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL 檢視硬碟資訊

#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -aAll 檢視電池資訊

#/opt/MegaRAID/MegaCli/MegaCli64 -FwTermLog -Dsply -aALL 檢視raid卡日誌

#/opt/MegaRAID/MegaCli/MegaCli64 -adpCount 【顯示介面卡個數】

#/opt/MegaRAID/MegaCli/MegaCli64 -AdpGetTime –aALL 【顯示介面卡時間】

#/opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aAll    【顯示所有介面卡資訊】

#/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -LALL -aAll    【顯示所有邏輯磁碟組資訊】

#/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll    【顯示所有的物理資訊】

#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuStatus -aALL |grep ‘Charger Status’ 【檢視充電狀態】

#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuStatus -aALL【顯示BBU狀態資訊】

#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuCapacityInfo -aALL【顯示BBU容量資訊】

#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuDesignInfo -aALL    【顯示BBU設計引數】

#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuProperties -aALL    【顯示當前BBU屬性】

#/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll|grep 'Inquiry Data'       【檢視磁碟型號】


#dmidecode | grep "Product" 檢視伺服器廠家

-----------------------------------------------------------------------------------

#RAID Level對應關係:

RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0       RAID 1

RAID Level : Primary-0, Secondary-0, RAID Level Qualifier-0       RAID 0

RAID Level : Primary-5, Secondary-0, RAID Level Qualifier-3       RAID 5

RAID Level : Primary-1, Secondary-3, RAID Level Qualifier-0       RAID 10

-----------------------------------------------------------------------------------

以上使用命令:/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll|grep 'Inquiry Data' 


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9606353/viewspace-2168452/,如需轉載,請註明出處,否則將追究法律責任。

相關文章