No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
clear nfs nfsv3_lock

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

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 718717

Downloads: 36

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next