Creating a Network File System Shared Network Resource

Applies To: Windows Server 2003 R2

Creating a Network File System shared network resource is exactly like creating any other shared network resource in Windows.

How to create an NFS shared network resource

If you use Windows Explorer to create the shared network resource, follow these steps:

  1. Highlight the folder that you want to share.

  2. Right-click and select Sharing and Security from the Action menu.

  3. Click the NFS Sharing tab (shown in Figure 8).

  4. Click Share this folder and enter a shared network resource name. The defaults used are:

    • Encoding: ANSI

    • Do not allow anonymous access

    • Read only permissions to all computers, with no root access allowed

  5. To change the default permissions, click the Permissions button (shown in Figure 9).

  6. You can change the behavior for all computers or specify a specific computer or group of computers by clicking the Add button.

  7. Click OK as necessary to complete the wizard and create the NFS shared network resource.

If you want to create an NFS shared network resource from the command line, use nfsshare. To see the full syntax of nfsshare, type the following in a command window:

nfsshare /?

The command to export an NFS shared network resource from the E:\Public folder to /public to all computers with read/write privileges and root allowed would be:

nfsshare public=e:\public –o rw –o root 

d3e54e36-b29f-4de7-b0a1-cec442cbd3be

Figure 8. The NFS Sharing tab

a1bcc46c-1f6d-4e4d-94ec-f5f24e9cd2dc

Figure 9. NFS Share Permissions dialog box