Network File Service (NFS) servers process and assign locks on files based on requests from NFS client computers. The server waits for a designated time when a connection is broken for the client to reestablish the connection. If the client does not reconnect in that time period, Server for NFS releases the lock. If you are the administrator, you can manually release all of the locks that are held by a client. This article describes how to use either Services for UNIX Administration Microsoft Management Console (MMC) or the NFSAdmin.exe utility to perform locking tasks.
Configuring Server for NFS Locking
You can use Services for UNIX Administration MMC to configure the locking wait period and to release the locks that are held by a client.
To configure locking on a Server for NFS computer:
- Log on to the Server for NFS computer by using an administrative level account.
- Click Start, point to Programs, point to Services for UNIX, and then click Services for UNIX Administration.
- Click the Server for NFS pane, and then click the Locking tab.
- Enter a time (in seconds) for the waiting period that the server holds a lock for a disconnected client. The default value is 0.
- Click Apply to apply the change.
Managing Locks by Using NFSAdmin
If you use the Nfsadmin.exe command-line utility, you can control any locks that are held by the server. You can use Nfsadmin to view the current locking status and to release the locks that are held by individual clients.
To manage locks by using NFSAdmin:
- Log on to the Windows server by using an administrative level account.
- Click Start, click Run, type cmd, and then click OK.
- From the command prompt, run the following command to list the existing locks held by all clients:
nfsadmin server -l
- From the command prompt, run the following command to release the locks that are held by a client:
nfsadmin server -r client_name
- From the command prompt, run the following command to release all of the locks that are held by all clients:
nfsadmin server -r all
: For more information about the Nfsadmin utility, see the "man nfsadmin" pages in an Interix shell.
For additional information about performing maintenance tasks after a UNIX to Windows migration, click the article number below
to view the article in the Microsoft Knowledge Base:
HOW TO: Perform Maintenance and Ancillary Tasks After a UNIX to Windows Migration
Article ID: 324220 - Last Review: October 30, 2006 - Revision: 2.1
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional Edition
- Microsoft Windows XP Professional
- Microsoft Windows NT 4.0 Service Pack 6a
- Microsoft Windows NT Workstation 4.0 Developer Edition
- Microsoft Windows Services for UNIX 3.0 Standard Edition
|kbhowto kbhowtomaster KB324220|