維護儲存裝置,熟悉Raid Card管理工具是非常重要的.包含軔體更新,磁碟復原,管理,冷熱擴建.替換硬碟.必需熟悉指令.以免造成操作上失誤
Lsi Card本身目前為市場上佔有率堆最的SAS ,SATA 控制器.本文專替Lsi 控制器管理軟體megacli 做介紹
offline
Megacli 官方下載 除DOS 外 每種版本必需在其OS下已裝好驅動程式,Megacli才能正常使用
1.刷firmware
MegaCli -adpfwflash -f XXXX.rom [-NoSigChk] [-NoVerChk] -a0
-NoSigChk 為未簽證檢查 -NoVerChk 無版本檢查
參考
BIOS 下Lsi 卡中文使用手測
http://support1.ap.dell.com/cn/zh/fo...2B5%2Fi&page=1
http://www.weithenn.idv.tw/cgi-bin/w...roller_PERC_5i
查看實體裝置
MegaCli -PDList -aN|-a0,1,2|-aALL
eg.MegaCli -PDList -a0
Adapter #0
Enclosure Number: 1
Slot Number: 5
Device Id: 5
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
Raw Size: 140014MB [0x11177328 Sectors]
Non Coerced Size: 139502MB [0x11077328 Sectors]
Coerced Size: 139392MB [0x11040000 Sectors]
Firmware state: Hotspare
SAS Address(0): 0x5000c50008e5cca9
SAS Address(1): 0x0
Inquiry Data: SEAGATE ST3146855SS S5273LN4Y1X0
清除foreign
MegaCli -CfgForeign -Clear [x] -aN|-a0,1,2|-aALL
x - index of foreign configurations. Optional. All by default.
eg.MegaCli -CfgForeign -Clea -a0
查看目前RAID設定情況
MegaCli -LDInfo -Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
eg.MegaCli -LDInfo -Lall -a0
回復出場設定
MegaCli -AdpFacDefSet -aN
eg.MegaCli -AdpFacDefSet -a0