You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we only check whether smart_status.passed is true. If it's false, then assume SMART did not pass. However, there's another possibility that the device doesn't support SMART at all.
I have a MegaRAID device that exhibits this behaviour:
root@wato-derek2:~# smartctl /dev/sda -a
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.4.119-1-pve] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: IBM
Product: ServeRAID M5015
Revision: 2.13
Compliance: SPC-3
User Capacity: 47,999,999,803,392 bytes [47.9 TB]
Logical block size: 512 bytes
Logical Unit id: 0x600605b0041170402ad08eba1fe4604f
Serial number: 004f60e41fba8ed02a40701104b00506
Device type: disk
Local Time is: Tue Apr 23 02:40:30 2024 EDT
SMART support is: Unavailable - device lacks SMART capability.
=== START OF READ SMART DATA SECTION ===
Current Drive Temperature: 0 C
Drive Trip Temperature: 0 C
Error Counter logging not supported
Device does not support Self Test logging
Currently, we only check whether
smart_status.passed
is true. If it's false, then assume SMART did not pass. However, there's another possibility that the device doesn't support SMART at all.smartctl_exporter/smartctl.go
Line 462 in 7482daf
I have a MegaRAID device that exhibits this behaviour:
There should be a check to see if the
smart_status
object is available. If it is not, then SMART is not available for the device.The text was updated successfully, but these errors were encountered: