Hi, I've been using your temp report for awhile without any issues. However, I expanded my pool with 4 new drives and one of the hard drives does not show up in the report. How can I add the missing drive to the report? The drive in question is /dev/da2.
I guess it's smartctl that fails to show the SMART info for the drive. What output do you get if you run this command?
smartctl -a /dev/da2
Last edit: Erik Kjellson 2015-10-23
http://pastebin.com/nBtMPv0Q
There is an error, though I do not know how to interpret what it is. Thanks so much for getting back to me
Ok, the problem wasn't to get the SMART data but that your drive has en error. See the section starting at line 77. Did you get any error code running smartctl?
I just made a new release, showing the SMART data even though an error code is issued. And I also added a column to show SMART errors.
Wow, thanks so much for your help. The latest version is working beautifully.
Hello
just installed and i just see disks serial nr. not temp. please advice what to do.
smartctl in shell gives me the following
smartctl -A /dev/da1 | grep -i temperature
Current Drive Temperature: 47 C
Drive Trip Temperature: 60 C
Last edit: Jonas Andersson 2017-05-25
Hi Jonas,
You seem to get a different format of your output than I do, probably because of a different manufacturer. Could you send the full output for this command:
smartctl -a /dev/da0
I got a lot of info =)
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: SEAGATE
Product: ST8000NM0075
Revision: E002
Compliance: SPC-4
User Capacity: 8,001,563,222,016 bytes [8.00 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
LU is fully provisioned
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x5000c50085cd6cef
Serial number: ZA13YK0E0000R703UHGJ
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Wed Jun 7 19:43:34 2017 CEST
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: 46 C
Drive Trip Temperature: 60 C
Manufactured in week 33 of year 2016
Specified cycle count over device lifetime: 10000
Accumulated start-stop cycles: 59
Specified load-unload count over device lifetime: 300000
Accumulated load-unload cycles: 100
Elements in grown defect list: 0
Vendor (Seagate) cache information
Blocks sent to initiator = 2640557544
Blocks received from initiator = 2922159616
Blocks read from cache and sent to initiator = 240319429
Number of read and write commands whose size <= segment size = 4613405
Number of read and write commands whose size > segment size = 4116
Vendor (Seagate/Hitachi) factory information
number of hours powered up = 553.43
number of minutes until next internal SMART test = 42
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: 657786376 0 0 657786376 0 1351.965 0
write: 0 0 0 0 0 1503.831 0
Non-medium error count: 25
[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']
SMART Self-test log
Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ]
Description number (hours)
1 Background short Completed - 485 - [- - -]
2 Background short Completed - 484 - [- - -]
3 Background short Completed - 483 - [- - -]
4 Background short Completed - 482 - [- - -]
5 Background short Completed - 481 - [- - -]
6 Background short Completed - 480 - [- - -]
7 Background short Completed - 479 - [- - -]
8 Background short Completed - 478 - [- - -]
9 Background short Completed - 477 - [- - -]
10 Background short Completed - 476 - [- - -]
11 Background short Completed - 475 - [- - -]
12 Background short Completed - 474 - [- - -]
13 Background short Completed - 473 - [- - -]
14 Background short Completed - 472 - [- - -]
15 Background short Completed - 471 - [- - -]
16 Background short Completed - 470 - [- - -]
17 Background short Completed - 469 - [- - -]
18 Background short Completed - 468 - [- - -]
19 Background short Completed - 467 - [- - -]
20 Background short Completed - 466 - [- - -]
Long (extended) Self Test duration: 47220 seconds [787.0 minutes]
Now I uploaded changes that should support this SMART output format as well. I uploaded it as version 0.1.8. You should now get the columns for Model and Temperature filled in.
its working perfect now thanks !