Create a gist now

Instantly share code, notes, and snippets.

@skinuxgeek /output Secret
Last active Sep 17, 2017

What would you like to do?
Linux Mint smart -a /dev/sda
smartctl -a /dev/sda
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-93-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sda failed: Permission denied
skinux@skibunix:~/Projects/entertainerlaravel$ sudo smartctl -a /dev/sda
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-93-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Laptop Thin HDD
Device Model: ST500LT012-9WS142
Serial Number: W0V48546
LU WWN Device Id: 5 000c50 05dbc6e01
Firmware Version: 0001SDM1
User Capacity: 500,107,862,016 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 4
SATA Version is: SATA 2.6, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Sun Sep 17 05:04:06 2017 PDT
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: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
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: ( 106) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x1035) SCT Status supported.
SCT Feature Control 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 119 073 006 Pre-fail Always - 205174312
3 Spin_Up_Time 0x0003 099 099 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 099 099 020 Old_age Always - 1670
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 084 060 030 Pre-fail Always - 13752733939
9 Power_On_Hours 0x0032 060 060 000 Old_age Always - 35114 (30 20 0)
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 099 099 020 Old_age Always - 1503
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 001 001 000 Old_age Always - 17003
188 Command_Timeout 0x0032 100 099 000 Old_age Always - 4295032838
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 066 050 045 Old_age Always - 34 (Min/Max 32/35)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 1736
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 306
193 Load_Cycle_Count 0x0032 027 027 000 Old_age Always - 147171
194 Temperature_Celsius 0x0022 034 050 000 Old_age Always - 34 (0 9 0 0 0)
196 Reallocated_Event_Count 0x000f 061 061 030 Pre-fail Always - 34878 (10667 0)
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
240 Head_Flying_Hours 0x0000 061 061 000 Old_age Offline - 34878 (41 171 0)
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 1061428046
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 3642957928
254 Free_Fall_Sensor 0x0032 100 100 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 17003 (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 17003 occurred at disk power-on lifetime: 33814 hours (1408 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
-- -- -- -- -- -- --
40 51 00 ff ff ff 0f Error: WP at LBA = 0x0fffffff = 268435455
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
61 00 60 ff ff ff 4f 00 25d+18:42:14.966 WRITE FPDMA QUEUED
61 00 08 ff ff ff 4f 00 25d+18:42:14.966 WRITE FPDMA QUEUED
60 00 08 ff ff ff 4f 00 25d+18:42:14.966 READ FPDMA QUEUED
60 00 08 ff ff ff 4f 00 25d+18:42:14.966 READ FPDMA QUEUED
60 00 08 ff ff ff 4f 00 25d+18:42:14.966 READ FPDMA QUEUED
Error 17002 occurred at disk power-on lifetime: 33814 hours (1408 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
-- -- -- -- -- -- --
40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
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 00 08 ff ff ff 4f 00 25d+18:42:06.754 READ FPDMA QUEUED
60 00 08 ff ff ff 4f 00 25d+18:42:06.744 READ FPDMA QUEUED
60 00 08 ff ff ff 4f 00 25d+18:42:06.720 READ FPDMA QUEUED
60 00 08 ff ff ff 4f 00 25d+18:42:06.711 READ FPDMA QUEUED
60 00 08 ff ff ff 4f 00 25d+18:42:06.711 READ FPDMA QUEUED
Error 17001 occurred at disk power-on lifetime: 23877 hours (994 days + 21 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 00 ff ff ff 0f Error: WP at LBA = 0x0fffffff = 268435455
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
61 00 10 ff ff ff 4f 00 13:07:51.002 WRITE FPDMA QUEUED
60 00 28 ff ff ff 4f 00 13:07:51.002 READ FPDMA QUEUED
61 00 08 ff ff ff 4f 00 13:07:51.002 WRITE FPDMA QUEUED
61 00 10 ff ff ff 4f 00 13:07:51.002 WRITE FPDMA QUEUED
61 00 18 ff ff ff 4f 00 13:07:51.002 WRITE FPDMA QUEUED
Error 17000 occurred at disk power-on lifetime: 23877 hours (994 days + 21 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 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
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 00 20 ff ff ff 4f 00 13:07:42.827 READ FPDMA QUEUED
60 00 30 ff ff ff 4f 00 13:07:42.815 READ FPDMA QUEUED
60 00 20 ff ff ff 4f 00 13:07:42.815 READ FPDMA QUEUED
60 00 18 ff ff ff 4f 00 13:07:42.812 READ FPDMA QUEUED
ea 00 00 00 00 00 a0 00 13:07:42.801 FLUSH CACHE EXT
Error 16999 occurred at disk power-on lifetime: 23515 hours (979 days + 19 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 00 e0 f0 d1 01 Error: WP at LBA = 0x01d1f0e0 = 30535904
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
61 00 00 f0 48 91 4e 00 02:40:14.715 WRITE FPDMA QUEUED
61 00 00 f0 47 91 4e 00 02:40:14.715 WRITE FPDMA QUEUED
61 00 00 f0 46 91 4e 00 02:40:14.715 WRITE FPDMA QUEUED
61 00 00 f0 45 91 4e 00 02:40:14.715 WRITE FPDMA QUEUED
61 00 00 f0 44 91 4e 00 02:40:14.715 WRITE FPDMA QUEUED
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 23704 -
# 2 Offline Aborted by host 90% 23703 -
# 3 Short offline Completed without error 00% 23452 -
# 4 Offline Aborted by host 90% 23452 -
# 5 Short offline Completed without error 00% 23370 -
# 6 Offline Aborted by host 90% 23370 -
# 7 Offline Aborted by host 90% 22984 -
# 8 Offline Aborted by host 90% 22890 -
# 9 Short offline Completed: read failure 90% 22753 210345360
#10 Offline Aborted by host 90% 22752 -
#11 Offline Aborted by host 90% 22684 -
#12 Offline Aborted by host 90% 22465 -
#13 Short offline Aborted by host 90% 20737 -
#14 Short offline Aborted by host 90% 19993 -
#15 Short offline Aborted by host 90% 18075 -
#16 Short offline Completed without error 00% 9597 -
#17 Short offline Completed without error 00% 7256 -
#18 Offline Aborted by host 90% 7256 -
#19 Short offline Completed without error 00% 3102 -
#20 Short offline Completed without error 00% 1770 -
#21 Short offline Completed without error 00% 491 -
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment