Opened 14 months ago
Closed 14 months ago
#1769 closed defect (invalid)
Getting error when adding a new drive to drivedb.h
Reported by: | Cassiano.Silva | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | drivedb | Version: | |
Keywords: | Cc: |
Description
Hello,
I added a new drive to the drivedb.h file, similarly to another drive we already have in that file.
When I try to run smartctl I get following error message: Syntax error in preset option string.
As I mentioned, it's similar to another drive we already had in the file, but the error appears.
Is it actually possible to add a new drive to the drivedb.h file and run it in the same folder?
Thanks,
Cassiano
Attachments (1)
Change History (3)
by , 14 months ago
comment:1 by , 14 months ago
Component: | all → drivedb |
---|---|
Keywords: | smartdb removed |
This line exceeds a historic internal 32 char limit for the name:
-v 237,raw48,Total_Flash_LBAs_Written_Expanded
After fixing this, run this to see more attribute names which are too long:
/usr/sbin/smartctl [-B /path/to/drivedb.h] -P showall SFSA032GM2AK1TA-I-6B-11P-STD
Note that it is not recommented to change drivedb.h locally. Create a local drive databbase file instead, see the FAQ.
The drive I added goes from line 199 to 233. The error message points to line 202.