<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>I am looking at correct way to disable the "feature" of emergency mode when systemd encounters missing block device entires in fstab.<br><br></div>For example:<br><br></div>the following entry is in /etc/fstab:<br>UUID=d4a23034-8cbe-44b3-92a5-3d38e1816eff /data               xfs     defaults        0       0<br><br></div>If the drive (d4a23034-8cbe-44b3-92a5-3d38e1816eff) has been detached and machine rebooted it stops booting with Emergency mode, even though the /data is not crucial for boot.<br><br></div>In past (eg. with upstart) it would simply generate a warning and continue to boot.<br><br></div>The emergency mode assumes console access, which requires physical access, which is quiet difficult if the machine is remote.<br><br></div>I believe the boot should be best effort, give warning and continue to boot, giving at least partial working system.<br><br></div>Actually further thinking about it, this behaviour is bad even for desktop scenario. <br><br></div>The correct behaviour should be following: drop in emergency mode only when crucial to boot files are not available otherwise warn about missing drives and continue to boot.<br><br></div>Regards.<br><br></div>Sergei.<br><div><div><div><div><div><div><div><div><div><br><br><br></div></div></div></div></div></div></div></div></div></div>