希捷硬盘升级固件方法

固件升级

一般情况下不需要升级,但是在测试磁盘能源管理的时候,发现部分硬盘无法休眠,通过固件升级后得到解决

升级步骤

查询硬盘型号

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[root@node17 ~]# smartctl -i /dev/sdb
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.14.113-1.el7.x86_64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model: ST4000NM0035-1V4107
Serial Number: ZC13ZGZP
LU WWN Device Id: 5 000c50 0a53981ae
Firmware Version: TN04
User Capacity: 4,000,787,030,016 bytes [4.00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Thu Feb 23 18:15:04 2023 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

通过smartctl查询硬盘的序列号,也就是上面的ZC13ZGZP

下载固件

进入官方的固件查找网址

https://apps1.seagate.com/downloads/request.html


输入序列号

点击下载固件即可,刷固件的工具和固件都在这个zip包里面

刷写固件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[root@node102 sn07]# ./command\ line\ tools/SeaChest/SeaChest_Firmware_232_1132_64 -d /dev/sdc  --downloadFW firmware/ConstellationES3-Megalodon-SATA-StdOEM-SN07.lod 
===============================================================================
SeaChest_Firmware - Seagate drive utilities
Copyright (c) 2017 Seagate Technology LLC, All Rights Reserved
SeaChest_Firmware Version: 2.3.2-1_13_2 X86_64
Build Date: Mar 9 2017
Today: Fri Feb 24 10:35:58 2023
===============================================================================

sg2 - ST4000NM0033-9ZM170 - Z1Z7VEPH - ATA
....
Firmware Download successful
Firmware Download time (s): 21.87
Average time/segment (ms): 397.69
Activate Time (s): 10.30
New firmware version is SN07

检查固件版本

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[root@node102 sn07]# smartctl -i /dev/sdc
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.14.113-1.el7.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Seagate Constellation ES.3
Device Model: ST4000NM0033-9ZM170
Serial Number: Z1Z7VEPH
LU WWN Device Id: 5 000c50 07a810918
Firmware Version: SN07
User Capacity: 4,000,787,030,016 bytes [4.00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Fri Feb 24 10:36:57 2023 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

刷完固件磁盘可以顺利进入休眠了

备注

官网下载比较慢,可以通过这个hddguru网站下载会比较快一点