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

Adam Rosi-Kessel adam at rosi-kessel.org
Tue Nov 30 11:23:33 EST 2004


Hmm.  If the self-tests are completing without error, you might be 
fine. In my experience, the only problem occurred when the self-test 
would not complete. It may be that the pending/uncorrectable sector 
has already been marked off limits for the purposes of the filesystem. 
  You just need to get it to "clear" the pending sector count.

You might try smartctl -t offline, which you have to do with the drive 
unmounted, I believe.

Also, did you look through the entire output of smartctl -a?  Does 
"LBA" never occur in there?

This is a little bit of the blind leading the blind (or the 
near-sighted leading the almost blind), so if anyone else has more of 
a clue on SMART, please chime in.  I've basically figured it out with 
trial and error.

Stephen R Laniel wrote:
> On Tue, Nov 30, 2004 at 09:49:02AM -0500, Stephen R Laniel wrote:
>> I keep getting the SMART error telling me that the sector is
>> bad. Here's the badblocks howto:
> 
> I can't figure out how to get smartctl to display the LBA of
> the damaged sector (it's just one sector). /var/log/syslog
> contains
> 
> Nov 30 11:06:23 JeffTweedy smartd[1212]: Device: /dev/hdd, 1 Currently unreadable (pending) sectors 
> Nov 30 11:06:23 JeffTweedy smartd[1212]: Device: /dev/hdd, 1 Offline uncorrectable sectors 
> 
> Then smartctl -a /dev/hdd gives
> 
> 197 Current_Pending_Sector  0x0012   200   200   000    Old_age   Always       -       1
> 198 Offline_Uncorrectable   0x0012   200   200   000    Old_age   Always       -       1
> 
> And yet see below for the list of tests, none of which list
> the LBA of the failed sector. I ran
> smartctl -t long /dev/hdd, which I would have expected
> would flag this error if anything would. But no dice
> apparently.
> 
> smartctl is obviously aware of the bad sector, so there must
> be some way to extract the information about which sector it
> is. Any ideas?
> 
> SMART Self-test log structure revision number 1
> Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
> # 1  Short offline       Completed without error       00%       180         -
> # 2  Extended offline    Completed without error       00%       155         -
> # 3  Short offline       Completed without error       00%       134         -
> # 4  Extended offline    Completed without error       00%       113         -
> # 5  Short offline       Completed without error       00%       112         -
> # 6  Short offline       Completed without error       00%        89         -
> # 7  Short offline       Completed without error       00%        66         -
> # 8  Short offline       Completed without error       00%        43         -
> # 9  Short offline       Completed without error       00%        19         -
> #10  Short offline       Completed without error       00%      1088         -
> #11  Short offline       Completed without error       00%      1065         -
> #12  Extended offline    Completed without error       00%      1044         -
> #13  Short offline       Completed without error       00%      1043         -
> #14  Short offline       Completed without error       00%      1020         -
> #15  Short offline       Completed without error       00%       996         -
> #16  Short offline       Completed without error       00%       973         -
> #17  Short offline       Completed without error       00%       950         -
> #18  Short offline       Completed without error       00%       926         -
> #19  Short offline       Completed without error       00%       903         -
> #20  Extended offline    Completed without error       00%       882         -
> #21  Short offline       Completed without error       00%       881         -
> 
> SMART Selective self-test log data structure revision number 1
>  SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
>     1        0        0  Not_testing
>     2        0        0  Not_testing
>     3        0        0  Not_testing
>     4        0        0  Not_testing
>     5        0        0  Not_testing
> Selective self-test flags (0x0):
>   After scanning selected spans, do NOT read-scan remainder of disk.
> If Selective self-test is pending on power-up, resume after 0 minute delay.
> 
> 


-- 
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/5ffcb6a7/signature.pgp


More information about the Linux-disciples mailing list