From: Bruce A. <ba...@gr...> - 2006-08-21 13:35:12
|
The auto offline (-o on) is not supported by libata. You can remove this= .=20 Or alternativly build smartmontools from CVS and using instead '-d sat'.=20 This makes use of the SCSI-to-ATA translation layer and should pass=20 through the '-o on' correctly. Bruce On Mon, 21 Aug 2006, Martin Schr=F6der wrote: > smartd is unable to do offline tests with my discs. > > The hardware is: > ------------------------- > /dev/sda: > Device Model: SAMSUNG SP2504C > Serial Number: S09QJ1NL513965 > Firmware Version: VT100-41 > User Capacity: 250,059,350,016 bytes > Device is: In smartctl database [for details use: -P show] > ATA Version is: 7 > ATA Standard is: ATA/ATAPI-7 T13 1532D revision 4a > Local Time is: Mon Aug 21 13:56:48 2006 CEST > ------------------------- > /dev/sdb: > Device Model: SAMSUNG SP2504C > Serial Number: S09QJ1NL513970 > Firmware Version: VT100-41 > User Capacity: 250,059,350,016 bytes > Device is: In smartctl database [for details use: -P show] > ATA Version is: 7 > ATA Standard is: ATA/ATAPI-7 T13 1532D revision 4a > Local Time is: Mon Aug 21 13:56:58 2006 CEST > ------------------------- > Software is SuSE 10.1 > > /etc/smartd.conf has these lines: > ------------------------- > /dev/sda -d ata -a -o on -m root -M daily -s S/../../../12 > /dev/sdb -d ata -a -o on -m root -M daily -s S/../../../12 > ------------------------- > > And here's the startup of smartd > ------------------------- > Aug 21 11:12:35 dream smartd[3226]: smartd version 5.33 > [x86_64-unknown-linux-gnu] Copyright (C) 2002-4 Bruce Allen > Aug 21 11:12:35 dream smartd[3226]: Home page is > http://smartmontools.sourceforge.net/ > Aug 21 11:12:35 dream smartd[3226]: Opened configuration file /etc/smar= td.conf > Aug 21 11:12:35 dream smartd[3226]: Configuration file /etc/smartd.conf= parsed. > Aug 21 11:12:35 dream smartd[3226]: Device: /dev/sda, opened > Aug 21 11:12:35 dream smartd[3226]: Device: /dev/sda, found in smartd d= atabase. > Aug 21 11:12:35 dream smartd[3226]: Device: /dev/sda, enable SMART > Automatic Offline Testing failed. > Aug 21 11:12:35 dream smartd[3226]: Device: /dev/sda, is SMART > capable. Adding to "monitor" list. > Aug 21 11:12:35 dream smartd[3226]: Device: /dev/sdb, opened > Aug 21 11:12:35 dream smartd[3226]: Device: /dev/sdb, found in smartd d= atabase. > Aug 21 11:12:36 dream smartd[3226]: Device: /dev/sdb, enable SMART > Automatic Offline Testing failed. > Aug 21 11:12:36 dream smartd[3226]: Device: /dev/sdb, is SMART > capable. Adding to "monitor" list. > Aug 21 11:12:36 dream smartd[3226]: Monitoring 2 ATA and 0 SCSI devices > Aug 21 11:12:36 dream smartd[3403]: smartd has fork()ed into > background mode. New PID=3D3403. > ------------------------- > > Any chance to get this working? > > Thanks in advance > Martin > > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support > |