Re: Weird smartmontools results

Christian Franke <[email protected]> Wed, 20 Apr 2016 07:08:16 +0200
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Ozy de Jong wrote:
> Weird smartmontools results
>
> Hello,
>
>
> I use to fix some current pending sectors by running a smart extended 
> test to get the LBA of the first bad sector, and then run a script 
> like hdparm --write-sector.
>
> I have some weird results here with an old velociraptor disk:
>
>
> ...
> Device Model:     WDC WD740HLFS-01G6U1
> ...
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE     
>  UPDATED  WHEN_FAILED RAW_VALUE
> ...
>   5 Reallocated_Sector_Ct   0x0033   200   200   140  Pre-fail  Always 
>       -       0
> ...
> 196 Reallocated_Event_Count 0x0032   200   200   000  Old_age   Always 
>       -       0
> 197 Current_Pending_Sector  0x0012   138   138   000  Old_age   Always 
>       -       753
> 198 Offline_Uncorrectable   0x0010   200   138   000  Old_age   
> Offline      -       0
> ...
> Num  Test_Description    Status                  Remaining 
>  LifeTime(hours)  LBA_of_first_error
> # 1  Extended offline    Completed without error       00%   48628     
>     -
> ...
> First of all I know this is some archeology, as smartmontools v5.42 is 
> stoneage, but I don't have anything better on CentOS 5 (yes, an old 
> system still in production).
> Well, the problem seems that there are 753 current pending sectors, 
> but the extended test succeeds. Is that a normal behavior ?

I occasionally have seen this behavior in the past: Pending sector count 
 > 0 but no actual bad sectors found. After overwriting the whole disk, 
pending sector count is 0.


> Is there a way to get a list of the bad sectors ?

No. Unlike SCSI/SAS, ATA/SATA standards do not specify a command to read 
a block list.

Thanks,
Christian


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z