Hallo Winger!
hddtemp liest die Zuordnung von Ausgabe und Temperatur aus der Datenbank /etc/hddtemp.db aus.
...
"SAMSUNG SP0411N" 194 C "Samsung SpinPoint PL40 serie"
"SAMSUNG SP(0812|1213|1614)C" 194 C "Samsung Spinpoint 160G SATA"
"SAMSUNG SV0432A" 0 C "Samsung SV0432A"
"SAMSUNG SV3002H" 0 C "Samsung SpinPoint V30 serie"
...
Da es unendlich viele Platten gibt und der Autor von hddtemp nicht alle Platten der Welt kaufen kann, ist diese Datenbank nicht komplett. Neue Platten finden erst nach einiger Zeit den Weg in diese Datenbank. Aber du kannst sie zum einen selber bei dir ergänzen und das Ergebnis an den Autor von hddtemp schicken, so dass die Platte in Zukunft von Haus aus unterstützt wird.
Lies dazu mal in einem Terminal die Termperaturen deiner Platte - also /dev/sda - aus. Am besten machst du das nachdem der Rechner ein Weilchen aus war, und du ihn gerade neu gestartet hast. So erkennst du am einfachsten den richtigen Wert
# sudo hddtemp /dev/sda --debug
================= hddtemp 0.3-beta14 ==================
Model: XYZ <- hier steht deine Plattenbezeichnung
field(1) = 184
field(3) = 0
field(4) = 198
field(5) = 0
field(7) = 95
field(9) = 16
field(10) = 0
field(12) = 195
field(187) = 0
field(189) = 0
field(190) = 48
field(194) = 48
field(195) = 211
field(197) = 0
field(198) = 0
field(199) = 0
field(200) = 0
field(202) = 0
If one of the field value seems to match the temperature, be sure to read
the hddtemp man page before sending a report (section REPORT). Thanks.
Wie du siehst, hat so eine Platte verschiedene Sensoren, bei mir sind Feld 190 und 194 mit dem Wert von 48 wahrscheinlich die Temperatur Sensoren. Standard ist das Feld 194, passt also
Mit dieser Info gehst du in die /etc/hddtemp.db und suchst den Abschnitt zu Samsung Platten
########################################
############# Samsung drives
########################################
und fügst einfach die passende Zeile ein
"XYZ" 194 C "Samsung xxxGB, xxxRPM, xMB cache"
danach solltest du direkt mit
sudo hddtemp /dev/sda
die Temperatur deiner Platte abfragen können. Weitere Infos zum Reporten von Platten findest du in der Man Page von hddtemp
# man hddtemp
REPORT
As I receive a lot of reports, things must be clarified. When running
hddtemp with debug options, hddtemp will show sort of a dump of
S.M.A.R.T. data. Each field corresponds to an information field. The
standard field for drive temperature is 194. But this is not always
the case. Even if your drive has S.M.A.R.T. capabilities, it doesn’t
necessarily mean that it can report its temperature. So, things must
be determined through experimentation.
So, you can try to guess which field by is the good one by running
hddtemp at regular intervals:
- just after starting up your PC/server/station,
- after opening a window (a physical window :),
- after opening the case,
- whatever you can think of...
and looking for a field’s value that would increase or decrease
depending on what effect you want to induce. Be careful, fields 4, 9,
and 12 are often reported to match a temperature field but after some
investigation they do not. But fields 194 (which is the standard field
for temperature) and 231 are good candidates.
Then, you can send me a report with outputs from ‘hddtemp --debug ...’,
‘smartctl’ or ‘hdparm -i ...’, and/or add an entry in hddtemp.db your‐
self.
Tschuess
Christoph