What do I need to look for when running smartctl to identify how healthy a disk is, ie whether it is likely to fail in the near future. Are there any key fields to look out for?
Here is what I get from one of my disks when running
Here is what I get from one of my disks when running
smartctl -a /dev/ada01
Code:
smartctl 7.0 2018-12-30 r4883 [FreeBSD 12.0-RELEASE-p3 amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, [URL='http://www.smartmontools.org']www.smartmontools.org[/URL]
=== START OF INFORMATION SECTION ===
Model Family: Hitachi Travelstar 5K250
Device Model: Hitachi HTS542512K9SA00
Serial Number: 071102BB0200WBGW1RAC
LU WWN Device Id: 5 000cca 530cc4c7a
Firmware Version: BB2OC32P
User Capacity: 120,034,123,776 bytes [120 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 3f
SATA Version is: SATA 2.5, 1.5 Gb/s
Local Time is: Sat Oct 5 22:20:52 2019 BST
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: ( 645) seconds.
Offline data collection
capabilities: (0x51) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 56) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
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 100 095 062 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 040 Pre-fail Offline - 0
3 Spin_Up_Time 0x0023 253 100 033 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 098 098 000 Old_age Always - 4344
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 131 (0 19)
7 Seek_Error_Rate 0x000f 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 040 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 075 075 000 Old_age Always - 11319
10 Spin_Retry_Count 0x0033 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 098 098 000 Old_age Always - 4079
184 End-to-End_Error 0x0033 100 100 099 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 086 086 000 Old_age Always - 75956238
188 Command_Timeout 0x0032 100 073 000 Old_age Always - 30067261474
190 Airflow_Temperature_Cel 0x0022 065 038 000 Old_age Always - 35 (Min/Max 30/41)
191 G-Sense_Error_Rate 0x000a 100 092 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 098 098 000 Old_age Always - 29688261
193 Load_Cycle_Count 0x0032 052 052 000 Old_age Always - 481304
194 Temperature_Celsius 0x0022 157 088 000 Old_age Always - 35 (Min/Max 7/62)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 18
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x002a 200 200 000 Old_age Always - 0
223 Load_Retry_Count 0x002a 100 100 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 8 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 8 occurred at disk power-on lifetime: 5003 hours (208 days + 11 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 01 8e 51 d6 e4 Error: UNC 1 sectors at LBA = 0x04d6518e = 81154446
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 87 51 d6 e4 00 00:48:52.900 READ DMA
ca 00 08 67 26 11 e0 00 00:48:52.900 WRITE DMA
c8 00 08 7f 51 d6 e4 00 00:48:52.900 READ DMA
c8 00 08 0f 73 0d e3 00 00:48:52.900 READ DMA
c8 00 20 df 3d 1e e2 00 00:48:52.900 READ DMA
Error 7 occurred at disk power-on lifetime: 5003 hours (208 days + 11 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 11 8e 51 d6 e4 Error: UNC 17 sectors at LBA = 0x04d6518e = 81154446
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 20 7f 51 d6 e4 00 00:48:48.800 READ DMA
c8 00 08 2f 73 0d e3 00 00:48:48.800 READ DMA
c8 00 08 1f 73 0d e3 00 00:48:48.800 READ DMA
c8 00 08 f7 f3 5b e0 00 00:48:48.800 READ DMA
c8 00 08 4f 00 00 e0 00 00:48:48.800 READ DMA
Error 6 occurred at disk power-on lifetime: 5003 hours (208 days + 11 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 01 8e 51 d6 e4 Error: UNC 1 sectors at LBA = 0x04d6518e = 81154446
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 87 51 d6 e4 00 00:47:30.800 READ DMA
c8 00 08 7f 51 d6 e4 00 00:47:30.800 READ DMA
c8 00 20 7f 51 d6 e4 00 00:47:26.900 READ DMA
ca 00 20 7f 0f 00 e0 00 00:47:26.900 WRITE DMA
ca 00 20 5f 4d 4c e4 00 00:47:26.900 WRITE DMA
Error 5 occurred at disk power-on lifetime: 5003 hours (208 days + 11 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 11 8e 51 d6 e4 Error: UNC 17 sectors at LBA = 0x04d6518e = 81154446
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 20 7f 51 d6 e4 00 00:47:26.900 READ DMA
ca 00 20 7f 0f 00 e0 00 00:47:26.900 WRITE DMA
ca 00 20 5f 4d 4c e4 00 00:47:26.900 WRITE DMA
c8 00 20 7f 0f 00 e0 00 00:47:26.900 READ DMA
ca 00 20 1f 55 4c e4 00 00:47:26.900 WRITE DMA
Error 4 occurred at disk power-on lifetime: 5003 hours (208 days + 11 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 01 8e 51 d6 e4 Error: UNC 1 sectors at LBA = 0x04d6518e = 81154446
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 87 51 d6 e4 00 00:43:49.500 READ DMA
ca 00 20 bf 72 0d e3 00 00:43:49.500 WRITE DMA
c8 00 80 b7 2c 75 e1 00 00:43:49.500 READ DMA
c8 00 38 51 49 0b e0 00 00:43:49.500 READ DMA
c8 00 08 7f 51 d6 e4 00 00:43:49.500 READ DMA
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 11310 -
# 2 Extended offline Completed without error 00% 11283 -
# 3 Short offline Completed without error 00% 7461 -
# 4 Short offline Completed without error 00% 7460 -
SMART Selective self-test log data structure revision number 1
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.
Last edited by a moderator: