greg.freemyer@gmail.com composed on 2015-03-15 08:46 (UTC-0400):
# smartctl -l selftest /dev/sda === 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% 27071 252915937 # 2 Extended offline Completed: read failure 90% 27070 252915955 # 3 Conveyance offline Completed without error 00% 27051 - # 4 Extended offline Completed: read failure 90% 27046 460886821 # 5 Short offline Completed without error 00% 3 -
Read failures at 125 gb and 230 gb roughly
LBA@ interpretation completely escaped my notice. :-p The only two things that got my attention were the "read failure"s and "90%"s. :-(
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 9 Power_On_Hours 0x0032 063 063 000 Old_age Always - 27074 197 Current_Pending_Sector 0x0032 195 173 000 Old_age Always - 306 smartctl -x data: http://fm.no-ip.com/Tmp/Hardware/Disk/smart-wdAVGP3200AVVS.txt
The tests are finding media errors. The pending bad sectors is 306.
For a lot of drives actual sector reallocation only happens on write, so those bad sectors will stay bad until you write to them.
So non-zero pending sectors seems to be one of the redder flags, and 306 of them means really bad news. IIRC, this was my first-ever purchase of WD for personal use. Trouble started before 3 years of uptime, but after warranty expired. My first ever personal purchase of a HD was a Seagate, which on a 12 month warranty expired at age 13 months. Next purchase was Quantum. While it existed, I bought virtually nothing else. I tried a Maxtor shortly after the first Quantum, an experience causing me to classify it with WD and Seagate as do not buy. Naturally the expiration and consolidation of brands since then has forced adaptation. When the choice dwindled to only Seagate and WD for 3.5", I stuck with Seagate as the closer adherent to published standards. I did buy Toshiba 3.5" twice last year. One is still installed. The other had to be returned.
Personally I'd toss that drive.
That will happen as soon as I decide what will be replacing it, and how, discussed in the 4k subthread.
If you want to salvage it, boot a live CD / DVD and run a data data destroying sequence like:
dd if=/dev/zero of=/dev/sda conv=noerror bs=4k
That should force all pending sector reallocates to happen. (of course it wipes your drive in the process).
dd if=/dev/sda of=/dev/null conv=noerror bs=4k
Consider that a diagnostic; it will report the number of failed sectors in the output. If that reports any errors on the second dd, think very hard about tossing the drive.
If you are still thinking about keeping it, then use shred to exercise the disk even more.
shred --verbose -n1 /dev/sda
That will write a single pass of pseudo random data to the drive.
Then repeat the above dd read of the entire drive.
If the dd reports any read errors, repeat the shred/dd pair until you get at least one totally clean run.
Much thanks for your response. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org