From: Marc M. <mar...@me...> - 2012-12-07 07:59:12
|
On Mon, Dec 03, 2012 at 09:43:02PM +0100, Christian Franke wrote: > Marc MERLIN wrote: > > Howdy, > > > > I have a server with a bunch of drives, and I'd like one of them, sdf, > > not to have a full smart test, because it tends to make the drive > > unresponsive to requests. > > Ideally, I'd like this: > > > > # sdf ST3120022A long test messes up the machine by making the boot raid unusable > > /dev/sdf -d removable -n standby -m root -R 194 -R 231 -I 9 -W 5 -a -o on -S on -s (S/../.././01) -M exec /usr/share/smartmontools/smartd-runner > > DEVICESCAN -d removable -n standby -m root -R 194 -R 231 -I 9 -W 5 -a -o on -S on -s (S/../.././02|L/../../6/03) -M exec /usr/share/smartmontools/smartd-runner > > > > i.e. remove the long run from sdf. > > Unfortunately, as the man page hints, it just causes sdf to be picked up twice > > and sdf still gets the long test. > > > > How can I stop this? > > ... > > Is there anything else you'd recommend? > > Try current version r3718 from SVN :-) > > I committed an experimental fix that removes the already specified > device from DEVICESCAN result. Confirmed working: smartd[13211]: Device: /dev/sde [SAT], found in smartd database: Western Digital Caviar Green (AF) smartd[13211]: Device: /dev/sde [SAT], enabled SMART Attribute Autosave. smartd[13211]: Device: /dev/sde [SAT], no Attribute 231, ignoring -R 231 smartd[13211]: Device: /dev/sde [SAT], enabled SMART Automatic Offline Testing. smartd[13211]: Device: /dev/sde [SAT], is SMART capable. Adding to "monitor" list. smartd[13211]: Device: /dev/sdf, duplicate, ignored smartd[13211]: Device: /dev/sdg, type changed from 'scsi' to 'sat' smartd[13211]: Device: /dev/sdg [SAT], opened Thanks much, Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ |