Opened 2 years ago

Closed 9 months ago

#1676 closed enhancement (fixed)

Add WDC WD121KFBX to drivedb

Reported by: ikrasnopeev Owned by: Christian Franke
Priority: minor Milestone: Release 7.5
Component: drivedb Version: 7.3
Keywords: hdd Cc:

Description

Link to specifications: https://products.wdc.com/library/SpecSheet/ENG/product-brief-wd-red-pro-hdd.pdf

smartctl7.3 output:

smartctl 7.3 2022-02-28 r5338 [x86_64-linux-4.14.22] (localbuild)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD121KFBX-68EF5N0
Firmware Version: 83.00A83
User Capacity:    12,000,138,625,024 bytes [12.0 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        Not in smartctl database 7.3/5319
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Dec 12 21:00:04 2022 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM level is:     164 (intermediate level without standby)
Rd look-ahead is: Enabled
Write cache is:   Enabled
DSN feature is:   Unavailable
ATA Security is:  Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)   Offline data collection activity
               was completed without error.
               Auto Offline Data Collection: Enabled.
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:     (   87) seconds.
Offline data collection
capabilities:         (0x5b) SMART execute Offline immediate.
               Auto Offline data collection on/off support.
               Suspend Offline collection upon new
               command.
               Offline surface scan supported.
               Self-test supported.
               No 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:   (1266) minutes.
SCT capabilities:           (0x003d)   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          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     PO-R--   100   100   016    -    0
  2 Throughput_Performance  --S---   132   132   054    -    96
  3 Spin_Up_Time            POS---   100   100   024    -    0
  4 Start_Stop_Count        -O--C-   100   100   000    -    4
  5 Reallocated_Sector_Ct   PO--CK   100   100   005    -    0
  7 Seek_Error_Rate         -O-R--   100   100   067    -    0
  8 Seek_Time_Performance   --S---   140   140   020    -    15
  9 Power_On_Hours          -O--C-   100   100   000    -    89
 10 Spin_Retry_Count        -O--C-   100   100   060    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    3
 22 Unknown_Attribute       PO---K   100   100   025    -    100
192 Power-Off_Retract_Count -O--CK   100   100   000    -    8
193 Load_Cycle_Count        -O--C-   100   100   000    -    8
194 Temperature_Celsius     -O----   133   133   000    -    45 (Min/Max 21/55)
196 Reallocated_Event_Count -O--CK   100   100   000    -    0
197 Current_Pending_Sector  -O---K   100   100   000    -    0
198 Offline_Uncorrectable   ---R--   100   100   000    -    0
199 UDMA_CRC_Error_Count    -O-R--   200   200   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      1  Comprehensive SMART error log
0x03       GPL     R/O      1  Ext. Comprehensive SMART error log
0x04       GPL     R/O    256  Device Statistics log
0x04       SL      R/O    255  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x08       GPL     R/O      2  Power Conditions log
0x09           SL  R/W      1  Selective self-test log
0x0c       GPL     R/O   5501  Pending Defects log
0x10       GPL     R/O      1  NCQ Command Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x12       GPL     R/O      1  SATA NCQ Non-Data log
0x13       GPL     R/O      1  SATA NCQ Send and Receive log
0x15       GPL     R/W      1  Rebuild Assist log
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x24       GPL     R/O    256  Current Device Internal Status Data log
0x25       GPL     R/O    256  Saved Device Internal Status Data log
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (1 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%        89         -
# 2  Short offline       Completed without error       00%        17         -

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.

SCT Status Version:                  3
SCT Version (vendor specific):       256 (0x0100)
Device State:                        Active (0)
Current Temperature:                    45 Celsius
Power Cycle Min/Max Temperature:     22/49 Celsius
Lifetime    Min/Max Temperature:     21/55 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -40/70 Celsius
Temperature History Size (Index):    128 (2)

Index    Estimated Time   Temperature Celsius
   3    2022-12-12 18:53    45  **************************
 ...    ..(126 skipped).    ..  **************************
   2    2022-12-12 21:00    45  **************************

SCT Error Recovery Control:
           Read:     70 (7.0 seconds)
          Write:     70 (7.0 seconds)

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 1) ==
0x01  0x008  4               3  ---  Lifetime Power-On Resets
0x01  0x010  4              89  ---  Power-on Hours
0x01  0x018  6     23440894600  ---  Logical Sectors Written
0x01  0x020  6        19130295  ---  Number of Write Commands
0x01  0x028  6     23486320139  ---  Logical Sectors Read
0x01  0x030  6        23074433  ---  Number of Read Commands
0x01  0x038  6       323651950  ---  Date and Time TimeStamp
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4              87  ---  Spindle Motor Power-on Hours
0x03  0x010  4              87  ---  Head Flying Hours
0x03  0x018  4               8  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4               0  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4               0  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              45  ---  Current Temperature
0x05  0x010  1              44  N--  Average Short Term Temperature
0x05  0x018  1               -  N--  Average Long Term Temperature
0x05  0x020  1              55  ---  Highest Temperature
0x05  0x028  1              21  ---  Lowest Temperature
0x05  0x030  1              48  N--  Highest Average Short Term Temperature
0x05  0x038  1              25  N--  Lowest Average Short Term Temperature
0x05  0x040  1               -  N--  Highest Average Long Term Temperature
0x05  0x048  1               -  N--  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              60  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               0  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4              17  ---  Number of Hardware Resets
0x06  0x010  4               1  ---  Number of ASR Events
0x06  0x018  4               0  ---  Number of Interface CRC Errors
0xff  =====  =               =  ===  == Vendor Specific Statistics (rev 1) ==
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

Pending Defects log (GP Log 0x0c)
No Defects Logged

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x0008  2            0  Device-to-host non-data FIS retries
0x0009  2            3  Transition from drive PhyRdy to drive PhyNRdy
0x000a  2            4  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x000d  2            0  Non-CRC errors within host-to-device FIS

Unfortunately I didn't capture Victoria HDD Smart values before putting it into my NAS, but AFAIR those look pretty close to WD120EFAX: https://www.smartmontools.org/ticket/1675

And WD121KFBX was detected as native HGST as well.

Attachments (1)

ioctl_res.txt (31.7 KB ) - added by ikrasnopeev 2 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by ikrasnopeev, 2 years ago

Found a way to fetch Victoria SMART from its logs:

ST8000DM004-2CX188   WCT050G9
-----------------------------------------------------------------------------------
  ID      Name                   Value  Worst  Tresh       Raw    Health
-----------------------------------------------------------------------------------
  1 Raw read error rate                 100    100      0                0   ••••• 
  2 Throughput perfomance               100    100      0                0   ••••• 
  3 Spin-up time                        100    100      0        4 / 0 / 0   ••••• 
  4 Number of spin-up times             100    100      0                3   ••••• 
  5 Reallocated sector count            100    100      0                0   ••••• 
  7 Seek error rate                     100    100      0                0   ••••• 
  8 Seek time perfomance                100    100      0                0   ••••• 
  9 Power-on time                       100    100      0               13   ••••• 
 10 Spin-up retries                     100    100      0                0   ••••• 
 12 Power cycle count                   100    100      0                2   ••••• 
 22 Current HELIUM level                100    100      0              100   ••••• 
189 High Fly writes                     100    100      0                0   ••••• 
191 G-SENSOR shock counter              100    100      0                0   ••••• 
192 Power Off Cycles count + Retract count      100    100      0                4   ••••• 
193 Load/unload cycle count             100    100      0                4   ••••• 
194 HDA Temperature                     253    253      0        22°C/72°F   ••••  
194 Minimum temperature                  90    253      0        21°C/69°F   -     
194 Maximum temperature                  90    253      0       50°C/122°F   -     
196 Reallocated event count             100    100      0                0   ••••• 
197 Current pending sectors             100    100      0                0   ••••• 
198 Offline uncorrectable sectors count      100    100      0                0   ••••• 
199 Ultra DMA CRC errors                200    200      0                0   ••••• 
211 Spin running current, mA            100    100      0   122 / 22 / 357   ••••• 
222 Loaded hours                        100    100      0               13   ••••• 
223 Load retry count                    100    100      0                0   ••••• 
226 Load-in time                        199    199      0            9 / 2   ••••• 
230 GMR head amplitude                   99     97      0            3 / 1   ••••  

Obviously it was captured earlier than above smartctl7.3 output.

Version 0, edited 2 years ago by ikrasnopeev (next)

comment:2 by Christian Franke, 2 years ago

Milestone: unscheduled

Thanks. Interestingly smartctl does not print attributes 189, 191, 211, 222, 223, 226, 230. See also ticket #1675. This should not happen as the number of printed attributes is independent from the drive database.

Does this "Victoria" tool possibly read SMART data via a vendor specific command?
Is this tool provided by WDC?

For further diagnostics, please provide the output of smartctl -r ioctl,2 -i -A /dev/... as an attachment.

by ikrasnopeev, 2 years ago

Attachment: ioctl_res.txt added

comment:3 by ikrasnopeev, 2 years ago

Looks like you are right. Though Victoria is not a WDC tool, it seems it does use vendor specific commands (it calls "IBM super smart") in this case.
Here how SMART looks with that disabled (for WDC WD120EFAX from #1675):

WDC WD120EFAX-68UNTN0   5PJ8EPMD
-----------------------------------------------------------------------------------
  ID      Name                   Value  Worst  Tresh       Raw    Health
-----------------------------------------------------------------------------------
  1 Raw read error rate                 100    100     16                0   ••••• 
  2 Throughput perfomance               127    127     54              112   ••••• 
  3 Spin-up time                        166    166     24    8 / 408 / 384   ••••• 
  4 Number of spin-up times             100    100      0              227   ••••• 
  5 Reallocated sector count            100    100      5                0   ••••• 
  7 Seek error rate                     100    100     67                0   ••••• 
  8 Seek time perfomance                136    136     20               16   ••••• 
  9 Power-on time                        98     98      0            16532   ••••  
 10 Spin-up retries                     100    100     60                0   ••••• 
 12 Power cycle count                   100    100      0               28   ••••• 
 22 Current HELIUM level                100    100     25              100   ••••• 
192 Power Off Cycles count + Retract count      100    100      0              905   ••••• 
193 Load/unload cycle count             100    100      0              905   ••••• 
194 HDA Temperature                     253    253      0        23°C/73°F   ••••  
194 Minimum temperature                  90    253      0        13°C/55°F   -     
194 Maximum temperature                  90    253      0       53°C/127°F   -     
196 Reallocated event count             100    100      0                0   ••••• 
197 Current pending sectors             100    100      0                0   ••••• 
198 Offline uncorrectable sectors count      100    100      0                0   ••••• 
199 Ultra DMA CRC errors                200    200      0                0   ••••• 

I also attached diagnostics output - just in case.

comment:4 by Christian Franke, 2 years ago

The debug output looks sane, all provided attributes are printed.

"IBM Super SMART" reminds me that someone requested this as a smartctl enhancement in 2018. We rejected this because no sufficient further information could be provided. It is dangerous to issue vendor specific commands unless it is known that the device supports it. Victoria is apparently only freeware, the source code is unavailable.

https://forum.hddguru.com/viewtopic.php?f=7&t=35736&start=24
https://www.softpedia.com/get/System/Hard-Disk-Utils/Victoria.shtml

comment:5 by ikrasnopeev, 2 years ago

@Christian,
Makes sense. In this case seems both this and #1675 are just about adding/updating RegExes and making sure 22 is shown as "Current HELIUM level".

comment:6 by Christian Franke, 9 months ago

Milestone: unscheduledRelease 7.5
Owner: set to Christian Franke
Status: newaccepted

comment:7 by Christian Franke, 9 months ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.