voila
ubuntu@ubuntu:~$ sudo smartctl --smart=on -a /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-29-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Hitachi/HGST Travelstar 5K750
Device Model: Hitachi HTS547550A9E384
Serial Number: J112005MFRJZDA
LU WWN Device Id: 5 000cca 6dff4866b
Firmware Version: JE3OA50A
User Capacity: 500107862016 bytes [500 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Mon Dec 17 15:41:11 2018 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART 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: ( 45) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
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: ( 156) 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 0x000b 100 100 062 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 040 Pre-fail Offline - 0
3 Spin_Up_Time 0x0007 176 176 033 Pre-fail Always - 1
4 Start_Stop_Count 0x0012 097 097 000 Old_age Always - 5684
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 040 Pre-fail Offline - 0
9 Power_On_Hours 0x0012 098 098 000 Old_age Always - 995
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 884
191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always - 65536
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 64
193 Load_Cycle_Count 0x0012 094 094 000 Old_age Always - 62937
194 Temperature_Celsius 0x0002 142 142 000 Old_age Always - 42 (Min/Max 15/50)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0
223 Load_Retry_Count 0x000a 100 100 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 101 (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 101 occurred at disk power-on lifetime: 574 hours (23 days + 22 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
-- -- -- -- -- -- --
10 51 40 00 60 38 0a Error: IDNF at LBA = 0x0a386000 = 171466752
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 40 20 00 60 38 40 00 00:10:54.557 READ FPDMA QUEUED
60 40 18 f0 5f 38 40 00 00:10:54.550 READ FPDMA QUEUED
60 40 10 b0 5f 38 40 00 00:10:54.549 READ FPDMA QUEUED
60 40 08 70 5f 38 40 00 00:10:54.549 READ FPDMA QUEUED
60 40 00 30 5f 38 40 00 00:10:54.548 READ FPDMA QUEUED
Error 100 occurred at disk power-on lifetime: 572 hours (23 days + 20 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
-- -- -- -- -- -- --
10 51 40 00 60 38 0a Error: IDNF at LBA = 0x0a386000 = 171466752
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 40 88 00 60 38 40 00 06:12:45.215 READ FPDMA QUEUED
60 40 80 f0 5f 38 40 00 06:12:45.202 READ FPDMA QUEUED
61 30 78 e0 88 fb 40 00 06:12:45.197 WRITE FPDMA QUEUED
61 48 70 18 2a ef 40 00 06:12:45.197 WRITE FPDMA QUEUED
61 20 68 60 11 a9 40 00 06:12:45.197 WRITE FPDMA QUEUED
Error 99 occurred at disk power-on lifetime: 548 hours (22 days + 20 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
-- -- -- -- -- -- --
10 51 40 00 60 38 0a Error: IDNF at LBA = 0x0a386000 = 171466752
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 40 90 00 60 38 40 00 00:10:09.195 READ FPDMA QUEUED
60 08 88 52 b3 11 40 00 00:10:09.195 READ FPDMA QUEUED
60 40 80 c8 8d 6d 40 00 00:10:09.178 READ FPDMA QUEUED
60 10 78 22 ad 0e 40 00 00:10:09.178 READ FPDMA QUEUED
60 40 70 88 8d 6d 40 00 00:10:09.170 READ FPDMA QUEUED
Error 98 occurred at disk power-on lifetime: 542 hours (22 days + 14 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
-- -- -- -- -- -- --
10 51 40 00 60 38 0a Error: IDNF at LBA = 0x0a386000 = 171466752
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 40 b8 00 60 38 40 00 00:33:09.863 READ FPDMA QUEUED
60 40 b0 f0 5f 38 40 00 00:33:09.851 READ FPDMA QUEUED
60 40 a8 b0 5f 38 40 00 00:33:09.850 READ FPDMA QUEUED
60 40 a0 70 5f 38 40 00 00:33:09.849 READ FPDMA QUEUED
60 40 98 30 5f 38 40 00 00:33:09.848 READ FPDMA QUEUED
Error 97 occurred at disk power-on lifetime: 542 hours (22 days + 14 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
-- -- -- -- -- -- --
10 51 40 00 60 38 0a Error: IDNF at LBA = 0x0a386000 = 171466752
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 40 70 00 60 38 40 00 00:10:00.906 READ FPDMA QUEUED
60 08 68 50 b5 28 40 00 00:10:00.890 READ FPDMA QUEUED
60 40 60 50 b5 28 40 00 00:10:00.889 READ FPDMA QUEUED
60 08 58 10 b5 28 40 00 00:10:00.889 READ FPDMA QUEUED
60 40 50 10 b5 28 40 00 00:10:00.889 READ FPDMA QUEUED
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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.
ubuntu@ubuntu:~$