LSIのRAIDカードのファームウェアをダウングレードしてみる

ちょっと事情があって、LSIのRAIDカード(今回使ったのは、"LSI MegaRAID SAS 9265-8i")のFirmwareをダウングレードしてみた。その時のログ。


ちなみに、ファームウェアをアップグレード(バージョンアップ)する場合も、ダウングレード(バージョンダウン)する場合もともに、"MegaCli"コマンドを使う。
以下は、Linuxで実行する時の例。

# /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -a0 | grep "FW Package Build"
FW Package Build: 23.9.0-0015

まずは、現在のファームウェアのビルドNo(バージョン)を確認。
ちなみに"-a0"はアダプタNoだけど、「MegaCliでアダプタ(RAIDカード)の情報を確認」この辺で調べたらわかるかと。RAIDカードが1つしか付いていなければ、"-a0"だと思う。

# /opt/MegaRAID/MegaCli/MegaCli64 -adpfwflash -f mr2208fw.rom -a0

Adapter 0: LSI MegaRAID SAS 9265-8i
Vendor ID: 0x1000, Device ID: 0x005B

Package version on the controller: 23.9.0-0015
Package version of the image file: 21.0.1-0110
ERROR: The image file has older version than or same as that on the
       controller. The controller is not flashed.


Exit Code: 0x01

普通に適用しようとすると、バージョンが古いためエラーが出る。

# /opt/MegaRAID/MegaCli/MegaCli64 -adpfwflash -f mr2208fw.rom -NoVerChk -a0

Adapter 0: LSI MegaRAID SAS 9265-8i
Vendor ID: 0x1000, Device ID: 0x005B

Download Completed.
Flashing image to adapter...
Adapter 0: Flash Completed.
Please reboot the system for the changes to take effect

Exit Code: 0x00

なので、"-NoVerChk"を付けて実行すると成功。

# /opt/MegaRAID/MegaCli/MegaCli64 -adpfacdefset -a0

Adapter 0: Factory Default Set Successfully.
Please reboot the system for the changes to take effect

Exit Code: 0x00

ダウングレード時は、設定をデフォルトに戻すべし、だそうな。(忘れるとhangするかも、らしい)
↑を実行したらリブートします。

# /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -a0 | grep "FW Package Build"
FW Package Build: 21.0.1-0110

リブート後に"MegaCli"コマンドで、無事ビルド番号が変わっていることを確認。

それでは! =͟͟͞͞(๑•̀=͟͟͞͞(๑•̀д•́=͟͟͞͞(๑•̀д•́๑)=͟͟͞͞(๑•̀д•́