Modifying Logical Drive Properties (ldconfig)
Function
The ldconfig command is used to modify properties of a logical drive.
Format
ipmcset -t storage -d ldconfig -v <control_id> <ldid> <[-name <ldname>] [-rp <rpvalue>] [-wp <wpvalue>] [-iop <iopvalue>] [-ap <apvalue>] [-dcp <dcpvalue>] [-bgi <bgistate>] [-boot] [-sscd <sscdstate>]
Parameters
Parameter |
Description |
Value |
---|---|---|
control_id |
Specifies the ID of the RAID controller. |
0 to 255 |
ldid |
Specifies the ID of the logical drive to be modified. |
0 to 255 |
ldname |
Specifies the name of the logical drive to be modified. |
The parameter value cannot exceed 15 characters. |
rpvalue |
Specifies the read policy of the logical drive. |
NOTE:
This parameter is not supported if the logical drive type is CacheCade. |
wpvalue |
Specifies the write policy of the logical drive. |
|
iopvalue |
Specifies the IO policy of the logical drive. |
NOTE:
This parameter is not supported if the logical drive type is CacheCade. |
apvalue |
Specifies the access policy of the logical drive. |
NOTE:
This parameter is not supported if the logical drive type is CacheCade. |
dcpvalue |
Specifies the cache policy of the logical drive. |
NOTE:
This parameter is not supported if the logical drive type is CacheCade. |
bgistate |
Specifies the BGI status of the logical drive. |
NOTE:
This parameter is not supported if the logical drive type is CacheCade. |
sscdstate |
Specifies the setting of SSD Caching (whether to use the CacheCade drive as the cache). |
NOTE:
|
Usage Guidelines
If the command contains -boot, the logical drive is the boot device.
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
# Modify the properties of logical drive 1 under RAID controller 0.
iBMC:/-> ipmcset -t storage -d ldconfig -v 0 1 -name example -rp ra -wp wb -ap rw -iop cio -dcp enabled –bgi enabled -boot
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y