On Tue, May 18, 2010 at 09:40:40PM +0200, Bruce Allen wrote: > Pleasefix this problem: > > Cannot create state file > "/usr/var/lib/smartmontools/smartd.INTEL_SSDSA2M160G2GC-CVPO0063014V160AGN.ata.state" > Cannot create attribute log file > "/usr/var/lib/smartmontools/attrlog.INTEL_SSDSA2M160G2GC-CVPO0063014V160AGN.ata.csv" > > by setting appropriate permissions or modifying the file locations. Then try > again the 'smartd -d' and see if this generates the kernel error messages as > before.
If I do that, the output of smartd -d is smartd 5.40 2010-03-16 r3077 [x86_64-unknown-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Opened configuration file /etc/smartd.conf Drive: DEVICESCAN, implied '-a' Directive on line 22 of file /etc/smartd.conf Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices glob(3) found no matches for pattern /dev/hd[a-t] glob(3) found no matches for pattern /dev/sd[a-c][a-z] Device: /dev/sda, type changed from 'scsi' to 'sat' Device: /dev/sda [SAT], opened Device: /dev/sda [SAT], found in smartd database. Device: /dev/sda [SAT], can't monitor Current Pending Sector count - no Attribute 197 Device: /dev/sda [SAT], can't monitor Offline Uncorrectable Sector count - no Attribute 198 Device: /dev/sda [SAT], is SMART capable. Adding to "monitor" list. Device: /dev/sda [SAT], state read from /usr/var/lib/smartmontools/smartd.INTEL_SSDSA2M160G2GC-CVPO0063014V160AGN.ata.state Monitoring 1 ATA and 0 SCSI devices Device: /dev/sda [SAT], opened ATA device Device: /dev/sda [SAT], state written to /usr/var/lib/smartmontools/smartd.INTEL_SSDSA2M160G2GC-CVPO0063014V160AGN.ata.state This isn't the issue though, I just got the original error again, with /usr/var/lib/smartmontools/ present. I don't get it often though -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org