--- On Wed, 12/11/08, Christian Franke <Christian.Franke@...> wrote:
> From: Christian Franke <Christian.Franke@...>
> Subject: Re: [smartmontools-support] Anyone tell me..
> To: Jon@..., smartmontools-support@...
> Date: Wednesday, 12 November, 2008, 4:11 PM
> Jon Hardcastle wrote:
> > What is wrong with this:
> >
> > DEVICESCAN -d sat -s (S/../.././06|L/../.././15) -m
> [...]
> > the short test works ok, but the Long test never
> seeems to run..
> > originally i wanted this to run only on sunday but
> changed it to daily
> > to test it...
> >
>
> Please try 'smartd -q showtests' to check the
> evaluation of the regexp.
>
> Cheers,
> Christian
This test seems to show that the test is due...
SNIPPET
Next scheduled self tests (at most 5 of each type per device):
Device: /dev/sda, will do test 1 of type S at Thu Nov 13 06:13:13 2008 GMT
Device: /dev/sdb, will do test 1 of type S at Thu Nov 13 06:13:13 2008 GMT
Device: /dev/sda, will do test 1 of type L at Thu Nov 13 15:13:13 2008 GMT
Device: /dev/sdb, will do test 1 of type L at Thu Nov 13 15:13:13 2008 GMT
could the offline testing stop the long test from happening?
Also, Bruce - messages show very little regarding smartd.. but i will show you upto last restart of smartd
----------
Nov 10 16:11:19 subversion smartd[30248]: smartd received signal 15: Terminated
Nov 10 16:11:19 subversion smartd[30248]: smartd is exiting (exit status 0)
Nov 10 16:11:19 subversion smartd[30614]: smartd version 5.37 [i386-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Nov 10 16:11:19 subversion smartd[30614]: Home page is http://smartmontools.sourceforge.net/#012
Nov 10 16:11:19 subversion smartd[30614]: Opened configuration file /etc/smartd.conf
Nov 10 16:11:19 subversion smartd[30614]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Nov 10 16:11:19 subversion smartd[30614]: Device: /dev/sda, opened
Nov 10 16:11:19 subversion smartd[30614]: Device: /dev/sda, found in smartd database.
Nov 10 16:11:19 subversion smartd[30614]: Device: /dev/sda, enabled SMART Automatic Offline Testing.
Nov 10 16:11:19 subversion smartd[30614]: Device: /dev/sda, is SMART capable. Adding to "monitor" list.
Nov 10 16:11:19 subversion smartd[30614]: Device: /dev/sdb, opened
Nov 10 16:11:19 subversion smartd[30614]: Device: /dev/sdb, not found in smartd database.
Nov 10 16:11:20 subversion smartd[30614]: Device: /dev/sdb, enabled SMART Automatic Offline Testing.
Nov 10 16:11:20 subversion smartd[30614]: Device: /dev/sdb, is SMART capable. Adding to "monitor" list.
Nov 10 16:11:20 subversion smartd[30614]: Monitoring 2 ATA and 0 SCSI devices
Nov 10 16:11:20 subversion smartd[30614]: Executing test of mail to jonathan.hardcastle@... ...
Nov 10 16:11:20 subversion smartd[30614]: Test of mail to jonathan.hardcastle@...: successful
Nov 10 16:11:20 subversion smartd[30614]: Device: /dev/sda, initial Temperature is 26 Celsius
Nov 10 16:11:21 subversion smartd[30614]: Executing test of mail to jonathan.hardcastle@... ...
Nov 10 16:11:21 subversion smartd[30614]: Test of mail to jonathan.hardcastle@...: successful
Nov 10 16:11:21 subversion smartd[30614]: Device: /dev/sdb, initial Temperature is 25 Celsius
Nov 10 16:11:21 subversion smartd[30628]: smartd has fork()ed into background mode. New PID=30628.
Nov 11 06:11:22 subversion smartd[30628]: Device: /dev/sda, starting scheduled Short Self-Test.
Nov 11 06:11:25 subversion smartd[30628]: Device: /dev/sdb, starting scheduled Short Self-Test.
Nov 11 10:11:21 subversion smartd[30628]: Device: /dev/sda, Temperature changed -1 Celsius to 25 Celsius (Min/Max 25!/26)
Nov 12 06:11:21 subversion smartd[30628]: Device: /dev/sda, starting scheduled Short Self-Test.
Nov 12 06:11:22 subversion smartd[30628]: Device: /dev/sdb, Temperature changed +2 Celsius to 27 Celsius (Min/Max 25/27!)
Nov 12 06:11:25 subversion smartd[30628]: Device: /dev/sdb, starting scheduled Short Self-Test.
-------------
|