Project

General

Profile

Bug #42944

Avatar?id=27674&size=50x50

Add support for other possible temperature output from smartctl

Added by Ryan McCullough almost 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Seen in:
Severity:
Low Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

My issue is described in this thread: https://forums.freenas.org/index.php?threads/smart-not-working.69459/

Server Chassis/ Case: CSE-826A-R1200LPB
Motherboard: X9DRi-LN4F+
Backplane: BPN-SAS-826A I-Path Direct Attached Backplane
2x LSI 9210-8i HBA JBOD FREENAS UNRAID
9x 2TB SAS Hard Drives 7.2K RPM 6GB/S HITACHI GST ULTRASTAR HUS723020ALS640

I setup email alerts and got them working (received the test as well as a bunch of NTP errors). I then went to setup the SMARTD service and test it by setting "Critical" to 1. I am not receiving any email alerts abut the temperature of my drives being too high.

Additionally, from the dashboard when I click on one of the drives from my pool it says it is running at 0 degrees (see attachment).

However, when I run smartctl -a /dev/da0 from the shell as root, it is reporting the drives temperature:

freenas# smartctl -a /dev/da0
smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.2-STABLE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HITACHI
Product:              HUS723020ALS641
Revision:             MS06
Compliance:           SPC-4
User Capacity:        2,000,398,934,016 bytes [2.00 TB]
Logical block size:   512 bytes
Formatted with type 2 protection
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca01b81caa4
Serial number:        YFJ9BTYK
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Fri Aug 24 19:44:05 2018 MDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     31 C
Drive Trip Temperature:        55 C

Manufactured in week 42 of year 2012
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  16
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  1210
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 46132423007666176

Error counter log:
          Errors Corrected by           Total   Correction     Gigabytes    Total
              ECC          rereads/    errors   algorithm      processed    uncorrected
          fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0    8211289    1285611.767           0
write:         0        1         0         1    4093835     296974.011           0
verify:        0        0         0         0       3537          0.000           0

Non-medium error count:        0

No self-tests have been logged

Associated revisions

Revision e8c403a5 (diff)
Added by Vladimir Vinogradenko almost 2 years ago

fix(collectd): Add support for other possible temperature output from smartctl Ticket: #42944

History

#1 Updated by Dru Lavigne almost 2 years ago

  • Private changed from No to Yes
  • Reason for Blocked set to Need additional information from Author

Ryan: please attach a debug (System -> Advanced -> Save debug) to this ticket.

#2 Avatar?id=27674&size=24x24 Updated by Ryan McCullough almost 2 years ago

  • File debug.tgz added

Dru Lavigne wrote:

Ryan: please attach a debug (System -> Advanced -> Save debug) to this ticket.

Sure thing, here you go.

#3 Updated by Dru Lavigne almost 2 years ago

  • Category changed from Services to Middleware
  • Assignee changed from Release Council to William Grzybowski

#4 Updated by William Grzybowski almost 2 years ago

  • Assignee changed from William Grzybowski to Vladimir Vinogradenko
  • Reason for Blocked deleted (Need additional information from Author)

#5 Updated by Bug Clerk almost 2 years ago

  • Status changed from Unscreened to In Progress

#6 Updated by William Grzybowski almost 2 years ago

  • Target version changed from Backlog to 11.2-RC1
  • Severity changed from New to Low Medium

#7 Updated by Dru Lavigne almost 2 years ago

  • File deleted (debug.tgz)

#8 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from SMARTD not sending email alert, may not be reading SMART data? to Add support for other possible temperature output from smartctl
  • Private changed from Yes to No
  • Needs Doc changed from Yes to No

#9 Updated by Bug Clerk almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#10 Updated by Dru Lavigne almost 2 years ago

  • Needs Merging changed from Yes to No

#11 Updated by Timothy Moore II almost 2 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Testing with FreeNAS Mini updated to FreeNAS-11.2-MASTER-201809190906:

Go to Dashboard and click on each disk in pool. Confirm disk temperatures are reporting for that pool. Go to Shell and enter `smartctl -a /dev/ada0 -l scttemp` and `smartctl -a /dev/ada1 -l scttemp`. Review output and confirm temperatures are reporting properly.

#12 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF