storcli

Firmware Update

On Linux, with root privileges:

Extract Files

unzip -p ".../STORCLI_SAS3.5_P24.zip" \
  "STORCLI_SAS3.5_P24/univ_viva_cli_rel/Unified_storcli_all_os/Linux/storcli-007.2307.0000.0000-1.noarch.rpm" \
  | rpm2cpio \
  | cpio -i --to-stdout ./opt/MegaRAID/storcli/storcli64 \
  > storcli64
chmod +x storcli64

unzip -p ".../9400_16i_Pkg_P24_SAS_SATA_NVMe_FW_BIOS_UEFI.zip" \
  9400_16i_Pkg_P24_SAS_SATA_NVMe_FW_BIOS_UEFI/SAS35BIOS_Rel/mpt35sas_legacy.rom \
  > mpt35sas_legacy.rom

unzip -p ".../9400_16i_Pkg_P24_SAS_SATA_NVMe_FW_BIOS_UEFI.zip" \
  9400_16i_Pkg_P24_SAS_SATA_NVMe_FW_BIOS_UEFI/UEFI_BSD_HII_SAS3.5_IT_X64/Signed/mpt35sas_x64.rom \
  > mpt35sas_x64.rom

unzip -p ".../9400_16i_Pkg_P24_SAS_SATA_NVMe_FW_BIOS_UEFI.zip" \
  9400_16i_Pkg_P24_SAS_SATA_NVMe_FW_BIOS_UEFI/Firmware/HBA_9400-16i_SAS_SATA_Profile.bin \
  > HBA_9400-16i_SAS_SATA_Profile.bin

Check Controller + Upgrade

./storcli64 /call show

#./storcli64 /c0 download bios file=mpt35sas_legacy.rom          # (only if you have legacy BIOS)
./storcli64 /c0 download efibios file=mpt35sas_x64.rom           # (only if you have EFI BIOS)
./storcli64 /c0 download file=HBA_9400-16i_SAS_SATA_Profile.bin

./storcli64 /call show

... then reboot the system

Get Controller Temperature

storcli64 /call show temperature

storcli64 /call show temperature J \
  | jq -r '.Controllers[]["Response Data"]["Controller Properties"][].Value'