W związku z tym opierając się na HOWTO Monitor your hard disk(s) with smartmontools, emergowałem smartmontools.
Wszystko idzie dobrze, do momentu gdy chcę wystartować demona smartd. W logach wyrzuca mi coś takiego:
Code: Select all
Apr 16 15:10:33 rserwer smartd[15024]: Opened configuration file /etc/smartd.conf
Apr 16 15:10:33 rserwer smartd[15024]: Drive: DEVICESCAN, implied '-a' Directive on line 23 of file /etc/smartd.conf
Apr 16 15:10:33 rserwer smartd[15024]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Apr 16 15:10:33 rserwer smartd[15024]: Device: /dev/hdc, opened
Apr 16 15:10:33 rserwer smartd[15024]: Device: /dev/hdc, packet devices [this device CD/DVD] not SMART capable
Apr 16 15:10:33 rserwer smartd[15024]: Device: /dev/sda, opened
Apr 16 15:10:33 rserwer smartd[15024]: Device /dev/sda, 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.
Apr 16 15:10:33 rserwer smartd[15024]: Device: /dev/sdb, opened
Apr 16 15:10:33 rserwer smartd[15024]: Device /dev/sdb, 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.
Apr 16 15:10:33 rserwer smartd[15024]: Unable to monitor any SMART enabled devices. Try debug (-d) option. Exiting...
Code: Select all
...
/dev/sda -d ata -H -l error -l selftest -s (O/../../5/11|L/../../5/13|C/../../5/15) -m ThisIsNotUsed -M exec /usr/local/bin/smartd.sh
/dev/sdb -d ata -H -l error -l selftest -s (O/../../5/11|L/../../5/13|C/../../5/15) -m ThisIsNotUsed -M exec /usr/local/bin/smartd.sh
Code: Select all
rserwer bin # smartctl -d ata -i /dev/sda
smartctl version 5.33 [x86_64-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: WDC WD2500KS-00MJB0
Serial Number: WD-WCANK2200197
Firmware Version: 02.01C03
User Capacity: 250,059,350,016 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sun Apr 16 15:14:15 2006 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Pyt. dodatkowe: dobrze mam ustawione kodowanie? :-/

