HOW TO: Share UNIX File Systems Using Gateway for NFS (324087)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Windows XP Professional
- Microsoft Windows NT Server 4.0 SP6a
- Microsoft Windows NT Workstation 4.0 SP6a
- Microsoft Windows Services for UNIX 3.0
This article was previously published under Q324087 SUMMARY
When you migrate files from an existing UNIX server to a Windows-based server, you may find it easier to use Network File System (NFS) instead of File Transfer Protocol (FTP) to move the files. If you install Gateway for NFS on a Windows-based server, you can provide access to your NFS resources without having to load any additional software on other Windows-based client computers or on the UNIX or Linux server. Gateway for NFS is only supported on Windows-based servers; you cannot install Gateway for NFS on Windows NT Workstation, Windows 2000 Professional, or Windows XP.
back to the top
Make NFS Resource Available to Windows Clients
Gateway for NFS maps an NFS resource to a drive letter on the Gateway for NFS server, and then shares that resource back to Windows clients. Individual clients can access the resource by using the standard universal naming convention (UNC) format \\ server\ share, where server and share refer to the Gateway for NFS server, and not the UNIX computer.
To make an NFS resource available to Windows clients by using the command line:
- Log on to the Windows-based server by using an administrative level account.
- Click Start, click Run, type: cmd, and then click OK.
- From the command prompt, type the following command to map an NFS resource to a drive letter on the Gateway for NFS server and to share that resource to Windows clients.
gwshare add -d drive_letter -n \\nfsserver\export -s share_name - Type gwshare /?, and then press ENTER to display all the parameters that are available for the gwshare command.
NOTE: Unless you explicitly grant permissions, Windows users who are not mapped to UNIX accounts with User Name Mapping service do not have access to mapped UNIX resources. To explicitly grant permissions, use the -m yes parameter with the gwshare command.
back to the top
Share Folder Using Gateway for NFS Configuration Functionality- Log on to the Windows-based server by using an administrative level account.
- Click Start, point to Windows Services for UNIX, and then click Gateway for NFS Configuration.
- Type the share name that Windows clients see in the Share Name box.
- Select a drive letter that is not being used to map the share to.
- Select the network resource (for example, the exported NFS file system).
You can either click Browse to locate the available network resources or click a network resource in the Network Resource box (if this resources has been shared before). - Configure the encoding settings, and then type any comments.
- Configure the appropriate settings, and then click Connect.
- Click Exit.
NOTE: Microsoft recommends that you install at least one User Name Mapping service on your network to map UNIX and Windows user names to each other. Please view our KB article about User Name Mapping service in our REFERENCES section.
back to the top
REFERENCESFor additional information about performing maintenance tasks after migrating from UNIX to Windows, click the article number below
to view the article in the Microsoft Knowledge Base:
324539 HOW TO: Perform Maintenance and Ancillary Tasks After a UNIX-to-Windows Migration
For additional information about how to install and configure User Name Mapping service, click the article number below
to view the article in the Microsoft Knowledge Base:
324073 HOW TO: Configure User Name Mapping Service
back to the top
Modification Type: | Major | Last Reviewed: | 6/6/2003 |
---|
Keywords: | kbhowto kbHOWTOmaster KB324087 kbAudITPro |
---|
|