Can I set an /etc/fstab with options=auto to be skipped if mounting fails?
The manual says, it will break the boot process if an entry with options=auto fails.
Without auto, it does not automatically mount the device on boot.
So how to make the auto entry to be ignored on failures?
Best Answer
I created a partition called
/dev/sdb1
in my Ubuntu VM. But I didn’t create a filesystem for this partition and so of course it will not get mounted.Then put following entry in
fstab
.And rebooted VM. Server got rebooted with following error msg in
syslog
What is
nobootwait
:nobootwait
can be applied to non-remote filesystems to explicitly instructmountall(8)
not to hold up the boot for them.