Home > Network, Storage, vSphere > Use Windows 2008 R2 as an NFS Server for vSphere

Use Windows 2008 R2 as an NFS Server for vSphere

Most people don’t realize it, but Windows 2008 R2 comes with a decent and simple to use NFS component.

This can change a simple File Server in Shared Storage for vSphere (to store ISO files, Templates or even VMs).

To start, fire up Server Manager and go the the Roles section.  Right click and select Add Roles.

image

Select the File Services Role:

image

Untick the File Server feature and check the Services for Network File System.

image

Install and wait 🙂

Open Server Manager and go to the newly added Share and Storage Management item.

image

Click the Edit NFS Configuration action.

image

Click Provision a Shared Folder Wizard under the Use Services for NFS to Share Folders.

image

Fill in a Location where the NFS share must be located.

image

In the next step you can change NTFS permissions if you want, but i leave them at the default (since it is only a Lab environment).

Check NFS as the Share Protocol and fill in an NFS Share name to use.

image

Select Allow unmapped user Unix access (by UID/GID).

image

Change the default group of ALL MACHINES to No Access.  This ensures that only the hosts we specify can access the NFS share.

image

Add the vSphere hosts using its FQDN.  Change the Permissions to Read-Write and Allow root access.

image

Now you can add the NFS Share on every ESX host!

image

image

Cheap and simple storage 🙂

Advertisements
Categories: Network, Storage, vSphere
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: