Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Mar 2011 13:40:11 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        samm@os2.kiev.ua
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: smartmontools-5.40 / DEVICESCAN not working with adaX devices
Message-ID:  <4D70DDAB.3080801@quip.cz>

next in thread | raw e-mail | index | archive | help
Hi,

I upgraded one test machine to 8.2-BETA1 some time ago. Today I tried 
kernel with ATA_CAM, so disks are ada0 and ada1 instead of ad4 and ad6.
I recompiled smartmontools, but daemon will not start with DEVICESCAN in 
smartd.conf stating that there is NO device in the system's table.
If I substitute DEVICESCAN with specific device names, smartd starts OK.

Is it some known bug (upstream), or is it something specific to my local 
config?

Example:

~/# egrep -v '(^#|^$)' /usr/local/etc/smartd.conf
DEVICESCAN

~/# service smartd start
Starting smartd.
/usr/local/etc/rc.d/smartd: WARNING: failed to start smartd


Then in /var/log/messages

Mar  4 13:22:42 kavkaz smartd[18869]: In the system's table of devices 
NO devices found to scan
Mar  4 13:22:42 kavkaz quip: /usr/local/etc/rc.d/smartd: WARNING: failed 
to start smartd



~/# egrep -v '(^#|^$)' /usr/local/etc/smartd.conf
/dev/ada0

~/# service smartd start
Starting smartd.



~/# sysctl kern.disks
kern.disks: ada1 ada0

~/# uname -srmi
FreeBSD 8.2-BETA1 i386 GENERIC_ata_cam

smartmontools-5.40


Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D70DDAB.3080801>