Add support for other possible temperature output from smartctl
My issue is described in this thread: https://forums.freenas.org/index.php?threads/smart-not-working.69459/
Server Chassis/ Case: CSE-826A-R1200LPB
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
#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.