iBMCAdding a Logical Drive (addld)
Function
The addld command is used to add a logical drive to a disk array.
Format
ipmcset -t storage -d addld -v <control_id> -array <arrayid> [-name <ldname>] [-size <capative>{m|g|t} ] [-ss <stripesize>] [-rp <rpvalue>] [-wp <wpvalue>] [-iop <iopvalue>] [-ap <apvalue>] [-dcp <dcpvalue>] [-init <initmode>] [-block <blockid>]
Parameters
Parameter |
Description |
Value |
---|---|---|
control_id |
Specifies the ID of the RAID controller. |
0 to 255 |
arrayid |
Specifies the ID of the disk array to be added with the logical drive. |
0 to 255 |
ldname |
Specifies the name of the logical drive to be added. |
The parameter value cannot exceed 15 characters. |
capative |
Specifies the capacity of the logical drive to be added. |
The unit of the logical drive capacity can be:
NOTE:
If this parameter is not set, the system sets the logical drive capacity based on the maximum capacity provided by the disk array. |
stripesize |
Specifies the stripe size (in bytes) of the logical drive. |
The stripe size can be:
The default value is 256K. |
rpvalue |
Specifies the read policy of the logical drive. |
The default value is ra. |
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. |
apvalue |
Specifies the access policy of the logical drive. |
The default value is rw. |
dcpvalue |
Specifies the cache policy of the logical drive. |
The default value is enabled. |
initmode |
Specifies the initialization mode of the logical drive. |
The default value is no. |
blockid |
ID of the idle block of the disk array to which the logical drive is to be added. |
0 to 32 |
Usage Guidelines
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
# Add a logical drive to disk array 1 of RAID controller 0.
iBMC:/-> ipmcset -t storage -d addld -v 0 -array 1 -name example -size 500g -ss 256k -rp ra -wp wb -ap rw -iop cio -dcp enabled -init quick -block 2
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y