FreeBSD Port: smartmontools-5.40 / DEVICESCAN not working with adaX devices

Miroslav Lachman 000.fbsd at quip.cz
Fri Mar 4 12:40:07 UTC 2011


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


More information about the freebsd-ports mailing list