#1317 closed patch (fixed)
Proper attributes for SanDisk SDSSDA(120|240|480)G
| Reported by: | Artem S. Tashkinov | Owned by: | Gabriele Pohl |
|---|---|---|---|
| Priority: | minor | Milestone: | Release 7.5 |
| Component: | drivedb | Version: | 7.1 |
| Keywords: | ssd | Cc: |
Description
No idea how to create a proper patch, so:
"-v 5,raw48,Reassigned_Block_Count "
"-v 166,raw48,Min_PE_Cycles "
"-v 167,raw48,Max_Bad_Blocks_Per_Die "
"-v 168,raw48,Max_PE_Cycles "
"-v 169,raw48,Total_Bad_Blocks "
"-v 170,raw48,Grown_Bad_Blocks "
"-v 173,raw48,Average_PE_Cycles "
"-v 230,raw48,Media_Wearout_Indicator "
"-v 233,raw48,NAND_GiB_Written "
Source: Sandisk SSD Utility
Attachments (5)
Change History (18)
by , 6 years ago
| Attachment: | smart_ssd.png added |
|---|
by , 6 years ago
| Attachment: | drivedb.h.patch added |
|---|
smartmontools patch for SanDisk SDSSDA(120|240|480)G - OK to merge
comment:1 by , 6 years ago
| Summary: | Proper attributes for SanDisk SDSSDA240G (SandForce Driven SSDs) → Proper attributes for SanDisk SDSSDA(120|240|480)G |
|---|---|
| Type: | enhancement → patch |
follow-up: 3 comment:2 by , 6 years ago
| Keywords: | ssd added |
|---|---|
| Milestone: | Release 7.2 → undecided |
Thanks for this patch.
Please provide a sample smartctl -x output for this device.
Please add //"-v N,... " comments for the attributes of this device which are handled by the DEFAULT settings. See other SSD entries for examples.
Here is a quote from the smart_list.xml file from some 2018 version of the SanDisk tool (see tickets #464 and #799):
<!-- SanDisk SDSSDA* is being used by multiple hardware, so we define those drive by fw version -->
This comment is followed by 16 firmware patterns. Please check which one matches this device and add a firmware regex to the entry.
by , 4 years ago
| Attachment: | smartctlx.txt added |
|---|
by , 4 years ago
| Attachment: | smartctlx-new.txt added |
|---|
comment:3 by , 4 years ago
Hello!
I have just faced with the same disk in our server. I've adopted the patch for the drivedb.h version
7.2/5224 2021-06-06 15:55:46. I also attached smartctl -x output before and after applying the patch. Speaking about filtering by firmware version, I've digged into smart_list.xml and found no matches with the disk and its firmware version. The first suggestion was
<ref fname="aphrodite_generic.xml" matchType="prefix" length="8" fwprefix="U2" version="1.1" />
but contents of the aphrodite_generic.xml surely describes another drive model. Even amount of metrics differs.
So I gave up using smart_list.xml and looked for a file with exactly 20 metrics. Happily there is only one and it's plus_generic.xml. From the name of the file I've done a suggestion that there is no need in firmware filtering and it should be general block for SanDisk SSD Plus like it's done in Artem's and my patch.
by , 4 years ago
| Attachment: | drivedb.h-final.patch added |
|---|
comment:4 by , 4 years ago
This was filed two years ago (!) along with the patch.
What's the holdout exactly?
comment:6 by , 4 years ago
| Milestone: | undecided → unscheduled |
|---|
comment:8 by , 2 years ago
| Milestone: | unscheduled → Release 7.5 |
|---|---|
| Resolution: | → fixed |
| Status: | accepted → closed |
follow-up: 11 comment:9 by , 7 months ago
I'm confused.
smartctl -a /dev/sdb smartctl 7.5 2025-04-30 r5714 [x86_64-linux-6.14.6-zen3] (local build) Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: SandForce Driven SSDs Device Model: SanDisk SDSSDA240G ... 166 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 107 167 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 168 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 159 169 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 45 173 Unknown_SandForce_Attr 0x0032 100 100 --- Old_age Always - 142 ...
I thought the patch had been applied ages ago.
:-(
comment:10 by , 7 months ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:11 by , 7 months ago
The above output lacks the Device is: In smartctl database ... line which is important for diagnostics.
Could not reproduce the problem as attributes 166-169 and 173 are present in the current drive database entry:
$ smartctl -P showall 'SanDisk SDSSDA240G'
Drive found in smartmontools Database. Drive identity strings:
MODEL: SanDisk SDSSDA240G
FIRMWARE: (any)
match smartmontools Drive Database entry:
MODEL REGEXP: SanDisk SDSSDA(120|240|480)G|SanDisk SD8S[BFN]AT128G1(00|12)2
FIRMWARE REGEXP: .*
MODEL FAMILY: SandForce Driven SSDs
ATTRIBUTE OPTIONS: 005 Retired_Block_Count
166 Min_PE_Cycles
167 Max_Bad_Blocks_Per_Die
168 Max_PE_Cycles
169 Total_Bad_Blocks
170 Grown_Bad_Blocks
171 Program_Fail_Count
172 Erase_Fail_Count
173 Average_PE_Cycles
174 Unexpect_Power_Loss_Ct
230 Media_Wearout_Indicator
233 NAND_GiB_Written
241 Lifetime_Writes_GiB
242 Lifetime_Reads_GiB
Please check the VERSION: of the installed drivedb.h file. If not current, run update-smart-drivedb or remove the file.
If this does not help, please create a new ticket. Do not reopen this ticket.
comment:12 by , 7 months ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
comment:13 by , 7 months ago
grep VERSION: /usr/share/smartmontools/drivedb.h
{ "VERSION: 7.3/5528 2023-07-31 14:31:18 $Id$",
Fedora has an outdated file in the package for some reasons. I'll report it to them. Sorry for the noise!

Attributes in the OEM app