Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Release File System Locks (RLSIFSLCK) command can be used to release all Network File System (NFS) byte-range locks held by a specified NFS client, or to release all byte-range locks (of any type) held on a specified object. This command should only be used to free resources that cannot be freed using normal means.
For more information about byte range locks, see the fcntl API in System API Reference information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter or Network File System book, SC41-5714
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
RMTLOCNAME | Remote location | Character value | Optional, Positional 1 |
OBJ | Object | Path name | Optional, Positional 2 |
Top |
Specifies the host name or internet address of a remote system whose NFS-related locks on local files are to be released.
To be successful, the remote system name must be valid. The user can assign host names to an internet address with the Work with TCP/IP host table entries option on the Configure TCP/IP menu (CFGTCP) command. Also, a remote name server can be used to map remote system names to internet addresses. Use the Change remote name server option on the CFGTCP menu to specify a remote name server.
Host names must follow these conventions:
Either the RMTLOCNAME or Object (OBJ) parameter must be specified, but not both.
Top |
Specifies the path name of an object on which all byte-range locks are to be released. This will release all locks on that object, regardless of the type of lock or the type of process that is holding them.
For more information on specifying path names, refer to "Object naming rules" in the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
Either the Remote location (RMTLOCNAME) or OBJ parameter must be specified, but not both.
Top |
Example 1: Releasing Locks for a Remote System
RLSIFSLCK RMTLOCNAME('rainbow1')
This command releases the NFS-related locks held on local files by the system named rainbow1.
Example 2: Releasing Locks for a Local Object
RLSIFSLCK OBJ('/CustAccounts/May')
This command releases all byte-range locks held on the object /CustAccounts/May.
Top |
*ESCAPE Messages
Top |