ubuntu 16.04 fstab fails with nobootwait

Looks like there are 2 relevant options that need to be set to imitate nobootwait behavior, taken from systemd mount manpage:

   nofail
       With nofail, this mount will be only wanted, not required, by
       local-fs.target or remote-fs.target. This means that the boot will
       continue even if this mount point is not mounted successfully.
   x-systemd.device-timeout=
       Configure how long systemd should wait for a device to show up
       before giving up on an entry from /etc/fstab. Specify a time in
       seconds or explicitly append a unit such as "s", "min", "h", "ms".

so setting options to nofail,x-systemd.device-timeout=1 should make the system wait 1 second for device to be mounted before continuing the boot.


This option appears to have been dropped. The Ubuntu manpage for fstab contains this text if you select 14.04 LTS at the top:

The  mountall(8)  program  that  mounts  filesystem  during  boot  also
 recognises additional options that the ordinary mount(8) tool does not.
These  are:  ``bootwait''  which  can  be applied to remote filesystems
mounted outside of /usr or /var, without which  mountall(8)  would  not
hold up the boot for these; ``nobootwait'' which can be applied to non-
remote filesystems to explicitly instruct mountall(8) not  to  hold  up
the boot for them; ``optional'' which causes the entry to be ignored if
the filesystem type is not known  at  boot  time;  and  ``showthrough''
which  permits  a mountpoint to be mounted before its parent mountpoint
(this latter should be used carefully, as it can cause boot hangs).

This paragraph does not exist in the version of the page you get if you select 16.04 at the top.


If you're just looking for how to replicate nobootwait behavior in 16.04 it seems that the option you're looking for is nofail. From http://manpages.ubuntu.com/manpages/zesty/man5/systemd.mount.5.html

   nofail
       With nofail, this mount will be only wanted, not required, by
       local-fs.target or remote-fs.target. This means that the boot will
       continue even if this mount point is not mounted successfully.

Tags:

Mount

Boot

Fstab