Hello,
Good morning. Just to clarify, you're using NFS v3 on TrueNAS and PVE and you'd like to swtich to 4.x?
The issue you'll run into is that Proxmox's GUI tools for managing NFS depend on the NFS v3 RPC tools.
NFS v4 doesn't support those RPC tools, and doesn't seem to implement a replacement.
(I spent several hours at one point trying to figure out why my NFSv4 shares were all suddenly dead in Proxmox before I realized what was going on.)
So, for instance, Proxmox's GUI cannot detect or add available NFS shares on an NFS server that's v4 only. And adding v4 shares and then turning off v3 on TrueNAS seems to break those shares (though I haven't tested this in a while).
So, here's what I'd do:
Leave NFS v3 and v4 enabled in TrueNAS.
When you add the NFS share to Proxmox, used the advanced options to have it connect via whatever version of NFS 4.x you want to use.
Proxmox will use NFS v3 to set up the share, and then NFS v4 to actually connect.
EDIT: It might be possible to import shares from an NFSv4-only server if you wanted to use the PVE CLI tools to do it and knew all the details (inicluding share path) for your NFS shares. It's not worth it, IMO. Let it use NFSv3 to set up the share, and then it'll work at NFSv4 as long as you tell it to.