Hello,
I am new here and was hoping I could get some help figuring out what is causing issues on my FreeNAS.
Yesterday I got an email that root@freenas.local had found some Critical Alerts:
Device: /dev/ada2, 2 Currently unreadable (pending) sectors
I ran short smart test first without errors and decided to run a long test trough the night. It found two errors. I zeroed them out and tried to read the whole disk like this: dd of=/dev/null if=/dev/ada2 bs=1m. It didn't run trough because it found an error. I have now run a new short test and its an error on a new sector.
Errors that came when I ran: dd of=/dev/null if=/dev/ada2 bs=1m.
Output of: smartctl -a /dev/ada2
I am new here and was hoping I could get some help figuring out what is causing issues on my FreeNAS.
Yesterday I got an email that root@freenas.local had found some Critical Alerts:
Device: /dev/ada2, 2 Currently unreadable (pending) sectors
I ran short smart test first without errors and decided to run a long test trough the night. It found two errors. I zeroed them out and tried to read the whole disk like this: dd of=/dev/null if=/dev/ada2 bs=1m. It didn't run trough because it found an error. I have now run a new short test and its an error on a new sector.
Code:
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% 2441 28680161 # 2 Extended offline Completed: read failure 90% 2440 28667737 # 3 Extended offline Completed: read failure 90% 2422 28667738 # 4 Short offline Completed without error 00% 2340 - # 5 Short offline Completed without error 00% 61 -
Errors that came when I ran: dd of=/dev/null if=/dev/ada2 bs=1m.
Code:
Apr 28 17:46:51 freenas (ada2:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 00 37 b5 40 01 00 00 01 00 00 Apr 28 17:46:51 freenas (ada2:ahcich2:0:0:0): CAM status: ATA Status Error Apr 28 17:46:51 freenas (ada2:ahcich2:0:0:0): ATA status: 41 (DRDY ERR), error: 40 (UNC ) Apr 28 17:46:51 freenas (ada2:ahcich2:0:0:0): RES: 41 40 68 37 b5 40 01 00 00 00 00 Apr 28 17:46:51 freenas (ada2:ahcich2:0:0:0): Retrying command Apr 28 17:46:55 freenas (ada2:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 00 37 b5 40 01 00 00 01 00 00 Apr 28 17:46:55 freenas (ada2:ahcich2:0:0:0): CAM status: ATA Status Error Apr 28 17:46:55 freenas (ada2:ahcich2:0:0:0): ATA status: 41 (DRDY ERR), error: 40 (UNC ) Apr 28 17:46:55 freenas (ada2:ahcich2:0:0:0): RES: 41 40 68 37 b5 40 01 00 00 00 00 Apr 28 17:46:55 freenas (ada2:ahcich2:0:0:0): Retrying command Apr 28 17:46:58 freenas (ada2:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 00 37 b5 40 01 00 00 01 00 00 Apr 28 17:46:58 freenas (ada2:ahcich2:0:0:0): CAM status: ATA Status Error Apr 28 17:46:58 freenas (ada2:ahcich2:0:0:0): ATA status: 41 (DRDY ERR), error: 40 (UNC ) Apr 28 17:46:58 freenas (ada2:ahcich2:0:0:0): RES: 41 40 68 37 b5 40 01 00 00 00 00 Apr 28 17:46:58 freenas (ada2:ahcich2:0:0:0): Retrying command Apr 28 17:47:02 freenas (ada2:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 00 37 b5 40 01 00 00 01 00 00 Apr 28 17:47:02 freenas (ada2:ahcich2:0:0:0): CAM status: ATA Status Error Apr 28 17:47:02 freenas (ada2:ahcich2:0:0:0): ATA status: 41 (DRDY ERR), error: 40 (UNC ) Apr 28 17:47:02 freenas (ada2:ahcich2:0:0:0): RES: 41 40 68 37 b5 40 01 00 00 00 00 Apr 28 17:47:02 freenas (ada2:ahcich2:0:0:0): Retrying command Apr 28 17:47:06 freenas (ada2:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 00 37 b5 40 01 00 00 01 00 00 Apr 28 17:47:06 freenas (ada2:ahcich2:0:0:0): CAM status: ATA Status Error Apr 28 17:47:06 freenas (ada2:ahcich2:0:0:0): ATA status: 41 (DRDY ERR), error: 40 (UNC ) Apr 28 17:47:06 freenas (ada2:ahcich2:0:0:0): RES: 41 40 68 37 b5 40 01 00 00 00 00 Apr 28 17:47:06 freenas (ada2:ahcich2:0:0:0): Error 5, Retries exhausted
Output of: smartctl -a /dev/ada2
Code:
=== START OF INFORMATION SECTION === Model Family: Western Digital Red Device Model: WDC WD40EFRX-68WT0N0 Serial Number: WD-WCC4E3KA2FZF LU WWN Device Id: 5 0014ee 2620b027b Firmware Version: 82.00A82 User Capacity: 4,000,787,030,016 bytes [4.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: Fri Apr 28 18:06:28 2017 CEST 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: (52320) 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: ( 523) 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 200 200 051 Pre-fail Always - 58 3 Spin_Up_Time 0x0027 176 175 021 Pre-fail Always - 8158 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 288 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 097 097 000 Old_age Always - 2442 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 288 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 116 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 195 194 Temperature_Celsius 0x0022 118 113 000 Old_age Always - 34 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 1 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 100 253 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 Short offline Completed without error 00% 2442 - # 2 Short offline Completed: read failure 90% 2441 28680161 # 3 Extended offline Completed: read failure 90% 2440 28667737 # 4 Extended offline Completed: read failure 90% 2422 28667738 # 5 Short offline Completed without error 00% 2340 - # 6 Short offline Completed without error 00% 61 - 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.