Opened 5 years ago

Closed 5 years ago

Last modified 9 months ago

#463 closed enhancement (fixed)

Add SanDisk X300s 512Gb to the drivedb

Reported by: ava1ar Owned by: Alex Samorukov
Priority: minor Milestone:
Component: drivedb Version: 6.3
Keywords: Cc:

Description

Please, could you add the following device in drivedb:
SanDisk? SD7UB2Q512G1122 (Sandisk X300s 512Gb).

I checked both 6.3 release and latest SVN build, but drive is not in database.

Attachments (3)

SandiskX300s.txt (6.2 KB) - added by ava1ar 5 years ago.
Drive info
devices_info.xml (3.3 KB) - added by ava1ar 5 years ago.
Sandisk SSD model list
smart.zip (8.9 KB) - added by ava1ar 5 years ago.
SMART attributes naming for Sandisk SSD drives

Download all attachments as: .zip

Change History (17)

Changed 5 years ago by ava1ar

Attachment: SandiskX300s.txt added

Drive info

comment:1 Changed 5 years ago by Alex Samorukov

Owner: set to Alex Samorukov
Status: newassigned

comment:2 Changed 5 years ago by Alex Samorukov

Interesting, it should be added in #349, i will check now why it's not working.

comment:3 Changed 5 years ago by Alex Samorukov

It seems to be some old generation of the drive with a bit different naming scheme. I extended X300s REGEXP in the r3991. Please test and let me know if it works.

comment:4 Changed 5 years ago by ava1ar

Thanks, now device identified properly:

Model Family:     SanDisk based SSDs
Device Model:     SanDisk SD7UB2Q512G1122
Serial Number:    141524600200
LU WWN Device Id: 5 001b44 bff1b0188
Firmware Version: X2150300
User Capacity:    512,110,190,592 bytes [512 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Oct  6 13:40:31 2014 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

However I see couple of Unknown_Attribute entries in the output:

  5 Reallocated_Sector_Ct   0x0032   100   100   ---    Old_age   Always       -       20
  9 Power_On_Hours          0x0032   253   100   ---    Old_age   Always       -       478
 12 Power_Cycle_Count       0x0032   100   100   ---    Old_age   Always       -       64
166 Unknown_Attribute       0x0032   100   100   ---    Old_age   Always       -       2
167 Unknown_Attribute       0x0032   100   100   ---    Old_age   Always       -       79
168 Unknown_Attribute       0x0032   100   100   ---    Old_age   Always       -       28
169 Unknown_Attribute       0x0032   100   100   ---    Old_age   Always       -       1621
171 Program_Fail_Count      0x0032   100   100   ---    Old_age   Always       -       1
172 Erase_Fail_Count        0x0032   100   100   ---    Old_age   Always       -       0
173 Avg_Write_Erase_Ct      0x0032   100   100   ---    Old_age   Always       -       2
174 Unexpect_Power_Loss_Ct  0x0032   100   100   ---    Old_age   Always       -       21
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       -       6
194 Temperature_Celsius     0x0022   065   045   ---    Old_age   Always       -       35 (Min/Max 23/45)
199 UDMA_CRC_Error_Count    0x0032   100   100   ---    Old_age   Always       -       0
212 Unknown_Attribute       0x0032   100   100   ---    Old_age   Always       -       0
230 Perc_Write_Erase_Count  0x0032   100   100   ---    Old_age   Always       -       6
232 Perc_Avail_Resrvd_Space 0x0033   100   100   004    Pre-fail  Always       -       99
233 Media_Wearout_Indicator 0x0032   100   100   ---    Old_age   Always       -       208
241 Total_LBAs_Written      0x0030   253   253   ---    Old_age   Offline      -       449
242 Total_LBAs_Read         0x0030   253   253   ---    Old_age   Offline      -       252
244 Unknown_Attribute       0x0032   000   100   ---    Old_age   Always       -       0

Names for the attributes with 166, 167,168,169 ids can be taken from Sandisk utility output, posted in the #334 issue:

166 / A6 - Min W/E Cycle
167 / A7 - Min Bad Block/Die
168 / A8 - Maximum Erase Cycle
169 / A9 - Total Bad Block

No information for attribute 244 though.

Last edited 5 years ago by ava1ar (previous) (diff)

comment:5 Changed 5 years ago by Alex Samorukov

Thank you for comment. Could you please check if SanDisk? utility using same attributes for your device? As far as i could see this ticket was about different device type.

comment:6 Changed 5 years ago by Alex Samorukov

e.g.
169 Unknown_Attribute 0x0032 100 100 --- Old_age Always - 1621

for the "Total Bad Block" looks suspicious.

comment:7 in reply to:  5 Changed 5 years ago by ava1ar

Replying to samm2:

Thank you for comment. Could you please check if SanDisk? utility using same attributes for your device? As far as i could see this ticket was about different device type.

Yes, but later - I have no access to machine with Windows now. Will reply in day or two with results.

comment:8 Changed 5 years ago by Alex Samorukov

Just in case - in the utility resources for this model attrs are undefined:

<DeviceClassificationRule>
<Model Regex="SanDisk SD[5-9]S.*" CaseSensitive="false"/>
<Serial Regex=".*" CaseSensitive="false"/>
<Firmware Regex=".*" CaseSensitive="false"/>
</DeviceClassificationRule>
...skip..
<Attribute ID="1" Name="RawReadErrorRate" Display="true" DataFormat="Worst[1],SectorsRead[4],Raw[3]"/>
<Attribute ID="5" Name="ReallocatedSectorCount" Display="true"/>
<Attribute ID="9" Name="PowerOnHours" Display="true"/>
<Attribute ID="12" Name="PowerCycleCount" Display="true"/>
<!--
<Attribute ID="167" Name="Undefined167" Display="true"/>
<Attribute ID="168" Name="Undefined168" Display="true"/>
<Attribute ID="169" Name="Undefined169" Display="true"/> -->
<Attribute ID="171" Name="ProgramFailCount" Display="true"/>
<Attribute ID="172" Name="EraseFailCount" Display="true"/>
<!--
<Attribute ID="173" Name="Undefined173" Display="true"/> -->
<Attribute ID="174" Name="UnexpectedPowerLossCount" Display="true"/>
<Attribute ID="184" Name="ReportedUncorrectableErrors" Display="true"/>
<Attribute ID="194" DataFormat="Worst[1],Raw[2],LowestSincePowerOn[2],HighestSincePowerOn[2]" Name="Temperature" Display="true"/>
<!--
<Attribute ID="212" Name="Undefined212" Display="true"/> -->
<Attribute ID="230" DataFormat="Worst[1],Fraction[2],Whole[2]" Name="Undefined230Fractional" Display="true"/>
<Attribute ID="232" DataFormat="Worst[1],Raw[4]" Name="PercentageReserveSpaceAvailable" Display="true"/>
<Attribute ID="233" DataFormat="Worst[1],Fraction[2],Whole[2]" Name="MediaWearoutIndicatorFractional" Display="true"/>
<Attribute ID="241" DataFormat="Worst[1],Raw[7]" Name="LBASectorsWritten" Display="true"/>
<Attribute ID="242" DataFormat="Worst[1],Raw[7]" Name="LBASectorsRead" Display="true"/>
<!--
<Attribute ID="243" Name="Undefined243" Display="true"/> -->

comment:9 in reply to:  8 Changed 5 years ago by ava1ar

Replying to samm2:

Just in case - in the utility resources for this model attrs are undefined:

Nice, event manufacturer do not know what they actually mean? :) May be we want to close this issue now and I will submit new one, as soon as I get unknown attributes values for this SSD model?

Last edited 5 years ago by ava1ar (previous) (diff)

comment:10 Changed 5 years ago by ava1ar

I got some information about attributes from SanDisk? SSD Dashboard software:

  1. Device info list (devices_info.xml attached). May be useful to check/update regexp for SanDisk? SSD drives.
  1. SMART attributes files (smart.zip archive attached) contains list of SSD attributes for different types of drives.

From the SMART list these are parameters for X300s model:

<?xml version="1.0" encoding="UTF-8"?>
<smart>
  <aname id="5">Reassigned Sector Count</aname>
  <aname id="9">Power-On Hours Count</aname>
  <aname id="12">Drive Power Cycle Count</aname>
  <aname id="171">Program Fail Count</aname>
  <aname id="172">Erase Fail Count</aname>
  <aname id="174">Unexpected Power Loss Count</aname>
  <aname id="187">UECC Count</aname>
  <aname id="194" raw="2:0" format="XF">Temperature</aname>
  <aname id="212">SATA PHY Error</aname>
  <aname id="230" raw="1:0" format="XH.XL %">Media Wear Out Indicator</aname>
  <aname id="232" better="1" field="0" format="XL %">Spare Blocks Remaining</aname>
  <aname id="241">Total GB Written</aname>
  <aname id="242">Total GB Read</aname>
  <aname id="244" field="1">Thermal Throttle Status</aname>
</smart>

Attributes with id 212 and 244 are now can be updated in the smartmontools. What about attributes 166-169, they are not specified for this drive type, so I believe will remain unknown till SanDisk? will provide them in their software.

Last edited 5 years ago by ava1ar (previous) (diff)

Changed 5 years ago by ava1ar

Attachment: devices_info.xml added

Sandisk SSD model list

Changed 5 years ago by ava1ar

Attachment: smart.zip added

SMART attributes naming for Sandisk SSD drives

comment:11 Changed 5 years ago by Alex Samorukov

Thank you for update and xml from the dashboard, i never tried it.
I will review model list in the drivedb to see how it matching information from vendor and will update it if needed.

Actually i found that we should probably split this models. E.g. in the apollo_generic.xml:

<aname id="241">Total LBA's Written</aname>
<aname id="242">Total LBA's Read</aname>

And in the ultra_series.xml

<aname id="241">Total GB Written</aname>
<aname id="242">Total GB Read</aname>

For now I just added 2 missing attributes (r4000) and will create separate ticket for the SanDisk drives.

Last edited 5 years ago by Alex Samorukov (previous) (diff)

comment:12 Changed 5 years ago by Alex Samorukov

Resolution: fixed
Status: assignedclosed

comment:13 in reply to:  12 Changed 5 years ago by ava1ar

Replying to samm2:

we should probably split this models

Agree. Same for attr 230: apollo_generic.xml:
<aname id="230" raw="1:0" format="XH.XL %">Media Wear Out Indicator</aname>
and ultra_series.xml:
<aname id="230" format="XH.XL %">Percent of Total Write/Erase Count XX.YY</aname>

comment:14 Changed 9 months ago by Christian Franke

See ticket #799 for updated XML files.

Note: See TracTickets for help on using tickets.