Re: Cannot find error reported from smartd

Christian Franke <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
bege wrote:
> Hi,
> after having installed this release
> > Please test r3922 release from here:
> > http://smartmontools.no-ip.org/
> the error with health overall check has vanished, but now I receive 
> error messages from smartd I cannot find the reason for.
> The message came when the external HDD (sdb) was offline. So the 
> message must be for the internal HDD (sda).

If the external HDD was online during smartd startup, smartd would issue 
a warning ("Device: /dev/sdX, unable to open device") when the drive can 
no longer be accessed.

> Attached are the smartd.config and the the part of smart.log with the 
> release named above. Smartd shall only show new SMART errors.

The attachment does not contain any of the warnings provided by smartd. 
This is a drawback of the "erroraction.cmd" script you use for -M exec. 
It logs smartctl results for all devices. It does not include any 
warning info provided by smartd via environment variables 
(SMARTD_DEVICESTRING, SMARTD_MESSAGE, ...).

You might want to inform the author of "erroraction.cmd" 
(http://www.netpower.fr/smartmontools). Note that this is an independent 
project.

Please examine the syslog messages from smartd to find the actual 
warning and device info. Smartd issues log entries to the windows event 
log unless -l command line option is used.

Thanks,
Christian


------------------------------------------------------------------------------
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.