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. |
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. |
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:
NOTE:
|
stripesize |
Specifies the stripe size (in bytes) of the logical drive. |
The stripe size can be:
NOTE:
|
rpvalue |
Specifies the read policy of the logical drive. |
NOTE:
|
wpvalue |
Specifies the write policy of the logical drive. |
The default value is wbwithbbu. |
iopvalue |
Specifies the IO policy of the logical drive. |
The default value is dio. NOTE:
If the command contains -cachecade, this parameter is invalid. |
apvalue |
Specifies the access policy of the logical drive. |
The default value is rw. NOTE:
If the command contains -cachecade, this parameter is invalid. |
dcpvalue |
Specifies the cache policy of the logical drive. |
NOTE:
|
initmode |
Specifies the initialization mode of the logical drive. |
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.
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.
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