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 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"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).
create lun_takeover general

create lun_takeover general


The create lun_takeover general command is used to create takeover LUNs.


create lun_takeover general type=? [ remote_lun_wwn_list=? name=? storage_pool_id=? write_policy=? [ prefetch_policy=? ] [ prefetch_multiple=? ] [ prefetch_value=? ] [ io_priority=? ] [ owner_controller=? ] [ lun_id=? ] [ dif_switch=? ] | edevlun_id=? | remote_device_id=? lun_id=? ]





name=? Name of a LUN that you want to create.
  • The value contains 1 to 32 ASCII characters, including digits, letters, underscores (_), hyphens (-), and periods (.).
lun_id=? ID of a LUN that you want to create. This parameter cannot be used along with the number=? parameter.

The value is an integer ranging from 0 to 65535.

The storage system automatically allocates an ID for a newly created LUN if this parameter will not be used.

write_policy=? Cache write policy.

The value must be "write_through", where:

"write_through": indicates write through. The system considers that a data write is successful only after data is written to hard disks. Hard disks are accessed in each data write.

prefetch_policy=? Cache prefetch policy.

The value can be "none", "constant", "variable", or "intelligent", where:

  • "none": indicates non-prefetch.
  • "constant": indicates constant prefetch.
  • "variable": indicates variable prefetch.
  • "intelligent": indicates intelligent prefetch.
The default value is "intelligent".
prefetch_multiple=? Cache prefetch multiple. This parameter is required when prefetch_policy=? is set to "variable".

The value ranges from 0 to 1024.

prefetch_value=? Cache prefetch size. This parameter is required when prefetch_policy=? is set to "constant".

The value ranges from 0 to 1024, expressed in KB.

io_priority=? I/O priority of a LUN.

The value can be "Low", "Middle", or "High", where:

  • "Low": indicates the low priority.
  • "Middle": indicates the medium priority.
  • "High": indicates the high priority.
The default value is "Low".
owner_controller=? An owning controller.

The value is in the format of "XA" or "XB", where "X" is either 0 or 1.

dif_switch=? Whether or not to enable the DIF function.

The value can be:

  • "Yes": the DIF function will be enabled.
  • "No": the DIF function will not be enabled.
remote_lun_wwn_list=? WWN of a remote LUN.

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

storage_pool_id=? ID of the storage pool to which a LUN belongs.

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

type=? Type of the takeover logical unit number (LUN).

The value can be "BASIC", "EXTEND", "INHERIT".

edevlun_id=? ID of the eDevLUN.

To obtain the value, run the "show lun general usage_type=External" command.

remote_device_id=? ID of a remote device.

To obtain the value, run "show remote_device general array_type=heterogeneity".



Usage Guidelines



Create a takeover LUN and set its parameters as follows:
  • Type of specific takeover LUN: BASIC
  • ID of eDevLUN: 0
admin:/>create lun_takeover general type=BASIC edevlun_id=0
Command executed successfully.

System Response


Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 362573

Downloads: 1590

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