$ systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● data.mount loaded failed failed /data
LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.
信息被冲没了,后面拿其他机器信息复制下,systemctl start会连 dbus 之类的,而 service 不会,结合前面的 data 挂载失败,系统应该是 emergency 半启动导致的,看了下果然
Jul 05 17:18:28 host100 systemd[1]: Started Emergency Shell. Jul 05 17:18:28 host100 systemd[1]: emergency.service: Found left-over process 647 (sulogin) in control group while starting unit. Ignoring. Jul 05 17:18:28 host100 systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.