OpenSUSE Leap 15.4下smartd服务启动失败(提示“No devices to monitor”)问题求助
OpenSUSE Leap 15.4下smartd服务启动失败(提示“No devices to monitor”)问题求助
我在ASUS L210笔记本上运行OpenSUSE Leap 15.4,最近碰到了smartd服务启动失败的问题,先贴一下服务状态的输出:
/media/q/HDD1 $ systemctl status smartd.service × smartd.service - Self Monitoring and Reporting Technology (SMART) Daemon Loaded: loaded (/usr/lib/systemd/system/smartd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2022-11-26 16:35:54 PST; 1min 28s ago Docs: man:smartd(8) man:smartd.conf(5) Process: 892 ExecStart=/usr/sbin/smartd -n $smartd_opts (code=exited, status=17) Main PID: 892 (code=exited, status=17) Status: "No devices to monitor" lines 1-8/8 (END)
因为我有一个可移动的sd[x]设备,有时候会接上使用,有时候不会,所以我修改了/etc/smartd.conf里的配置行:
把原来的
DEVICESCAN
改成了
DEVICESCAN -d removable
我查了smartd.conf的手册,关于-d removable的说明是:
removable - the device or its media is removable. This indicates to smartd that it should continue (instead of exiting, which is the default behavior) if the device does not appear to be present when smartd is started.
按道理这样配置后,即使可移动设备没接上,smartd也应该继续运行而不是退出,但现在开机时服务还是启动失败了,请问我哪里操作错了吗?
备注:内容来源于stack exchange,提问作者user985675
相关产品推荐
相关产品推荐

