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

Huawei Rack Server iBMC (V260 to V278) User Guide 12

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 capacity unit can be:
  • m: MB
  • g: GB
  • t: TB
NOTE:
If the command contains -cachecade, this parameter is invalid.
stripesize Specifies the stripe size (in bytes) of the logical drive. Value:
  • 64K
  • 128K
  • 256K
  • 512K
  • 1M

The default value is 256K.

NOTE:
If the command contains -cachecade, this parameter is invalid.
rpvalue Specifies the read policy of the logical drive.
  • ra: Read Ahead
  • nra: No Read Ahead

The default value is ra.

NOTE:
If the command contains -cachecade, this parameter is invalid.
wpvalue Specifies the write policy of the logical drive.
  • wt: Write Through
  • wb: Write Back
  • wbwithbbu: Write Back with BBU

The default value is wbwithbbu.

NOTE:
If the command contains -cachecade, this parameter is invalid.
iopvalue Specifies the IO policy of the logical drive.
  • cio: Cached IO
  • dio: 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: The logical drive is readable and writable.
  • ro: The logical drive is read only.
  • blocked: The logical drive is hidden.

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: The logical drive is allowed to use cache.
  • disabled: The logical drive is not allowed to use cache.
  • default: The default policy is used, that is, the cache policy of the member disks is used.

The default value is enabled.

NOTE:
If the command contains -cachecade, this parameter is invalid.
initmode Specifies the initialization mode of the logical drive.
  • no: The logical drive is not initialized.
  • quick: Quick initialization is performed.
  • full: Full initialization is performed.

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 determined 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-06-04

Document ID: EDOC1000177670

Views: 121291

Downloads: 575

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