Device: /dev/ada0, 8 Currently unreadable (pending) sectors.

sbolduc

Cadet
Joined
Jul 6, 2023
Messages
2
I have the following error on my TrueNAS : Device: /dev/ada0, 8 Currently unreadable (pending) sectors.
I looked at some posts and I can't find a solution to my problem.
I'm not an expert at all but I've run all the tests I know and I have no error. The drives are less than a year of usage.
Here's the result of my "smartctl -a /dev/ada0" :

Code:
=== START OF INFORMATION SECTION ===
Model Family:     Seagate BarraCuda 3.5 (SMR)
Device Model:     ST8000DM004-2U9188
Serial Number:    ZR14D2R7
LU WWN Device Id: 5 000c50 0e6969e38
Firmware Version: 0001
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Jul  6 10:24:23 2023 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (    0) seconds.
Offline data collection
capabilities:                    (0x73) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        ( 994) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x30a5) SCT Status supported.
                                        SCT Data Table supported.

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
  1 Raw_Read_Error_Rate     0x000f   076   062   006    Pre-fail  Always       -       36205144
  3 Spin_Up_Time            0x0003   091   091   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       24
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   083   060   045    Pre-fail  Always       -       190355123
  9 Power_On_Hours          0x0032   098   098   000    Old_age   Always       -       2245h+21m+20.203s
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       24
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0 0 0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   053   050   040    Old_age   Always       -       47 (Min/Max 40/49)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       100
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       108
194 Temperature_Celsius     0x0022   047   050   000    Old_age   Always       -       47 (0 21 0 0 0)
195 Hardware_ECC_Recovered  0x001a   076   064   000    Old_age   Always       -       36205144
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      -       2239h+09m+10.381s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       4754657132
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       5890401016

SMART Error Log Version: 1
No Errors Logged

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%      2233         -
# 2  Extended offline    Aborted by host               30%      2216         -
# 3  Short offline       Completed without error       00%      2200         -
# 4  Short offline       Completed without error       00%      2198         -
# 5  Extended offline    Completed without error       00%      2012         -
# 6  Short offline       Completed without error       00%      1981         -

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.

Can someone help me with that ?
 
Joined
Jan 7, 2015
Messages
1,155
Something is up with it. This is an SMR disk and not at all recommended in a ZFS system. Might work for a week or 7 years, hard to say. I would also say that 47 is too hot. Thats 117 degrees F. This is a disk connected to the motherboard correct? How crowded are the disks, how good is your airflow? I would RMA this disk in a heartbeat, dont know if that is an option for you. You really should be switching every disk in your system to Ironwolf disks. SMR is only going to break your heart.

Alternatively you can continue running SMART tests every week, and when it fails, then replace it. Any increase from 8 errors and I would start to have a disk ordered. I would also be vigilant with backing up anything while you have this over your head. 197, 198, 199 are the ones in SMART data to watch in any of these anything more than zero is generally considered FUBAR around here. You might also try a different cabling. Just ideas, if in warranty, RMA it, work to better your cooling.
 
Last edited:

rvassar

Guru
Joined
May 2, 2018
Messages
972
I have had drives in the past that have permanent unreadable sectors, and yes, it drives me nuts. One of them ran for 4+ years with 4 uncorrectable errors. As long as they don't expand in count, and I have proper redundancy & backups, I've let them ride and let ZFS figure out the remapping. But one funny glitch, and they're gone. Agree, 47/C is getting pretty hot. That's on the cusp of lifespan reduction. Keeping it under 42/C is better, and ideally under 38/C.

SMR == Shingled Magnetic Recording. The sectors are written in overlapping layers, like roofing shingles. Meaning when you write a sector, you have to read & then write an entire track. This makes RAIDz re-silvering take weeks, and you find out about it at the worst possible time, when your pool is degraded.
 

samarium

Contributor
Joined
Apr 8, 2023
Messages
192
197 CPS I usually try to overwrite the sectors. You can do this with dd selectively (or any other freebsd tool that I know nothing about, or on linux with hdparm), or with badblocks -sw over the whole disk, althogh with SMR, might not work so well? Probably neither is a good operation to do with the disk active as part of the pool. Should at least scrub before, and then offline the disk, and online the disk and scrub again, although you will be left with reduced redundancy on that section of the disk until scrub completes.

Maybe secure erase of the HDD would help, might also reset SMR parameters too. See what you can find by searching.

You could also download seatools from seagate given you have a seagate disk. Found on github, although you might have to use them on windows or linux.
 

sbolduc

Cadet
Joined
Jul 6, 2023
Messages
2
Thank you for the help everybody I'll look into that !
It's usually not that hot around here so my fans were on the lowest settings I've turn them up a bit and I'm around 41degrees now.
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
Still too warm (IMHO). I like <40
 
Top