[TriLUG] dying disk with LBA error but no reallocated sectors

Ric Moore via TriLUG trilug at trilug.org
Thu Apr 16 16:21:33 EDT 2015


On 04/16/2015 12:35 PM, Bill Farrow wrote:
> On Thu, Apr 16, 2015 at 12:30 PM, Ric Moore via TriLUG
> <trilug at trilug.org> wrote:
>>>>   http://www.sj-vs.net/forcing-a-hard-disk-to-reallocate-bad-sectors/
>> $ hdparm –read-sector 1261069669 /dev/sdb
>>
>> how did he calculate the sector??
>> Thanks, Ric
>
> He got the sector number from the kernel log read failure message:
>    Jan 29 18:19:54 dragon kernel: [66774.973049] end_request: I/O
> error, dev sdb, sector 1261069669

A big thank you!! That worked slick as anything. I did hold my breath 
when I rebooted though. So far, no errors in dmesg! I love Linux! Ric



-- 
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html


More information about the TriLUG mailing list