Network 23 wrote:
S.M.A.R.T. doesn't seem to apply to SSDs.
It does work but not all of the features of S.M.A.R.T. that work on traditional drives are relevant for SSDs.
Here is an example output of smartctl for a Kingston SSD:
Mac-mini:~ $ sudo /usr/local/sbin/smartctl -a /dev/disk0s2
smartctl 6.5 2016-05-07 r4318 [Darwin 16.4.0 x86_64] (sf-6.5-1)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SandForce Driven SSDs
Device Model: KINGSTON SH
Serial Number:
LU WWN Device Id:
Firmware Version: 507KC4
User Capacity: 240,057,409,536 bytes [240 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS, ACS-2 T13/2015-D revision 3
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Mar 14 08:38:32 2017 EET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 48) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x0021) SCT Status supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 105 105 050 Pre-fail Always - 0/11480663
5 Retired_Block_Count 0x0033 100 100 003 Pre-fail Always - 2
9 Power_On_Hours_and_Msec 0x0032 095 095 000 Old_age Always - 5002h+23m+17.320s
12 Power_Cycle_Count 0x0032 096 096 000 Old_age Always - 4449
171 Program_Fail_Count 0x0032 000 000 000 Old_age Always - 1
172 Erase_Fail_Count 0x0032 000 000 000 Old_age Always - 0
174 Unexpect_Power_Loss_Ct 0x0030 000 000 000 Old_age Offline - 33
177 Wear_Range_Delta 0x0000 000 000 000 Old_age Offline - 4
181 Program_Fail_Count 0x0032 000 000 000 Old_age Always - 1
182 Erase_Fail_Count 0x0032 000 000 000 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
189 Airflow_Temperature_Cel 0x0000 038 046 000 Old_age Offline - 38 (Min/Max 13/46)
194 Temperature_Celsius 0x0022 038 046 000 Old_age Always - 38 (Min/Max 13/46)
195 ECC_Uncorr_Error_Count 0x001c 120 120 000 Old_age Offline - 0/11480663
196 Reallocated_Event_Count 0x0033 100 100 003 Pre-fail Always - 2
201 Unc_Soft_Read_Err_Rate 0x001c 120 120 000 Old_age Offline - 0/11480663
204 Soft_ECC_Correct_Rate 0x001c 120 120 000 Old_age Offline - 0/11480663
230 Life_Curve_Status 0x0013 100 100 000 Pre-fail Always - 100
231 SSD_Life_Left 0x0013 100 100 010 Pre-fail Always - 0
233 SandForce_Internal 0x0000 000 000 000 Old_age Offline - 17918
234 SandForce_Internal 0x0032 000 000 000 Old_age Always - 12027
241 Lifetime_Writes_GiB 0x0032 000 000 000 Old_age Always - 12027
242 Lifetime_Reads_GiB 0x0032 000 000 000 Old_age Always - 8757
SMART Error Log not supported
SMART Self-test Log not supported
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.