Hi experts!
I'm a bit of a rookie, so be gentle! I've read a few guides and other threads in here to repair my pending sectors on ada1. But following them doesnt seem to work. Can anyone help? Am I doing it correctly?
SMART says I have 26 pending sectors on ada1.
So I tried the dd method of writing to that block a few times over without success.
It seems to write the data ok... but then I scrub the pool and still have the same pending sectors? Am I doing something wrong here?
Thanks!
I'm a bit of a rookie, so be gentle! I've read a few guides and other threads in here to repair my pending sectors on ada1. But following them doesnt seem to work. Can anyone help? Am I doing it correctly?
SMART says I have 26 pending sectors on ada1.
So I tried the dd method of writing to that block a few times over without success.
Code:
root@freenas:~ # dd if=/dev/zero of=/dev/ada1 bs=4096 count=1 seek=3074734 conv=noerror,sync 1+0 records in 1+0 records out 4096 bytes transferred in 0.000242 secs (16960311 bytes/sec) root@freenas:~ # dd if=/dev/zero of=/dev/ada1 bs=4096 count=1 seek=3074735 conv=noerror,sync 1+0 records in 1+0 records out 4096 bytes transferred in 0.000242 secs (16960382 bytes/sec) root@freenas:~ # dd if=/dev/zero of=/dev/ada1 bs=4096 count=1 seek=3074728 conv=noerror,sync 1+0 records in 1+0 records out 4096 bytes transferred in 0.000244 secs (16756805 bytes/sec) root@freenas:~ #
It seems to write the data ok... but then I scrub the pool and still have the same pending sectors? Am I doing something wrong here?
Thanks!
Code:
root@freenas:~ # smartctl -a /dev/ada1 smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.2-STABLE amd64] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digital Red Device Model: WDC WD30EFRX-68EUZN0 Serial Number: WD-WCC4N1URDK3N LU WWN Device Id: 5 0014ee 2612fd041 Firmware Version: 82.00A82 User Capacity: 3,000,592,982,016 bytes [3.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm 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: Sat Apr 25 22:14:17 2020 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: ( 121) The previous self-test completed having the read element of the test failed. Total time to complete Offline data collection: (39600) 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: ( 398) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x703d) 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 195 195 051 Pre-fail Always - 56687 3 Spin_Up_Time 0x0027 177 176 021 Pre-fail Always - 6133 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 48 5 Reallocated_Sector_Ct 0x0033 171 171 140 Pre-fail Always - 852 7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0 9 Power_On_Hours 0x0032 066 066 000 Old_age Always - 25309 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 - 48 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 13 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 193 194 Temperature_Celsius 0x0022 119 109 000 Old_age Always - 31 196 Reallocated_Event_Count 0x0032 161 161 000 Old_age Always - 39 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 26 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 - 1 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 Short offline Completed: read failure 90% 25298 3074735 # 2 Extended offline Completed: read failure 90% 25297 3074729 # 3 Extended offline Completed: read failure 90% 25294 3074734 # 4 Extended offline Completed: read failure 90% 25293 3074728 # 5 Short offline Completed: read failure 60% 24739 3074728 # 6 Short offline Completed: read failure 60% 24738 3074728 # 7 Short offline Completed: read failure 60% 24737 3074728 # 8 Short offline Completed: read failure 60% 24736 3074728 # 9 Short offline Completed: read failure 60% 24735 3074728 #10 Short offline Completed: read failure 60% 24734 3074728 #11 Short offline Completed: read failure 60% 24733 3074728 #12 Short offline Completed: read failure 60% 24732 3074728 #13 Short offline Completed: read failure 50% 24731 3074728 #14 Short offline Completed: read failure 50% 24730 3074728 #15 Short offline Completed: read failure 50% 24729 3074728 #16 Short offline Completed: read failure 50% 24728 3074728 #17 Short offline Completed: read failure 50% 24727 3074728 #18 Short offline Completed: read failure 50% 24726 3074728 #19 Short offline Completed: read failure 40% 24725 3074728 #20 Short offline Completed: read failure 50% 24724 3074728 #21 Short offline Completed: read failure 50% 24723 3074728 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.