249 is the number of gigabytes written to NAND.

No references found, I just guessed it from another DB entry with the same number and the value's dynamic when testing a brand-new drive (it went from 0 to 3, then to 5 when I performed yet another write test that writes ~1GiB of data).

Last but not the least, drivedb.h parser in Smartctl 6.5 turns out to ignore the lines
that have the // comment, even if it's not the first token in the line.
That's why there are so many unknown attributes in the output.
I reported it at https://www.smartmontools.org/ticket/854 .

--
--
With best regards,
Ivan Pozdeev
smartctl 6.5 2016-05-07 r4318 [i686-w64-mingw32-win7-sp1] (sf-6.5-1)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Samsung based SSDs
Device Model:     SAMSUNG MZ7LN512HCHP-000L1
Serial Number:    S1ZKNX0H604231
LU WWN Device Id: 5 002538 d00000000
Firmware Version: EMT04L0Q
User Capacity:    512 110 190 592 bytes [512 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:   ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Jul 05 01:29:01 2017 RTZ
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
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:  (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:                    (0x53) SMART execute Offline immediate.
                                        Auto Offline data collection on/off 
support.
                                        Suspend Offline collection upon new
                                        command.
                                        No 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:        ( 265) 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: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  5 Reallocated_Sector_Ct   PO--CK   100   100   010    -    0
  9 Power_On_Hours          -O--CK   099   099   000    -    2
 12 Power_Cycle_Count       -O--CK   099   099   000    -    3
170 Unknown_Attribute       -O--CK   100   100   010    -    0
171 Unknown_Attribute       -O--CK   100   100   010    -    0
172 Unknown_Attribute       -O--CK   100   100   010    -    0
173 Unknown_Attribute       PO--CK   100   100   005    -    0
174 Unknown_Attribute       -O--CK   100   100   000    -    0
178 Used_Rsvd_Blk_Cnt_Chip  PO--C-   100   100   010    -    0
180 Unused_Rsvd_Blk_Cnt_Tot PO--C-   100   100   010    -    1533
184 End-to-End_Error        PO--CK   100   100   097    -    0
187 Uncorrectable_Error_Cnt -O--CK   100   100   000    -    0
194 Temperature_Celsius     -O--CK   072   059   000    -    28
199 CRC_Error_Count         -OSRCK   100   100   000    -    0
233 Media_Wearout_Indicator PO--C-   100   100   000    -    16777215
241 Total_LBAs_Written      -O--CK   099   099   000    -    5
242 Total_LBAs_Read         -O--CK   099   099   000    -    490
249 Unknown_Attribute       -O--CK   099   099   000    -    5
                            ||||||_ 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
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x13       GPL     R/O      1  SATA NCQ Send and Receive log
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xdf       GPL,SL  VS       1  Device 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  Extended captive    Interrupted (host reset)      90%         1         -
# 2  Extended offline    Aborted by host               90%         1         -
# 3  Extended offline    Aborted by host               90%         0         -

Warning! SMART Selective Self-Test Log Structure error: invalid SMART checksum.
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
  255        0    65535  Read_scanning was never started
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)
SCT Support Level:                   1
Device State:                        SCT command executing in background (5)
Current Temperature:                    27 Celsius
Power Cycle Min/Max Temperature:     27/40 Celsius
Lifetime    Min/Max Temperature:      0/70 Celsius
Under/Over Temperature Limit Count:  4294967295/4294901760
SMART Status:                        0xffff (Reserved)

SCT Temperature History Version:     3 (Unknown, should be 2)
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        10 minutes
Min/Max recommended Temperature:      0/70 Celsius
Min/Max Temperature Limit:            0/70 Celsius
Temperature History Size (Index):    128 (2)

Index    Estimated Time   Temperature Celsius
   3    2017-07-04 04:10     ?  -
 ...    ..(123 skipped).    ..  -
 127    2017-07-05 00:50     ?  -
   0    2017-07-05 01:00    40  *********************
   1    2017-07-05 01:10    27  ********
   2    2017-07-05 01:20    27  ********

SCT Error Recovery Control:
           Read: Disabled
          Write: Disabled

Device Statistics (GP/SMART Log 0x04) not supported

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           10  Transition from drive PhyRdy to drive PhyNRdy
0x000a  2            0  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
0x000f  2            0  R_ERR response for host-to-device data FIS, CRC
0x0010  2            0  R_ERR response for host-to-device data FIS, non-CRC
0x0012  2            0  R_ERR response for host-to-device non-data FIS, CRC
0x0013  2            0  R_ERR response for host-to-device non-data FIS, non-CRC

--- drivedb.h_  2017-07-04 04:28:07.421875000 +0300
+++ drivedb.h   2017-07-05 01:55:29.531250000 +0300
@@ -1242,51 +1242,78 @@
     "-v 242,raw48,Host_Reads_32MiB"
   },
   { "Samsung based SSDs",
-    "SAMSUNG SSD PM800 .*GB|"  // SAMSUNG PM800 SSDs, tested with SAMSUNG SSD 
PM800 TH 64GB/VBM25D1Q
-    "SAMSUNG SSD PM810 .*GB|"  // SAMSUNG PM810 (470 series) SSDs, tested with 
SAMSUNG SSD PM810 2.5" 128GB/AXM06D1Q
-    "SAMSUNG SSD PM851 (mSATA |M\\.2 )?(2280 )?(128|256|512)GB|" // tested 
with SAMSUNG SSD PM851 mSATA 128GB,
+    "SAMSUNG SSD PM800 .*GB|"
+      // SAMSUNG PM800 SSDs, tested with SAMSUNG SSD PM800 TH 64GB/VBM25D1Q
+    "SAMSUNG SSD PM810 .*GB|"
+      // SAMSUNG PM810 (470 series) SSDs, tested with SAMSUNG SSD PM810 2.5" 
128GB/AXM06D1Q
+    "SAMSUNG SSD PM851 (mSATA |M\\.2 )?(2280 )?(128|256|512)GB|"
+      // tested with SAMSUNG SSD PM851 mSATA 128GB,
       // SAMSUNG SSD PM851 M.2 2280 256GB/EXT25D0Q
-    "SAMSUNG SSD SM841N (mSATA )?(128|256|512)GB|" // tested with SAMSUNG SSD 
SM841N mSATA 256GB
-    "SAMSUNG 470 Series SSD|"  // tested with SAMSUNG 470 Series SSD 
64GB/AXM09B1Q
-    "Samsung SSD 750 EVO (120|250|500)GB|" // tested with Samsung SSD 750 EVO 
250GB/MAT01B6Q
-    "SAMSUNG SSD 830 Series|"  // tested with SAMSUNG SSD 830 Series 
64GB/CXM03B1Q
-    "MZ7PC(512|256|128|064)HA(GH|FU|DR)-000.*|" // probably PM830, tested with 
SAMSUNG MZ7PC128HAFU-000L1/CXM04L1Q
-    "Samsung SSD 840 (PRO )?Series|" // tested with Samsung SSD 840 PRO Series 
128GB/DXM04B0Q,
+    "SAMSUNG SSD SM841N (mSATA )?(128|256|512)GB|"
+      // tested with SAMSUNG SSD SM841N mSATA 256GB
+    "SAMSUNG 470 Series SSD|"
+      // tested with SAMSUNG 470 Series SSD 64GB/AXM09B1Q
+    "Samsung SSD 750 EVO (120|250|500)GB|"
+      // tested with Samsung SSD 750 EVO 250GB/MAT01B6Q
+    "SAMSUNG SSD 830 Series|"
+      // tested with SAMSUNG SSD 830 Series 64GB/CXM03B1Q
+    "MZ7PC(512|256|128|064)HA(GH|FU|DR)-000.*|"
+      // probably PM830, tested with SAMSUNG MZ7PC128HAFU-000L1/CXM04L1Q
+    "Samsung SSD 840 (PRO )?Series|"
+      // tested with Samsung SSD 840 PRO Series 128GB/DXM04B0Q,
       // Samsung SSD 840 Series/DXT06B0Q
-    "Samsung SSD 8[45]0 EVO (mSATA |M\\.2 )?((120|250|500|750)G|1T)B( 
mSATA)?|" // tested with
+    "Samsung SSD 8[45]0 EVO (mSATA |M\\.2 )?((120|250|500|750)G|1T)B( mSATA)?|"
+      // tested with
       // Samsung SSD 840 EVO (120|250|500|750)GB/EXT0AB0Q,
       // Samsung SSD 840 EVO (120|250)GB/EXT0BB6Q, 1TB/EXT0BB0Q, 120GB 
mSATA/EXT41B6Q,
       // Samsung SSD 850 EVO 250GB/EMT01B6Q
       // Samsung SSD 850 EVO M.2 250GB/EMT21B6Q
       // Samsung SSD 850 EVO mSATA 120GB/EMT41B6Q
-    "Samsung SSD 850 PRO ((128|256|512)G|1T)B|" // tested with Samsung SSD 850 
PRO 128GB/EXM01B6Q,
+    "Samsung SSD 850 PRO ((128|256|512)G|1T)B|"
+      // tested with Samsung SSD 850 PRO 128GB/EXM01B6Q,
       // Samsung SSD 850 PRO 1TB/EXM01B6Q
-    "SAMSUNG MZ7PA256HMDR-.*|" // PM810 (470 Series), tested with SAMSUNG 
MZ7PA256HMDR-010H1/AXM07H1Q
-    "SAMSUNG MZ[7M]PC(032|064|128|256|512)HBCD-.*|" // PM830, tested with 
SAMSUNG MZMPC032HBCD-000L1/CXM12L1Q
-    "SAMSUNG MZ7TD(128|256)HAFV-.*|" // 840 Series, tested with SAMSUNG 
MZ7TD256HAFV-000L7/DXT06L6Q
-    "SAMSUNG MZ7WD((120|240)H[AC]FV|480HAGM|960HAGP)-00003|" // SM843T Series, 
tested with
+    "SAMSUNG MZ7PA256HMDR-.*|"
+      // PM810 (470 Series), tested with SAMSUNG MZ7PA256HMDR-010H1/AXM07H1Q
+    "SAMSUNG MZ[7M]PC(032|064|128|256|512)HBCD-.*|"
+      // PM830, tested with SAMSUNG MZMPC032HBCD-000L1/CXM12L1Q
+    "SAMSUNG MZ7TD(128|256)HAFV-.*|"
+      // 840 Series, tested with SAMSUNG MZ7TD256HAFV-000L7/DXT06L6Q
+    "SAMSUNG MZ7WD((120|240)H[AC]FV|480HAGM|960HAGP)-00003|"
+      // SM843T Series, tested with
       // SAMSUNG MZ7WD120HAFV-00003/DXM85W3Q, SAMSUNG 
MZ7WD120HCFV-00003/DXM9203Q
-    "SAMSUNG MZ[7N]TE(128|256|512)HMHP-.*|" // PM851, tested with SAMSUNG 
MZ7TE256HMHP-000L7/EXT09L6Q,
+    "SAMSUNG MZ[7N]TE(128|256|512)HMHP-.*|"
+      // PM851, tested with SAMSUNG MZ7TE256HMHP-000L7/EXT09L6Q,
       // SAMSUNG MZNTE256HMHP-000H1/EXT22H0Q
-    "SAMSUNG MZ7GE(240HMGR|(480|960)HMHP)-00003|" // SM853T Series, tested with
+    "SAMSUNG MZ7GE(240HMGR|(480|960)HMHP)-00003|"
+      // SM853T Series, tested with
       // SAMSUNG MZ7GE240HMGR-00003/EXT0303Q
-    "SAMSUNG MZ7LM(120|240|480|960|1T9|3T8)HC(JM|HP|GR|FD)-.*|" // PM863 
Series, tested with
+    "SAMSUNG MZ7LM(120|240|480|960|1T9|3T8)HC(JM|HP|GR|FD)-.*|"
+      // PM863 Series, tested with
       // SAMSUNG MZ7LM960HCHP-0E003/GXT3003Q
-    "SAMSUNG MZ7KM(120|240|480|960|1T9)HA(JM|HP|GR|FD|JM)-.*|" // SM863, 
tested with MZ7KM480HAHP-0E005/GXM1003Q
-    "SAMSUNG MZN(LF|TY)(128|256)H[CD]HP-.*|" // CM871/871a, tested with 
SAMSUNG MZNLF128HCHP-000H1/FXT21H1Q,
+    "SAMSUNG MZ7KM(120|240|480|960|1T9)HA(JM|HP|GR|FD|JM)-.*|"
+      // SM863, tested with MZ7KM480HAHP-0E005/GXM1003Q
+    "SAMSUNG MZN(LF|TY)(128|256)H[CD]HP-.*|"
+      // CM871/871a, tested with SAMSUNG MZNLF128HCHP-000H1/FXT21H1Q,
       // SAMSUNG MZNTY256HDHP-000/MAT21K0Q
-    "SAMSUNG MZ[7N]LN(128|256|512)H[CM](GR|HP|JH|JP)-.*|" // PM871/871a, 
tested with SAMSUNG MZ7LN128HCHP,
+    "SAMSUNG MZ[7N]LN(128|256|512)H[CM](GR|HP|JH|JP)-.*|"
+      // PM871/871a, tested with SAMSUNG MZ7LN128HCHP,
       // SAMSUNG MZ7LN256HMJP-00000/MAV0100Q, SAMSUNG 
MZ7LN512HMJP-00000/MAV0100Q
-    "SAMSUNG MZHPV(128|256|512)HDGL-.*", // SM951, tested with SAMSUNG 
MZHPV512HDGL-00000/BXW2500Q
+    "SAMSUNG MZHPV(128|256|512)HDGL-.*",
+      // SM951, tested with SAMSUNG MZHPV512HDGL-00000/BXW2500Q
     "", "",
   //"-v 5,raw16(raw16),Reallocated_Sector_Ct "
   //"-v 9,raw24(raw8),Power_On_Hours "
   //"-v 12,raw48,Power_Cycle_Count "
-    "-v 170,raw48,Unused_Rsvd_Blk_Ct_Chip " // CM871
-    "-v 171,raw48,Program_Fail_Count_Chip " // CM871
-    "-v 172,raw48,Erase_Fail_Count_Chip " // CM871
-    "-v 173,raw48,Wear_Leveling_Count " // CM871
-    "-v 174,raw48,Unexpect_Power_Loss_Ct " // CM871
+    "-v 170,raw48,Unused_Rsvd_Blk_Ct_Chip "
+      // CM871
+    "-v 171,raw48,Program_Fail_Count_Chip "
+      // CM871
+    "-v 172,raw48,Erase_Fail_Count_Chip "
+      // CM871
+    "-v 173,raw48,Wear_Leveling_Count "
+      // CM871
+    "-v 174,raw48,Unexpect_Power_Loss_Ct "
+      // CM871
   //"-v 175,raw48,Program_Fail_Count_Chip "
   //"-v 176,raw48,Erase_Fail_Count_Chip "
   //"-v 177,raw48,Wear_Leveling_Count "
@@ -1296,10 +1323,13 @@
   //"-v 181,raw48,Program_Fail_Cnt_Total "
   //"-v 182,raw48,Erase_Fail_Count_Total "
   //"-v 183,raw48,Runtime_Bad_Block "
-  //"-v 184,raw48,End-to-End_Error " // SM843T Series
+  //"-v 184,raw48,End-to-End_Error "
+    // SM843T Series
     "-v 187,raw48,Uncorrectable_Error_Cnt "
-  //"-v 190,tempminmax,Airflow_Temperature_Cel "  // seems to be some sort of 
temperature value for 470 Series?
-    "-v 191,raw48,Unknown_Samsung_Attr " // PM810
+  //"-v 190,tempminmax,Airflow_Temperature_Cel "
+    // seems to be some sort of temperature value for 470 Series?
+    "-v 191,raw48,Unknown_Samsung_Attr "
+      // PM810
   //"-v 194,tempminmax,Temperature_Celsius "
     "-v 195,raw48,ECC_Error_Rate "
   //"-v 196,raw16(raw16),Reallocated_Event_Count "
@@ -1307,22 +1337,37 @@
     "-v 199,raw48,CRC_Error_Count "
     "-v 201,raw48,Supercap_Status "
     "-v 202,raw48,Exception_Mode_Status "
-  //"-v 233,raw48,Media_Wearout_Indicator // PM851, 840
-    "-v 234,raw48,Unknown_Samsung_Attr " // PM851, 840
-    "-v 235,raw48,POR_Recovery_Count " // PM851, 830/840/850
-    "-v 236,raw48,Unknown_Samsung_Attr " // PM851, 840
-    "-v 237,raw48,Unknown_Samsung_Attr " // PM851, 840
-    "-v 238,raw48,Unknown_Samsung_Attr " // PM851, 840
+  //"-v 233,raw48,Media_Wearout_Indicator
+    // PM851, 840
+    "-v 234,raw48,Unknown_Samsung_Attr "
+      // PM851, 840
+    "-v 235,raw48,POR_Recovery_Count "
+      // PM851, 830/840/850
+    "-v 236,raw48,Unknown_Samsung_Attr "
+      // PM851, 840
+    "-v 237,raw48,Unknown_Samsung_Attr "
+      // PM851, 840
+    "-v 238,raw48,Unknown_Samsung_Attr "
+      // PM851, 840
   //"-v 241,raw48,Total_LBAs_Written "
-  //"-v 242,raw48,Total_LBAs_Read " // PM851, SM841N
-    "-v 243,raw48,SATA_Downshift_Ct " // PM863
-    "-v 244,raw48,Thermal_Throttle_St " // PM863
-    "-v 245,raw48,Timed_Workld_Media_Wear " // PM863
-    "-v 246,raw48,Timed_Workld_RdWr_Ratio " // PM863
-    "-v 247,raw48,Timed_Workld_Timer " // PM863
-    "-v 249,raw48,Unknown_Samsung_Attr " // CM871a
-    "-v 250,raw48,SATA_Iface_Downshift " // from the spec
-    "-v 251,raw48,NAND_Writes" // PM863
+  //"-v 242,raw48,Total_LBAs_Read "
+      // PM851, SM841N
+    "-v 243,raw48,SATA_Downshift_Ct "
+      // PM863
+    "-v 244,raw48,Thermal_Throttle_St "
+      // PM863
+    "-v 245,raw48,Timed_Workld_Media_Wear "
+      // PM863
+    "-v 246,raw48,Timed_Workld_RdWr_Ratio "
+      // PM863
+    "-v 247,raw48,Timed_Workld_Timer "
+      // PM863
+    "-v 249,raw48,NAND_Writes_1GiB "
+      // CM871a, PM871
+    "-v 250,raw48,SATA_Iface_Downshift "
+      // from the spec
+    "-v 251,raw48,NAND_Writes"
+      // PM863
   },
   { "Marvell based SanDisk SSDs",
     "SanDisk SD5SG2[0-9]*G1052E|" // X100 (88SS9174), tested with SanDisk 
SD5SG2256G1052E/10.04.01
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Smartmontools-database mailing list
Smartmontools-database@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-database

Reply via email to