Skip to content

Instantly share code, notes, and snippets.

@dainiuxt
Created January 29, 2018 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dainiuxt/f6680dd662548f4f15ddee85cd9e70b7 to your computer and use it in GitHub Desktop.
Save dainiuxt/f6680dd662548f4f15ddee85cd9e70b7 to your computer and use it in GitHub Desktop.
hdd error
sudo smartctl --all /dev/sda
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.10.0-28-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba 2.5" HDD MK..76GSX
Device Model: TOSHIBA MK6476GSX
Serial Number: 22DDPAMST
LU WWN Device Id: 5 000039 3d2786cc0
Firmware Version: GS001C
User Capacity: 640,135,028,736 bytes [640 GB]
Sector Size: 512 bytes logical/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 (minor revision not indicated)
SATA Version is: SATA 2.6, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Mon Jan 29 05:37:44 2018 UTC
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: ( 121) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: ( 120) 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: ( 177) minutes.
SCT capabilities: (0x003f) 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 0x002f 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0027 100 100 050 Pre-fail Always - 0
3 Spin_Up_Time 0x0023 100 100 002 Pre-fail Always - 2070
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 3422
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x002f 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0025 100 100 050 Pre-fail Offline - 0
9 Power_On_Minutes 0x0032 060 060 000 Old_age Always - 270h+49m
10 Spin_Retry_Count 0x0033 168 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 3419
183 Runtime_Bad_Block 0x0032 100 100 001 Old_age Always - 1
184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0
185 Unknown_Attribute 0x0032 100 100 001 Old_age Always - 65535
187 Reported_Uncorrect 0x0032 001 001 000 Old_age Always - 65535
188 Command_Timeout 0x0032 100 099 000 Old_age Always - 9
189 High_Fly_Writes 0x003a 100 100 001 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 074 050 040 Old_age Always - 26 (Min/Max 21/26)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 34316
192 Power-Off_Retract_Count 0x0022 100 100 000 Old_age Always - 3604535
193 Load_Cycle_Count 0x0032 069 069 000 Old_age Always - 314514
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 9
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 65535 (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 65535 occurred at disk power-on lifetime: 16244 hours (676 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
-- -- -- -- -- -- --
40 41 32 84 2b 02 66 Error: UNC at LBA = 0x06022b84 = 100805508
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 38 30 50 2b 02 40 00 07:24:37.550 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 07:24:37.550 READ LOG EXT
60 38 20 50 2b 02 40 00 07:24:33.128 READ FPDMA QUEUED
ec 00 00 00 00 00 00 00 07:24:32.135 IDENTIFY DEVICE
ef 02 00 00 00 00 40 00 07:24:32.135 SET FEATURES [Enable write cache]
Error 65534 occurred at disk power-on lifetime: 16244 hours (676 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
-- -- -- -- -- -- --
40 41 22 84 2b 02 66 Error: UNC at LBA = 0x06022b84 = 100805508
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 38 20 50 2b 02 40 00 07:24:33.128 READ FPDMA QUEUED
ec 00 00 00 00 00 00 00 07:24:32.135 IDENTIFY DEVICE
ef 02 00 00 00 00 40 00 07:24:32.135 SET FEATURES [Enable write cache]
ef 03 45 00 00 00 40 00 07:24:32.135 SET FEATURES [Set transfer mode]
c6 00 10 00 00 00 40 00 07:24:32.135 SET MULTIPLE MODE
Error 65533 occurred at disk power-on lifetime: 16244 hours (676 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
-- -- -- -- -- -- --
40 41 da 84 2b 02 66 Error: UNC at LBA = 0x06022b84 = 100805508
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 38 d8 50 2b 02 40 00 07:22:46.282 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 07:22:46.281 READ LOG EXT
60 38 c8 50 2b 02 40 00 07:22:42.271 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 07:22:42.270 READ LOG EXT
60 38 b8 50 2b 02 40 00 07:22:38.259 READ FPDMA QUEUED
Error 65532 occurred at disk power-on lifetime: 16244 hours (676 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
-- -- -- -- -- -- --
40 41 ca 84 2b 02 66 Error: UNC at LBA = 0x06022b84 = 100805508
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 38 c8 50 2b 02 40 00 07:22:42.271 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 07:22:42.270 READ LOG EXT
60 38 b8 50 2b 02 40 00 07:22:38.259 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 07:22:38.259 READ LOG EXT
60 38 a8 50 2b 02 40 00 07:22:34.248 READ FPDMA QUEUED
Error 65531 occurred at disk power-on lifetime: 16244 hours (676 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
-- -- -- -- -- -- --
40 41 ba 84 2b 02 66 Error: UNC at LBA = 0x06022b84 = 100805508
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 38 b8 50 2b 02 40 00 07:22:38.259 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 07:22:38.259 READ LOG EXT
60 38 a8 50 2b 02 40 00 07:22:34.248 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 07:22:34.248 READ LOG EXT
60 38 98 50 2b 02 40 00 07:22:30.237 READ 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: read failure 90% 16233 6229462
# 2 Short offline Completed: read failure 90% 16233 6229462
# 3 Short offline Completed without error 00% 8191 -
# 4 Short offline Completed without error 00% 8136 -
# 5 Short offline Completed without error 00% 8136 -
# 6 Short offline Completed without error 00% 8114 -
# 7 Short offline Completed without error 00% 8102 -
# 8 Short offline Completed without error 00% 8075 -
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