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.

Command Reference
OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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).
create lun_group

create lun_group


The create lun_group command is used to create a LUN group.


create lun_group name=? [ lun_group_id=? ] [ lun_id_list=? ]

create lun_group name=? [ lun_group_id=? ] [ lun_name_list=? ]





name=? LUN group name.

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

lun_group_id=? LUN group ID.

The value ranges from 0 to n minus one, where n indicates the maximum number of LUN groups supported by a product.

If you do not specify this parameter, the system automatically allocates an ID for a new LUN group.

lun_id_list=? ID list of LUNs or snapshots that you want to add to a LUN group.

To obtain the value, run "show lun general" or "show snapshot general". If multiple LUNs or snapshots need to be added to a LUN group:

  • Separate the LUN or snapshot IDs with commas (,). For example, lun_id_list=1,2,3,4,5.
  • Specify LUN or snapshot ID ranges and separate the ranges with hyphens (-). For example, lun_id_list=1-5,7,9-11.
lun_name_list=? Name list of LUNs or snapshots added to a LUN group.

To obtain the value, run "show lun general" or "show snapshot general". If multiple LUNs or snapshots need to be added to a LUN group, separate multiple LUN names or snapshot names using commas (,). For example, "lun_name_list=lun1,lun2,lun3,lun4,lun5".



Usage Guidelines

A LUN group can be added with a maximum of 4096 LUNs and a LUN can be added to a maximum of 8 LUN groups.


Create LUN group "LUNGroupTest" and add LUNs "0", "1", and "2" to this group.

admin:/>create lun_group name=LUNGroupTest lun_id_list=0,1,2
Create LUN group successfully.
Add LUN 0 to LUN group successfully.
Add LUN 1 to LUN group successfully.
Add LUN 2 to LUN group successfully.

System Response


Updated: 2020-03-19

Document ID: EDOC1000181601

Views: 406231

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next