如何查SSD 寿命?

15 min read

目前最好的PCIE4 VNMe SSD 具有2TB 容量可具备1200TBW 耐久性

M1 用户超过TBW 极限数值后,虽然依旧可以让SSD 继续运行,是否会造成SSD 读写出现问题或是能够持续使用多长时间?这些问题都是未知数。

如何查SSD 寿命?

如果是M1 Mac 用户担心SSD 损耗严重,也能够打开终端机输入底下指令来查询

brew install smartmontools

利用diskutil list 查硬盘符号

diskutil list

查到硬盘后(例如刚查到是disk0s2),就直接透过底下指令查询SSD 硬盘健康度,就可看见Percentage Used 数值就是耗损趴数。

smartctl -a disk0s2
smartctl 7.3 2022-02-28 r5338 [Darwin 21.4.0 x86_64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       WD Blue SN570 1TB SSD
Serial Number:                      21466Y803512
Firmware Version:                   234100WD
PCI Vendor/Subsystem ID:            0x15b7
IEEE OUI Identifier:                0x001b44
Total NVM Capacity:                 1,000,204,886,016 [1.00 TB]
Unallocated NVM Capacity:           0
Controller ID:                      0
NVMe Version:                       1.4
Number of Namespaces:               1
Local Time is:                      Wed May 18 17:22:16 2022 CST
Firmware Updates (0x14):            2 Slots, no Reset required
Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Log Page Attributes (0x1e):         Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg Pers_Ev_Lg
Maximum Data Transfer Size:         128 Pages
Warning  Comp. Temp. Threshold:     80 Celsius
Critical Comp. Temp. Threshold:     85 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     4.20W    3.70W       -    0  0  0  0        0       0
 1 +     2.70W    2.30W       -    0  0  0  0        0       0
 2 +     1.90W    1.80W       -    0  0  0  0        0       0
 3 -   0.0250W       -        -    3  3  3  3     3900   11000
 4 -   0.0050W       -        -    4  4  4  4     5000   44000

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

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        53 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    2,238,785 [1.14 TB]
Data Units Written:                 2,819,421 [1.44 TB]
Host Read Commands:                 27,379,945
Host Write Commands:                27,272,900
Controller Busy Time:               64
Power Cycles:                       21
Power On Hours:                     66
Unsafe Shutdowns:                   10
Media and Data Integrity Errors:    0
Error Information Log Entries:      1
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0

Error Information (NVMe Log 0x01, 16 of 256 entries)
No Errors Logged