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.


On May 18, 2010, at 9:37 PM, Frank Gevaerts wrote:

> On Tue, May 18, 2010 at 09:19:37PM +0200, Bruce Allen wrote:
>> This is odd.  The drive supports self-test logs:
>> 
>>> SMART Self-test log structure revision number 1
>>> Num  Test_Description    Status                  Remaining  LifeTime(hours) 
>>>  LBA_of_first_error
>>> # 1  Vendor offline      Completed without error       00%       543        
>>>  -
>> 
>> but apparently smartd has trouble reading this.  Could you start smartd with 
>> the debug switch turned on (this is -d' on the command line) and then cut 
>> and past the output into another email to me and the appropriate bug list.
> 
> zorac:~# smartd -d
> 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.
> Monitoring 1 ATA and 0 SCSI devices
> Device: /dev/sda [SAT], opened ATA device
> 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"
> 
> -- 
> "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

Reply via email to