Re: How soon do new drives appear in drivedb.h?

Nathan Stratton Treadway <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
On Fri, Dec 20, 2013 at 09:55:35 +0200, Ivan Lezhnjov Jr. wrote:
> However, there are some problems with the current version of the file:
> 
> % smartctl -i /dev/sdc
> smartctl 5.42 2011-10-20 r3458 [i686-linux-3.4.2-2-ARCH] (local build)
> Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
> 
> /usr/share/smartmontools/drivedb.h(534): Syntax error in preset option string
> /usr/share/smartmontools/drivedb.h(560): Syntax error in preset option string
> /usr/share/smartmontools/drivedb.h(645): Syntax error in preset option string
> /usr/share/smartmontools/drivedb.h(2286): Syntax error in preset option string
> /usr/share/smartmontools/drivedb.h(2311): Syntax error in preset option string
> /usr/share/smartmontools/drivedb.h(2541): Syntax error in preset option string
> 
> I grabbed [r3868] from
> http://sourceforge.net/p/smartmontools/code/3868/tree/trunk/smartmontools/drivedb.h
> and copied the file to /usr/share/smartmontools/drivedb.h

You pulled the "trunk" version of the file, but that isn't compatible
with smartctl v5.42.

You can find a list of all the various drivedb.h files at the bottom of
the "Update the drive database" section of:
  http://sourceforge.net/apps/trac/smartmontools/wiki/Download#Updatethedrivedatabase

, but in short you want to grab from the following URL instead:

  http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_42_DRIVEDB/smartmontools/drivedb.h?format=raw


								Nathan

----------------------------------------------------------------------------
Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.