Opened 8 months ago

Last modified 4 months ago

#1822 new enhancement

<ATP SATAIII SSD> Add additional model name information to the database

Reported by: ATPElectronics Owned by:
Priority: minor Milestone: undecided
Component: drivedb Version:
Keywords: ssd Cc:

Description

Hi, please kindly help update the database with the attached patch file.
Thank you very much for your help.

Attachments (4)

smartctl-ATP-SATAIII_M.2_2242_SSD.patch (1.4 KB ) - added by ATPElectronics 8 months ago.
AT_ AF120GSTIA-AW2.txt (18.0 KB ) - added by ATPElectronics 4 months ago.
drivedb_ATP_AF-FT-FA.h (247.2 KB ) - added by ATPElectronics 4 months ago.
drivedb.h.patch (1.3 KB ) - added by ATPElectronics 4 months ago.

Download all attachments as: .zip

Change History (6)

by ATPElectronics, 8 months ago

comment:1 by Christian Franke, 8 months ago

Component: alldrivedb
Keywords: ssd added
Milestone: undecided
Type: defectenhancement
  • Please provide a sample smartctl -x -a output. This is mandatory for each new entry.
  • Comment out all -v options which are covered by the DEFAULT entry.
  • The patch is in reverse context diff format. Please provide patches as forward unified diffs.

by ATPElectronics, 4 months ago

Attachment: AT_ AF120GSTIA-AW2.txt added

by ATPElectronics, 4 months ago

Attachment: drivedb_ATP_AF-FT-FA.h added

by ATPElectronics, 4 months ago

Attachment: drivedb.h.patch added

comment:2 by ATPElectronics, 4 months ago

Per request

  1. Please provide a sample smartctl -x -a output. This is mandatory for each new entry.

Please refer to the file "AT_ AF120GSTIA-AW2.txt"

  1. Comment out all -v options which are covered by the DEFAULT entry.

Please refer to the new drivedb file "drivedb_ATP_AF-FT-FA.h"
The file is modified from the latest version "RELEASE_7_2_DRIVEDB"

  1. The patch is in reverse context diff format. Please provide patches as forward unified diffs.

Please refer to the file drivedb.h.patch.
We used the diff command:
# diff drivedb_ATP_AF-FT-FA.h drivedb_RELEASE_7_2_DRIVEDB.h
391,424d390
< { "ATP SATA III SSDs",
< "ATP (AF|FT|FA).*",
< "", "",
< "-v 1,raw48,Raw_Read_Error_Count "
< "-v 5,raw16(raw16),Reallocated_Sector_Ct "
<
"-v 9,raw24(raw8),Power_On_Hours "
< "-v 12,raw48,Power_Cycle_Count "
< "-v 14,raw48,Device_Raw_Capacity "
< "-v 15,raw48,Device_User_Capacity "
< "-v 16,raw48,Initial_Spare_Blocks "
< "-v 17,raw48,Remaining_Spare_Blocks "
< "-v 100,raw48,Total_Erease_Count "
< "-v 160,raw48,Uncorrectable_Sectors "
< "-v 172,raw48,Block_Erase_Failure "
< "-v 173,raw48,Max_Erase_Count "
< "-v 174,raw48,Unexpected_Power_Cycle "
< "-v 175,raw48,Average_Erase_Count "
< "-v 181,raw48,Program_Fail_Blocks "
<
"-v 187,raw48,Reported_UE_Counts "
< "-v 194,raw48,Device_Temperature "
< "-v 195,raw48,Hardware_ECC_Recovered "
< "-v 197,raw48,Pending_Block_Counts "
< "-v 198,raw48,Offline_Surface_Scan "
< "-v 199,raw48,SATA_FIS_CRC_Errors "
< "-v 202,raw48,Percent_Lifetime_Used "
<
"-v 205,raw48,Thermal_Asperity_Rate "
< "-v 231,raw48,Controller_Temperature "
< "-v 234,raw48,Nand_Sectors_Read "
< "-v 235,raw48,Device_Sectors_Written "
< "-v 241,raw48,Nand_Sectors_Written "
< "-v 242,raw48,Device_Sectors_Read "
< "-v 248,raw48,Life_Remaining "
< "-v 249,raw48,Spare_Block_Remaining "
< },

Note: See TracTickets for help on using tickets.