我正在使用 Ubuntu 18 设置 ZFS NAS,并使用 8 个硬盘进行存储。当我用来sudo lsblk -P
检查驱动器名称时,我只看到sdb-sdh
.我知道这是因为它会跳过大小为 0 的驱动器。我这样做了sudo lsblk -Pa
,然后我看到了sda
,但是SIZE=""
。我的问题是,这是否SIZE=""
意味着该驱动器已损坏并且需要更换,或者是否需要对该驱动器执行其他我不知道的操作?感谢您的帮助。
的图像lsblk -Pa
更新
输入后,输出sudo smartctl -iHAf brief -l error -l xerror /dev/sda
如下:
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-52-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: SEAGATE
Product: DKS2D-H3R0SS
Revision: 4F09
User Capacity: 2,983,000,009,600 bytes [2.98 TB]
Logical block size: 520 bytes
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x5000c50056efa9cf
Serial number: Z2987NX20000C3515M22
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Sun Jun 23 13:46:00 2019 UTC
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: 46 C
Drive Trip Temperature: 68 C
Manufactured in week 29 of year 2013
Specified cycle count over device lifetime: 10000
Accumulated start-stop cycles: 191
Specified load-unload count over device lifetime: 300000
Accumulated load-unload cycles: 191
Elements in grown defect list: 1
Vendor (Seagate) cache information
Blocks sent to initiator = 815387184
Blocks received from initiator = 128354709
Blocks read from cache and sent to initiator = 0
Number of read and write commands whose size <= segment size = 3123587
Number of read and write commands whose size > segment size = 0
Vendor (Seagate/Hitachi) factory information
number of hours powered up = 16529.18
number of minutes until next internal SMART test = 47
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: 1509905219 0 0 1509905219 0 424.001 0
write: 0 0 0 0 0 66.846 0
verify: 306677 0 0 306677 0 0.000 0
Non-medium error count: 89
[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']
答案1
是的,这很可能意味着驱动器坏了。某些磁盘驱动器通过将其大小报告为零来表明它们的内部诊断失败,而其他磁盘驱动器可能会在相同情况下以“未插入介质”错误代码响应命令。
您可能应该检查磁盘的 SMART 状态:smartctl -iHAf brief -l error -l xerror /dev/sda
应该输出最重要的 SMART 磁盘运行状况信息的简明报告。
另外,您可能想查看dmesg -H
错误消息的输出。