Skip to content

Instantly share code, notes, and snippets.

@theonewolf
Last active January 4, 2016 03:09
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 theonewolf/8560205 to your computer and use it in GitHub Desktop.
Save theonewolf/8560205 to your computer and use it in GitHub Desktop.
disk failure investigation
➜ ~>sudo dd if=/dev/zero of=/dev/sdb bs=4096
[sudo] password for wolf:
dd: writing `/dev/sdb': No space left on device
244190647+0 records in
244190646+0 records out
1000204886016 bytes (1.0 TB) copied, 39976.3 s, 25.0 MB/s
Error 51460 occurred at disk power-on lifetime: 7096 hours (295 days + 16 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 08 ff ff ff 4f 00 17:58:32.025 WRITE FPDMA QUEUED
61 00 08 ff ff ff 4f 00 17:58:32.025 WRITE FPDMA QUEUED
61 00 08 ff ff ff 4f 00 17:58:32.025 WRITE FPDMA QUEUED
61 00 08 ff ff ff 4f 00 17:58:32.025 WRITE FPDMA QUEUED
61 00 08 ff ff ff 4f 00 17:58:32.025 WRITE FPDMA QUEUED
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 7167 -
# 2 Extended offline Completed without error 00% 7142 -
# 3 Extended offline Completed: read failure 90% 7096 1596239840
# 4 Extended offline Completed: read failure 90% 7096 1596239840
# 5 Short offline Completed without error 00% 3 -
# 6 Short offline Completed without error 00% 0 -
2 of 2 failed self-tests are outdated by newer successful extended offline self-test # 1
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 7142 -
# 2 Extended offline Completed: read failure 90% 7096 1596239840
# 3 Extended offline Completed: read failure 90% 7096 1596239840
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed: read failure 90% 7096 1596239840
# 2 Extended offline Completed: read failure 90% 7096 1596239840
# 3 Short offline Completed without error 00% 3 -
# 4 Short offline Completed without error 00% 0 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment