I just upgraded to Proxmox 8 and found that my NFS shares are not available via NFSv4 any more, only via NFSv3.
Clients get a "protocol not supported" error when they try to mount via nfs4 protocol. Also, I can see:
I found that in /etc/default/nfs-kernel-server, there is now:
Under PVE 7, this was:
However, removing the '--no-nfs-version 4' and rebooting does not help. With a plain Debian Bookworm install, NFSv4 works right out of the box.
I found that in /etc/nfs.conf.d/local.conf, there is also:
Obviously this happened during upgrade.
So, why was NFSv4 deliberately removed in the first place?
Clients get a "protocol not supported" error when they try to mount via nfs4 protocol. Also, I can see:
Code:
#cat /proc/fs/nfsd/versions
+3 -4 -4.0 -4.1 -4.2
I found that in /etc/default/nfs-kernel-server, there is now:
Code:
RPCMOUNTDOPTS="--manage-gids --no-nfs-version 4"
Under PVE 7, this was:
Code:
RPCMOUNTDOPTS="--manage-gids"
However, removing the '--no-nfs-version 4' and rebooting does not help. With a plain Debian Bookworm install, NFSv4 works right out of the box.
I found that in /etc/nfs.conf.d/local.conf, there is also:
Code:
[mountd]
manage-gids = 1
[nfsd]
vers4 = n
threads = 16
# Modified: Modified by nfsconf on Jun 29 2023 08:56:37
Obviously this happened during upgrade.
So, why was NFSv4 deliberately removed in the first place?