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


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


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).
change lun_reserve clear

change lun_reserve clear


The change lun_reserve clear command is used to clear reservation information about the remote LUNs that map to eDevLUNs.


change lun_reserve clear edevlun_id=?







eDevLUN ID can be obtained by running the "show lun general usage_type=External" command. The ID in the command output is the eDevLUN ID.


Developer view, Engineer view

Usage Guidelines

This command applies only to heterogeneous takeover scenarios.

To take over heterogeneous storage arrays using Huawei storage arrays, create eDevLUNs, and map the eDevLUNs to host services, run the following commands:

  • Run the "scan remote_lun" command.
  • Run the "show lun_reserve general" command to query reservation information about remote LUNs that map to all eDevLUNs, or run the "show lun_reserve general edevlun_id=?" command to query reservation information about the remote LUN that maps to a specified eDevLUN.

If there is reservation information about the remote LUN that maps to the eDevLUN, run the "change lun_reserve clear" command to clear the reservation information. Otherwise, the services are interrupted.


Clear reservation information about the remote LUN that maps to eDevLUN "1" "2".

engineer:/>change lun_reserve clear edevlun_id=1,2 
DANGER: You are about to delete reservation information about the remote LUN. This operation disables SCSI 3 write protection for the LUN and data on the remote LUN may be damaged as a result. 
Suggestion: Before performing this operation, ensure that all host services running on the remote LUN have been stopped and no other hosts are accessing the LUN. 
Have you read danger alert message carefully?(y/n)y 
Are you sure you really want to perform the operation?(y/n)y 
Clear LUN 1 reserve successfully. 
Clear LUN 2 reserve successfully.

System Response


Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 753435

Downloads: 38

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