본문 바로가기
HW Knowledge/Hewlett-Packard Enterprise

MegaRAID/Upgrade Disk fw with storcli command

by 스쳐가는인연 2025. 6. 26.

MR controller 환경에서, storcli 명령을 통해 NVMe disk fw 업그레이드

 

1. fw 관리 대상 Disk  정보 확인

# /opt/MegaRAID/storcli/storcli64 /c0 show all

# /opt/MegaRAID/storcli/storcli64 /c0/e252/s3 show
---------------------------------------------------------------------------------------------------
EID:Slt DID State DG    Size Intf Med SED PI SeSz Model                                    Sp Type
---------------------------------------------------------------------------------------------------
252:3     8 Onln   0 3.84 TB NVMe SSD N   N  512B VO003840KYDZN                            U  -
---------------------------------------------------------------------------------------------------

# /opt/MegaRAID/storcli/storcli64 /c0 show alilog |more
<snip>
                              Device Information
                              ==================
...
Device Name:       NVMe                     Product Id:          VO003840KYDZN
Rev:               HPK0                     Vendor Specific:     2415493476F7
Device Type:       DISK                     Device ID:           8
SAS Address 0:     0xf77634490175a000       SAS Address 1:       0x0
Media Error:       0                        Other Error:         0
PredictiveFail:    0                        Firmware State:      Online
Speed:             16.0GT/s                 DDF State:           NVMe
Primary Defect:    ---                      Grown Defect:        ---
Raw size:          3662830 MB               Non-coerced size:    3662318 MB
Coerced size:      3662304 MB               Enclosure index:     1
Path Count:        1                        Slot Number          3

2. storcli 명령으로 fw 적용 (Test에서는 HPK5 fw 사용)
# /opt/MegaRAID/storcli/storcli64 /c0/e252/s3 download src=/var/tmp/M7500ALLHPK5.rel
Starting microcode update .....please wait...
Flashing PD image .....please wait...
CLI Version = 007.3011.0000.0000 Sep 27, 2024
Operating system = Linux 4.18.0-513.5.1.el8_9.x86_64
Controller = 0
Status = Success
Description = Firmware Download Succeeded.

Note. 다수개인 경우, slot all 파라메터로 일괄 작업 가능
a. fw image download:
# /opt/MegaRAID/storcli/storcli64 /c0/e252/sall download src=/var/tmp/M7500ALLHPK5.rel mode=E offline

b. fw image activation:
# /opt/MegaRAID/storcli/storcli64 /c0/e252/sall download mode=F offline

3. 정상 적용 여부 검토
# /opt/MegaRAID/storcli/storcli64 /c0 show alilog |more
<snip>
                              Device Information
                              ==================
Device Name:       NVMe                     Product Id:          VO003840KYDZN
Rev:               HPK5                     Vendor Specific:     2415493476F7
Device Type:       DISK                     Device ID:           8
SAS Address 0:     0xf77634490175a000       SAS Address 1:       0x0
Media Error:       0                        Other Error:         0
PredictiveFail:    0                        Firmware State:      Online
Speed:             16.0GT/s                 DDF State:           NVMe
Primary Defect:    ---                      Grown Defect:        ---
Raw size:          3662830 MB               Non-coerced size:    3662318 MB
Coerced size:      3662304 MB               Enclosure index:     1
Path Count:        1                        Slot Number          3
<snip>

 

참고문서:

StorCLI 12Gb/s MegaRAID Tri-Mode - Drive Firmware Download Commands
https://techdocs.broadcom.com/us/en/storage-and-ethernet-connectivity/enterprise-storage-solutions/storcli-12gbs-megaraid-tri-mode/1-0/v11869215/v11673749/v11675603/v11675858.html

 

 

 

 

 

 

반응형