Skip to content

[BUG] NO SMART status for Raspberry PI 4, RaspberryOS #671

@olektu2204

Description

@olektu2204

Go Hass Agent Version
Retrieve with go-hass-agent_14.2.0_arm64.deb.

Describe the bug
go-hass-agent runs without errors in log.
/dev/sda - expose only read/write entities, no smart
/dev/sdb - ignores at all

No attempts to get smart data from sdb & sda in logs:

cat preferences.toml
[smart]
devices = [ "/dev/sda", "/dev/sdb" ]

[sensors.disk.smart]
disabled = false
devices = [ "/dev/sda", "/dev/sdb" ]
update_interval = '1m0s'

10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram0 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram1 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram10 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram11 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram12 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram13 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram14 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram15 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram2 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram3 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram4 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram5 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram6 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram7 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram8 entity_worker.error="unknown drive type"
10:05AM DEBUG Could not read SMART data from device. entity_worker.device=ram9 entity_worker.error="unknown drive type"

smartctl -i /dev/sda
smartctl 7.4 2023-08-01 r5530 [aarch64-linux-6.12.55-v8+] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Blue Mobile (SMR)
Device Model: WDC WD20SPZX-00UA7T0
Serial Number: WD-WXU2E61DR3W0
LU WWN Device Id: 5 0014ee 26a253bb1
Firmware Version: 01.01A01
User Capacity: 2,000,398,934,016 bytes [2.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
TRIM Command: Available, deterministic
Device is: In smartctl database 7.3/5528
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Dec 7 09:51:12 2025 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

smartctl -i /dev/sdb
smartctl 7.4 2023-08-01 r5530 [aarch64-linux-6.12.55-v8+] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Elements / My Passport (USB, AF)
Device Model: WDC WD10JMVW-11AJGS3
Serial Number: WD-WX61EC3CNFP7
LU WWN Device Id: 5 0014ee 20a628585
Firmware Version: 01.01A01
User Capacity: 1,000,171,332,096 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Device is: In smartctl database 7.3/5528
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.0, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Sun Dec 7 09:51:18 2025 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions