This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:storage:lsi:megaraid [2013/12/21 21:31] gcooper |
computing:storage:lsi:megaraid [2020/10/12 14:27] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LSI MegaRAID | + | ====== LSI Storage Tools ====== |
See also **[[computing: | See also **[[computing: | ||
Line 11: | Line 11: | ||
:!: Download the MegaCLI archive from LSI and upload it to the desired Linux server. | :!: Download the MegaCLI archive from LSI and upload it to the desired Linux server. | ||
- | http://www.lsi.com/ | + | :!: 8.07.10_MegaCLI_Linux.zip is the version I needed for XenServer 6.2. |
- | Install MegaCLI: | + | https:// |
- | < | + | Copy MegaCLI |
- | mkdir ~/MegaCLI | + | |
- | cd ~/MegaCLI | + | |
+ | < | ||
# copy the MegaCLI archive here | # copy the MegaCLI archive here | ||
- | scp -P <ssh port> Desktop/ | + | scp -P <ssh port> Desktop/ |
+ | </ | ||
- | unzip 8.07.06_MegaCLI.zip | + | Install MegaCLI on the XenServer: |
+ | |||
+ | < | ||
+ | unzip 8.07.10_MegaCLI_Linux.zip | ||
- | rpm -Uvh Linux/MegaCli-8.07.06-1.noarch.rpm | + | rpm -Uvh MegaCli-8.07.10-1.noarch.rpm |
</ | </ | ||
- | The path to MegaCLI | + | The path to MegaCLI |
< | < | ||
Line 156: | Line 159: | ||
</ | </ | ||
- | ===== Controller Firmware Update | + | ==== Replace Failed Disk ==== |
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ==== Controller Firmware Update ==== | ||
Supermicro FAQ: http:// | Supermicro FAQ: http:// | ||
Line 164: | Line 173: | ||
LSI Downloads: http:// | LSI Downloads: http:// | ||
- | ==== How to Flash Firmware | + | :!: When booting the USB DOS flash drive, boot without additional memory/ |
+ | |||
+ | === How to Flash Firmware === | ||
http:// | http:// | ||
Line 179: | Line 190: | ||
./MegaCli -AdpFwFlash -f smc2108.rom -a0 | ./MegaCli -AdpFwFlash -f smc2108.rom -a0 | ||
</ | </ | ||
+ | |||
+ | === How to Recover Firmware === | ||
+ | |||
+ | http:// | ||
+ | |||
+ | If hou have problems with firwmare, you may be able to use MegaRec to fix the problem. | ||
+ | |||
+ | Example: I was unable to upgrade a AOC-USAS2LP-H8iR card to the latest firmware. | ||
+ | |||
+ | I was able to flash the controller to a newer version using the 8MB .rom file, then upgrade the controller to the latest version with MegaCLI. | ||
+ | |||
+ | < | ||
+ | megarec.exe -m0flash 0 af21088m.rom | ||
+ | </ | ||
+ | |||
+ | ===== SAS2Flash ===== | ||
+ | |||
+ | :!: This tool works on HBAs. | ||
+ | |||
+ | **Manual**: https:// | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | Example to boot from USB DOS drive, backup and update 9207-8i HBA firmware and BIOS: | ||
+ | |||
+ | < | ||
+ | c: | ||
+ | |||
+ | cd c: | ||
+ | |||
+ | sas2flsh_x86.exe -ufirmware SAS9207-8i_FW-Backup.fw | ||
+ | sas2flsh_x86.exe -ubios SAS9207-8i_BIOS-Backup.rom | ||
+ | |||
+ | sas2flsh_x86.exe -l flashlog.txt -o -f ..\Firmware\9207_8i_LSI_SAS\Firmware\9207-8.bin -b ..\sasbios_rel\mptsas2.rom | ||
+ | </ | ||
+ | |||
+ | ==== Other People' | ||
+ | |||
+ | :!: Use Rufus to make a FreeDOS USB boot volume. | ||
+ | |||
+ | Copy: | ||
+ | |||
+ | < | ||
+ | sas2flsh.exe | ||
+ | 2118it.bin | ||
+ | </ | ||
+ | |||
+ | to the root of the USB flash drive. | ||
+ | |||
+ | Boot from the USB flash drive. | ||
+ | |||
+ | execute: | ||
+ | |||
+ | < | ||
+ | sas2flsh -listall | ||
+ | </ | ||
+ | |||
+ | :!: Note the numbers of the 2 cards (should be 0 and 1). | ||
+ | |||
+ | Execute: | ||
+ | |||
+ | < | ||
+ | sas2flsh -c 0 -o -e 6 (erases the firmware ROM, do not reboot until new firmware is loaded) | ||
+ | sas2flsh -c 0 -f 2118it.bin | ||
+ | |||
+ | sas2flsh -c 1 -o -e 6 (erases the firmware ROM, do not reboot until new firmware is loaded) | ||
+ | sas2flsh -c 1 -f 2118it.bin | ||
+ | |||
+ | sas2flsh -listall | ||
+ | </ | ||
+ | |||
+ | Verify the firmware is loaded properly. | ||
+ | |||
+ | There is no need to load the '' | ||
+ | |||
+ | The above is also true if you use the UEFI installer which is recommended. | ||
===== CacheCade 2.0 SSD Caching ===== | ===== CacheCade 2.0 SSD Caching ===== | ||
Line 196: | Line 288: | ||
- Select a Drive Group and click '' | - Select a Drive Group and click '' | ||
- '' | - '' | ||
+ | |||
+ |