Hi
Help me, please, with the following issue:
- there is NFS server (Windows 11, WinNFSd.exe as NFS server)
- there is NFS client (FreeBSD 15.0)
Issue: mounted share stops working on client if server was restarted.
First, I just added
Everything works fine until I restart NFS server. After restarting the NFS server, I have to do umount-mount cycle to get access to that share again.
Also, I tried to add the following mount options:
Second, I tried to use autofs automounter:
- removed that NFS mount from the /etc/fstab
- added
- added
- created /etc/auto.nfs with the following line:
- created /mnt/nfs directory
- started automount service
And have almost the same issue: if I restart NFS server, no more access to that shared NFS resource. But in this case I get "Stale NFS file handle" error when attempt to open the shared NFS resource.
The same with the following mount options:
Is there any way to have reconnection to the NFS server be made automatically?
Or any option to mount SMB v.3 share in FreeBSD?
Thanks
Help me, please, with the following issue:
- there is NFS server (Windows 11, WinNFSd.exe as NFS server)
- there is NFS client (FreeBSD 15.0)
Issue: mounted share stops working on client if server was restarted.
First, I just added
10.0.0.3:/share /mnt/share nfs ro 0 0 to the /etc/fstab.Everything works fine until I restart NFS server. After restarting the NFS server, I have to do umount-mount cycle to get access to that share again.
Also, I tried to add the following mount options:
intr,nolockd,bgnow - didn't help.Second, I tried to use autofs automounter:
- removed that NFS mount from the /etc/fstab
- added
autofs_enable="YES" into /etc/rc.conf- added
/mnt/nfs /etc/auto.nfs into /etc/auto_master- created /etc/auto.nfs with the following line:
share -intr 10.0.0.3:/share- created /mnt/nfs directory
- started automount service
And have almost the same issue: if I restart NFS server, no more access to that shared NFS resource. But in this case I get "Stale NFS file handle" error when attempt to open the shared NFS resource.
The same with the following mount options:
intr,nolockd,bgnow - no changes.Is there any way to have reconnection to the NFS server be made automatically?
Or any option to mount SMB v.3 share in FreeBSD?
Thanks