540  
查询码:00000105
smartctl检查磁盘健康度
作者: 文艺范儿 于 2022年12月02日 发布在分类 / Linux / 系统相关 下,并于 2022年12月02日 编辑

1、安装

yum install smartmontools -y 


2、检查健康度


[root@wq64 ~]# smartctl -a /dev/nvme1n1
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-5.4.119-19-0006] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       INTEL SSDPE2KE064T8
Serial Number:                      BTLN81360BY06P4CGN
Firmware Version:                   VDV10170
PCI Vendor/Subsystem ID:            0x8086
IEEE OUI Identifier:                0x5cd2e4
Total NVM Capacity:                 6,401,252,745,216 [6.40 TB]
Unallocated NVM Capacity:           0
Controller ID:                      0
Number of Namespaces:               128
Namespace 1 Size/Capacity:          6,401,252,745,216 [6.40 TB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            5cd2e4 36f1520100
Local Time is:                      Fri Dec  2 13:28:43 2022 CST
Firmware Updates (0x18):            4 Slots, no Reset required
Optional Admin Commands (0x000e):   Format Frmw_DL NS_Mngmt
Optional NVM Commands (0x0006):     Wr_Unc DS_Mngmt
Maximum Data Transfer Size:         32 Pages
Warning  Comp. Temp. Threshold:     70 Celsius
Critical Comp. Temp. Threshold:     80 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +    17.00W       -        -    0  0  0  0        0       0

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         2
 1 -    4096       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:                        12 Celsius
Available Spare:                    99%
Available Spare Threshold:          10%
Percentage Used:                    2%
Data Units Read:                    5,190,246,845 [2.65 PB]
Data Units Written:                 2,701,828,602 [1.38 PB]
Host Read Commands:                 138,756,765,334
Host Write Commands:                97,205,324,936
Controller Busy Time:               20,246
Power Cycles:                       44
Power On Hours:                     4,020
Unsafe Shutdowns:                   38
Media and Data Integrity Errors:    0
Error Information Log Entries:      0
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0

Error Information (NVMe Log 0x01, max 64 entries)
No Errors Logged


3、解释



root@wq64 ~]# smartctl -a /dev/nvme1n1 . #  
[x86_64-linux-5.4.119-19-0006](本地构建)  
版权(C) 2002-18,布鲁斯·艾伦,克里斯蒂安·弗兰克,www.smartmontools.org  
 
===信息段开始===  
型号:INTEL SSDPE2KE064T8  
编号:BTLN81360BY06P4CGN  
固件版本:VDV10170  
PCI供应商/子系统ID: 0x8086  
IEEE OUI标识符:0x5cd2e4  
NVM总容量:6,401,252,745,216 [6.40 TB]  
NVM未分配容量:0  
控制器ID: 0  
命名空间的数量:128  
命名空间1大小/容量:6,401,252,745,216 [6.40 TB]  
命名空间1格式化LBA大小:512  
命名空间1 IEEE EUI-64: 5cd2e4 36f1520100  
当地时间:2022年12月2日星期五13:28:43  
固件更新(0x18): 4插槽,不需要重置  
可选管理命令(0x000e): Format Frmw_DL NS_Mngmt  
可选NVM命令(0x0006): Wr_Unc DS_Mngmt  
最大数据传输大小:32页  
警告温度阈值:70摄氏度  
临界温度阈值:80摄氏度  
 
受支持的国家  
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat  
0 + 17.00w - - 00 00 00 00  
 
支持的LBA大小(NSID 0x1)  
Id Fmt数据元数据Rel_Perf  
0 + 512 0 2  
1 - 4096 0 0  
 
===智能数据段开始===  
SMART整体健康自我评估测试结果:通过  
 
智能/运行状况信息(NVMe日志0x02)  
紧急警告:0x00  
温度:12摄氏度  
可用备用:99%  
可用空闲阈值:10%  
使用率:2%  
数据单位读:5,190,246,845 [2.65 PB]  
写入数据单位:2,701,828,602 [1.38 PB]  
主机读命令:138,756,765,334  
主机写命令:97,205,324,936  
Controller Busy Time: 20246  
动力周期:44  
开机时数:4,020  
不安全关机:38  
媒体和数据完整性错误:0  
错误信息日志条目:0  
温度警告时间:0  
临界温度时间:0  
 
错误信息(NVMe日志0x01,最大64项)  
无错误记录 
主要关注:可用备用:99%  表示健康度








 推荐知识

 历史版本

修改日期 修改人 备注
2022-12-02 13:34:31[当前版本] 文艺范儿 创建版本

  目录
    文艺知识分享平台 -V 4.9.5 -wcp
    京公网安备100012199188号 京ICP备2021030911号