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 mapping_view

change mapping_view

Function

The change mapping_view command is used to modify the settings of a mapping view including the view name and the function switch for in-band commands. Also, it can be used to change the host LUN IDs of the LUNs in mapping views.

Format

change mapping_view { mapping_view_id=? | mapping_view_name=? } { name=? | command_device=? | vstore_id=? | force_change_vstore=? | mode=? } *

change mapping_view { mapping_view_id=? | mapping_view_name=? } { name=? | host_lun_id_list=? | vstore_id=? | force_change_vstore=? | mode=? } *

Parameters

Parameter

Description

Value

mapping_view_id=?

Mapping view ID.

To obtain the value, run the "show mapping_view general" command.

mapping_view_name=?

Mapping view name.

To obtain the value, run the "show mapping_view general" command.

name=?

New mapping view name.

The value contains 1 to 31 characters including digits, letters, hyphens (-), underscores (_), and periods (.).

command_device=?

Whether to enable the in-band command function.

The value can be:

  • "enable": to enable in-band commands.
  • "disable": to disable in-band commands.

mode=?

Working mode of the mapping view.

The value can be:

  • A/P-F.
  • A/A-A.

host_lun_id_list=?

Modify the Host LUN ID of the LUN. The value range of the Host LUN ID varies based on specific products. For 5600 V5 and 5600F V5, the value ranges from 0 to 1023. For 5800 V5 and 5800F V5, the value ranges from 0 to 2047. For 6800 V5, 18500 V5, 18800 V5, 6800F V5, 18500F V5, and 18800F V5, the value ranges from 0 to 4095.

The value can be one or more mappings between LUN IDs and host LUN IDs. The format is "LUN ID:Host LUN ID". If there are multiple mappings, separate them with commas (,). Run the "show host lun" and "show host snapshot" commands to query the host LUN IDs that have been assigned. A LUN ID ranges from 0 to 65535, and a host LUN ID ranges from 0 to 4095. A maximum of 64 mappings are supported.

vstore_id=?

ID of the vStore to which a mapping view belongs.

The value ranges from 0 to 511.

force_change_vstore=?

Whether to forcibly change the vStore to which the mapping view belongs.

The value can be "yes" or "no", where:

  • "yes": The mapping view and host group or LUN group are associated, and the vStore ID can be changed.
  • "no": The mapping view and host group or LUN group are associated, and the vStore ID cannot be changed.

Views

Developer view, vstore developer view

Usage Guidelines

  • To change the name of a mapping view, run the "change mapping_view mapping_view_id=? name=?" command.
  • To enable or disable host in-band commands, run the "change mapping_view mapping_view_id=? command_device=?" command.
  • To change the name of a mapping view and the state of the host in-band command switch at the same time, run the "change mapping_view mapping_view_id=? name=? command_device=?" command.
  • To change the host LUN ID of a LUN, run the "change mapping_view mapping_view_id=? host_lun_id_list=?" command.

Example

None

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181575

Views: 647641

Downloads: 30

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