Re: new drivedb.h incompatible?
Reinoud Koornstra <[email protected]> Tue, 3 May 2016 02:19:12 +0000
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
---------------------------------------- > From: [email protected] > To: [email protected] > Date: Tue, 3 May 2016 02:05:34 +0000 > CC: [email protected] > Subject: Re: [smartmontools-support] new drivedb.h incompatible? > > ---------------------------------------- >> Subject: Re: [smartmontools-support] new drivedb.h incompatible? >> To: [email protected] >> CC: [email protected] >> From: [email protected] >> Date: Sat, 30 Apr 2016 13:39:57 +0200 >> >> 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 > > Thanks, I did notice the /usr/var stuff indeed. > Ok I did rebuild and am running it now: Sorry I messed up, I just did run a nice find / -name smartd | xargs rm :) Better now: May 2 20:17:12 router-dev smartd[15615]: smartd 6.5 2016-05-01 r4315 [x86_64-linux-4.4.5] (local build) May 2 20:17:12 router-dev smartd[15615]: Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org May 2 20:17:12 router-dev smartd[15615]: Opened configuration file /etc/smartd.conf May 2 20:17:12 router-dev smartd[15615]: Drive: DEVICESCAN, implied '-a' Directive on line 21 of file /etc/smartd.conf May 2 20:17:12 router-dev smartd[15615]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sda, type changed from 'scsi' to 'sat' May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sda [SAT], opened May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sda [SAT], WDC WD1003FZEX-00MK2A0, S/N:WD-WCC3F7RCJLS4, WWN:5-0014ee-20cf9eac4, FW:01.01A01, 1.00 TB May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sda [SAT], found in smartd database: Western Digital Black May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sda [SAT], is SMART capable. Adding to "monitor" list. May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sda [SAT], state read from /var/lib/smartmontools/smartd.WDC_WD1003FZEX_00MK2A0-WD_WCC3F7RCJLS4.ata.state May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sdb, type changed from 'scsi' to 'sat' May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sdb [SAT], opened May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sdb [SAT], Crucial_CT250MX200SSD1, S/N:154711194417, WWN:5-00a075-111194417, FW:MU03, 250 GB May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sdb [SAT], found in smartd database: Crucial/Micron MX100/MX200/M5x0/M600 Client SSDs May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sdb [SAT], is SMART capable. Adding to "monitor" list. May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sdb [SAT], state read from /var/lib/smartmontools/smartd.Crucial_CT250MX200SSD1-154711194417.ata.state May 2 20:17:12 router-dev smartd[15615]: Monitoring 2 ATA/SATA, 0 SCSI/SAS and 0 NVMe devices May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sda [SAT], SMART Usage Attribute: 9 Power_On_Hours changed from 99 to 98 May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 117 to 116 May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sdb [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 71 to 70 May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sda [SAT], state written to /var/lib/smartmontools/smartd.WDC_WD1003FZEX_00MK2A0-WD_WCC3F7RCJLS4.ata.state May 2 20:17:12 router-dev smartd[15615]: Device: /dev/sdb [SAT], state written to /var/lib/smartmontools/smartd.Crucial_CT250MX200SSD1-154711194417.ata.state >> >> >>> 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. > > Ok, I'll add this to the boot params. > > In the mean time I noticed this: > > May 2 15:46:17 router-dev smartd[12364]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 120 to 119 > May 2 15:46:17 router-dev smartd[12364]: Device: /dev/sdb [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 74 to 73 > > Likely these aren't the real temperatures? > Otherwise these looks critical to me and reduces the lifetime of these disks. > Should I interpret these temperatures differently? > >> >> Thanks, >> Christian > > Thanks, > Reinoud. >> > > ------------------------------------------------------------------------------ > 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 > _______________________________________________ > Smartmontools-support mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/smartmontools-support ------------------------------------------------------------------------------ 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