Configure and Set up NFS Share on Windows 7 with Hanewin NFS By Dinesh I’m posting this as a answer for a question asked by Sysprobs reader. How to configure and setting up NFS share on Windows 7 and connect it to VMware ESX server as storage.
To be honest I didn't even know what the acronym stood for or that the protocol existed before I bought a popcorn hour media player. Turns out the PCH-C200 streams video twice as fast over NFS than Samba (C200 being a linux unit).
I run Windows 7 Pro. When I go go Control Panel->Programs and Features->Turn Windows Features On or Off, there is no NFS option in the list to install.
I'd like to see if I can stream to my C200 over NFS from Win7. What are some possible server software options to make a 'NFS' server on this win7 box?
Not sure if it's relevant but from this post I'm downloading this from Microsoft which is entitled 'Utilities and SDK for Subsystem for UNIX-based Applications in Microsoft Windows 7 and Windows Server 2008 R2' and might have a NFS server in it. Am I going in the right direction?
edit:
I see that it's not the right direction.. It requires unix utilities to be installed to even be used and I need Ultimate or Enterprise to enable that in Windows Features..
Alternate NFS server options?
I run Windows 7 Pro. When I go go Control Panel->Programs and Features->Turn Windows Features On or Off, there is no NFS option in the list to install.
I'd like to see if I can stream to my C200 over NFS from Win7. What are some possible server software options to make a 'NFS' server on this win7 box?
Not sure if it's relevant but from this post I'm downloading this from Microsoft which is entitled 'Utilities and SDK for Subsystem for UNIX-based Applications in Microsoft Windows 7 and Windows Server 2008 R2' and might have a NFS server in it. Am I going in the right direction?
edit:
I see that it's not the right direction.. It requires unix utilities to be installed to even be used and I need Ultimate or Enterprise to enable that in Windows Features..
Alternate NFS server options?
How To Use Windows 2008 Services for NFS for Your vSphere Lab Shared Storage Handy solution for consolidating connections to shared storage in a virtualized lab environment. • By • For a recent project, I built a completely virtualized vSphere lab. I already had to have a Windows 2008 R2 server in the lab for DNS/AD and I was trying to minimize the number of virtual machines in the lab. When I got to the point of testing vMotion (and then DRS and HA), I added a second ESXi host and required the use of shared storage. I have used numerous shared storage appliances in the past, such as OpenFiler, FreeNAS, Lefthand (now from HP) VSA. I've even used the new VMware VSA. However, all of those solutions require a separate virtual machine, as they are primarily based on Linux and won't run on my Windows 2008 VM.
I was reminded of Windows Services for Unix, which includes Services for NFS as a potential solution. Services for NFS, as the name suggests, is used to integrate Unix and Linux hosts with Windows Servers, allowing those hosts to share files.
![How To Connect Windows 7 Share With Hanewin Nfs To Vmware Server How To Connect Windows 7 Share With Hanewin Nfs To Vmware Server](http://2.bp.blogspot.com/-_A-VWC0Ombw/UPuAwEm9ozI/AAAAAAABVTo/SpQ7p6k57D0/s1600/NFS-PowerShell05.png)
It can connect the Windows Server to an NFS share (could be another server or a NAS) as a client, but Services for NFS can also make the Windows Server into an NFS server. In other words, it can turn your Windows Server into a NFS Network Attached Storage NAS device. And what is it that you need for your vSphere lab to try out advanced features like vMotion, DRS, and HA? Answer: a NAS NFS host. Services for NFS is easily enabled inside Windows Server by adding the File Services Role.
Here are some iSCSI storage arrays now unsupported by VMware as of ESXi 5: American. Although you will lose shared storage capabilities so even if possible may not be desirable. If you only have 2 NICs then probably combine NFS and LAN since the LAN connection will be lightly used. First problem: Update Via Rolling Pool Upgrade doesn't work. I found the answer on on which was that having downloaded the 6.0.2 iso you need to update the UI to 6.0.2 first then do the Pool update. Thanks to for that answer. Now if only that was in the docs. [XenServerIso] client_install XenCenter.msi.
Here are the steps to do it • From your Windows host, run Server Manager. • Click on Roles and then on Add Role. Sygic Maps Windows Ce Software Review. • Click to add the File Services Role. • Under Role Services click to add Services for Network File System.
Click Next and Install. Once installed, there is no need to reboot and you can start sharing folders to VMware ESXi hosts immediately (see Fig.
Services for NFS is easily enabled inside Windows Server. (Click image to view larger version.) You'll want to create a new Windows folder (let's call it 'nfs1') and share it using NFS (which has different permissions than Windows). Right-click on that folder and click on Properties. You'll see a new tab called NFS Sharing. NFS Sharing tab. (Click image to view larger version.) By default, you'll see that the folder is not shared. To share it, click on Manage NFS Sharing.
Check the box to Share this folder (see Fig. Folder isn't shared by default, so you'll have to click on Manage NFS Sharing. (Click image to view larger version.) Click on the NFS Share Permissions button and, for the purposes of a lab environment I checked to allow all machines Read-Write and root access. I also checked to 'enable unmapped user access.' From there, click OK and OK. Then, still on the properties for the folder, give everyone full control in the NTFS permissions.
Note that this virtual NFS NAS is wide-open in terms of security -- in production, this would be a 'no-no' but again, you don't want to use this on a production network. I'm sure that you could play with this to lock down security more but, at this point in my testing, I am on a secure network and just want this to work in my lab.
Now, you should be ready to connect your host and put some VMs in the new NFS NAS. Note that full Services for NFS setup instructions including command-line tools are available from Windows 2008 Services for NFS Step-by-Step Guide.
Side note: I did have trouble getting this to work originally in Windows 2008 Server but there are slightly different options in Windows 2008 Server R2 and it worked fine. So, for this solution to work, I recommend you upgrade to R2.
![Windows Windows](http://sanbarrow.com/img/nfs/nfs3.png)
I won't go into extensive detail on connecting vSphere to a NFS NAS because I am sure that is covered already out on the Web. The simple steps are: • In the vSphere Client, go to the ESXi host you want to connect and to the Configuration tab, then to Storage. • Click to Add Storage and add a Network File System. • Enter the Server name (via IP or DNS name), NFS Share name (on the Properties window of the NFS host, NFS Sharing tab, called 'Network Path'), and a new name that you specify for the new NFS datastore.
4 shows what it looked like when I added it. Connecting vSphere to NFS NAS. (Click image to view larger version.) Once added, I created a couple of other 'virtual NFS NAS's' called nfs2 and nfs3. As you can see in Fig. 4, I created a new VM and its now running on one of these virtual NFS datastores, on top of my existing Windows 2008 R2 server. Yes, I did this without ever having to use a virtual storage appliance or buy a hardware-based NAS! Up and running with virtual NFS NAS.
(Click image to view larger version.) Have you tried this? Or do you have other creative lab solutions? E-mail me at david ((AT)) trainsignal.com and I'd love to hear about them. And thanks for reading!