[systemd-devel] Emergency mode if non-critical /etc/fstab entries are missing

Sergei Franco sergei.franco at gmail.com
Sun Sep 25 22:35:51 UTC 2016


Thank you for your quick reply.

I just tested this scenario on Ubuntu 12.04LTS (with upstart) and it
present the following message:

The disk drive for /data is not ready yet or not present.
keys:Continue to wait, or Press S to skip mounting or M for manual recovery

So it is not as big difference as I initially thought, except it is much
easier to deal with by simply pressing S, while I believe there is no
such option for systemd (it would be nice).

So in future for non crucial disks I will use nofail.

Best regards.

Sergei.

P.S. As advised I have replied to correct address.

On 26 September 2016 at 11:30, Reindl Harald <h.reindl at thelounge.net> wrote:

> if you post somehting to a mailing-list and you get a response on the list
> POST REPLIES TO THE LIST - *period*
>
> Am 26.09.2016 um 00:28 schrieb Sergei Franco:
>
>> Thank you for your quick reply.
>>
>> I just tested this scenario on Ubuntu 12.04LTS (with upstart) and it
>> present the following message:
>>
>> The disk drive for /data is not ready yet or not present.
>> keys:Continue to wait, or Press S to skip mounting or M for manual
>> recovery
>>
>> So it is not as big difference as I initially thought, except it is much
>> easier to deal with by simply pressing S, while I believe there is no
>> such option for systemd (it would be nice).
>>
>> So in future for non crucial disks I will use nofail.
>>
>> Best regards.
>>
>> Sergei.
>>
>> On 26 September 2016 at 10:57, Reindl Harald <h.reindl at thelounge.net
>> <mailto:h.reindl at thelounge.net>> wrote:
>>
>>
>>
>>     Am 25.09.2016 um 23:52 schrieb Sergei Franco:
>>
>>         I am looking at correct way to disable the "feature" of
>>         emergency mode
>>         when systemd encounters missing block device entires in fstab.
>>
>>         For example:
>>
>>         the following entry is in /etc/fstab:
>>         UUID=d4a23034-8cbe-44b3-92a5-3d38e1816eff /data               xfs
>>         defaults        0       0
>>
>>         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
>>
>>
>>     RTFM - when you don't say "nofail" it's ecpected to be crucial
>>
>>     your entry says it's crucial
>>
>>     http://unix.stackexchange.com/questions/53456/what-is-the-di
>> fference-between-nobootwait-and-nofail-in-fstab
>>     <http://unix.stackexchange.com/questions/53456/what-is-the-
>> difference-between-nobootwait-and-nofail-in-fstab>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160926/f5c8c2be/attachment.html>


More information about the systemd-devel mailing list