brent timothy saner on 14 Jun 2019 07:45:42 -0700
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Is My Disk Toast?
|
- From: brent timothy saner <brent.saner@gmail.com>
- To: plug@lists.phillylinux.org
- Subject: Re: [PLUG] Is My Disk Toast?
- Date: Fri, 14 Jun 2019 10:45:15 -0400
- Autocrypt: addr=brent.saner@gmail.com; prefer-encrypt=mutual; keydata= mQINBFKm0mgBEADSI5oeyqRYZ8YWxPbux4CeqaMNh4etuyJmglDRCQB9t1XlvhMDLZWQNqm+ ORBN3YGISUu+X55p10lK/O1w/85zXkAV7Qe6fkvUzSx0tbPWLu4rn4zH9JgTExElhFRv143H W/EKehejEetkNz6JSwGUXNiF5qh1GbKLOmShbmCSKXLcmw05Qj4ELmhkH9OWXpeM0EHmWIEK VSeoIim/g1MYYxKOb1wY3DEubY9zn3lfz9xfLq/xlFMepDyNAEer/qZDSHQqnymdqXlt6L9e mfd4snHLiDfUgG9JOPeMDWeT6XWJDtKKCcZ3JDSMEGgZsFYpwJxJEwPxnfhHJmH8ENxi/8Cu 0fLFvzgAP+VK/Z1egBI7l241fDDREg3e+NWFhUM5bjwBmqk1z8nkRdru+QSMtPl6Erkd+Tbp 7lGGpQwCbI6esdBPkx/nV8+fIPEcsR2G5jG7O9U4J6q3B1nRFrR863SJHudIWV/l59ZvA8kI knDYNOixPLmnoRrO7LNIWe9jpnkZdg34Aa5AjAjGEKwY5EAzqkKuPEMVGqg/36YUcnqYS98W iVgCpaGg6KJqCMVXBfugxd79rtkyT4Oeju/z/Yp2xxXm3Pqcocb1CxbiEYDLJNT7/hyIJ072 4asMz2DTDMIMciP93hPraEtINknPlerNX2XqK03D+gyBGqAL7QARAQABtCtCcmVudCBUaW1v dGh5IFNhbmVyIDxicmVudC5zYW5lckBnbWFpbC5jb20+iQI8BBMBAgAmAhsDBwsJCAcDAgEG FQgCCQoLBBYCAwECHgECF4AFAlLzvnsCGQEACgkQjABML5NIH2vQ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ed; d=gmail.com; s=20161025; h=to:references:from:openpgp:autocrypt:subject:message-id:date :user-agent:mime-version:in-reply-to; bh=2Evh4xV2JuL9FSZSsxdNaJk9Flxy/8E0Kn0S7vlTPHo=; b=R8QPdio1MQsgLiYbte6h7AE9Cv9+ogMD/lAJ2sUPvZ8gE7V0KHheRtJILmLbKFqVv4 /TKbqUUv9EPsgn7zniBlpHO6FYiBSLGgfxxCR3DD40Pn6bIkk6Smx3Z7HlILXgyABCSY b+Uur29mkifH9gnzLgX4bD2SSHiHMqqrALGpE9IaAOkMUn9xlGzTA8XKkYUov5+pQ9D3 9rChLFIcTOOXKUiyAsIf/BpMddxthpl9R5FCdkgc/PVyxqkDKwsL4h/pBDbuGAePvkQB rn8slu9dFejAakbnOKIIDyNVFE+FP4pzriw7tvU2E8F52ixzBWoCfu0/IDudiprchAdZ 1gyQ==
- Openpgp: id=748231EBCBD808A14F5E85D28C004C2F93481F6B
- Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
- Sender: "plug" <plug-bounces@lists.phillylinux.org>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
On 6/14/19 9:10 AM, Louis K wrote:
> I've got a HDD that starting throwing errors to dmesg (below). It
> happened on about 8 different sectors recently, and happens repeatedly.
> I've been googling around and learning about smart, but the diagnostic
> seems (also below) to indicate the disk is good (Reallocated_Sector_Ct
> and Reallocated_Event_Count have raw values 0).
>
> Is this disk dying, or can I run a tool to reallocate the bad sectors?
>
>
> print_req_error: I/O error, dev sdc, sector 5911268904 flags 0
> ata3: EH complete
> ata3.00: exception Emask 0x0 SAct 0x8 SErr 0x0 action 0x0
> ata3.00: irq_stat 0x40000008
> ata3.00: failed command: READ FPDMA QUEUED
> ata3.00: cmd 60/08:18:f0:d8:56/00:00:60:01:00/40 tag 3 ncq dma 4096 in
> res
> 41/40:00:f0:d8:56/00:00:60:01:00/00 Emask 0x409 (media error) <F>
> ata3.00: status: { DRDY ERR }
> ata3.00: error: { UNC }
> ata3.00: configured for UDMA/133
> sd 2:0:0:0: [sdc] tag#3 FAILED Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> sd 2:0:0:0: [sdc] tag#3 Sense Key : Medium Error [current]
> sd 2:0:0:0: [sdc] tag#3 Add. Sense: Unrecovered read error - auto
> reallocate failed
this can be anything from:
- bad disk
- bad cable between motherboard and disk
- bad connector on motherboard
- bad PSU connection (yes.) - undervoltage will cause FPDMA queueing.
the first is hard to test if it's any of the other three.
start with testing the voltage on the PSU connector since that's the
easiest to isolate. grab your multimeter and:
pinout for molex:
https://www.lifewire.com/molex-4-pin-peripheral-power-connector-pinout-2624582
pinout for SATA power:
https://forums.tomshardware.com/threads/whats-the-voltages-of-sata-power-cable.1475397/
if that passes, try the same data cable/same disk on a different port on
the motherboard (or an entirely different machine) and run a:
badblocks /dev/<disk>
smartctl -t long -d sat <disk>
on the disk (where <disk> is sda, sdb, whatever). you can then use
smartctl to get the test results of the long test.
if THAT passes *with no DMESG errors*, replace the cable and use the
original motherboard port. repeat those two commands, re-check SMART
status, etc.
if THAT passes *with no DMESG errors*, it was the cable. if it STILL
spits out DMESG errors, it's either the port or the disk. repeat the
test on another port with a new cable. if that fails, it's probably the
disk itself. replace the disk.
if the new disk fails with the same error, you're looking at a kernel
bug. not unheard of, but pretty rare with I/O-related stuff.
Attachment:
signature.asc
Description: OpenPGP digital signature
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug