Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Oct 2009 13:43:18 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Patrick Proniewski <patpro@patpro.net>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Offline uncorrectable sectors on hard drive
Message-ID:  <4AC88A56.6080806@quip.cz>
In-Reply-To: <5AFF10D8-2B03-4DE8-83E8-20B6A832BBA8@patpro.net>
References:  <C09E0617-F326-4AB1-BFF5-6814CD084940@patpro.net>	<4AC861BF.20109@fuckner.net> <5AFF10D8-2B03-4DE8-83E8-20B6A832BBA8@patpro.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Patrick Proniewski wrote:

> Hi Michael,
> 
> On 4 oct. 09, at 10:50, Michael Fuckner wrote:
> 
>>> - is that "Offline uncorrectable sectors" in fact correctable? I've  
>>> found howto's for extfs and reiserfs to correct this kind of error  
>>> by remapping bad sectors, but nothing for UFS.
>>> - this error appears to have disappeared, does it mean the  harddrive 
>>> (or the fs) made the remapping by it self?
>>
>> sector errors are on the hardware, they don't deal with the  filesystem.
>>
>> Perhaps it was a once in a lifetime event, perhaps the drive is  going 
>> to die really soon.
>>
>> Please do a smartctl -t long and see if the drive has to be replaced.
> 
> 
> 
> here is the result (from `smartctl -l selftest /dev/ad6` after the  
> `smartctl -t long /dev/ad6` ):
> 
> Warning! SMART Attribute Thresholds Structure error: invalid SMART  
> checksum.
> === 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 without error       00%      
> 34350         -
> # 2  Short offline       Completed without error       00%      
> 34339         -
> # 3  Extended offline    Completed: read failure       20%      
> 34317         201626851
> # 4  Short offline       Completed without error       00%      
[...]
> It looks like the error is gone, but may be I'm wrong.

It is better to look at diff of Vendor Specific Attributes (smartctl -A)

You have Reallocated_Event_Count  2, so maybe bad sectors were reallocated.

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AC88A56.6080806>