Hi everyone,
maybe this info is helpful for someone:
With "hddtemp" there's a tool out, capable of monitoring harddisks' >temperature. This may help to prevent them from heat death.
Unfortunately, hddtemp (every version I know of) can only access internal >drives. External ones can not be read. Don't know why.
So, I developed a little workaround and called it hddetemp (e for
external, also). It is now also tested under Raspbian OS.
Here you see the difference:
[542 root@rpi-inst /]# hddtemp /dev/sda
/dev/sda: Generic External: S.M.A.R.T. not available
[543 root@rpi-inst /]# hddetemp /dev/sda
/dev/sda: Hitachi HTS545016B9A300: 25 (Min/Max 16/43)°C
If you find this helpful, you can get it from here:
https://www.dipl-ing-kessler.de/developer/freigabe/hddetemp
Best regards,
Markus
If you find this helpful, you can get it from here:
https://www.dipl-ing-kessler.de/developer/freigabe/hddetemp
On a sunny day (Sat, 17 Sep 2022 17:20:51 -0000 (UTC)) it happened Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote in <tg4vlj$77k3$1@dont-email.me>:
Hi everyone,
maybe this info is helpful for someone:
With "hddtemp" there's a tool out, capable of monitoring harddisks'
temperature. This may help to prevent them from heat death.
Unfortunately, hddtemp (every version I know of) can only access internal
drives. External ones can not be read. Don't know why.
So, I developed a little workaround and called it hddetemp (e for
external, also). It is now also tested under Raspbian OS.
Here you see the difference:
[542 root@rpi-inst /]# hddtemp /dev/sda
/dev/sda: Generic External: S.M.A.R.T. not available
[543 root@rpi-inst /]# hddetemp /dev/sda
/dev/sda: Hitachi HTS545016B9A300: 25 (Min/Max 16/43)°C
If you find this helpful, you can get it from here:
https://www.dipl-ing-kessler.de/developer/freigabe/hddetemp
Best regards,
Markus
There is the main HD info program
hdparm
man hdparm
# hdparm -H /dev/sdb
/dev/sdb:
drive temperature (celsius) is: under -20
drive temperature in range: yes
That is with my external 3 TB Toshiba drive
Not sure 'under -20' makes any sense.
I tried your code, installed 'smartctl':
# hddetemp /dev/sdb
/dev/sdb: TOSHIBA MQ04UBB400: °C
So.. may work for some drives.....
On a sunny day (Sat, 17 Sep 2022 17:20:51 -0000 (UTC)) it happened
Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote in <tg4vlj$77k3$1@dont-email.me>:
Hi everyone,
maybe this info is helpful for someone:
With "hddtemp" there's a tool out, capable of monitoring harddisks' >>temperature. This may help to prevent them from heat death.
Unfortunately, hddtemp (every version I know of) can only access
internal drives. External ones can not be read. Don't know why.
So, I developed a little workaround and called it hddetemp (e for
external, also). It is now also tested under Raspbian OS.
Here you see the difference:
[542 root@rpi-inst /]# hddtemp /dev/sda /dev/sda: Generic External: >>S.M.A.R.T. not available
[543 root@rpi-inst /]# hddetemp /dev/sda /dev/sda: Hitachi
HTS545016B9A300: 25 (Min/Max 16/43)°C
If you find this helpful, you can get it from here:
https://www.dipl-ing-kessler.de/developer/freigabe/hddetemp
Best regards,
Markus
There is the main HD info program hdparm man hdparm
# hdparm -H /dev/sdb /dev/sdb:
drive temperature (celsius) is: under -20 drive temperature in range:
yes
That is with my external 3 TB Toshiba drive Not sure 'under -20' makes
any sense.
I tried your code, installed 'smartctl':
# hddetemp /dev/sdb /dev/sdb: TOSHIBA MQ04UBB400: °C
So.. may work for some drives.....
Am Samstag, 17. September 2022, um 17:20:51 Uhr schrieb Markus Robert Kessler:
If you find this helpful, you can get it from here:
https://www.dipl-ing-kessler.de/developer/freigabe/hddetemp
Great, but wouldn't it be the best solution to implement your extensions
into hddtemp?
Did you contact the original developer about this?
On Sat, 17 Sep 2022 19:58:10 +0200 Marco Moock wrote:
Am Samstag, 17. September 2022, um 17:20:51 Uhr schrieb Markus Robert
Kessler:
If you find this helpful, you can get it from here:
https://www.dipl-ing-kessler.de/developer/freigabe/hddetemp
Great, but wouldn't it be the best solution to implement your extensions
into hddtemp?
Did you contact the original developer about this?
Hi Marco,
implementing this code into hddtemp source would be nice, but looking at
http://download.savannah.nongnu.org/releases/hddtemp/
(official homepage) it seems that hddtemp is no longer maintained.
Updating the drives database is not enough to get ahead here.
Thanks, best regards,
Markus
Is Hddtemp just a spinning drive-type tool or is it applicable for
Solid State Drives as well??
Am Sonntag, 18. September 2022, um 23:09:24 Uhr schrieb Daniel65:
Is Hddtemp just a spinning drive-type tool or is it applicable for
Solid State Drives as well??
Why should that matter?
There is a temperature sensor that need to be read out, regardless of
the technology the disk uses.
But according to the other post hddtemp is very old, so it is from a
time where SSD weren't common.
Am Sonntag, 18. September 2022, um 23:09:24 Uhr schrieb Daniel65:
Is Hddtemp just a spinning drive-type tool or is it applicable for
Solid State Drives as well??
Why should that matter?
There is a temperature sensor that need to be read out, regardless of
the technology the disk uses.
But according to the other post hddtemp is very old, so it is from a
time where SSD weren't common.
If you find this helpful, you can get it from here:
Hi everyone,
maybe this info is helpful for someone:
With "hddtemp" there's a tool out, capable of monitoring harddisks' temperature. This may help to prevent them from heat death.
Unfortunately, hddtemp (every version I know of) can only access internal drives. External ones can not be read. Don't know why.
So, I developed a little workaround and called it hddetemp (e for
external, also). It is now also tested under Raspbian OS.
Here you see the difference:
[542 root@rpi-inst /]# hddtemp /dev/sda
/dev/sda: Generic External: S.M.A.R.T. not available
[543 root@rpi-inst /]# hddetemp /dev/sda
/dev/sda: Hitachi HTS545016B9A300: 25 (Min/Max 16/43)°C
If you find this helpful, you can get it from here:
https://www.dipl-ing-kessler.de/developer/freigabe/hddetemp
Best regards,
Markus
Tried it on a system with and external drive inside a usb converter, and
the systemctl command simply hangs. ^C cannot free it, but sudo killall hddetemp did kill it.
On 2022-09-17, Markus Robert Kessler <no_reply@dipl-ing-kessler.de>
wrote:
Hi everyone,
maybe this info is helpful for someone:
With "hddtemp" there's a tool out, capable of monitoring harddisks'
temperature. This may help to prevent them from heat death.
Unfortunately, hddtemp (every version I know of) can only access
internal drives. External ones can not be read. Don't know why.
So, I developed a little workaround and called it hddetemp (e for
external, also). It is now also tested under Raspbian OS.
Here you see the difference:
[542 root@rpi-inst /]# hddtemp /dev/sda /dev/sda: Generic External:
S.M.A.R.T. not available
[543 root@rpi-inst /]# hddetemp /dev/sda /dev/sda: Hitachi
HTS545016B9A300: 25 (Min/Max 16/43)°C
If you find this helpful, you can get it from here:
https://www.dipl-ing-kessler.de/developer/freigabe/hddetemp
Best regards,
Markus
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 371 |
Nodes: | 16 (2 / 14) |
Uptime: | 37:33:12 |
Calls: | 7,932 |
Calls today: | 2 |
Files: | 12,998 |
Messages: | 5,805,631 |