clear nfs nfsv3_lock
Function
The clear nfs nfsv3_lock command is used to clear invalid locks of the NFS v3 client.
Format
clear nfs nfsv3_lock { local_ip=? | remote_ip=? | file_system_id=? } [ controller=? ]
Parameters
Parameter |
Description |
Value |
---|---|---|
local_ip=? |
Local IP address. |
IPv4 or IPv6 address. |
remote_ip=? |
Remote IP address. |
IPv4 or IPv6 address. |
file_system_id=? |
File system ID. |
The value must be an integer from 0 to 65535. |
controller=? |
Controller ID. |
The value is in the format of "XA", "XB" or "XC", "XD", where the "X" is an integer from 0 to 3, for example: "0A", "1C". |
Views
Developer view
Usage Guidelines
None
Example
- Clear invalid locks of the NFS v3 client from local IP address "192.168.1.10".
developer:/>clear nfs nfsv3_lock local_ip=192.168.1.10 controller=0A WARNING: You are about to clear the lock information of the NFS v3 client. This operation will affect services. Suggestion: Before performing this operation, ensure that you want to clear the lock information. Do you wish to continue?(y/n)y Command executed successfully.
- Clear invalid locks of the NFS v3 client from remote IP address "192.168.1.11".
developer:/>clear nfs nfsv3_lock remote_ip=192.168.1.11 controller=0A WARNING: You are about to clear the lock information of the NFS v3 client. This operation will affect services. Suggestion: Before performing this operation, ensure that you want to clear the lock information. Do you wish to continue?(y/n)y Command executed successfully.
- Clear invalid locks of the NFS v3 client from file system ID "1".
developer:/>clear nfs nfsv3_lock file_system_id=1 controller=0A WARNING: You are about to clear the lock information of the NFS v3 client. This operation will affect services. Suggestion: Before performing this operation, ensure that you want to clear the lock information. Do you wish to continue?(y/n)y Command executed successfully.
System Response
None