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 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F 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).
show lun_reserve general

show lun_reserve general


The show lun_reserve general command is used to query reservation information about the remote LUNs that map to eDevLUNs.


show lun_reserve general [ edevlun_id=? ]





edevlun_id=? 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.


Query reservation information about the remote LUNs that map to eDevLUNs.

engineer:/>show lun_reserve general
eDevLUN Id Type
---------- ----------------------------------
0          Write Exclusive
1          Exclusive Access
2          Write Exclusive-Registrants Only
3          Exclusive Access-Registrants Only
4          Write Exclusive-All Registrants
5          Exclusive Access-All Registrants
6          Obsolete
7          Unknown
8          No Reservation

System Response

The following table describes the parameter meanings.



Edevlun Id



Reservation type of the remote LUN that maps to an eDevLUN.

Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 757308

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next