Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resilver WD NAS dirves #15033

Closed
adi-dev opened this issue Jul 5, 2023 · 8 comments
Closed

Can't resilver WD NAS dirves #15033

adi-dev opened this issue Jul 5, 2023 · 8 comments
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@adi-dev
Copy link

adi-dev commented Jul 5, 2023

It looks like I have similar issue to: #10214
This is my third drive I'm trying (other two replaced by manufacture). This time I did some digging and found the above mention. I tried BIOS setting to IDE but no such option. The PSU is way more powerful than it should be, as it was specified with the external GPU I removed. When I replace with Seagate Baracuda - no problem. It seams that it can't handle WD NAS drive:

  pool: tank
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
        continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Wed Jul  5 07:51:41 2023
        1.75T scanned at 600M/s, 1.21T issued at 417M/s, 1.75T total
        103G resilvered, 69.46% done, 00:22:23 to go
config:

        NAME                                          STATE     READ WRITE CKSUM
        tank                                          DEGRADED     0     0     0
          raidz2-0                                    DEGRADED     0     0     0
            sda                                       ONLINE       0     0     0
            sdb                                       ONLINE       0     0     0
            ata-WDC_WD20EFAX-68B2RN1_WD-WXG2A23K7DJZ  FAULTED      0    19     0  too many errors  (resilvering)
            sdd                                       ONLINE       0     0     0
        cache
          nvme0n1p3                                   ONLINE       0     0     0

errors: No known data errors

Smart test seams to pass with no errors:

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red (SMR)
Device Model:     WDC WD20EFAX-68B2RN1
Serial Number:    WD-WXG2A23K7DJZ
LU WWN Device Id: 5 0014ee 2c052bff1
Firmware Version: 83.00A83
User Capacity:    2,000,398,934,016 bytes [2.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:    Wed Jul  5 08:46:06 2023 BST
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:                ( 9780) 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:        (  32) 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   200   200   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       -       3
  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       -       48
 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       -       2
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       6
194 Temperature_Celsius     0x0022   112   107   000    Old_age   Always       -       31
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  Extended offline    Completed without error       00%        13         -
# 2  Extended offline    Completed without error       00%         1         -

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.
@adi-dev adi-dev added the Type: Defect Incorrect behavior (e.g. crash, hang) label Jul 5, 2023
@rincebrain
Copy link
Contributor

You linked to a previous issue which was closed with "WD's SMR drives are broken and throw errors in this workload". That's still true - AFAIK WD has never fixed this behavior.

There's not really anything ZFS can do about drives being broken and throwing errors under load, other than suggest you not use them.

@adi-dev
Copy link
Author

adi-dev commented Jul 5, 2023

Just to make sure, I understand this right as I tested the drive, and it seems that is okay: there is nothing wrong with them except they can't work with ZFS and there is no workaround to this issue?

@rincebrain
Copy link
Contributor

The issue is that the drives error out under the workload from ZFS, and this does not appear to be a problem with ZFS's behavior, just that they have broken firmware. See also and also.

@adi-dev
Copy link
Author

adi-dev commented Jul 5, 2023

From what I can read here and here, if I can replace it with WD Red Plus which has CMR technology not SMR, I should be fine. I understand that's not a ZFS issue now. I was hoping there is some workaround like disable some features during resilvering. Thanks for the answers direct from the ZFS team.

@mabod
Copy link

mabod commented Jul 6, 2023

I can replace it with WD Red Plus which has CMR technology not SMR

Yes, this is what I had to do with one of my drives as well.

@arch-user-france1
Copy link

Can a company be charged from selling drives advertised as 'CMR' with 'SMR' technology under the hood?

@adi-dev
Copy link
Author

adi-dev commented Jul 10, 2023

I can replace it with WD Red Plus which has CMR technology not SMR

Yes, this is what I had to do with one of my drives as well.

New drives on order, will update once arrived. Thanks

@adi-dev
Copy link
Author

adi-dev commented Jul 12, 2023

The new drives come, WD NAS Plus, and resilvering has completed without errors (as well much faster than Seagate Barracuda). It was definitely drive's firmware issue as mentioned before, therefore I'm closing this issue.

@adi-dev adi-dev closed this as completed Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

4 participants