How to create a ISO NFS share on windows 2003 for VMware 4.0
Nice to Know:
- root need to be mapped if you want to use this as Read+Write
- Kernel IP has to be set for NFS to work
1. Installing Windows Services for NFS
- Start
- Control Panel
- Add or Remove Programs
- Add/Remove Windows Components
- Other Network File and Print Services
- Details
- Microsoft Services for NSF
- Details
- Select
- Server for NSF
- Server for NSF Authentication
- User Name Mapping
2. Copy the ESX Server password and group files to Windows
- Use a program like FastSCP or similar process to copy the following files to
your local system (Example: "c:\nfsauth")
- Transfer the file /ect/password and the file /ect/group on ESX to c:\nfsauth or where you want them on the Windows server.
- If you got problems getting access, check that you are using a nonroot user.
- Check or create by connecting directly to the server with vCenter Client (Users & Groups).
3. Configure Windows Services for NFS to accepting ESX Server connections
- Click Start, Run, MMC, OK, File, Add/Remove Snap-In, Add, Windows Services for NFS, Add, Close, OK
- R+Mouse, Properties
- Select Use Password and Group files
- Browse to Password and Groupfile from step 2, OK.
- User Maps, R+Mouse, Create Map
- Select local server as Domain,List Windows Users, List UNIX Users,Select LOCAL admin and root, Add
4. Sharing the Windows folder as NFS share
- Right click the local folder you wish to share via NFS
- Share the folder by clicking NFS sharing
- Type in the name for the share (Example: "ISO")
- Remove allow anonymous access
- Click permissions
- Now Change type of access to “Read+Only” then check allow root access.
5. Configure the ESX Server to mount the Window NFS Share as VMFS
- Open the vSphere client and highlight the host
- In the Configuration tab choose Storage
- Add Storage, Network File System, Next
- server: Windows server name, Folder: / + NFS sharename (Example "/ISO")
- Choose Mount NSF read only
- Datastore Name: Your choice (Example "NFSISO")
- Next