I have a CentOS 7.9 server, IP address 192.168.1.185, with a 48TB volume mounted in /media:
[root@ds1 media]# ls -la
drwxr-xr-x. 3 root root 29 Mar 16 08:20 .
dr-xr-xr-x. 17 root root 278 Mar 16 08:24 ..
drwxrwxrwx 5 myname myname 4096 Mar 15 17:48 DS1_48TB_RAID_0
(myname is really my username, just masking it here)
This is exported as:
[root@ds1 media]# cat /etc/exports
/media/DS1_48TB_RAID_0 192.168.1.0/24(rw,sync,no_root_squash)
SElinux is disabled
[root@ds1 media]# sestatus
SELinux status: disabled
On the Windows 10 side, 'Services for NFS' were enabled, then the machine was rebooted. We can see the server with showmount from Windows.
C:\Windows\system32>showmount -e 192.168.1.185
Exports list on 192.168.1.185:
/media/DS1_48TB_RAID_0 192.168.1.0/24
However, when trying to connect to it this is what I get:
C:\Windows\system32>mount -o anon \\192.168.1.185\media\DS1_48TB_RAID_0 V:
Network Error - 1204
Type 'NET HELPMSG 1204' for more information.
C:\Windows\system32>NET HELPMSG 1204
The specified network provider name is invalid.
Edited to add that I've also tried non-UNC paths but get the same error, eg:
mount -0 anon 192.168.1.185:/media/DS1_48TB_RAID_0 V:
On the Mac side (Big Sur), I am able to mount the share using:
iMac-2:~ myname$ sudo mount -o nolocks,resvport,locallocks -t nfs 192.168.1.185:/media/DS1_48TB_RAID_0 /private/nfs/
So I also tried using the nolock option on Windows, but got the same error. it seems 'resvport' and 'locallocks' are mac-specific, because the windows mount command doesn't list them as options.
What am I missing here?