NFS mount is stalling during boot
R C
cjvijf at gmail.com
Sun Sep 19 23:57:43 UTC 2021
yeah, that indeed is annoying, but you can have it skip/wait, for
example if the nfs server, network, or so is not available.
On 9/19/21 3:53 PM, ubuntu-users-list at thomas.freit.ag wrote:
> 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