I too dont like the limited data that SAS drives give you vs SATA drives... Where is the "Enterprise" of SAS drives if i cant get (any) useful data out of them to tell if they are pre-fail?!
that said, i did find this great command, that on my HGST SAS drives gave me a tad more info (addtl, kind of disappointed that smarctl -a , ie --all / is NOT really showing ALL data possible, as its missing this data below, on sas drives that is):
smartctl -l background /dev/da30
(lowercase "L") -- (actually command above is the only way i have found to get my HGST SAS drives' Power on hours (POH) via smartctl, so that is helpful)
if you want to see how useless SAS "smart" data is, this below is the output of a SAS drive that is 100% failing....nice....
that said, i did find this great command, that on my HGST SAS drives gave me a tad more info (addtl, kind of disappointed that smarctl -a , ie --all / is NOT really showing ALL data possible, as its missing this data below, on sas drives that is):
smartctl -l background /dev/da30
(lowercase "L") -- (actually command above is the only way i have found to get my HGST SAS drives' Power on hours (POH) via smartctl, so that is helpful)
if you want to see how useless SAS "smart" data is, this below is the output of a SAS drive that is 100% failing....nice....
Code:
root@freenas:/mnt/new3uRDz5x3disks # smartctl --all /dev/da30
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: HUS723030ALS640
Revision: A222
Compliance: SPC-4
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Logical block size: 512 bytes
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x5000cca03e4afb04
Serial number: YVHA7AED
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Sun Apr 14 20:45:59 2019 CDT
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: 43 C
Drive Trip Temperature: 85 C
Manufactured in week 48 of year 2012
Specified cycle count over device lifetime: 50000
Accumulated start-stop cycles: 68
Specified load-unload count over device lifetime: 600000
Accumulated load-unload cycles: 2883
Elements in grown defect list: 0
Vendor (Seagate) cache information
Blocks sent to initiator = 20736093531930624
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 269671 0 269671 29810891 560605.872 0
write: 0 1898285 0 1898285 136999 134366.471 0
verify: 0 1879 0 1879 49360 2796.920 0
Non-medium error count: 0
SMART Self-test log
Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ]
Description number (hours)
# 1 Background long Completed - 44172 - [- - -]
# 2 Background long Completed - 44099 - [- - -]
# 3 Background short Completed - 1 - [- - -]
Long (extended) Self Test duration: 27182 seconds [453.0 minutes]
root@freenas:/mnt/new3uRDz5x3disks #
root@freenas:/mnt/new3uRDz5x3disks # smartctl -l background /dev/da30
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 READ SMART DATA SECTION ===
Background scan results log
Status: scan is active
Accumulated power on time, hours:minutes 45824:26 [2749466 minutes]
Number of background scans performed: 285, scan progress: 76.48%
Number of background medium scans performed: 285