HC550以及MX500刷固件

  一块生成环境的MX500掉盘了,一查是通病,赶紧把剩下的MX500都升级到没有问题的新版本。

MX500

  1. 查询当前固件版本:得到的结果是有缺陷的M3CR043需要更新到M3CR046
1
2
$ smartctl -a /dev/sda | grep Firmware
Firmware Version: M3CR043
  1. 下载固件:
    • MX500 Support,官网046版本给的是ISO镜像,还需要自行解压
    • M3CR046.zip,也可以直接下载现成的zip包
  2. 下载固件工具:msecli-linux.run
  3. 安装固件工具
1
2
3
chmod +x msecli-linux.run
./msecli-linux.run
# 一路enter同意协议
  1. 找到需要更新固件的盘,记住这里的Device Name,我这里是mraid0:0,而不是传统的/dev/sda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$ msecli -L
Device Name : mraid0:0
Model No : CT500MX500SSD1
Serial No : 2225E63DADCF
FW-Rev : M3CR043
Total Size : 500.00GB
Drive Status : Drive is in good health
Sata Link Speed : Gen3 (6.0 Gbps)
Sata Link Max Speed : Gen3 (6.0 Gbps)
Temp(C) : 35

Drive information is retrieved successfully
CMD_STATUS : Success
STATUS_CODE : 0
TIME_STAMP : Tue May 28 23:10:52 2024

Copyright (C) 2023 Micron Technology, Inc.
  1. 更新固件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$ unzip M3CR046.zip -d ./firmware
$ tree
.
├── firmware
│   ├── firmware.properties
│   └── M3CR046
│   └── 1.bin
├── M3CR046.zip
└── msecli-linux.run

# 这里-n参数务必填上面的Device Name
$ msecli -U -v -i ./firmware -n mraid0:0
This will update the MX504 drive in the system
Are you sure you want to continue(Y|N):y

Upgrading drive mraid0:0 [Serial No. 2225E63DADCF] to M3CR046
.............................
Device Name : mraid0:0
Firmware Update on mraid0:0 Succeeded!
CMD_STATUS : Success
STATUS_CODE : 0
TIME_STAMP : Tue May 28 23:12:00 2024

Copyright (C) 2023 Micron Technology, Inc.
  1. 验证更新结果,已经是M3CR046,最好重启一下
1
2
$ smartctl -a /dev/sda | grep Firmware
Firmware Version: M3CR046

HC550

  1. 下载固件及工具,固件必须前几位相同才能更新,比如PCGAW232只能更新到PCGAW870,而不能更新到PCGNW870
  1. 更新固件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$ ./wdckit
wdckit Version 2.21.0.0

(wdckit) show
DUT Device Port Capacity State BootDevice Serial Number Model Number Firmware Lnk Spd Cap/Cur
--- ----------------- ---- -------- ------------- ---------- ------------------ --------------------- -------- ---------------------------
9 /dev/sdf SATA 18.0 TB Good No 3FJ6HZXU WDC WUH721818ALE6L4 PCGNW232 Gen3/Gen3
10 /dev/sdg SATA 18.0 TB Good No 2NG0MY8B WDC WUH721818ALE6L4 PCGNW232 Gen3/Gen3

(wdckit) update /dev/sdf /dev/sdg -f /root/HDD/wdckit/firmwares/PCGNW870.bin
wdckit Version 2.21.0.0
Copyright (C) 2019-2024 Western Digital Technologies, Inc.
Western Digital ATA/SCSI/NVMe command line utility.
05/24/2024 20:10:23.272

Update on 2 device(s) started...
2 drive(s) still running
Success: Update completed on: 3FJ6HZXU
1 drive(s) still running
Success: Update completed on: 2NG0MY8B
Device Serial Number FW File Update Status
-------- ------------- --------------------------------------- ------------------------
/dev/sdf 3FJ6HZXU /root/HDD/wdckit/firmwares/PCGNW870.bin Download was successful.
/dev/sdg 2NG0MY8B /root/HDD/wdckit/firmwares/PCGNW870.bin Download was successful.

(wdckit) show
DUT Device Port Capacity State BootDevice Serial Number Model Number Firmware Lnk Spd Cap/Cur
--- ----------------- ---- -------- ------------- ---------- ------------------ --------------------- -------- ---------------------------
9 /dev/sdf SATA 18.0 TB Good No 3FJ6HZXU WDC WUH721818ALE6L4 PCGNW870 Gen3/Gen3
10 /dev/sdg SATA 18.0 TB Good No 2NG0MY8B WDC WUH721818ALE6L4 PCGNW870 Gen3/Gen3
  1. (可选)格式化分区至512n,如果你不知道这是干啥,就别做
1
2
3
4
5
(wdckit) format /dev/sdf -b 4096 --fastformat
/dev/sdf: Success

(wdckit) format /dev/sdg -b 4096 --fastformat
/dev/sdg: Success