[smartmontools-support] Recurring problem wit bad sectors

Carlos E. R. robin.listas at telefonica.net
Wed Jun 13 16:01:52 CEST 2018


On 2018-06-08 12:38, Carlos E. R. wrote:
> 
> 
> Hi,
> 
> I see this in the warning log:
> 
> <3.2> 2018-05-27 01:17:24 Telcontar smartd 1659 - -  Device: /dev/sdd [SAT], 8 Currently unreadable (pending) sectors
> <3.2> 2018-05-27 01:17:24 Telcontar smartd 1659 - -  Device: /dev/sdd [SAT], 8 Offline uncorrectable sectors
> 
> So I get worried. Sure enough, output of smartctl confirms:
> 
> SMART Attributes Data Structure revision number: 10
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE

> 197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       8
> 198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       8
> 199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
> 240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       14497h+53m+18.823s
> 241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       32806270267
> 242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       60885926068
> 
> 
> 
> I want to find out the LBA of those sectors, but smartctl long test
> doesn't say:

I found an interesting feature in the manual:

              defects[,NUM]  -  [ATA  only] [NEW EXPERIMENTAL SMARTCTL FEATURE] prints LBA and hours values from
              the ATA Pending Defects log (General Purpose Log address 0x0c).  Only the 31  entries  from  first
              log  page  are printed by default.  This number can be changed by the optional parameter NUM.  The
              size of the log and the order of the entries are vendor specific.  The  Pending  Defects  log  was
              introduced in ACS-4 Revision 01 (Mar 2014).

But:

linux-ssd:~ # smartctl --log=defects /dev/sdf
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.12.14-lp150.12.4-default] (SUSE RPM)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

Pending Defects log (GP Log 0x0c) not supported

linux-ssd:~ # 

I bought that disk on 2014-03 precisely.


-- 
Cheers / Saludos,

		Carlos E. R.

  (from openSUSE, Leap 15.0 x86_64 (ssd-test))



More information about the Smartmontools-support mailing list