(this report was made for me by chatgpt, I apologize if it is not correct)
Bug Report: SMART not visible in GUI despite working via smartctl (HBA in IT mode, SCALE 24.10.2)
Summary:
SMART information is not displayed in the TrueNAS SCALE 24.10.2 web interface, despite smartctl and smartd working correctly in the CLI. All disks are connected via HBA in IT mode and detected as SCSI devices. The SMART service is running, and manual checks confirm that SMART data is available.
Environment:
TrueNAS Version: SCALE 24.10.2
Hardware: ---- HBA (IT mode)
Disk Type: SATA/SAS drives connected via HBA
Number of Disks: 8
Disk Device Names: /dev/sda to /dev/sdh
Connection Type: HBA (IT mode, passthrough)
Shell: zsh
User: truenas_admin (non-root, sudo-enabled)
Steps to Reproduce:
Install TrueNAS SCALE 24.10.2 on a system with HBA in IT mode.
Connect SATA/SAS drives via the HBA.
Enable the SMART service in GUI (System Settings → Services → SMART).
Enable SMART monitoring for each disk via Storage → Disks → Edit.
Wait for SMART polling or attempt to view SMART data in the GUI.
Expected Result:
SMART data (health status, temperature, etc.) should be visible in the web UI under Storage → Disks or Reporting.
Actual Result:
No SMART data is shown in the GUI.
SMART service is running and reports no errors.
Disks are detected as SCSI devices:
sudo smartctl --scan
/dev/sda -d scsi
/dev/sdb -d scsi
…
Manual SMART checks work:
sudo smartctl -a -d scsi /dev/sda
Returns full SMART data including health status and temperature.
systemctl status smartd shows:
Active: active (running)
Status: “Next check of 8 devices will start at …”
smartd.log shows no errors.
Middleware API methods like smart.query and smart.test are missing:
[ENOMETHOD] Method ‘query’ not found in ‘smart’
[ENOMETHOD] Method ‘test’ not found in ‘smart’
Additional Notes:
This appears to be a regression or missing functionality in SCALE 24.10.2.
Possibly related to how middleware handles SCSI devices or lack of SMART API exposure.
The same setup worked in earlier SCALE versions or in TrueNAS CORE.
Suggested Fix / Feature Request:
Ensure that SMART data from SCSI devices (connected via HBA in IT mode) is correctly parsed and displayed in the GUI.
Restore or implement missing middleware methods (smart.query, smart.test) if required for GUI integration.
Add better support or detection logic for SCSI/SAS disks in the GUI.