SmartCtl Examples: A failed SATA2 Seagate 500GB Disk
A good example of a failing Seagate SATA2 OEM 500GB disk,
which was only up about 2 years. No big stress on it, just treat it as external ISO image backup disk.
SMARTctrl messages that proved the SATA disk is failed or likely failling:
(1) Bad blocks reallocat fulled!
e.g.
5 Reallocated_Sector_Ct 0x0033 012 012 036 Pre-fail Always FAILING_NOW 1815
(2) UNC Error found => UNC errors denotes "UNCorrectable Errors"
e.g. 40 51 00 ba 22 61 00 Error: UNC at LBA = 0x006122ba = 6365882
(3) Short and Long S.M.A.R.T Self-Test all completed w/ "Unknown failure"
e.g.
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed: unknown failure 90% 14686 0
# 2 Short offline Completed: unknown failure 90% 14686 0
More detailed of smartctl example on a failing disk
代碼:
$ smartctl -t short /dev/sda
$ smartctl -t long /dev/sda
$ smartctl -a /dev/sda
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.7.7-200.fc24.x86_64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Momentus 5400.6
Device Model: ST9500325AS
Serial Number: S2WEZ0GR
LU WWN Device Id: 5 000c50 04aef2543
Firmware Version: 0001SDM1
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: Mon Nov 28 19:44:41 2016 CST
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: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 73) The previous self-test completed having
a test element that failed and the test
element that failed is not known.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x73) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
No 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: ( 136) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x103b) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Error Log Version: 1
ATA Error Count: 14971 (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 14971 occurred at disk power-on lifetime: 14686 hours ( 611 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 ba 22 61 00 Error: UNC at LBA = 0x006122ba = 6365882
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 00 00 22 61 40 00 00:07:18.095 READ FPDMA QUEUED
25 03 08 78 08 60 40 00 00:07:17.805 READ DMA EXT
ef 03 46 78 08 60 00 00 00:07:17.756 SET FEATURES [Set transfer mode]
ef 03 0c 78 08 60 00 00 00:07:17.756 SET FEATURES [Set transfer mode]
ec 08 70 78 08 60 00 00 00:07:17.755 IDENTIFY DEVICE
Error 14970 occurred at disk power-on lifetime: 14685 hours ( 611 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 ba 22 61 00 Error: UNC at LBA = 0x006122ba = 6365882
Error 14969 occurred at disk power-on lifetime: 14685 hours ( 611 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 ba 22 61 00 Error: UNC at LBA = 0x006122ba = 6365882
Error 14968 occurred at disk power-on lifetime: 14685 hours ( 611 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 ba 22 61 00 Error: UNC at LBA = 0x006122ba = 6365882
Error 14967 occurred at disk power-on lifetime: 14685 hours ( 611 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 ba 22 61 00 Error: UNC at LBA = 0x006122ba = 6365882