Disk Temperatures feature Broken on HDD (SSD works fine)

Description

So I noticed that my four harddrives dont show their temperatures any longer in the gui.

The graph still shows, but with no data in it.

Turned out, that when I look at the .rrd files under /var/db/system they where not touched by any updated for a long time (read somewhere in 2018).

The only SSD in the system does not have that flow, eveything is there as expected.

So I went to the commandline and asked smartctl about the devices, and there everything seems still fine, meaning I can read out the temp with the command of every hdd.

Even installed an extra rrd gathering script from https://github.com/seren/freenas-temperature-graphing and set it up, and there I get at least some workaround to show me the temp data of my drives.

But of course I would like to see it in the freenas gui as well, so I got desperate and delete the .rrd files in the filesystem in the hops that a systemreboot and restart of the services would recreate them. Turns out I was wrong, the file did not show up and now the empty .rrd doesnt show up in the gui any longer as well, which of course is logical, because I deleted the data.

So. is there a way to force recreated and kickstart this again, or is this just a bug not yet fixed?

I found some old bug describing this, but has the status set to something which sounds like it wont get fixed, or already is. There are actually a few bug reports on this with conflicting infos, so I am confused right now what it is.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Markus Turba August 3, 2020 at 1:06 PM

Thank you for clarifying this.

 

Vladimir Vinogradenko August 3, 2020 at 10:27 AM

periodic temperature queries prevent drives from going into sleep, that's we disable it when HDD Standby is enabled. TrueNAS 12 will resolve this issue by introducing "Force HDD Standby" option that, when enabled, will force HDD Standby after certain time of I/O inactivity.

Markus Turba August 3, 2020 at 8:17 AM

Yes I have. After your question I tried disabling that for one drive and the graphs work again now as the .rrd file gets updated.

When I enable Standby again the updating stops again.

As I have that Standby Option enabled since day 1 or 2 I would assume now that you have changed something in the code somewhere in between 2017 and now and wondering now if this was on purpose (aka feature) or not (bug)?

I was under the impression that the standby option doesn't do anything anyway, as the forums as full with discussions about getting HDDs into standby for home users, but that it is something the rest of the community does not want/seems not useful, so it never got implemented like in other NAS software.

Vladimir Vinogradenko July 27, 2020 at 4:57 PM

do you have "HDD Standby" option set for your HDDs?

Markus Turba July 18, 2020 at 10:37 PM

and some proof temp data actually exists on the mentioned hard drives:

 

{{smartctl -a /dev/ada1 | grep Temp}}

{{194 Temperature_Celsius 0x0022 115 111 000 Old_age Always - 35}}

Behaves as Intended
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Impact

Low

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created July 18, 2020 at 10:06 PM
Updated July 1, 2022 at 4:51 PM
Resolved August 3, 2020 at 10:27 AM