找回密码
 加入我们
搜索
      
查看: 4559|回复: 6

[存储] 我的硬盘linux下smartctl有Error Information正常吗

[复制链接]
发表于 2022-8-28 13:13 | 显示全部楼层 |阅读模式
有人能看懂这个嘛

$ sudo smartctl -a /dev/nvme0
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-46-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       WUS4BB076D7P3E3
Serial Number:                      我去掉了
Firmware Version:                   R1110012
PCI Vendor/Subsystem ID:            0x1b96
IEEE OUI Identifier:                0x0014ee
Total NVM Capacity:                 7,681,501,126,656 [7.68 TB]
Unallocated NVM Capacity:           0
Controller ID:                      0
NVMe Version:                       1.3
Number of Namespaces:               1
Namespace 1 Size/Capacity:          7,681,501,126,656 [7.68 TB]
Namespace 1 Formatted LBA Size:     4096
Namespace 1 IEEE EUI-64:            0014ee 8301b30300
Local Time is:                      Sun Aug 28 13:09:18 2022 CST
Firmware Updates (0x19):            4 Slots, Slot 1 R/O, no Reset required
Optional Admin Commands (0x001f):   Security Format Frmw_DL NS_Mngmt Self_Test
Optional NVM Commands (0x005e):     Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Log Page Attributes (0x03):         S/H_per_NS Cmd_Eff_Lg
Warning  Comp. Temp. Threshold:     70 Celsius
Critical Comp. Temp. Threshold:     80 Celsius
Namespace 1 Features (0x02):        NA_Fields

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
0 +    12.00W       -        -    0  0  0  0       50      50
1 +    11.00W       -        -    1  1  1  1       50      50
2 +    10.00W       -        -    2  2  2  2       50      50
3 +     9.00W       -        -    3  3  3  3       50      50
4 +     8.00W       -        -    4  4  4  4       50      50

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
0 +    4096       0         0
1 -     512       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        41 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    69 [35.3 MB]
Data Units Written:                 135,644 [69.4 GB]
Host Read Commands:                 2,133
Host Write Commands:                2,516,867
Controller Busy Time:               78
Power Cycles:                       3
Power On Hours:                     26
Unsafe Shutdowns:                   0
Media and Data Integrity Errors:    0
Error Information Log Entries:      4
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               37 Celsius

Error Information (NVMe Log 0x01, 16 of 256 entries)
Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS
  0          4     0  0x2009  0xc004  0x029            0     0     -
  1          3     0  0x100a  0xc004  0x028            0     0     -

发表于 2022-8-28 17:28 | 显示全部楼层
# nvme error-log /dev/nvme0

看一下
发表于 2022-8-28 18:28 | 显示全部楼层
除非你有厂商的内部文档告诉你error log里每个状态代码是什么意思,否则看了也白看
如果盘有问题,“介质和数据完整性错误”那一项会告诉你,否则没必要管它
很多未特别设计兼容U2 SSD的平台会向SSD发送非NVMe命令,SSD无法执行,就会把它视为一个错误
https://www.transcend-info.com/Support/FAQ-1245
 楼主| 发表于 2022-8-28 18:51 | 显示全部楼层
Shadowmourne 发表于 2022-8-28 17:28
# nvme error-log /dev/nvme0

看一下

Error Log Entries for device:nvme0 entries:64
.................
Entry[ 0]
.................
error_count     : 4
sqid            : 0
cmdid           : 0x2009
status_field    : 0x6002(INVALID_FIELD: A reserved coded value or an unsupported value in a defined field)
phase_tag       : 0
parm_err_loc    : 0x29
lba             : 0
nsid            : 0
vs              : 0
trtype          : The transport type is not indicated or the error is not transport related.
cs              : 0
trtype_spec_info: 0
.................
Entry[ 1]
.................
error_count     : 3
sqid            : 0
cmdid           : 0x100a
status_field    : 0x6002(INVALID_FIELD: A reserved coded value or an unsupported value in a defined field)
phase_tag       : 0
parm_err_loc    : 0x28
lba             : 0
nsid            : 0
vs              : 0
trtype          : The transport type is not indicated or the error is not transport related.
cs              : 0
trtype_spec_info: 0

感觉还是看不出什么
 楼主| 发表于 2022-8-28 18:52 | 显示全部楼层
frontwing 发表于 2022-8-28 18:28
除非你有厂商的内部文档告诉你error log里每个状态代码是什么意思,否则看了也白看
如果盘有问题,“介质和 ...

嗯嗯好的 目前Media and Data Integrity Errors还是0
发表于 2022-8-28 19:19 来自手机 | 显示全部楼层
NVMe就看个温度
现在完全不看,偶尔看看主板cpu温度
发表于 2022-8-28 21:46 | 显示全部楼层
正常

某种意义上说,smart对nvme硬盘,毫无意义

"Error Information Log"这个东西完全不重要,忽略就好
https://arstechnica.com/civis/viewtopic.php?f=11&t=1376353 这个回答很专业

我很早以前就注意到这个问题了,linux下,smart显示我的970pro有很多错误报告,我换到win系统,用三星魔术师检查,一切正常,现在半年过去了,屁事没有.
您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

Archiver|手机版|小黑屋|Chiphell ( 沪ICP备12027953号-5 )沪公网备310112100042806 上海市互联网违法与不良信息举报中心

GMT+8, 2024-9-21 22:10 , Processed in 0.010690 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2007-2024 Chiphell.com All rights reserved.

快速回复 返回顶部 返回列表