Dase Posted May 17, 2011 Share Posted May 17, 2011 I'm passing this info along to hopefully save someone else the hours of googling it took me to figure this out. NFS support in Windows is very poorly documented. First of all, you need Windows 7 Ultimate for this to work. Lesser versions of Windows 7 don't include NFS support.  My main roadblock was that every share I mapped resulted in "Access denied" errors. It turns out you need an obscure registry hack to allow Windows to authenticate properly. Here's what you need to do.  1. In Control Panel, open Programs and Features. 2. Click "Turn Windows features on or off." 3. Enable "Services for NFS" and click OK. Wait for it to install. 4. Start the registry editor. 5. Locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default. 6. Create two DWORD values: AnonymousUid and AnonymousGid. They both need to be set to the number zero (0). 7. Reboot. 8. Activate NFS in unRAID 5 (Settings tab) and on the Main tab click the shares you want to export. Set "Export" to Yes. I used Public security. I had to reboot my unRAID server for NFS shares to work after enabling NFS support the first time. 8. In Windows 7, map your drives with the "Map network drive" feature by using this format for the path: tower:/mnt/user/Video  You can also do this from the command line:  mount tower:/mnt/user/Video z:  Note that for NFS shares you have to provide the full unRAID folder path, not just the final shared folder.  Alas, after doing all this work I found out that my NFS transfers in Windows topped out at about 30 MB/sec. I get up to 120 MB/sec in Samba. Oh well. Quote Link to comment
aoaaron Posted August 23, 2011 Share Posted August 23, 2011 does this work on unraid stable 4? Quote Link to comment
aoaaron Posted August 24, 2011 Share Posted August 24, 2011 can someone help with this please. Â I've tried and its not working. I set the D-word value (after trying to map my drive) in the folder default. Â I have NFS shares through unraid 4 stable and its all working on my mac. Â Quote Link to comment
WallaceTech Posted November 2, 2011 Share Posted November 2, 2011 Thanks very much. This post was really helpful for me getting NFS running under Win 7 Â Thanks for taking the time to post it up Quote Link to comment
lasers Posted November 24, 2011 Share Posted November 24, 2011 I'm having issues setting up NFS. I've enabled it in the unraid webui, selected my cache-drive to be shared (export: yes - security: public). Restarted the server. Â However I cannot access it from my computers, When trying to mount it in win 7 it gives me "network error 53, network path not found". Also tried to open it from my dune, which doesn't work either. mount tower:/mnt/cache x: Â from my exports: /mnt/cache -async,no_subtree_check,fsid=10 *(rw,insecure,anongid=100,anonuid=99,all_squash) Â I'm totally new to using NFS, and I really just want it to work for this folder, nothing fancy, don't care about permissions or anything as long as I can read from the cache dir. Can someone please point me in the right direction? I've really tried to find a solution in the forums but no luck so far. Â I'm using 5.12b and smb is working without any issues, reason for wanting NFS at all is that the dune hd smart d1 cannot open two SMB-connections at once, and I would like to keep both my media and my yaDIS library on the server (library preferably on the cache-drive for minimizing spin-ups and small file writes to the array) Â EDIT: After replacing "mount tower" with "mount IP" it works. That's fine with me! So happy that I don't have to waste another second on this problem. Â Â Quote Link to comment
Lantesh Posted November 24, 2011 Share Posted November 24, 2011 Please excuse my ignorance, but what is the difference between a NFS and a Samba share, and why would I want it? I mostly use Linux, but I do have one PC with Windows 7, and on that PC I simply used the map network drive function for my user shares. Everything works fine this way, so what am I missing here? Quote Link to comment
dgaschk Posted November 25, 2011 Share Posted November 25, 2011 NFS should be faster than SMB on any non-Microsoft OS. Microsoft's NFS appears to be crippled. A third party NFS client implementation may be faster. Quote Link to comment
lasers Posted November 25, 2011 Share Posted November 25, 2011 Please excuse my ignorance, but what is the difference between a NFS and a Samba share, and why would I want it? I mostly use Linux, but I do have one PC with Windows 7, and on that PC I simply used the map network drive function for my user shares. Everything works fine this way, so what am I missing here?  In my case it is because of a limitation in the Dune HD Smart - it doesn't support two simultaneously smb connections, so I'm now connecting to the second share (where my yaDIS library is located) using NFS. Quote Link to comment
hpad06 Posted December 16, 2012 Share Posted December 16, 2012 I followed above instructions but it is very slow.  so this is what I did,  1. change in nfs client (windows 7) to UDP, this makes browsing folder very fast 2. mount again  mount \\tower\mnt\user\Video r:  this works very well for me. 1 Quote Link to comment
saz369 Posted January 8, 2021 Share Posted January 8, 2021 On 12/15/2012 at 7:27 PM, hpad06 said: I followed above instructions but it is very slow.  so this is what I did,  1. change in nfs client (windows 7) to UDP, this makes browsing folder very fast 2. mount again  mount \\tower\mnt\user\Video r:  this works very well for me.  how can you change nfs client to UDP? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.