首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不同行业的HUH721010AL5200驱动器(WD对戴尔)

不同行业的HUH721010AL5200驱动器(WD对戴尔)
EN

Server Fault用户
提问于 2021-05-11 22:18:16
回答 1查看 383关注 0票数 4

我订购了一些备用硬盘来替换我的zfs池中的一个失败的硬盘驱动器(在运行Ubuntu的超级微型服务器上使用12个10 to的硬盘驱动器)。我确保使用与池(HUH721010AL5200)中的硬盘完全相同的型号来订购硬盘。然而,看来我收到的新的是戴尔OEM,而最初的驱动器是西部数字。

当我试图用一个新的(Dell)替换失败的(WD)硬盘时,zfs替换命令失败了,错误消息如下:“设备是工具小的”。

经仔细检查,这两个驱动器的扇区数目似乎不同。

下面是我的新驱动器的gdisk的结果:

gdisk -l /dev/sdi gdisk (gdisk)版本1.0.3分区表扫描: MBR:保护BSD:不存在APM::present GPT有保护MBR;使用GPT。磁盘/dev/sdi: 19134414848扇区,8.9 TiB模型: HUH721010AL5200扇区大小(逻辑/物理):512/4096字节磁盘标识符(GUID):ED5CF966-DA38-2D4B-8F8E-3C3867C25E07分区表最多容纳128个条目-主分区表从扇区2开始,结束于扇区33,第一个可用扇区为34,最后可用扇区是19134414814个分区将对齐在2048年扇区边界总空闲空间是4029扇区(2.0 MiB)号开始(扇区)结束(扇区)代码名称1 2048 19134396415 8.9 TiB BF01 zfs-57963ba0e4d1284c 9 19134396416 19134412799 8.0 MiB BF07

对于一个旧的驱动器来说,也是一样的:

gdisk -l /dev/sdh (gdisk)版本1.0.3分区表扫描: MBR:保护BSD:不存在APM:(Gdisk)已找到有效的GPT与保护MBR;使用GPT。磁盘/dev/sdh: 19532873728扇区,9.1 TiB模型: HUH721010AL5200扇区大小(逻辑/物理):512/4096字节磁盘标识符(GUID):6EEE7537-C089-544B-A500-EE19A147CA99分区表可容纳多达128个条目主分区表,从扇区2开始,结束于扇区33,第一个可用扇区为34,最后可用扇区是19532873694个分区将对齐在2048年扇区边界总空闲空间是4029扇区(2.0 MiB)号开始(扇区)结束(扇区)代码名称1 2048 19532855295 9.1 TiB BF01 zfs-2363298e7ec25d90 9 19532855296 19532871679 MiB BF07

如您所见,新驱动器的扇区更少->容量更小-> zfs拒绝使用它。

我被告知要更新硬盘的固件,但我不知道如何进行,我想要非常小心,以免丢失任何数据。

有人有一个想法,除了返回这些驱动器和找到/购买WD的版本吗?

谢谢,

jf

编辑:根据@shodanshok的评论添加smartctl的结果

对于新驱动器(太小):

代码语言:javascript
复制
smartctl --all /dev/sdi
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.18.0-21-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              HUH721010AL5200
Revision:             LS17
Compliance:           SPC-4
User Capacity:        9,796,820,402,176 bytes [9.79 TB]
Logical block size:   512 bytes
Physical block size:  4096 bytes
Formatted with type 2 protection
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca27349c848
Serial number:        2YH9KX5D
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Wed May 12 11:15:06 2021 CDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     31 C
Drive Trip Temperature:        50 C

Manufactured in week 36 of year 2018
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  3
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  5
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 17381195776

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0         95          0.044           0
write:         0        0         0         0          4          0.011           0
verify:        0        0         0         0        271          0.000           0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -   12484                 - [-   -    -]
# 2  Background short  Completed                   -   12413                 - [-   -    -]

Long (extended) Self Test duration: 63514 seconds [1058.6 minutes]

作为比较,一个旧的驱动器:

代码语言:javascript
复制
smartctl --all /dev/sdh
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.18.0-21-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              HUH721010AL5200
Revision:             A384
Compliance:           SPC-4
User Capacity:        10,000,831,348,736 bytes [10.0 TB]
Logical block size:   512 bytes
Physical block size:  4096 bytes
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca2732326c0
Serial number:        2YGMA92D
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Wed May 12 11:19:35 2021 CDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     32 C
Drive Trip Temperature:        85 C

Manufactured in week 23 of year 2018
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  41
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  2669
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 53115368926871552

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0       41         0        41    3717572      74439.685           0
write:         0        0         0         0     605524      58839.145           0
verify:        0        0         0         0      49259          0.000           0

Non-medium error count:        0

No self-tests have been logged

再次感谢你的帮助。

jf

EN

回答 1

Server Fault用户

回答已采纳

发布于 2021-05-11 22:23:40

这两个驱动程序可能使用不同的主机保护区域(HPA)设置。请用hdparm -N /dev/yourdisk检查一下

编辑:基于您的smartctl输出,第一个(较小的)磁盘使用附加扇区完整性数据(例如,520个字节的物理扇区)进行格式化。这自然意味着可用的原始存储容量中的一小部分可以专门用于用户数据。

您应该能够使用sg_format -ie重新格式化您的磁盘:发出类似于sg_format --format --size=512 --fmtpinfo=0 /dev/yourdisk的内容。

票数 6
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1063267

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档