z/OS Network File System Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Locking in NFS versions 2 and 3 (NFS server only)

z/OS Network File System Guide and Reference
SC23-6883-00

This topic provides an overview of the z/OS NFS locking and access control functions provided by the Network Lock Manager (z/OS NFS NLM) and the z/OS NFS Network Status Monitor (z/OS NFS NSM). It explains how they work together to provide file locking and access control capability over z/OS NFS. In addition, this topic also explains the following features:
  • Monitored lock
  • Non-monitored locks
  • Locking files
  • Locking records

In NFS versions 2 and 3, the locking of a file on the z/OS NFS server is managed by Network Lock Manager (NLM) and Network Status Monitor (NSM). NLM and NSM are integrated into the z/OS NFS server to facilitate the expanded locking and serialization functions. Separate procedures for starting and stopping NLM and NSM were replaced in z/OS V1R7 by the server site attribute nlm|nonlm, which specifies their startup along with the NFS server. This integration also coordinates the locking function with stale file handle processing; when a file handle becomes stale, not only will the code clean up the file related data as it does in prior releases, but it will also release any locks that remain held for that file.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014