Even with "-q nodev0" the service ends up in a failed state (but now
with an exit status of 0/SUCCESS)
sudo systemctl status smartmontools
× smartmontools.service - Self Monitoring and Reporting Technology (SMART) Daemon
Loaded: loaded (/lib/systemd/system/smartmontools.service; enabled; preset: enabled)
Active: failed (Result: protocol) since Tue 2023-06-13 03:07:54 CEST; 2s ago
Docs: man:smartd(8)
man:smartd.conf(5)
Process: 4072 ExecStart=/usr/sbin/smartd -n $smartd_opts (code=exited, status=0/SUCCESS)
Main PID: 4072 (code=exited, status=0/SUCCESS)
Status: "No devices to monitor"
CPU: 29ms
juin 13 03:07:54 hercule systemd[1]: Starting smartmontools.service - Self Monitoring and Reporting Technology (SMART) Daemon...
juin 13 03:07:54 hercule smartd[4072]: smartd 7.3 2022-02-28 r5338 [aarch64-linux-6.2.0-rc3-meson64] (local build)
juin 13 03:07:54 hercule smartd[4072]: Copyright (C) 2002-22, Bruce Allen, Christian Franke,
www.smartmontools.org
juin 13 03:07:54 hercule smartd[4072]: Opened configuration file /etc/smartd.conf
juin 13 03:07:54 hercule smartd[4072]: Drive: DEVICESCAN, implied '-a' Directive on line 21 of file /etc/smartd.conf
juin 13 03:07:54 hercule smartd[4072]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
juin 13 03:07:54 hercule smartd[4072]: In the system's table of devices NO devices found to scan
juin 13 03:07:54 hercule systemd[1]: smartmontools.service: Failed with result 'protocol'.
juin 13 03:07:54 hercule smartd[4072]: Unable to monitor any SMART enabled devices. Try debug (-d) option. Exiting...
juin 13 03:07:54 hercule systemd[1]: Failed to start smartmontools.service - Self Monitoring and Reporting Technology (SMART) Daemon.
My storage as of now is only EMMC and SD. Though at time I can have
external USB HDDs to monitor with smartd.
Cheers,
Alban