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.
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
NOTE: For more information about the Nfsadmin utility, see the "man nfsadmin" pages in an Interix shell.
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