Ich habe die 'smartmontools' aus dem Ubuntu-Repository mit Synaptic installiert und sie scheinen auch automatisch die (einzige) Platte /dev/sda in gewissen Abständen abzufagen und auch Plattentests anzustoßen.
Aber ich finde in der Prozeßliste den 'smartd' absolut nicht
Laut System->Systemverwaltung->Dienste ist dort 'Hardwareüberwachung smartmontools' aktiviert.
Laut Boot-up-manager ebenso: smartmontools in allen Runleveln aktiviert, aber bei 'Läuft' ist ein '?'
In der Konfigurationsdatei /etc/smartd.conf ist nur folgende Zeile aktiv:
DEVICESCAN -m root -M exec /usr/share/smartmontools/smartd-runner
In der /etc/default/smartmontools steht nur folgendes:
# Defaults for smartmontools initscript (/etc/init.d/smartmontools) # This is a POSIX shell fragment # List of devices you want to explicitly enable S.M.A.R.T. for # Not needed (and not recommended) if the device is monitored by smartd #enable_smart="/dev/hda /dev/hdb" # uncomment to start smartd on system startup #start_smartd=yes # uncomment to pass additional options to smartd on startup #smartd_opts="--interval=1800"
Bisher habe ich die Zeile '#start_smartd=yes' noch nicht aktiviert, da ja Ubuntu offensichtlich den auf eine andere Art und Weise startet?
Wie könnte er sonst unter 'Dienste' gelistet werden?
Diese (gute) Doku zu dem Thema habe ich auch gefunden:
http://www.howtoforge.de/howto/den-zustand-der-festplatte-mit-smartmontools-debian-ubuntu-uberprufen/
Offensichtlich hat Hardy ja Start-Scrips für alle Runlevel und die vorhandenen System-Tools haben auch 'smartmonmtools' als aktiviert gekennzeichnet, ohne daß ich den in /etc/default/smartmontools aktiviert habe.
Kann da vielleicht Jemand diese Widersprüche klären?
Ruft Hardy eventell per cron-job 'smartctl' auf und benutzt die Konfigurationsdateien garnicht?
(ich habe auf meinem System aber dazu nix gefunden)
Viele Grüße,
Ingo
Nachtrag:
habe jetzt mal die Zeile
start_smartd=yes
aktiviert und sogar neu gebootet - kein smartd in der Prozeßliste ☹
Dann ein Versuch im Terminal:
root@pp:/home/ingo# /etc/init.d/smartmontools stop * Stopping S.M.A.R.T. daemon smartd [ OK ] root@pp:/home/ingo# /etc/init.d/smartmontools start * Starting S.M.A.R.T. daemon smartd [fail]
Was ist da bloß los? Mit smartctl kann ich die Platte auslesen, Test starten und offensichtlich tut Hardy das vonb Haus aus - aber wie???
Und hier das Syslog dazu:
ingo@pp:~$ cat /var/log/syslog |grep smart Jun 6 20:17:00 pp smartd[6298]: smartd version 5.37 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 Bruce Allen Jun 6 20:17:00 pp smartd[6298]: Home page is http://smartmontools.sourceforge.net/ Jun 6 20:17:00 pp smartd[6298]: Opened configuration file /etc/smartd.conf Jun 6 20:17:00 pp smartd[6298]: Drive: /dev/sda, implied '-a' Directive on line 25 of file /etc/smartd.conf Jun 6 20:17:00 pp smartd[6298]: Configuration file /etc/smartd.conf parsed. Jun 6 20:17:00 pp smartd[6298]: Device: /dev/sda, opened Jun 6 20:17:00 pp smartd[6298]: Device /dev/sda: ATA disk detected behind SAT layer Jun 6 20:17:00 pp smartd[6298]: Try adding '-d sat' to the device line in the smartd.conf file. Jun 6 20:17:00 pp smartd[6298]: For example: '/dev/sda -a -d sat' Jun 6 20:17:00 pp smartd[6298]: Unable to register SCSI device /dev/sda at line 25 of file /etc/smartd.conf Jun 6 20:17:00 pp smartd[6298]: Unable to register device /dev/sda (no Directive -d removable). Exiting. Jun 6 20:23:03 pp smartd[6851]: smartd version 5.37 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 Bruce Allen Jun 6 20:23:03 pp smartd[6851]: Home page is http://smartmontools.sourceforge.net/ Jun 6 20:23:03 pp smartd[6851]: Opened configuration file /etc/smartd.conf Jun 6 20:23:03 pp smartd[6851]: Drive: /dev/sda, implied '-a' Directive on line 25 of file /etc/smartd.conf Jun 6 20:23:03 pp smartd[6851]: Configuration file /etc/smartd.conf parsed. Jun 6 20:23:03 pp smartd[6851]: Device: /dev/sda, opened Jun 6 20:23:03 pp smartd[6851]: Device /dev/sda: ATA disk detected behind SAT layer Jun 6 20:23:03 pp smartd[6851]: Try adding '-d sat' to the device line in the smartd.conf file. Jun 6 20:23:03 pp smartd[6851]: For example: '/dev/sda -a -d sat' Jun 6 20:23:03 pp smartd[6851]: Unable to register SCSI device /dev/sda at line 25 of file /etc/smartd.conf Jun 6 20:23:03 pp smartd[6851]: Unable to register device /dev/sda (no Directive -d removable). Exiting.