首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Ubuntu lsblk驱动器尺寸

Ubuntu lsblk驱动器尺寸
EN

Unix & Linux用户
提问于 2019-06-23 03:10:50
回答 1查看 701关注 0票数 1

我正在使用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后进行更新--这是输出:

代码语言:javascript
运行
复制
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']
EN

回答 1

Unix & Linux用户

发布于 2019-06-23 10:06:40

是的,这很可能意味着驱动器是坏的。一些磁盘驱动器通过将其大小报告为零表示其内部诊断失败,另一些磁盘驱动器可能在相同情况下使用“未插入媒体”错误代码响应命令。

您可能应该检查磁盘的智能状态:smartctl -iHAf brief -l error -l xerror /dev/sda应该输出最重要的智能磁盘健康信息的简明报告。

此外,您可能需要查看dmesg -H的输出以获得错误消息。

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

https://unix.stackexchange.com/questions/526448

复制
相关文章

相似问题

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