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 for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, 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.
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=? ] [ io_priority=? ] [ owner_controller=? ] [ lun_id=? ] [ dif_switch=? ] | edevlun_id=? | remote_device_id=? lun_id=? ]






Name of a LUN that you want to create.

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


LUN ID. This parameter cannot be used along with the "number" parameter.

The value is an integer ranging from 0 to the maximum number of LUNs – 1.


The maximum number of LUNs supported by different product models varies. For details, see section "Software Specifications" in the product description.


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.


Cache prefetch policy.

The value can be "none", where:

"none": indicates non-prefetch.

The default value is "none".


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".


Owning controller of a LUN.

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


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.


WWN of a remote LUN.

  • The WWN of the remote LUN consists of 1 to 32 characters, including digits ranging from 0 to 9, lowercase letters ranging from a to f, and uppercase letters ranging from A to F. For example, 6e4a8b6100b0a1cc0003c8c600000001. Two characters can be separated by colons (:). For example, 6e:4a:8b:61:00:b0:a1:cc:00:03:c8:c6:00:00:00:01.
  • You can enter 1 to 10 WWNs of remote LUNs separated by commas (,).
  • You can run the "show remote_lun general" command to obtain the WWN of the remote LUN.


ID of the storage pool to which a LUN belongs.

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


Type of the takeover logical unit number (LUN).

The value can be:

  • "BASIC": basic takeover LUN.
  • "EXTEND": expansion takeover LUN.
  • "INHERIT": inherited takeover LUN.
  • "THIRD-PARTY": third-party takeover LUN.


ID of the eDevLUN.

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


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 the specific takeover LUN: BASIC
    • ID of the eDevLUN: 0
    admin:/>create lun_takeover general type=BASIC edevlun_id=0 
    Command executed successfully.
  • Create a takeover LUN and set its parameters as follows:
    • Type of the specific takeover LUN: THIRD-PARTY
    • WWN of the remote LUN: 60:06:01:60:28:f0:36:00:05:52:31:bb:b5:60:e9:11
    admin:/>create lun_takeover general type=THIRD-PARTY remote_lun_wwn_list=60:06:01:60:28:f0:36:00:05:52:31:bb:b5:60:e9:11 name=edv1 storage_pool_id=0 write_policy=write_through 
    Command executed successfully.

System Response


Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 123056

Downloads: 155

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