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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. 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.
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-11

Document ID: EDOC1000181619

Views: 636387

Downloads: 256

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