I mounted a NFS 4.1 share on ESXi 6.5a (single host, no vcenter).
This is the CLI command, but I can also mount it via web interface:
esxcli storage nfs41 add -a AUTH_SYS -H 192.168.98.4 -v MyLinuxNFS -s /mnt/ds-esxi
My linux /etc/exports is
/mnt/ds-esxi 192.168.98.0/27(rw,sync,no_subtree_check,anonuid=1002,anongid=1002)
After correctly mounting it, I can see it on the web client:
But I'm unable to browse MyLinuxFS, the "Datastore browser" stays in the following state forever:
Permission are correctly set, because I can write files and see the datastore via the CLI:
[root@vm2:~] echo "123test" > /vmfs/volumes/MyLinuxNFS/testfile.txt [root@vm2:~] ls -la /vmfs/volumes/MyLinuxNFS/ total 24 drwxr-xr-x 4 root root 5 Feb 5 19:32 . drwxr-xr-x 1 root root 512 Feb 5 19:32 .. drwxr-xr-x 2 root root 10 Feb 4 17:10 testdir1 drwxr-xr-x 2 root root 4 Feb 4 22:26 testdir2 -rw-r--r-- 1 root root 8 Feb 5 19:32 testfile.txt
NFSv3 is working fine, but I would like to use NFSv4.1 because I'm experimenting to workaround bug KB2010953 in a bigger infrastructure.
I also tried with FreeBSD 11, it seems to support NFSv4.1, but I have the same problem described
: FreeBSD11 NFSv4.1 is not compatible with ESXi 6.5.
Any idea to make NFS 4.1 work on ESXi 6.5 ?