Re: new drivedb.h incompatible?

Christian Franke <[email protected]> Sat, 30 Apr 2016 13:39:57 +0200
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Reinoud Koornstra wrote:
> I did build smartmontools from the scv repository.
> I configured it like this:
>
> ./configure --prefix=/usr --with-savestates=yes --with-attributelog=yes --with-drivedbdir=yes --with-update-smart-drivedb=yes -with-nvme-devicescan=yes

If --prefix=/usr is used instead of its default (/usr/local), it is 
recommended to set --sysconfdir=/etc and --localstatedir=/var. Otherwise 
nonstandard directories /usr/etc and /usr/var are used. This is not 
needed for the other directories. /usr/sbin and 
/usr/share/{doc,man,smartmontools} are correctly set by --prefix=/usr.

Here a fixed version of above, unneeded --with options are removed:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
   --with-savestates --with-attributelog --with-nvme-devicescan


> This is the result:
>
> ...
> Apr 29 02:25:01 router-dev smartd[9442]: Device: /dev/sdb [SAT], Crucial_CT250MX200SSD1, S/N:154711194417, WWN:5-00a075-111194417, FW:MU03, 250 GB
> Apr 29 02:25:01 router-dev smartd[9442]: Device: /dev/sdb [SAT], found in smartd database: Crucial/Micron MX100/MX200/M5x0/M600 Client SSDs
> Apr 29 02:25:01 router-dev smartd[9442]: Device: /dev/sdb [SAT], is SMART capable. Adding to "monitor" list.
> Apr 29 02:25:01 router-dev smartd[9442]: Monitoring 2 ATA/SATA, 0 SCSI/SAS and 0 NVMe devices
> ...
>
> The SSD is now recognized nicely. :)

Thanks for testing. :)


> Previous temperatures showed very high, that might not be correct, but I'll follow up if I see it again.

You might want to enable temperature tracking in smartd.conf. See '-W 
DIFF[,INFO[,CRIT]]' on smartd.conf man page.

Thanks,
Christian


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z