The '-a' is equivalent to a number of other flags, which includes '-l'.
Please see the manual.
On Tue, 6 Jun 2006, Jeremy Palmer wrote:
> HI,
>
>
>
> I have problem running smartmon on winxp sp2. Smartd warns that no SMART
> Error log exists and mentions that I should remove -l error Directive from
> smartd.conf. However the only entries I have in the smartd.conf are:
>
>
>
> /dev/hda -a -o on -S on -s (S/../.././02|L/../../6/03) -m msgbox
>
> /dev/hdb -a -o on -S on -s (S/../.././02|L/../../6/03) -m msgbox
>
> /dev/hdc -a -o on -S on -s (S/../.././02|L/../../6/03) -m msgbox
>
> /dev/hdd -a -o on -S on -s (S/../.././02|L/../../6/03) -m msgbox
>
>
>
> Also when I try to complete a test on one my SATA drives it throws an error:
>
>
>
> smartctl -t long /dev/hdb
>
>
>
> Warning! Drive Identity Structure error: invalid SMART checksum.
>
> === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
>
> Sending command: "Execute SMART Extended self-test routine immediately in
> off-line mode".
>
> Drive command "Execute SMART Extended self-test routine immediately in
> off-linemode" successful.
>
> Testing has begun.
>
> Please wait 111 minutes for test to complete.
>
> Test will complete after Tue Jun 06 22:53:07 2006
>
>
>
> Use smartctl -X to abort test.
>
>
>
> Below is the log for smartd.
>
>
>
> Thanks
>
>
>
> 2006-06-06 20:44:58 smartd[348]: Info : smartd version 5.36
> [i686-mingw32-xp-sp2] Copyright (C) 2002-6 Bruce Allen
>
> 2006-06-06 20:44:58 smartd[348]: Info : Home page is
> http://smartmontools.sourceforge.net/
>
> 2006-06-06 20:44:58 smartd[348]: Info : Opened configuration file
> ./smartd.conf
>
> 2006-06-06 20:44:58 smartd[348]: Info : Configuration file ./smartd.conf
> parsed.
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hda, opened
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hda, found in smartd
> database.
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hda, enabled SMART
> Attribute Autosave.
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hda, enabled SMART
> Automatic Offline Testing.
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hda, Read SMART Self
> Test Log Failed
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hda, no SMART Self-Test
> log; remove -l selftest Directive from smartd.conf
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hda, Read SMART Error
> Log Failed
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hda, no SMART Error
> log; remove -l error Directive from smartd.conf
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hda, is SMART capable.
> Adding to "monitor" list.
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdb, opened
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdb, found in smartd
> database.
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdb, enabled SMART
> Attribute Autosave.
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdb, enabled SMART
> Automatic Offline Testing.
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdb, Read SMART Self
> Test Log Failed
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdb, no SMART Self-Test
> log; remove -l selftest Directive from smartd.conf
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdb, Read SMART Error
> Log Failed
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdb, no SMART Error
> log; remove -l error Directive from smartd.conf
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdb, is SMART capable.
> Adding to "monitor" list.
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdc, opened
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdc, found in smartd
> database.
>
> 2006-06-06 20:44:58 smartd[348]: Info : Device: /dev/hdc, enabled SMART
> Attribute Autosave.
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdc, enabled SMART
> Automatic Offline Testing.
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdc, Read SMART Self
> Test Log Failed
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdc, no SMART Self-Test
> log; remove -l selftest Directive from smartd.conf
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdc, Read SMART Error
> Log Failed
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdc, no SMART Error
> log; remove -l error Directive from smartd.conf
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdc, is SMART capable.
> Adding to "monitor" list.
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdd, opened
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdd, found in smartd
> database.
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdd, enabled SMART
> Attribute Autosave.
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdd, enabled SMART
> Automatic Offline Testing.
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdd, Read SMART Self
> Test Log Failed
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdd, no SMART Self-Test
> log; remove -l selftest Directive from smartd.conf
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdd, Read SMART Error
> Log Failed
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdd, no SMART Error
> log; remove -l error Directive from smartd.conf
>
> 2006-06-06 20:44:59 smartd[348]: Info : Device: /dev/hdd, is SMART capable.
> Adding to "monitor" list.
>
> 2006-06-06 20:44:59 smartd[348]: Info : Monitoring 4 ATA and 0 SCSI devices
>
> 2006-06-06 20:45:20 smartd[348]: Info : smartd received signal 15: SIGTERM
>
> 2006-06-06 20:45:20 smartd[348]: Info : smartd is exiting (exit status 0)
>
>
|