Opened 2 years ago

Closed 21 months ago

Last modified 11 months ago

#956 closed enhancement (fixed)

add to existing drivedb entry: ST1000NM0055

Reported by: Stefan Owned by:
Priority: minor Milestone: Release 7.0
Component: drivedb Version:
Keywords: Cc:

Description

Hello,

today I tested trunk 4648 and the json output. I tested it with a Seagate ST1000NM0055-1V410C and get a json-output like
"in_smartctl_database" : false,
but when i looking in https://www.smartmontools.org/browser/trunk/smartmontools/drivedb.h for 'ST1000NM0055' i found it, maybe there is some problems with drivedb-checks?

btw: if you need help with json output I've SATA-HDD, SAS-HDD/SSD to help you with the output

Attachments (1)

smartctl-Seagate-ST1000NM0055-1V410C.txt (13.5 KB) - added by Stefan 2 years ago.
smartctl -x output, to complete recommendations to add a drive to the drivedb

Download all attachments as: .zip

Change History (6)

comment:1 Changed 2 years ago by Christian Franke

Thanks for testing.

JSON output of in_smartctl_database is correct. The drive is listed in a comment above the drivedb entry, but accidentally its regex does not match ST1000NM0055 :

$ smartctl -P showall 'ST1000NM0055-1V410C'
No presets are defined for this drive.  Its identity strings:
MODEL:    ST1000NM0055-1V410C
FIRMWARE: (any)
do not match any of the known regular expressions.

$ smartctl -P showall 'ST2000NM0045-1V410C'
Drive found in smartmontools Database.  ...
MODEL FAMILY:       Seagate Enterprise Capacity 3.5 HDD
...

Of course, future test reports for JSON output are appreciated.

BTW: To compare old/json output, try smartctl --json=i.

comment:2 Changed 2 years ago by Christian Franke

Component: alldrivedb
Keywords: json drivedb removed
Milestone: Release 6.7
Priority: trivialminor
Summary: json output 'in_smartctl_database' maybe wrong?add to existing drivedb entry: ST1000NM0055
Type: defectenhancement

Changing ticket summary accordingly.

Changed 2 years ago by Stefan

smartctl -x output, to complete recommendations to add a drive to the drivedb

comment:3 Changed 21 months ago by Alex Samorukov

Resolution: fixed
Status: newclosed

Fixed in r4708.

comment:4 Changed 20 months ago by Christian Franke

Merged in r4719.

comment:5 Changed 11 months ago by Christian Franke

Milestone: Release 6.7Release 7.0

Milestone renamed

Note: See TracTickets for help on using tickets.