Joachim Schrod wrote:
Joe Morris (NTM) wrote:
Joachim Schrod wrote:
On a related note, for other readers: In 10.0, smartmontools don't work with SATA disks. Anybody knows if this has changed in 10.1 or 10.2, with a more recent kernel?
It must, it works on 9.3. There was an option in the config file for SATA drives in 9.3.
Hmm, doesn't work here.
I assume that you mean smartd.conf with the config file. Correct. I just added a couple weeks ago 2 SATA disks to 9.3. I only added /dev/sda -d ata /dev/sdb -d ata
Thus, I don't see how I can make it work with smartmontools from the distribution.
Am I doing something wrong here? I'm not sure. Maybe I see now. Dec 13 22:30:18 server smartd[9016]: Configuration file /etc/smartd.conf
to my smartd.conf, restarted the daemon, and it worked, i.e. Dec 12 01:12:12 server smartd[22028]: Device: /dev/sda, SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 101 to 108 Dec 12 01:12:12 server smartd[22028]: Device: /dev/sdb, SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 112 to 113 parsed. Dec 13 22:30:18 server smartd[9016]: Device: /dev/sda, opened Dec 13 22:30:18 server smartd[9016]: Device: /dev/sda, not found in smartd datab ase. Dec 13 22:30:18 server smartd[9016]: Device: /dev/sda, is SMART capable. Adding to "monitor" list. Dec 13 22:30:18 server smartd[9016]: Device: /dev/sdb, opened Dec 13 22:30:18 server smartd[9016]: Device: /dev/sdb, not found in smartd datab ase. Dec 13 22:30:18 server smartd[9016]: Device: /dev/sdb, is SMART capable. Adding to "monitor" list. Dec 13 22:30:18 server smartd[9016]: Device: /dev/hda, opened Dec 13 22:30:18 server smartd[9016]: Device: /dev/hda, not found in smartd datab ase. Dec 13 22:30:18 server smartd[9016]: Device: /dev/hda, enabled SMART Attribute A utosave. Dec 13 22:30:18 server smartd[9016]: Device: /dev/hda, enabled SMART Automatic O ffline Testing. But when I try your command, server:/home/joe # smartctl -i /dev/sda smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Device: ATA ST3320620AS Version: 3.AA SATA disks accessed via libata are not currently supported by smartmontools. When libata is given an ATA pass-thru ioctl() then an additional '-d libata' device type will be added to smartmontools. So I guess it is not fully functional. I do remember reading something about smartmontools and SATA in the 10.2 release notes. So I guess it is maybe only partially working with SATA in 9.3. Not real sure, and since I plan on updating the server to 10.2 in the near future, I won't worry too much about it. -- Joe Morris Registered Linux user 231871 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org