Unable to use share via NFS4 from ESXI 7+8

Hi,

we’re about integrating our new truenas appliance into our systems. Mainly we want to use it in a esxi environment.

Now following problem:
Whenever the share is mounted via nfs4.1 - esxi is not able to use it and just gives a lot of errors like

NFS41: NFS41FileOpOpenFile:3743: Open of obj 0x430b40da5850 name testdings.vmdk (fhID 0x14f70d83) failed: Stale file handle

or

Could not find MemXferFS region for /vmfs/volumes/40b3a033-dd610523-0000-000000000000/testdings/testdings.vmx

Using the same share via NFS3 works fine. Mounting from Linux works perfect, too, via NFS4, and I can write/read data without any problems (even as root, yes, I set up the “use nfs3 acls for nfs4” option). I checked the exports file, and it lists the no_root_squash option, too as expected.

Next I tried to enforce a root-user mapping to a user, than simply mapped root to root etc. pp.

Nothing helped.

As said: with a mount from linux it works perfect as expected. Only with ESXI it doesn’t.

In truenas-logs I didn’t found any related.

Any ideas?

I’ve had similar issues when using external NICs:

It worked fine using the onboard NIC, so that might be a work around if your setup is similar.

In the above linked thread the relevant tickets are linked if you want to join in on those.

O/c it also might be that this is a different issue:)

Which onboard nic? From ESXI-system?

edit: on esxi host saw it myself. Thanks for pointing out.