Sorry to dig this issue up again. Boot is no longer an issue.

However, I ran into a problem whereby the NFS server going offline
causes an active session to hang. E.g. running 'syspatch' never
completed; same with trying to force-unmount the NFS share. The
console hangs and never returns. There should be no open file
descriptors on the unavailable NFS mount. All the suggested mount
options - soft,intr,bg - are used. Any suggestions to have NFS
fail open?

A reboot was required to clear the hang as I ran out of virtual
consoles to execute new commands.

Regards
Lloyd

obsd at mulh.net wrote:

> On 2026-04-19 8:06:57, Lloyd wrote:
> > in /etc/fstab with the following mount options:
> > server:/export/shared /mnt nfs rw,nodev,nosuid,soft,intr 0 0
> >
> > Any advice to keep unreliable NFS mounts from halting boot would be 
> > appreciated!
> 
> Add "bg" to the options.  ex:
> 
> server:/export/shared /mnt nfs rw,nodev,nosuid,soft,intr,bg 0 0
> 
> option bg is the same as -b in mount_nfs, see man mount_nfs.
> 
>

Reply via email to