smartd device type autodetection: 5.38 vs. 5.39 r2879
Mario 'BitKoenig' Holbe <Mario.Holbe <at> TU-Ilmenau.DE>
2009-09-03 08:22:30 GMT
Hello,
due to increasing dynamics in linux kernel's device naming, I switched
my smartd.conf from /dev/sdX names to the more stable /dev/disk/by-id/X
symlinks.
smartd 5.38 (from smartmontools_5.38-3_i386.deb) autodetects the device
type despite the symlinks. smartd 5.39 r2879 does not do this anymore
and instead logs `unable to autodetect device type' for each name. It
logs this even if the symlink does not exist at all. I now have to
explicitely set the device type via -d ata.
I'm not sure if this change is intentional - and if it is, why :)
When I use /dev/sdX, smartd 5.39 r2879 still autodetects the device
type:
Device: /dev/sda, type changed from 'scsi' to 'sat'
Device: /dev/sda [SAT], opened
regards
Mario
--
--
<eckes> wenn die nsa spam filtern wuerde...
<Neral> einfach china kappen
*** Signoff: Chinah (ix.irc.at linz.irc.at)
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
(Continue reading)