I get the following error (mount.nfs: requested NFS version or transport protocol is not supported), when trying to create an nfs mount in fstab. I’ve tried the ntf version 3 and 4 as well, but that doesn’t seem to work.
You cannot connect to NFS version 4 on a Windows server that is using the built-in NFS service with only nfsver=4. You must also use minorversion=1.
I can’t recall if version 3 is enabled by default by the Windows NFS server or not. If you want to use version 3, you need to make sure it is enabled, and change your fstab entry accordingly.
This link points to a piece of code, WinNFSd.exe, which states:
WinNFSd is a Network File System V3 (NFS) server for Windows.
You can use any NFS client to mount a directory of Windows and read/write files via NFS v3 protocol. It is useful when you usually access files of Windows on Linux and for especially for virtual machines, since it is much faster than shared folders.
So you’re restricted to NFSv3. As to why it doesn’t work, that’s another matter…