Skip to content

Instantly share code, notes, and snippets.

@martinusadyh
Created December 24, 2014 13:15
Show Gist options
  • Save martinusadyh/b86ab81292568552d2bb to your computer and use it in GitHub Desktop.
Save martinusadyh/b86ab81292568552d2bb to your computer and use it in GitHub Desktop.
Output smartctl -xH
martinusadyh@martinusadyh:[~]$ sudo smartctl -H /dev/sdb6
[sudo] password for martinusadyh:
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-24-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
martinusadyh@martinusadyh:[~]$ sudo smartctl -x /dev/sdb6
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-24-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Momentus 5400.6
Device Model: ST9500325AS
Serial Number: 5VEND3AM
LU WWN Device Id: 5 000c50 04510ebf8
Firmware Version: 0005HPM1
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 5400 rpm
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
Local Time is: Wed Dec 24 20:11:01 2014 WIB
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM level is: 254 (maximum performance)
Rd look-ahead is: Enabled
Write cache is: Enabled
ATA Security is: Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Unknown
=== 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: (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: ( 136) minutes.
SCT capabilities: (0x103f) SCT Status supported.
SCT Error Recovery Control 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 FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate POSR-- 117 099 006 - 119085566
3 Spin_Up_Time -O---- 099 098 000 - 0
4 Start_Stop_Count PO--CK 097 097 000 - 3461
5 Reallocated_Sector_Ct PO--CK 100 100 036 - 0
7 Seek_Error_Rate POSR-- 083 060 030 - 217989958
9 Power_On_Hours -O--CK 089 089 000 - 10435
10 Spin_Retry_Count PO--C- 100 100 097 - 0
12 Power_Cycle_Count PO--CK 098 098 020 - 2328
183 Runtime_Bad_Block -O--CK 100 253 000 - 57968
184 End-to-End_Error PO--CK 100 100 097 - 0
187 Reported_Uncorrect -O--CK 100 100 000 - 0
188 Command_Timeout -O--CK 100 001 000 - 58709
189 High_Fly_Writes -O-RCK 100 100 000 - 0
190 Airflow_Temperature_Cel -O---K 067 054 045 - 33 (Min/Max 29/33)
191 G-Sense_Error_Rate -O--CK 100 100 000 - 152
192 Power-Off_Retract_Count -O--CK 100 100 000 - 148
193 Load_Cycle_Count -O--CK 094 094 000 - 12083
194 Temperature_Celsius -O---K 033 046 000 - 33 (0 20 0 0 0)
195 Hardware_ECC_Recovered -O-RC- 052 025 000 - 119085566
196 Reallocated_Event_Count PO--CK 100 100 036 - 0
197 Current_Pending_Sector -O--C- 100 100 000 - 0
198 Offline_Uncorrectable ----C- 100 100 000 - 0
199 UDMA_CRC_Error_Count -OSRCK 200 194 000 - 57019
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning
General Purpose Log Directory Version 1
SMART Log Directory Version 1 [multi-sector log support]
Address Access R/W Size Description
0x00 GPL,SL R/O 1 Log Directory
0x01 GPL,SL R/O 1 Summary SMART error log
0x02 GPL,SL R/O 5 Comprehensive SMART error log
0x03 GPL,SL R/O 5 Ext. Comprehensive SMART error log
0x06 GPL,SL R/O 1 SMART self-test log
0x07 GPL,SL R/O 1 Extended self-test log
0x09 GPL,SL R/W 1 Selective self-test log
0x10 GPL,SL R/O 1 NCQ Command Error log
0x11 GPL,SL R/O 1 SATA Phy Event Counters
0x21 GPL,SL R/O 1 Write stream error log
0x22 GPL,SL R/O 1 Read stream error log
0x80-0x9f GPL,SL R/W 16 Host vendor specific log
0xa1 GPL,SL VS 20 Device vendor specific log
0xa2 GPL VS 2248 Device vendor specific log
0xa8 GPL,SL VS 65 Device vendor specific log
0xa9 GPL,SL VS 1 Device vendor specific log
0xb0 GPL VS 2864 Device vendor specific log
0xbe-0xbf GPL VS 65535 Device vendor specific log
0xe0 GPL,SL R/W 1 SCT Command/Status
0xe1 GPL,SL R/W 1 SCT Data Transfer
SMART Extended Comprehensive Error Log Version: 1 (5 sectors)
Device Error Count: 7
CR = Command Register
FEATR = Features Register
COUNT = Count (was: Sector Count) Register
LBA_48 = Upper bytes of LBA High/Mid/Low Registers ] ATA-8
LH = LBA High (was: Cylinder High) Register ] LBA
LM = LBA Mid (was: Cylinder Low) Register ] Register
LL = LBA Low (was: Sector Number) Register ]
DV = Device (was: Device/Head) Register
DC = Device Control Register
ER = Error register
ST = Status register
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 7 [6] occurred at disk power-on lifetime: 10429 hours (434 days + 13 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER -- ST COUNT LBA_48 LH LM LL DV DC
-- -- -- == -- == == == -- -- -- -- --
04 -- 51 00 00 00 00 17 3e 5a 2e 00 00
Commands leading to the command that caused the error were:
CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name
-- == -- == -- == == == -- -- -- -- -- --------------- --------------------
ea 00 00 00 00 00 00 00 00 00 00 a0 00 00:04:08.760 FLUSH CACHE EXT
61 00 00 00 08 00 00 17 39 98 80 40 00 00:04:08.760 WRITE FPDMA QUEUED
60 00 00 01 00 00 00 17 3a 98 b0 40 00 00:04:08.744 READ FPDMA QUEUED
60 00 00 00 e0 00 00 17 3a 97 b0 40 00 00:04:08.744 READ FPDMA QUEUED
60 00 00 00 18 00 00 17 3a 98 98 40 00 00:04:08.743 READ FPDMA QUEUED
Error 6 [5] occurred at disk power-on lifetime: 10380 hours (432 days + 12 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER -- ST COUNT LBA_48 LH LM LL DV DC
-- -- -- == -- == == == -- -- -- -- --
04 -- 71 00 04 00 00 00 80 87 81 e0 00 Device Fault; Error: ABRT
Commands leading to the command that caused the error were:
CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name
-- == -- == -- == == == -- -- -- -- -- --------------- --------------------
a1 00 00 00 00 00 00 00 00 00 00 a0 00 05:48:04.055 IDENTIFY PACKET DEVICE
ec 00 00 00 00 00 00 00 00 00 00 a0 00 05:48:04.055 IDENTIFY DEVICE
ff 00 00 00 00 00 00 00 00 00 00 00 00 05:48:03.743 [VENDOR SPECIFIC]
00 00 00 00 00 00 00 00 00 00 00 00 ff 05:48:03.743 NOP [Abort queued commands]
a1 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:58.727 IDENTIFY PACKET DEVICE
Error 5 [4] occurred at disk power-on lifetime: 10380 hours (432 days + 12 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER -- ST COUNT LBA_48 LH LM LL DV DC
-- -- -- == -- == == == -- -- -- -- --
04 -- 71 00 04 00 00 00 80 87 81 e0 00
Commands leading to the command that caused the error were:
CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name
-- == -- == -- == == == -- -- -- -- -- --------------- --------------------
ec 00 00 00 00 00 00 00 00 00 00 a0 00 05:48:04.055 IDENTIFY DEVICE
ff 00 00 00 00 00 00 00 00 00 00 00 00 05:48:03.743 [VENDOR SPECIFIC]
00 00 00 00 00 00 00 00 00 00 00 00 ff 05:48:03.743 NOP [Abort queued commands]
a1 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:58.727 IDENTIFY PACKET DEVICE
ec 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:58.726 IDENTIFY DEVICE
Error 4 [3] occurred at disk power-on lifetime: 10380 hours (432 days + 12 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER -- ST COUNT LBA_48 LH LM LL DV DC
-- -- -- == -- == == == -- -- -- -- --
04 -- 71 00 04 00 00 00 80 87 81 e0 00 Device Fault; Error: ABRT
Commands leading to the command that caused the error were:
CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name
-- == -- == -- == == == -- -- -- -- -- --------------- --------------------
a1 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:58.727 IDENTIFY PACKET DEVICE
ec 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:58.726 IDENTIFY DEVICE
ff 00 00 00 00 00 00 00 00 00 00 00 00 05:47:58.414 [VENDOR SPECIFIC]
00 00 00 00 00 00 00 00 00 00 00 00 ff 05:47:58.414 NOP [Abort queued commands]
a1 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:53.435 IDENTIFY PACKET DEVICE
Error 3 [2] occurred at disk power-on lifetime: 10380 hours (432 days + 12 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER -- ST COUNT LBA_48 LH LM LL DV DC
-- -- -- == -- == == == -- -- -- -- --
04 -- 71 00 04 00 00 00 80 87 81 e0 00
Commands leading to the command that caused the error were:
CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name
-- == -- == -- == == == -- -- -- -- -- --------------- --------------------
ec 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:58.726 IDENTIFY DEVICE
ff 00 00 00 00 00 00 00 00 00 00 00 00 05:47:58.414 [VENDOR SPECIFIC]
00 00 00 00 00 00 00 00 00 00 00 00 ff 05:47:58.414 NOP [Abort queued commands]
a1 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:53.435 IDENTIFY PACKET DEVICE
ec 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:53.398 IDENTIFY DEVICE
Error 2 [1] occurred at disk power-on lifetime: 10380 hours (432 days + 12 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER -- ST COUNT LBA_48 LH LM LL DV DC
-- -- -- == -- == == == -- -- -- -- --
04 -- 71 00 04 00 00 00 80 87 81 e0 00 Device Fault; Error: ABRT
Commands leading to the command that caused the error were:
CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name
-- == -- == -- == == == -- -- -- -- -- --------------- --------------------
a1 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:53.435 IDENTIFY PACKET DEVICE
ec 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:53.398 IDENTIFY DEVICE
00 00 00 00 00 00 00 00 00 00 00 00 ff 05:47:53.087 NOP [Abort queued commands]
61 00 00 04 00 00 00 18 bf 58 00 40 00 05:47:52.980 WRITE FPDMA QUEUED
61 00 00 04 00 00 00 18 bf 5c 00 40 00 05:47:52.980 WRITE FPDMA QUEUED
Error 1 [0] occurred at disk power-on lifetime: 10380 hours (432 days + 12 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER -- ST COUNT LBA_48 LH LM LL DV DC
-- -- -- == -- == == == -- -- -- -- --
04 -- 71 00 04 00 00 00 80 87 81 e0 00
Commands leading to the command that caused the error were:
CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name
-- == -- == -- == == == -- -- -- -- -- --------------- --------------------
ec 00 00 00 00 00 00 00 00 00 00 a0 00 05:47:53.398 IDENTIFY DEVICE
00 00 00 00 00 00 00 00 00 00 00 00 ff 05:47:53.087 NOP [Abort queued commands]
61 00 00 04 00 00 00 18 bf 58 00 40 00 05:47:52.980 WRITE FPDMA QUEUED
61 00 00 04 00 00 00 18 bf 5c 00 40 00 05:47:52.980 WRITE FPDMA QUEUED
61 00 00 04 00 00 00 18 bf 60 00 40 00 05:47:52.979 WRITE FPDMA QUEUED
SMART Extended Self-test Log Version: 1 (1 sectors)
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 10428 -
# 2 Short offline Aborted by host 60% 10428 -
# 3 Extended offline Completed without error 00% 10393 -
# 4 Short offline Completed without error 00% 10391 -
# 5 Short offline Completed without error 00% 10389 -
# 6 Short offline Aborted by host 90% 10183 -
# 7 Short offline Aborted by host 90% 9725 -
# 8 Extended offline Aborted by host 90% 3 -
# 9 Short offline Completed without error 00% 3 -
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.
SCT Status Version: 3
SCT Version (vendor specific): 522 (0x020a)
SCT Support Level: 1
Device State: Active (0)
Current Temperature: 33 Celsius
Power Cycle Min/Max Temperature: 29/33 Celsius
Lifetime Min/Max Temperature: 20/46 Celsius
Under/Over Temperature Limit Count: 0/12
SCT Temperature History Version: 2
Temperature Sampling Period: 1 minute
Temperature Logging Interval: 1 minute
Min/Max recommended Temperature: 0/ 0 Celsius
Min/Max Temperature Limit: 0/ 0 Celsius
Temperature History Size (Index): 128 (105)
Index Estimated Time Temperature Celsius
106 2014-12-24 18:04 35 ****************
... ..(113 skipped). .. ****************
92 2014-12-24 19:58 35 ****************
93 2014-12-24 19:59 ? -
94 2014-12-24 20:00 29 **********
95 2014-12-24 20:01 29 **********
96 2014-12-24 20:02 30 ***********
97 2014-12-24 20:03 31 ************
98 2014-12-24 20:04 31 ************
99 2014-12-24 20:05 31 ************
100 2014-12-24 20:06 32 *************
101 2014-12-24 20:07 32 *************
102 2014-12-24 20:08 32 *************
103 2014-12-24 20:09 33 **************
104 2014-12-24 20:10 33 **************
105 2014-12-24 20:11 33 **************
SCT Error Recovery Control:
Read: Disabled
Write: Disabled
Device Statistics (GP Log 0x04) not supported
SATA Phy Event Counters (GP Log 0x11)
ID Size Value Description
0x000a 2 3 Device-to-host register FISes sent due to a COMRESET
0x0001 2 0 Command failed due to ICRC error
0x0003 2 0 R_ERR response for device-to-host data FIS
0x0004 2 0 R_ERR response for host-to-device data FIS
0x0006 2 0 R_ERR response for device-to-host non-data FIS
0x0007 2 1 R_ERR response for host-to-device non-data FIS
martinusadyh@martinusadyh:[~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment