We have run into issues with NFS mounts on some of our machines.
NFS server
- Linux server 5.14.0-427.22.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 17:35:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
- Exports a total of 13 file systems (NFS v3 + v4)
* [root@server ~]# exportfs -s
/export IPv4/23(sync,wdelay,hide,no_subtree_check,fsid=0,sec=sys,ro,secure,root_squash,no_all_squash)
/export IPv6/48(sync,wdelay,hide,no_subtree_check,fsid=0,sec=sys,ro,secure,root_squash,no_all_squash)
/export/homea IPv4/23(sync,wdelay,hide,no_subtree_check,fsid=1,sec=sys,rw,secure,root_squash,no_all_squash)
/export/homea IPv6/48(sync,wdelay,hide,no_subtree_check,fsid=1,sec=sys,rw,secure,root_squash,no_all_squash)
NFS client
- Linux client 5.14.0-427.40.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 16 14:57:47 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
The server and the client are in the same IPv4/IPv6 subnet
selinux is disabled
firewall is off on both server and client
The command
mount -vvvv server:/homea /mounts/homea -s -o rw
executed on the client hangs forever. The same command run with strace results in
mount.nfs: trying text-based options 'sloppy,vers=4.2,addr=SERVERIPV6,clientaddr=CLIENTIPV6'
0x7ffd28c2c358, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
and lots of these lines
wait4(161989, 0x7ffd28c2c358, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
It doesn’t make a difference, if the mount is done via autofs or manually.
On other server/clients the mounts work perfectly well.
What can I do to make this working?