ATA Status Errors

Joined
Feb 11, 2024
Messages
3
I have read other threads about this problem but I cannot figure out what is going on. I built my system when I got a handful of old 1TB drives from work. I knew that wouldn't last long and have been replacing them slowly with WD Red 4TB drives as they die. So far I have replaced 3 of my 4 drives. Every single time I replace a drive, during the resilver process I start getting the following errors:

Code:
Feb 15 02:09:05 truenas (ada1:ahcich5:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 50 d7 2a 40 74 00 00 01 00 00
Feb 15 02:09:05 truenas (ada1:ahcich5:0:0:0): CAM status: ATA Status Error
Feb 15 02:09:05 truenas (ada1:ahcich5:0:0:0): ATA status: 41 (DRDY ERR), error: 10 (IDNF )
Feb 15 02:09:05 truenas (ada1:ahcich5:0:0:0): RES: 41 10 50 d7 2a 00 74 00 00 00 00
Feb 15 02:09:05 truenas (ada1:ahcich5:0:0:0): Retrying command, 3 more tries remain
Feb 15 02:09:13 truenas (ada1:ahcich5:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 58 d8 2a 40 74 00 00 01 00 00
Feb 15 02:09:13 truenas (ada1:ahcich5:0:0:0): CAM status: ATA Status Error
Feb 15 02:09:13 truenas (ada1:ahcich5:0:0:0): ATA status: 41 (DRDY ERR), error: 10 (IDNF )
Feb 15 02:09:13 truenas (ada1:ahcich5:0:0:0): RES: 41 10 58 d8 2a 00 74 00 00 00 00
Feb 15 02:09:13 truenas (ada1:ahcich5:0:0:0): Retrying command, 3 more tries remain
Feb 15 02:09:30 truenas (ada1:ahcich5:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 c0 7d 2f 40 74 00 00 01 00 00
Feb 15 02:09:30 truenas (ada1:ahcich5:0:0:0): CAM status: ATA Status Error
Feb 15 02:09:30 truenas (ada1:ahcich5:0:0:0): ATA status: 41 (DRDY ERR), error: 10 (IDNF )
Feb 15 02:09:30 truenas (ada1:ahcich5:0:0:0): RES: 41 10 c0 7d 2f 00 74 00 00 00 00
Feb 15 02:09:30 truenas (ada1:ahcich5:0:0:0): Retrying command, 3 more tries remain
Feb 15 02:09:38 truenas (ada1:ahcich5:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 c8 7e 2f 40 74 00 00 01 00 00
Feb 15 02:09:38 truenas (ada1:ahcich5:0:0:0): CAM status: ATA Status Error
Feb 15 02:09:38 truenas (ada1:ahcich5:0:0:0): ATA status: 41 (DRDY ERR), error: 10 (IDNF )
Feb 15 02:09:38 truenas (ada1:ahcich5:0:0:0): RES: 41 10 c8 7e 2f 00 74 00 00 00 00
Feb 15 02:09:38 truenas (ada1:ahcich5:0:0:0): Retrying command, 3 more tries remain
Feb 15 02:09:55 truenas (ada1:ahcich5:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 68 19 34 40 74 00 00 01 00 00
Feb 15 02:09:55 truenas (ada1:ahcich5:0:0:0): CAM status: ATA Status Error
Feb 15 02:09:55 truenas (ada1:ahcich5:0:0:0): ATA status: 41 (DRDY ERR), error: 10 (IDNF )
Feb 15 02:09:55 truenas (ada1:ahcich5:0:0:0): RES: 41 10 68 19 34 00 74 00 00 00 00
Feb 15 02:09:55 truenas (ada1:ahcich5:0:0:0): Retrying command, 3 more tries remain
Feb 15 02:10:03 truenas (ada1:ahcich5:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 70 1a 34 40 74 00 00 01 00 00
Feb 15 02:10:03 truenas (ada1:ahcich5:0:0:0): CAM status: ATA Status Error
Feb 15 02:10:03 truenas (ada1:ahcich5:0:0:0): ATA status: 41 (DRDY ERR), error: 10 (IDNF )
Feb 15 02:10:03 truenas (ada1:ahcich5:0:0:0): RES: 41 10 70 1a 34 00 74 00 00 00 00
Feb 15 02:10:03 truenas (ada1:ahcich5:0:0:0): Retrying command, 3 more tries remain


The first time this happened I thought maybe I got a bad drive. I opened an RMA ticket with WD and they had me run a SMART test using their utility. No issues found. Oddly enough, I wasn't getting the errors past the resilver process. Not long after, a second drive starting failing so I bought another WD Red. Same thing happened. Part way through the resilver process I start getting the same ATA Status Errors. I had read that my SATA cable might be at fault (they were about 10 years old), so I replaced those. Same thing though, I wasn't getting any errors during normal use, just during resilver. Then just a few days ago I had to replace another drive. Same thing happened. Here is the output of smartctl -a /dev/ada1, which is the most recent drive replaced.

Code:
root@truenas[~]# smartctl -a /dev/ada1
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red (SMR)
Device Model:     WDC WD40EFAX-68JH4N1
Serial Number:    WD-WX82D431310T
LU WWN Device Id: 5 0014ee 26b222c72
Firmware Version: 83.00A83
User Capacity:    4,000,787,030,016 bytes [4.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      3.5 inches
TRIM Command:     Available, deterministic, zeroed
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:    Fri Feb 16 08:29:15 2024 EST
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:                (35100) 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:        (  67) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x3039) 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   100   253   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   100   253   021    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       1
  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   100   100   000    Old_age   Always       -       38
 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       -       1
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       1
194 Temperature_Celsius     0x0022   113   110   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       -       0
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  Short offline       Completed without error       00%        29         -
# 2  Extended offline    Completed without error       00%        15         -

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.
 
Joined
Jan 7, 2015
Messages
1,155
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Red (SMR) <----------------------------------------------------------
Device Model: WDC WD40EFAX-68JH4N1

It looks as if you are buying the SMR version Reds. These should be avoided IMO whenever possible. Now it might not be the issue, as these errors are finnicky. But if I were forced to bet on it, its the disk.

You'll look around and find that lots of people have had these issues with this particular set of disks. You have done what you can by changing cables, etc.. But if I am you I would return this disk with a screenshot of the issues and errors since the SMART data is great. WD is fully aware these disks are garbage.

In my experience these issues pop up for a reason to do with that disk, and in your case its popping up when the disks are being populated with data and under heavy load which isn't a good sign.

Sorry for the bad news. FWIW I have read that all disks above a 6TB will be CMR disks, there is also a WD issued release saying exactly which of the "Red NAS Disks" are SMR. It was quite the fiasco a few years back. Ill never purchase another one. Im into Seagate Ironwolfs, have been rock solid. The Exos ones seem legit too.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
The error, "IDNF", is EXACTLY why we don't use WD Red SMR disks with ZFS. The acronym IDNF stands for Identification Not Found, and refers to a sector of the disk that was requested for read, but not available.

These WD Red SMR disks have, in my opinion, a firmware bug that returns IDNF for blocks trying to be read, that have not yet been written. This goes against any normal disk behavior that has existed for 40 years.

ZFS bundles up reads in to transaction groups, which might read blocks in-between 2 sections of blocks desired. This allows ZFS to simplify and reduce over-head, speeding things up. Thus, assumes normal disk behavior that has existed for 40 years.


So, get rid of any WD Red SMR disk, (or SMR in general), when using ZFS.
 
Joined
Feb 11, 2024
Messages
3
Well, that's really disappointing. Guess I will re-replace my disks.

Thanks for the help! I don't know how I didn't stumble on this SMR issue when I was searching previously.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Well, that's really disappointing. Guess I will re-replace my disks.

Thanks for the help! I don't know how I didn't stumble on this SMR issue when I was searching previously.
Well, in someways it is a straight forward fix / answer. Maybe not cheap, not practical for all users, but you have a definitive answer.

You might try contacting Western Digital and see if you can get a swap from WD Reds to WD Red Pluses, which aren't SMR. Even if they deny the request, this is a reminder to Western Digital support that their creation of the problem still bites people years later.

To paraphrase the old saying:
WD Red SMR disks, the gift that keeps on giving!
 
Top