[Linux-disciples] SMART error (OfflineUncorrectableSector) detected on host: JeffTweedy (fwd)

Adam Rosi-Kessel adam at rosi-kessel.org
Tue Nov 30 09:55:39 EST 2004


Stephen R Laniel wrote:
> On Mon, Nov 29, 2004 at 09:15:49AM -0500, Adam Rosi-Kessel wrote:
>> SMART will try very hard to read a bad block; once it reads it once
>> successfully, it relocates the data and marks the block off-limits.  If
>> it can't ever read the block, it is never "released" and you keep getting
>> this error.
>> The badblocks howto, linked from the smartmontools FAQ, describes in
>> detail exactly how to deal withhis problem.  I'm not online right now so
>> I don't have the link, but it should be easy to find.
> I keep getting the SMART error telling me that the sector is
> bad. Here's the badblocks howto:
> http://shorl.com/febredrynumifre

I had a bit of trouble with this recently on my brother's laptop. I 
believe what I finally did was identify exactly the range of bad 
blocks and then looped over them several times with 'badblocks' (which 
I realize is different from the technique described in the badblocks 
howto).

Something like

badblocks -b 4096 -n [LBA of last bad block] [LBA of first bad block]

Actually, it was probably

badblocks -o some_file -b 4096 -n [LBA of last bad block] [LBA of 
first bad block]

followed by

e2fsck -l some_file

I might have done -w, which might be a destructive write test.

I also tried looping dd to write zeros over that block many times, but 
I think it was this other technique which actually worked.
-- 
Adam Rosi-Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20041130/83d37a08/signature.pgp


More information about the Linux-disciples mailing list