Created
March 16, 2022 15:21
-
-
Save zeroxia/75cedb202fdc6b64461b3d8367811f1b to your computer and use it in GitHub Desktop.
Misfortune of a Seagate HDD: Seagate Desktop HDD.15 (ST5000DM000-1FK178)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.34-1-pve] (local build) | |
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org | |
=== START OF INFORMATION SECTION === | |
Model Family: Seagate Desktop HDD.15 | |
Device Model: ST5000DM000-1FK178 | |
Serial Number: W4J0BAVZ | |
LU WWN Device Id: 5 000c50 07d53b6c5 | |
Firmware Version: CC46 | |
User Capacity: 5,000,981,078,016 bytes [5.00 TB] | |
Sector Sizes: 512 bytes logical, 4096 bytes physical | |
Rotation Rate: 5980 rpm | |
Device is: In smartctl database [for details use: -P show] | |
ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b | |
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) | |
Local Time is: Wed Mar 16 20:38:32 2022 CST | |
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 | |
DSN feature is: Unavailable | |
ATA Security is: Disabled, NOT FROZEN [SEC1] | |
Wt Cache Reorder: Enabled | |
=== START OF READ SMART DATA SECTION === | |
SMART overall-health self-assessment test result: PASSED | |
See vendor-specific Attribute list for marginal Attributes. | |
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: ( 615) minutes. | |
Conveyance self-test routine | |
recommended polling time: ( 2) minutes. | |
SCT capabilities: (0x3035) 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 FLAGS VALUE WORST THRESH FAIL RAW_VALUE | |
1 Raw_Read_Error_Rate POSR-- 116 087 006 - 108694448 | |
3 Spin_Up_Time PO---- 092 092 000 - 0 | |
4 Start_Stop_Count -O--CK 098 098 020 - 2527 | |
5 Reallocated_Sector_Ct PO--CK 100 100 010 - 0 | |
7 Seek_Error_Rate POSR-- 075 060 030 - 155624977889 | |
9 Power_On_Hours -O--CK 054 054 000 - 40962 | |
10 Spin_Retry_Count PO--C- 100 100 097 - 0 | |
12 Power_Cycle_Count -O--CK 098 098 020 - 2525 | |
183 Runtime_Bad_Block -O--CK 099 099 000 - 1 | |
184 End-to-End_Error -O--CK 100 100 099 - 0 | |
187 Reported_Uncorrect -O--CK 100 100 000 - 0 | |
188 Command_Timeout -O--CK 100 099 000 - 2 2 6 | |
189 High_Fly_Writes -O-RCK 070 070 000 - 30 | |
190 Airflow_Temperature_Cel -O---K 035 023 045 NOW 65 (255 255 68 54 0) | |
191 G-Sense_Error_Rate -O--CK 001 001 000 - 226118 | |
192 Power-Off_Retract_Count -O--CK 100 100 000 - 33 | |
193 Load_Cycle_Count -O--CK 065 065 000 - 71545 | |
194 Temperature_Celsius -O---K 065 077 000 - 65 (0 12 0 0 0) | |
195 Hardware_ECC_Recovered -O-RC- 116 100 000 - 108694448 | |
197 Current_Pending_Sector -O--C- 100 100 000 - 248 | |
198 Offline_Uncorrectable ----C- 100 100 000 - 248 | |
199 UDMA_CRC_Error_Count -OSRCK 200 200 000 - 0 | |
240 Head_Flying_Hours ------ 100 253 000 - 34892h+31m+01.742s | |
241 Total_LBAs_Written ------ 100 253 000 - 128985184904 | |
242 Total_LBAs_Read ------ 100 253 000 - 376249589354 | |
||||||_ 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 SL R/O 1 Summary SMART error log | |
0x02 SL R/O 5 Comprehensive SMART error log | |
0x03 GPL R/O 5 Ext. Comprehensive SMART error log | |
0x06 SL R/O 1 SMART self-test log | |
0x07 GPL R/O 1 Extended self-test log | |
0x09 SL R/W 1 Selective self-test log | |
0x10 GPL R/O 1 NCQ Command Error log | |
0x11 GPL R/O 1 SATA Phy Event Counters log | |
0x21 GPL R/O 8 Write stream error log | |
0x22 GPL R/O 8 Read stream error log | |
0x24 GPL R/O 512 Current Device Internal Status Data log | |
0x30 GPL,SL R/O 9 IDENTIFY DEVICE data log | |
0x80-0x9f GPL,SL R/W 16 Host vendor specific log | |
0xa1 GPL,SL VS 24 Device vendor specific log | |
0xa2 GPL VS 8160 Device vendor specific log | |
0xa8 GPL,SL VS 136 Device vendor specific log | |
0xa9 GPL,SL VS 1 Device vendor specific log | |
0xab GPL VS 1 Device vendor specific log | |
0xb0 GPL VS 8920 Device vendor specific log | |
0xbe-0xbf GPL VS 65528 Device vendor specific log | |
0xc0 GPL,SL VS 1 Device vendor specific log | |
0xc1 GPL,SL VS 16 Device vendor specific log | |
0xc2 GPL,SL VS 56 Device vendor specific log | |
0xc4 GPL,SL VS 24 Device vendor specific log | |
0xc7 GPL,SL VS 8 Device vendor specific log | |
0xd1 GPL,SL VS 64 Device vendor specific log | |
0xd3 GPL VS 1920 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) | |
No Errors Logged | |
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% 20148 - | |
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) | |
Device State: Active (0) | |
Current Temperature: 65 Celsius | |
Power Cycle Min/Max Temperature: 54/68 Celsius | |
Lifetime Min/Max Temperature: 12/77 Celsius | |
Under/Over Temperature Limit Count: 0/2334 | |
SCT Temperature History Version: 2 | |
Temperature Sampling Period: 3 minutes | |
Temperature Logging Interval: 59 minutes | |
Min/Max recommended Temperature: 14/55 Celsius | |
Min/Max Temperature Limit: 10/60 Celsius | |
Temperature History Size (Index): 128 (80) | |
Index Estimated Time Temperature Celsius | |
81 2022-03-11 14:51 60 ***************************************+ | |
... ..( 20 skipped). .. ***************************************+ | |
102 2022-03-12 11:30 60 ***************************************+ | |
103 2022-03-12 12:29 61 ***************************************+ | |
... ..( 20 skipped). .. ***************************************+ | |
124 2022-03-13 09:08 61 ***************************************+ | |
125 2022-03-13 10:07 62 ***************************************+ | |
... ..( 24 skipped). .. ***************************************+ | |
22 2022-03-14 10:42 62 ***************************************+ | |
23 2022-03-14 11:41 63 ***************************************+ | |
... ..( 14 skipped). .. ***************************************+ | |
38 2022-03-15 02:26 63 ***************************************+ | |
39 2022-03-15 03:25 62 ***************************************+ | |
... ..( 31 skipped). .. ***************************************+ | |
71 2022-03-16 10:53 62 ***************************************+ | |
72 2022-03-16 11:52 63 ***************************************+ | |
73 2022-03-16 12:51 63 ***************************************+ | |
74 2022-03-16 13:50 65 ***************************************+ | |
75 2022-03-16 14:49 66 ***************************************+ | |
76 2022-03-16 15:48 67 ***************************************+ | |
77 2022-03-16 16:47 67 ***************************************+ | |
78 2022-03-16 17:46 67 ***************************************+ | |
79 2022-03-16 18:45 68 ***************************************+ | |
80 2022-03-16 19:44 66 ***************************************+ | |
SCT Error Recovery Control command not supported | |
Device Statistics (GP/SMART Log 0x04) not supported | |
Pending Defects log (GP Log 0x0c) 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 0 R_ERR response for host-to-device non-data FIS | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dev/sdb: | |
ATA device, with non-removable media | |
Model Number: ST5000DM000-1FK178 | |
Serial Number: W4J0BAVZ | |
Firmware Revision: CC46 | |
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0 | |
Standards: | |
Used: unknown (minor revision code 0x001f) | |
Supported: 9 8 7 6 5 | |
Likely used: 9 | |
Configuration: | |
Logical max current | |
cylinders 16383 16383 | |
heads 16 16 | |
sectors/track 63 63 | |
-- | |
CHS current addressable sectors: 16514064 | |
LBA user addressable sectors: 268435455 | |
LBA48 user addressable sectors: 9767541168 | |
Logical Sector size: 512 bytes | |
Physical Sector size: 4096 bytes | |
Logical Sector-0 offset: 0 bytes | |
device size with M = 1024*1024: 4769307 MBytes | |
device size with M = 1000*1000: 5000981 MBytes (5000 GB) | |
cache/buffer size = 16384 KBytes | |
Nominal Media Rotation Rate: 5980 | |
Capabilities: | |
LBA, IORDY(can be disabled) | |
Queue depth: 32 | |
Standby timer values: spec'd by Standard, no device specific minimum | |
R/W multiple sector transfer: Max = 16 Current = ? | |
Advanced power management level: 254 | |
Recommended acoustic management value: 208, current value: 208 | |
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 | |
Cycle time: min=120ns recommended=120ns | |
PIO: pio0 pio1 pio2 pio3 pio4 | |
Cycle time: no flow control=120ns IORDY flow control=120ns | |
Commands/features: | |
Enabled Supported: | |
* SMART feature set | |
Security Mode feature set | |
* Power Management feature set | |
* Write cache | |
* Look-ahead | |
* Host Protected Area feature set | |
* WRITE_BUFFER command | |
* READ_BUFFER command | |
* DOWNLOAD_MICROCODE | |
* Advanced Power Management feature set | |
Power-Up In Standby feature set | |
* SET_FEATURES required to spinup after power up | |
SET_MAX security extension | |
* 48-bit Address feature set | |
* Device Configuration Overlay feature set | |
* Mandatory FLUSH_CACHE | |
* FLUSH_CACHE_EXT | |
* SMART error logging | |
* SMART self-test | |
* General Purpose Logging feature set | |
* WRITE_{DMA|MULTIPLE}_FUA_EXT | |
* 64-bit World wide name | |
* IDLE_IMMEDIATE with UNLOAD | |
* WRITE_UNCORRECTABLE_EXT command | |
* {READ,WRITE}_DMA_EXT_GPL commands | |
* Segmented DOWNLOAD_MICROCODE | |
* unknown 119[6] | |
* Gen1 signaling speed (1.5Gb/s) | |
* Gen2 signaling speed (3.0Gb/s) | |
* Gen3 signaling speed (6.0Gb/s) | |
* Native Command Queueing (NCQ) | |
* Phy event counters | |
* Idle-Unload when NCQ is active | |
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT | |
* DMA Setup Auto-Activate optimization | |
Device-initiated interface power management | |
* Software settings preservation | |
unknown 78[7] | |
* SMART Command Transport (SCT) feature set | |
* SCT Write Same (AC2) | |
* SCT Features Control (AC4) | |
* SCT Data Tables (AC5) | |
unknown 206[12] (vendor specific) | |
unknown 206[13] (vendor specific) | |
Security: | |
Master password revision code = 65534 | |
supported | |
not enabled | |
not locked | |
not frozen | |
not expired: security count | |
supported: enhanced erase | |
616min for SECURITY ERASE UNIT. 616min for ENHANCED SECURITY ERASE UNIT. | |
Logical Unit WWN Device Identifier: 5000c5007d53b6c5 | |
NAA : 5 | |
IEEE OUI : 000c50 | |
Unique ID : 07d53b6c5 | |
Checksum: correct |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
hdparm --user-master u --security-set-pass llformat /dev/sdb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dev/sdb: | |
ATA device, with non-removable media | |
Model Number: ST5000DM000-1FK178 | |
Serial Number: W4J0BAVZ | |
Firmware Revision: CC46 | |
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0 | |
Standards: | |
Used: unknown (minor revision code 0x001f) | |
Supported: 9 8 7 6 5 | |
Likely used: 9 | |
Configuration: | |
Logical max current | |
cylinders 16383 16383 | |
heads 16 16 | |
sectors/track 63 63 | |
-- | |
CHS current addressable sectors: 16514064 | |
LBA user addressable sectors: 268435455 | |
LBA48 user addressable sectors: 9767541168 | |
Logical Sector size: 512 bytes | |
Physical Sector size: 4096 bytes | |
Logical Sector-0 offset: 0 bytes | |
device size with M = 1024*1024: 4769307 MBytes | |
device size with M = 1000*1000: 5000981 MBytes (5000 GB) | |
cache/buffer size = 16384 KBytes | |
Nominal Media Rotation Rate: 5980 | |
Capabilities: | |
LBA, IORDY(can be disabled) | |
Queue depth: 32 | |
Standby timer values: spec'd by Standard, no device specific minimum | |
R/W multiple sector transfer: Max = 16 Current = ? | |
Advanced power management level: 254 | |
Recommended acoustic management value: 208, current value: 208 | |
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 | |
Cycle time: min=120ns recommended=120ns | |
PIO: pio0 pio1 pio2 pio3 pio4 | |
Cycle time: no flow control=120ns IORDY flow control=120ns | |
Commands/features: | |
Enabled Supported: | |
* SMART feature set | |
* Security Mode feature set | |
* Power Management feature set | |
* Write cache | |
* Look-ahead | |
* Host Protected Area feature set | |
* WRITE_BUFFER command | |
* READ_BUFFER command | |
* DOWNLOAD_MICROCODE | |
* Advanced Power Management feature set | |
Power-Up In Standby feature set | |
* SET_FEATURES required to spinup after power up | |
SET_MAX security extension | |
* 48-bit Address feature set | |
* Device Configuration Overlay feature set | |
* Mandatory FLUSH_CACHE | |
* FLUSH_CACHE_EXT | |
* SMART error logging | |
* SMART self-test | |
* General Purpose Logging feature set | |
* WRITE_{DMA|MULTIPLE}_FUA_EXT | |
* 64-bit World wide name | |
* IDLE_IMMEDIATE with UNLOAD | |
* WRITE_UNCORRECTABLE_EXT command | |
* {READ,WRITE}_DMA_EXT_GPL commands | |
* Segmented DOWNLOAD_MICROCODE | |
* unknown 119[6] | |
* Gen1 signaling speed (1.5Gb/s) | |
* Gen2 signaling speed (3.0Gb/s) | |
* Gen3 signaling speed (6.0Gb/s) | |
* Native Command Queueing (NCQ) | |
* Phy event counters | |
* Idle-Unload when NCQ is active | |
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT | |
* DMA Setup Auto-Activate optimization | |
Device-initiated interface power management | |
* Software settings preservation | |
unknown 78[7] | |
* SMART Command Transport (SCT) feature set | |
* SCT Write Same (AC2) | |
* SCT Features Control (AC4) | |
* SCT Data Tables (AC5) | |
unknown 206[12] (vendor specific) | |
unknown 206[13] (vendor specific) | |
Security: | |
Master password revision code = 65534 | |
supported | |
enabled | |
not locked | |
not frozen | |
not expired: security count | |
supported: enhanced erase | |
Security level high | |
616min for SECURITY ERASE UNIT. 616min for ENHANCED SECURITY ERASE UNIT. | |
Logical Unit WWN Device Identifier: 5000c5007d53b6c5 | |
NAA : 5 | |
IEEE OUI : 000c50 | |
Unique ID : 07d53b6c5 | |
Checksum: correct |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
hdparm --user-master u --security-erase llformat /dev/sdb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
After step 05, before it's completed, I forced power off the machine. Now disk is (almost) completely not detected by machine: | |
[ 260.989853] ata3: softreset failed (1st FIS failed) | |
[ 271.048859] ata3: softreset failed (device not ready) | |
[ 306.045400] ata3: softreset failed (1st FIS failed) | |
[ 311.240892] ata3: softreset failed (device not ready) | |
[ 311.240985] ata3: reset failed, giving up | |
Hope the "erase" procedure is continuing as the disk is powered, will wait for 10 hours to see. | |
REF: | |
https://ipv5.wordpress.com/2008/04/14/list-of-hard-disk-ata-master-passwords/ | |
https://grok.lsu.edu/article.aspx?articleid=16716 | |
https://askubuntu.com/questions/253096/low-level-format-of-hard-drive | |
https://community.wd.com/t/secure-erase-failed-on-western-digital-blue-1tb-drive-firmware-repair-help-needed-please/17675/11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment