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

FusionServer Pro X6000 Server iBMC (V300 to V369) User Guide 09

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).
Creating a Logical Drive (createld)

Creating a Logical Drive (createld)

Function

The createld command is used to create a logical drive from an idle physical disk.

Format

ipmcset -t storage -d createld -v <control_id> -rl <raidlevel> -pd <pd_id> [-cachecade] [-sc <span_num>] [-name <ldname>] [-size <capative>{m|g|t} ] [-ss <stripesize>] [-rp <rpvalue>] [-wp <wpvalue>] [-iop <iopvalue>] [-ap <apvalue>] [-dcp <dcpvalue>] [-init <initmode>]

Parameters

Parameter

Description

Value

control_id

Specifies the ID of the RAID controller.

0 to 255

raidlevel

Specifies the RAID level of the logical drive.

  • r0: RAID 0
  • r1: RAID 1
  • r5: RAID 5
  • r6: RAID 6
  • r10: RAID 10
  • r50: RAID 50
  • r60: RAID 60
NOTE:

If the command contains -cachecade, this parameter must be r0 or r1.

pd_id

Specifies the member disk IDs of the logical drive.

Use a comma (,) to separate multiple disk IDs, for example, 0,1,2.

NOTE:

If the command contains -cachecade, the member disks must be SSDs.

span_num

Specifies the number of spans of the logical drive.

  • You do not need to set this parameter if the RAID level is 0, 1, 5 or 6.
  • Set this parameter when the RAID level is 10, 50, or 60. The default value is 2.
NOTE:

If the command contains -cachecade, this parameter is invalid.

ldname

Specifies the name of the logical drive to be created.

The parameter value cannot exceed 15 characters.

capative

Specifies the capacity of the logical drive to be created.

The unit of the logical drive capacity can be:
  • m: MB
  • g: GB
  • t: TB
NOTE:
  • If the command contains -cachecade, this parameter is invalid.
  • If the command does not contain -cachecade and this parameter is not set, the system sets the logical drive capacity based on the maximum capacity of the member drive.

stripesize

Specifies the stripe size (in bytes) of the logical drive.

The stripe size can be:
  • 64K
  • 128K
  • 256K
  • 512K
  • 1M
NOTE:
  • If the command contains -cachecade, this parameter is invalid. The default strip size of the logical drive is 1M.
  • If the command does not contain -cachecade and this parameter is not set, the default stripe size of the logical drive is 256K.

rpvalue

Specifies the read policy of the logical drive.

  • ra: sets the read policy of the logical drives to Read Ahead.
  • nra: sets the read policy of the logical drives to No Read Ahead.
NOTE:
  • If the command contains -cachecade, this parameter is invalid. The default read policy of the logical drives is nra.
  • If the command does not contain -cachecade and this parameter is not set, the default read policy of the logical drives is ra.

wpvalue

Specifies the write policy of the logical drive.

  • wt: sets the write policy of the logical drives to Write Through.
  • wb: sets the write policy of the logical drives to Write Back.
  • wbwithbbu: sets the write policy of the logical drives to Write Back with BBU.

The default value is wbwithbbu.

iopvalue

Specifies the IO policy of the logical drive.

  • cio: sets the I/O policy of the logical drives to Cached IO.
  • dio: sets the I/O policy of the logical drives to Direct IO.

The default value is dio.

NOTE:

If the command contains -cachecade, this parameter is invalid.

apvalue

Specifies the access policy of the logical drive.

  • rw: sets the access policy of the logical drives to read/write.
  • ro: sets the access policy of the logical drives to read-only.
  • blocked: sets the access policy of the logical drives to blocked.

The default value is rw.

NOTE:

If the command contains -cachecade, this parameter is invalid.

dcpvalue

Specifies the cache policy of the logical drive.

  • enabled: enables cache for logical drives.
  • disabled: disables cache for logical drives.
  • default: uses the default policy, which is determined by the cache policy of the member drives.
NOTE:
  • If the command contains -cachecade, this parameter is invalid. The default drive cache policy of the logical drives is default.
  • If the command does not contain -cachecade and this parameter is not set, the default drive cache policy of the logical drives is enabled.

initmode

Specifies the initialization mode of the logical drive.

  • no: no initialization.
  • quick: performs a quick initialization.
  • full: performs a full initialization.

The default value is no.

NOTE:

If the command contains -cachecade, this parameter is invalid.

Usage Guidelines

If the command contains -cachecade, a CacheCade drive is to be created.

This command can be used only when either of the following conditions is met:
  • The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determine whether the RAID card supports the iBMC out-of-band management.
  • The iBMA 2.0 has started on the OS.

Example

# Create a common logical drive under RAID controller 0.

iBMC:/-> ipmcset -t storage -d createld -v 0 -rl r1 -pd 0,1 -name example -size 100g -ss 512k -rp ra -wp wb -ap rw -iop cio -dcp enabled -init quick 
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y

# Create a Cachecade drive under RAID controller 0.

iBMC:/-> ipmcset -t storage -d createld -v 0 -rl r0 -pd 0,1,2 -name cachecade -cachecade -wp wb 
WARNING: The operation may have many adverse effects.
	Do you want to continue?[Y/N]:y
Download
Updated: 2019-08-01

Document ID: EDOC1100019359

Views: 92697

Downloads: 98

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