Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SATA/HDD] smartctl działa, smartd nie rusza
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
radziel
n00b
n00b


Joined: 02 Jul 2005
Posts: 40
Location: Poland, Olsztyn

PostPosted: Sun Apr 16, 2006 1:19 pm    Post subject: [SATA/HDD] smartctl działa, smartd nie rusza Reply with quote

Postanowiłem zrobić monitoring parametrów moich dwóch WD Caviarów WD2500KS.

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:
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...


Natomiast mój /etc/smartd.conf wygląda tak:
Code:
...
/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


Wywołanie z konsoli zwraca wszystko wydaje się poprawnie:
Code:
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


Pytanie co robię źle? Wkońcu smartctl ma wsparcie dla SATA czy nie?

Pyt. dodatkowe: dobrze mam ustawione kodowanie? :-/
_________________
r.
Back to top
View user's profile Send private message
arsen
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 1803
Location: Tychy, Poland

PostPosted: Sun Apr 16, 2006 2:23 pm    Post subject: Reply with quote

Moved from Polish to Instalacja i sprzęt.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum