Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Truenas shows null for eveery hdd as temperature

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

jagdtigger

Junior Member
Joined
Jun 3, 2017
Messages
23
Hi all!

So i have an issue where if i go to reporting every hdd shows null as temperature. Dropping into SSH and using smartctl the temperature data can be read out from them. I am not a pro so i do not have the foggiest idea where to start so i would appreciate any ideas.

Thanks!


HW info:
4x 10 TB Ironwolf
HP H220 IT mode
truenas inside xcp-ng, hba directly attached to vm via pci passthrough
 

mauritsl

Neophyte
Joined
Jul 15, 2020
Messages
8
Is this when the system is just started or even after a day online?
I have seen the same issue but after serveral hours the system started to show the temperature..
 

Patrick M. Hausen

Dedicated Sage
Joined
Nov 25, 2013
Messages
1,927
What does smartctl -a <one disk drive> result in?
 

jagdtigger

Junior Member
Joined
Jun 3, 2017
Messages
23
Here you go:

Code:
root@zenifer[~]# smartctl -a /dev/da1
smartctl 7.1 2019-12-30 r5022 [FreeBSD 12.2-PRERELEASE amd64] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate IronWolf
Device Model:     ST10000VN0004-1ZD101
Serial Number:    <removed>
LU WWN Device Id: 5 000c50 0a30f9e73
Firmware Version: SC60
User Capacity:    10,000,831,348,736 bytes [10.0 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Oct 14 19:58:20 2020 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)    Offline data collection activity
                    was completed without error.
                    Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)    The previous self-test routine completed
                    without error or no self-test has ever
                    been run.
Total time to complete Offline
data collection:         (  567) seconds.
Offline data collection
capabilities:              (0x7b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    Offline surface scan supported.
                    Self-test supported.
                    Conveyance Self-test supported.
                    Selective Self-test supported.
SMART capabilities:            (0x0003)    Saves SMART data before entering
                    power-saving mode.
                    Supports SMART auto save timer.
Error logging capability:        (0x01)    Error logging supported.
                    General Purpose Logging supported.
Short self-test routine
recommended polling time:      (   1) minutes.
Extended self-test routine
recommended polling time:      ( 864) minutes.
Conveyance self-test routine
recommended polling time:      (   2) minutes.
SCT capabilities:            (0x50bd)    SCT Status supported.
                    SCT Error Recovery Control supported.
                    SCT Feature Control supported.
                    SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   078   064   044    Pre-fail  Always       -       70382448
  3 Spin_Up_Time            0x0003   086   086   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       228
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   094   060   045    Pre-fail  Always       -       2309744868
  9 Power_On_Hours          0x0032   069   069   000    Old_age   Always       -       27848 (1 83 0)
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       97
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       4295032833
189 High_Fly_Writes         0x003a   095   095   000    Old_age   Always       -       5
190 Airflow_Temperature_Cel 0x0022   068   048   040    Old_age   Always       -       32 (Min/Max 24/39)
191 G-Sense_Error_Rate      0x0032   096   096   000    Old_age   Always       -       8205
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       14
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       294
194 Temperature_Celsius     0x0022   032   052   000    Old_age   Always       -       32 (0 23 0 0 0)
195 Hardware_ECC_Recovered  0x001a   033   001   000    Old_age   Always       -       70382448
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0023   100   100   001    Pre-fail  Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       27750 (75 146 0)
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       54852690779
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       195330789909

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%     27782         -
# 2  Short offline       Completed without error       00%     27756         -
# 3  Short offline       Completed without error       00%     27588         -
# 4  Extended offline    Completed without error       00%     27531         -
# 5  Short offline       Completed without error       00%     27420         -
# 6  Extended offline    Completed without error       00%     26627         -
# 7  Short offline       Completed without error       00%     26413         -
# 8  Short offline       Completed without error       00%     25669         -
# 9  Short offline       Completed without error       00%     24949         -
#10  Extended offline    Completed without error       00%     24419         -
#11  Short offline       Completed without error       00%     24037         -
#12  Extended offline    Completed without error       00%     24008         -
#13  Short offline       Completed without error       00%     23319         -
#14  Short offline       Completed without error       00%     22575         -
#15  Extended offline    Completed without error       00%     22262         -
#16  Short offline       Completed without error       00%     21879         -
#17  Short offline       Completed without error       00%     21135         -
#18  Short offline       Completed without error       00%     20391         -
#19  Short offline       Completed without error       00%     19671         -
#20  Short offline       Completed without error       00%     18929         -
#21  Short offline       Completed without error       00%     18209         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

 

Patrick M. Hausen

Dedicated Sage
Joined
Nov 25, 2013
Messages
1,927
Hmm ... weird. I thought, FreeNAS uses SMART to get the data, and speculated something might be blocked by your combination of HBA and backplane ...
 

beavis3141

Newbie
Joined
Oct 24, 2020
Messages
1
Same here. Reporting and dashboard not showing disk temperatures at all. But command smartctl shell command works fine.
 
Top