Currently unreadable (pending) sectors but no LBA_of_first_error in smartctl

Status
Not open for further replies.

snosage

Cadet
Joined
Aug 8, 2017
Messages
3
I'm upgrading my zfs pool from 4x 2tb drives to 4x second-hand 3tb drives. The first 3 resilvered without errors but when the fourth drive is added freenas issues a critical alert "Device: /dev/ada0, 6 Currently unreadable (pending) sectors".

I've followed guides (here, here and here) telling me to run a extended test to find the relevant sectors then write directly to them with dd to force the hdd to reallocate those sectors. All good except after running an extended smart test the result is "Completed without error" and LBA_of_first_error is blank so I don't know which sectors to write to.

How can I fix the smart error and is it safe to use the drive, at least in the short-term?

Here's the output of smartctl -q noserial -a /dev/ada0 after running smartctl -t long /dev/ada0 and waiting for the test to finish. The drive in question is ada0 because I've removed all the other drives in the pool.

Thanks in advance :)

Code:
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:  Western Digital Red
Device Model:  WDC WD30EFRX-xxxxxxx
Firmware Version: 80.00A80
User Capacity:  3,000,592,982,016 bytes [3.00 TB]
Sector Sizes:  512 bytes logical, 4096 bytes physical
Device is:  In smartctl database [for details use: -P show]
ATA Version is:  ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:  Wed Aug  9 06:50:25 2017 AEST
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:	  (40080) seconds.
Offline data collection
capabilities:		 (0x7b) SMART execute Offline immediate.
		   Auto Offline data collection on/off support.
		   Suspend Offline collection upon new
		   command.
		   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:	 (  2) minutes.
Extended self-test routine
recommended polling time:	 ( 402) minutes.
Conveyance self-test routine
recommended polling time:	 (  5) minutes.
SCT capabilities:	 (0x70bd)   SCT Status supported.
		   SCT Error Recovery Control supported.
		   SCT Feature Control supported.
		   SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG  VALUE WORST THRESH TYPE  UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate  0x002f  200  200  051  Pre-fail  Always  -  1060
  3 Spin_Up_Time  0x0027  179  176  021  Pre-fail  Always  -  6033
  4 Start_Stop_Count  0x0032  100  100  000  Old_age  Always  -  85
  5 Reallocated_Sector_Ct  0x0033  200  200  140  Pre-fail  Always  -  0
  7 Seek_Error_Rate  0x002e  200  200  000  Old_age  Always  -  0
  9 Power_On_Hours  0x0032  049  049  000  Old_age  Always  -  37402
10 Spin_Retry_Count  0x0032  100  253  000  Old_age  Always  -  0
11 Calibration_Retry_Count 0x0032  100  253  000  Old_age  Always  -  0
12 Power_Cycle_Count  0x0032  100  100  000  Old_age  Always  -  85
192 Power-Off_Retract_Count 0x0032  200  200  000  Old_age  Always  -  63
193 Load_Cycle_Count  0x0032  200  200  000  Old_age  Always  -  21
194 Temperature_Celsius  0x0022  123  110  000  Old_age  Always  -  27
196 Reallocated_Event_Count 0x0032  200  200  000  Old_age  Always  -  0
197 Current_Pending_Sector  0x0032  200  200  000  Old_age  Always  -  6
198 Offline_Uncorrectable  0x0030  100  253  000  Old_age  Offline  -  0
199 UDMA_CRC_Error_Count  0x0032  200  200  000  Old_age  Always  -  0
200 Multi_Zone_Error_Rate  0x0008  200  200  000  Old_age  Offline  -  0

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%  37398  -

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.

[root@freenas] ~# diskinfo -v /dev/ada0
/dev/ada0
   512	 # sectorsize
   3000592982016   # mediasize in bytes (2.7T)
   5860533168	# mediasize in sectors
   4096	 # stripesize
   0	 # stripeoffset
   5814021	 # Cylinders according to firmware.
   16	 # Heads according to firmware.
   63	 # Sectors according to firmware.
   WD-WMC1T0620318   # Disk ident.

 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Assuming you have adequate redundancy, it's safe to run with pending sectors. Not ideal though.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419

snosage

Cadet
Joined
Aug 8, 2017
Messages
3
Wow, mind blown.. I had no idea that option was there. If I untick it and further pending sectors appear will I still get an alert?
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Wow, mind blown.. I had no idea that option was there. If I untick it and further pending sectors appear will I still get an alert?
Think so
 
Status
Not open for further replies.
Top