After upgrading from Proxmox VE 7.1 (kernel: 5.13.19-6-pve) to 7.2 (kernel: 5.15.60-1-pve) our NFS shares with version 4.2 aren't working anymore. Choosing version 4 in the GUI makes the NFS shares working again but it mounts them over NFSv3!
# pveversion --verbose
proxmox-ve: 7.2-1 (running kernel: 5.15.60-1-pve)
pve-manager: 7.2-11 (running version: 7.2-11/b76d3178)
pve-kernel-helper: 7.2-12
pve-kernel-5.15: 7.2-11
pve-kernel-5.13: 7.1-9
pve-kernel-5.15.60-1-pve: 5.15.60-1
pve-kernel-5.13.19-6-pve: 5.13.19-15
We're not using QNAP as NFS server, but a server with Debian 11 with nfs-kernel-server installed.
Mounting with different NFS versions on our Proxmox VE node in CLI:
# mount -t nfs4 -o proto=tcp,vers=4.2 11.22.33.44:/nfsshare/iso /mnt/test
mount.nfs4: mounting 11.22.33.44:/nfsshare/iso failed, reason given by server: No such file or directory
# mount -t nfs4 -o proto=tcp,vers=4.1 11.22.33.44:/nfsshare/iso /mnt/test
mount.nfs4: mounting 11.22.33.44:/nfsshare/iso failed, reason given by server: No such file or directory
# mount -t nfs4 -o proto=tcp,vers=4.0 11.22.33.44:/nfsshare/iso /mnt/test
mount.nfs4: mounting 11.22.33.44:/nfsshare/iso failed, reason given by server: No such file or directory
# mount -t nfs -o proto=tcp,vers=3.0 11.22.33.44:/nfsshare/iso /mnt/test
SUCCESS
We had no problems in PVE 7.1 with kernel 5.13.19-6-pve.
Can this be fixed please?
Thanks!