Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#1162 closed enhancement (fixed)

Western Digital "Blue 3D" WDS500G2B0A SSD

Reported by: Andrey Kopeyko Owned by: Christian Franke
Priority: minor Milestone: Release 7.1
Component: drivedb Version:
Keywords: ssd Cc:

Description

Hi all!

Please add the following SSD into 'drivedb.h'.

kaa@www3:~/work$ sudo smartctl -q noserial -x /dev/sdd
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-164-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     WD Blue and Green SSDs
Device Model:     WDC WDS500G2B0A-00SM50
Firmware Version: X61130WD
User Capacity:    500,107,862,016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   Unknown(0x0ff0) (unknown minor revision code: 0x005e)
SATA Version is:  SATA >3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Thu Jan 31 12:11:59 2019 MSK
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM level is:     128 (minimum power consumption without standby)
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: Unavailable

=== 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: 		(    0) seconds.
Offline data collection
capabilities: 			 (0x11) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					No 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: 	 (  10) minutes.

SMART Attributes Data Structure revision number: 4
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  5 Reallocated_Sector_Ct   -O--CK   100   100   ---    -    0
  9 Power_On_Hours          -O--CK   100   100   ---    -    44
 12 Power_Cycle_Count       -O--CK   100   100   ---    -    9
165 Block_Erase_Count       -O--CK   100   100   ---    -    1245194
166 Minimum_PE_Cycles_TLC   -O--CK   100   100   ---    -    0
167 Max_Bad_Blocks_per_Die  -O--CK   100   100   ---    -    39
168 Maximum_PE_Cycles_TLC   -O--CK   100   100   ---    -    1
169 Total_Bad_Blocks        -O--CK   100   100   ---    -    327
170 Grown_Bad_Blocks        -O--CK   100   100   ---    -    0
171 Program_Fail_Count      -O--CK   100   100   ---    -    0
172 Erase_Fail_Count        -O--CK   100   100   ---    -    0
173 Average_PE_Cycles_TLC   -O--CK   100   100   ---    -    0
174 Unexpected_Power_Loss   -O--CK   100   100   ---    -    3
184 End-to-End_Error        -O--CK   100   100   ---    -    0
187 Reported_Uncorrect      -O--CK   100   100   ---    -    0
188 Command_Timeout         -O--CK   100   100   ---    -    0
194 Temperature_Celsius     -O---K   079   038   ---    -    21 (Min/Max 18/38)
199 UDMA_CRC_Error_Count    -O--CK   100   100   ---    -    0
230 Media_Wearout_Indicator -O--CK   100   100   ---    -    0x000200000002
232 Available_Reservd_Space PO--CK   100   100   004    -    100
233 NAND_GB_Written_TLC     -O--CK   100   100   ---    -    110
234 NAND_GB_Written_SLC     -O--CK   100   100   ---    -    128
241 Total_Host_GB_Written   ----CK   253   253   ---    -    127
242 Total_Host_GB_Read      ----CK   253   253   ---    -    32
244 Temp_Throttle_Status    -O--CK   000   100   ---    -    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      2  Comprehensive SMART error log
0x03       GPL     R/O      1  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x10       GPL     R/O      1  NCQ Command Error log
0x11       GPL     R/O      1  SATA Phy Event Counters
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xde       GPL     VS       8  Device vendor specific log

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  Extended offline    Completed without error       00%        43         -
# 2  Short offline       Completed without error       00%         0         -

Selective Self-tests/Logging not supported

SCT Commands not supported

Device Statistics (GP Log 0x04)
Page Offset Size         Value  Description
  1  =====  =                =  == General Statistics (rev 1) ==
  1  0x008  4                9  Lifetime Power-On Resets
  1  0x010  4                0  Power-on Hours
  1  0x018  6        267234128  Logical Sectors Written
  1  0x020  6          2467179  Number of Write Commands
  1  0x028  6         69005343  Logical Sectors Read
  1  0x030  6          4174243  Number of Read Commands
  7  =====  =                =  == Solid State Device Statistics (rev 1) ==
  7  0x008  1                0~ Percentage Used Endurance Indicator
                              |_ ~ normalized value

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  4            0  Command failed due to ICRC error
0x0002  4            0  R_ERR response for data FIS
0x0005  4            0  R_ERR response for non-data FIS
0x000a  4            3  Device-to-host register FISes sent due to a COMRESET

kaa@www3:~/work$ 

I've downloaded fresh 'drivedb.h' vesrion and slightly patched it

kaa@www3:~/work$ diff -u /var/lib/smartmontools/drivedb/drivedb.h-201812 /var/lib/smartmontools/drivedb/drivedb.h
--- /var/lib/smartmontools/drivedb/drivedb.h-201812	2019-01-31 10:48:50.950532701 +0300
+++ /var/lib/smartmontools/drivedb/drivedb.h	2019-01-31 11:28:17.456898901 +0300
@@ -3816,7 +3816,8 @@
   { "WD Blue and Green SSDs", // tested with WDC WDS250G1B0A-00H9H0/X41000WD,
       // WDC WDS250G1B0A-00H9H0/X41100WD, WDC WDS100T1B0A-00H9H0,
       // WDC WDS120G2G0A-00JH30/UE360000, WDC WDS240G2G0A-00JH30/UF300000
-    "WDC WDS((120|240|250|480|500)G|100T)(1B|2G)0[AB]-.*", // *1B* = Blue, *2G* = Green
+      // WDC WDS500G2B0A-00SM50/X61130WD
+    "WDC WDS((120|240|250|480|500)G|100T)(1B|2B|2G)0[AB]-.*", // *1B* = Blue, *2G* = Green; *2B* = Blue 3D NAND
     "", "",
   //"-v 5,raw48,Reallocated_Sector_Ct " // Reassigned Block Count
   //"-v 9,raw48,Power_On_Hours "
kaa@www3:~/work$ 

Maybe, it'll be better to start new entry - especially for "WD Blue 3D NAND SSDs".

It seems to be working fine (I really wrote a lot of data to this drive in order to test it performance):

kaa@www3:~$ sudo smartctl -A /dev/sdd
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-164-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 4
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0032   100   100   ---    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   ---    Old_age   Always       -       44
 12 Power_Cycle_Count       0x0032   100   100   ---    Old_age   Always       -       9
165 Block_Erase_Count       0x0032   100   100   ---    Old_age   Always       -       1245194
166 Minimum_PE_Cycles_TLC   0x0032   100   100   ---    Old_age   Always       -       0
167 Max_Bad_Blocks_per_Die  0x0032   100   100   ---    Old_age   Always       -       39
168 Maximum_PE_Cycles_TLC   0x0032   100   100   ---    Old_age   Always       -       1
169 Total_Bad_Blocks        0x0032   100   100   ---    Old_age   Always       -       327
170 Grown_Bad_Blocks        0x0032   100   100   ---    Old_age   Always       -       0
171 Program_Fail_Count      0x0032   100   100   ---    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   ---    Old_age   Always       -       0
173 Average_PE_Cycles_TLC   0x0032   100   100   ---    Old_age   Always       -       0
174 Unexpected_Power_Loss   0x0032   100   100   ---    Old_age   Always       -       3
184 End-to-End_Error        0x0032   100   100   ---    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   ---    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   ---    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   081   038   ---    Old_age   Always       -       19 (Min/Max 18/38)
199 UDMA_CRC_Error_Count    0x0032   100   100   ---    Old_age   Always       -       0
230 Media_Wearout_Indicator 0x0032   100   100   ---    Old_age   Always       -       0x000200000002
232 Available_Reservd_Space 0x0033   100   100   004    Pre-fail  Always       -       100
233 NAND_GB_Written_TLC     0x0032   100   100   ---    Old_age   Always       -       110
234 NAND_GB_Written_SLC     0x0032   100   100   ---    Old_age   Always       -       128
241 Total_Host_GB_Written   0x0030   253   253   ---    Old_age   Offline      -       127
242 Total_Host_GB_Read      0x0030   253   253   ---    Old_age   Offline      -       32
244 Temp_Throttle_Status    0x0032   000   100   ---    Old_age   Always       -       0

kaa@www3:~$ 

Change History (5)

comment:1 by Christian Franke, 5 years ago

Keywords: ssd added; SSD drivedb.h removed
Milestone: Release 7.1

comment:2 by Christian Franke, 5 years ago

Ticket #1169 has been marked as a duplicate of this ticket.
Requires change ...100T... -> ...[12]00T... to above patch.

comment:3 by Christian Franke, 5 years ago

Owner: set to Christian Franke
Status: newaccepted

comment:4 by Christian Franke, 5 years ago

Resolution: fixed
Status: acceptedclosed

comment:5 by Christian Franke, 4 years ago

Ticket #1048 has been marked as a duplicate of this ticket.

Note: See TracTickets for help on using tickets.