How to connect to NFS share from Windows 10

Dr. Neko

Cadet
Joined
Jan 13, 2021
Messages
2
I did this for the first time on a whim - damn, great results!

The test I performed was using CrystalDiskMark across a MoCA 2.0 network with other traffic going on (I watch HDHomeRun TV recorded on a FreeBSD VM) - still got the speeds you see below:

View attachment 24161

Note, if you want to do this test, NFS drive map will not show up in Windows Explorer (at least it didn't for me) so I chose 'Select Folder' in CDM and just typed in the map letter (I had mapped the share to N: ).

Also the command took me a minute to figure out because it was messed up on the web page of the example. It was:
Code:
c:\ mount -o anon \\192.168.1.35\path\to\nfs-share

in an administrator window (also, it didn't want to work in PowerShell - at least not for me).

Working pretty well for what has obviously been treated like an afterthought for the Windows dev team. Wish Samba would give me speeds like that:

View attachment 24160

I followed the same guide (https://graspingtech.com/mount-nfs-share-windows-10/) and the performance I got with NFS is worse than Samba. I tried CrystalDiskMark, and even copied and pasted a 1GB file and saw it caps at 50MB/s with NFS vs 90MB/s with Samba.

My client is Windows 10 Enterprise LTSC and my NAS is FreeNAS-11.3-U5. I mounted the share as follows:
Code:
---Below gives file lock errors

mount -o anon \\NAS.local\mnt\DemoBox\testshare Y:


C:\>mount


Local    Remote                                 Properties

-------------------------------------------------------------------------------

Y:       \\NAS.local\mnt\DemoBox\testshare      UID=0, GID=0

                                                rsize=131072, wsize=131072

                                                mount=soft, timeout=0.8

                                                retry=1, locking=yes

                                                fileaccess=755, lang=ANSI

                                                casesensitive=no

                                                sec=sys

---Below doesn't lock files

mount -o fileaccess=7 nolock \\NAS.local\mnt\DemoBox\testshare Y:


C:\>mount


Local    Remote                                 Properties

-------------------------------------------------------------------------------

Y:       \\NAS.local\mnt\DemoBox\testshare      UID=0, GID=0

                                                rsize=131072, wsize=131072

                                                mount=soft, timeout=0.8

                                                retry=1, locking=no

                                                fileaccess=007, lang=ANSI

                                                casesensitive=no

                                                sec=sys

---Below also works

mount -o anon nolock \\NAS.local\mnt\DemoBox\testshare Y:


C:\>mount

Local    Remote                                 Properties

-------------------------------------------------------------------------------

Y:       \\NAS.local\mnt\DemoBox\testshare      UID=0, GID=0

                                                rsize=131072, wsize=131072

                                                mount=soft, timeout=0.8

                                                retry=1, locking=no

                                                fileaccess=755, lang=ANSI

                                                casesensitive=no

                                                sec=sys


Any idea how I can troubleshoot this? I can't find much resources on how to approach this using NFS in Windows. I would appreciate any help. Thank you.
 

Dr. Neko

Cadet
Joined
Jan 13, 2021
Messages
2
I followed the same guide (https://graspingtech.com/mount-nfs-share-windows-10/) and the performance I got with NFS is worse than Samba. I tried CrystalDiskMark, and even copied and pasted a 1GB file and saw it caps at 50MB/s with NFS vs 90MB/s with Samba.

Sorry for the typo. I meant it's 13MB/s with NFS. I did a few more transfer tests transferring an ISO file (1.14GB) as a benchark, and posting the CrystalDiskMark results:
Copy from hard drive to NFS
copy_nfs.png
Copy from hard drive to CIFS
copy_cifs.png
Copy from CIFS to NFS
cifs_to_nfs.png
Copy from NFS to CIFS
nfs_to_cifs.png
CrystalDiskMark on NFS
Win10-NFS.png
CrystalDiskMark on CIFS
Win10-CIFS.png
 
Top