NFS mount is stalling during boot
ubuntu-users-list at thomas.freit.ag
ubuntu-users-list at thomas.freit.ag
Sun Sep 19 21:53:55 UTC 2021
Hi Noah,
On 19.09.21 23:30, Noah wrote:
> I am trying to figure out a way to fix this and not quite finding a solution that works.
>
> Mounting an NFS drive is stalling the boot when the drive is unreachable. I want my linux host to still boot even if the drive is not reachable. distro is Ubuntu 20.04.3 LTS
>
> here is the fstab entry
>
> --- entry ---
> <ip>:/mnt/DroboFS/Shares/Music /media/Music nfs auto,noatime,nolock,bg,soft,nfsvers=3,intr,tcp,actimeo=1800 0 0
> --- entry ---
>
> during the boot process the message claims "(2 of 4) A start job is running for /media/Music" (27s / no limit)"
That is expected behavior, simplest approach would be to put noauto (instead of auto) in fstab and mount it manually if you need it.
However I would recommend to install autofs which can automatically mount the NFS share on access (instead at boot time).
hth,
Thomas
More information about the ubuntu-users
mailing list