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 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, this document describes how to use various commands classified by functions and 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

Function

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

Format

change lun_reserve clear edevlun_id=?

Parameters

Parameter

Description

Value

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.

Views

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.

Example

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

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181575

Views: 667029

Downloads: 30

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