ipmcset -t storage -d ldconfig
更新时间: 2026/07/16
在Gitcode上查看源码

ipmcset -t storage -d ldconfig

返回总览 | 返回命令索引

命令功能

设置逻辑驱动器配置

命令格式

text
ipmcset -t storage -d ldconfig -v <RAID Controller ID> <Logical Drive ID> <[-name <LD name>] [-rp <ra|nra>] [-wp <wt|wbwithbbu|wb>] [-iop <cio|dio>] [-ap <rw|ro|blocked>] [-dcp <enabled|disabled|default>] [-bgi <enabled|disabled>] [-boot <primary>] [-sscd <enabled|disabled>]>

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
controlleridReqBody--[{"Type": "Range", "Formula": [0, 255]}]-v <RAID Controller ID> <Logical Drive ID> The logical drive of which RAID controller will be set. It is mandatory.
volumeidReqBody--[{"Type": "Range", "Formula": [0, 255]}]-v <RAID Controller ID> <Logical Drive ID> The logical drive of which RAID controller will be set. It is mandatory.
nameReqBody--[{"Type": "Length", "Formula": [null, 15]}]-name <LD name> Set logical drive name. 15 ASCII characters is maximum. The value can't be same as the options if it starts with '-'.
rpvalueReqBody--[{"Type": "Enum", "Formula": ["NA", "ra", "nra"]}]-rp <ra|nra> Set logical drive read policy. This option is not supported when logical drive is cachecade. ra = Read ahead nra = No Read ahead
wpvalueReqBody--[{"Type": "Enum", "Formula": ["NA", "wt", "wbwithbbu", "wb"]}]-wp <wt|wbwithbbu|wb> Set logical drive write policy. The 'Write back' is not supported when logical drive is cachecade. wt = Write through wbwithbbu = Write back with BBU wb = Write back
iopvalueReqBody--[{"Type": "Enum", "Formula": ["NA", "cio", "dio"]}]-iop <cio|dio> Set logical drive IO policy. This option is not supported when logical drive is cachecade. cio = Cached IO dio = Direct IO
apvalueReqBody--[{"Type": "Enum", "Formula": ["NA", "rw", "ro", "blocked"]}]-ap <rw|ro|blocked> Set logical drive access policy. This option is not supported when logical drive is cachecade. rw = Read write ro = Read only blocked = Blocked
dcpvalueReqBody--[{"Type": "Enum", "Formula": ["NA", "enabled", "disabled", "default"]}]-dcp <enabled|disabled|default> Set logical drive disk cache policy. This option is not supported when logical drive is cachecade. enabled = Enable disk cache disabled = Disable disk cache default = Unchanged and determined by disk type
bgiReqBody--[{"Type": "Enum", "Formula": ["NA", "enabled", "disabled"]}]-bgi <enabled|disabled> Set logical drive BGI state. This option is not supported when logical drive is cachecade. enabled = Enable logical drive BGI disabled = Disable logical drive BGI
bootReqBody--[{"Type": "Enum", "Formula": ["NA", "none", "primary", "secondary", "all"]}]-boot Set logical drive as boot device. This option is not supported when logical drive is cachecade. primary = Set logical drive as first boot device
sscdReqBody--[{"Type": "Enum", "Formula": ["NA", "enabled", "disabled"]}]-sscd <enabled|disabled> Set logical drive SSCD caching state. There must be one or more cachecade logical drive in the same RAID controller. enabled = Enable logical drive SSCD caching disabled = Disable logical drive SSCD caching
ldsizeReqBody--[{"Type": "Regex", "Formula": "^(NA)|([0-9]+([.][0-9]+)?[m,g,t,M,G,T]{1})$"}]-size <LD size>{m|g|t} The size of logical drive and the uint can be 'm'(megabytes) , 'g'(gigabytes) , 't'(terabytes). It is optional. If this option is not specified, the size of logical drive depends on the usable size of each array.
stripesizeReqBody--[{"Type": "Enum", "Formula": ["NA", "16K", "32K", "64K", "128K", "256K", "512K", "1M"]}]-ss <64K|128K|256K|512K|1M> Logical drive strip size. The recommended range is 64K ~ 1M. It is optional. The default of strip size is '256K'.
accelerationmethodReqBody--[{"Type": "Enum", "Formula": ["NA", "iobypass", "cache", "no"]}]-

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
PathExistRspBody----
NameExistRspBody----
RpValueExistRspBody----
WpValueExistRspBody----
IopValueExistRspBody----
ApValueExistRspBody----
DcpValueExistRspBody----
BgiExistRspBody----
BootExistRspBody----
SscdExistRspBody----
LdsizeExistRspBody----
StripesizeExistRspBody----
AcceleratorExistRspBody----

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1Method/bmc/kepler/MdbServicebmc.kepler.MdbGetPath-{"Path": "Path"}
2Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetName--
3Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetReadPolicy--
4Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetWritePolicy--
5Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetAccessPolicy--
6Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetDiskCachePolicy--
7Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetIOPolicy--
8Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetBootable--
9Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetBGIEnable--
10Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetCachecadeEnable--
11Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetCapacitySize--
12Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetStripSize--
13Method${ProcessingFlow[1]/Destination/Path}bmc.kepler.Systems.Storage.VolumeSetAccelerator--

使用示例

text
ipmcset -t storage -d ldconfig -v <RAID Controller ID> <Logical Drive ID> <[-name <LD name>] [-rp <ra|nra>] [-wp <wt|wbwithbbu|wb>] [-iop <cio|dio>] [-ap <rw|ro|blocked>] [-dcp <enabled|disabled|default>] [-bgi <enabled|disabled>] [-boot <primary>] [-sscd <enabled|disabled>]>

输出样例

ScenarioOutputSource
成功Set logical drive name successfully.interface_config/cli/echoes/ipmcset/storage_ldconfig
成功Set logical drive read policy successfully.interface_config/cli/echoes/ipmcset/storage_ldconfig
成功Set logical drive write policy successfully.interface_config/cli/echoes/ipmcset/storage_ldconfig
成功Set logical drive IO policy successfully.interface_config/cli/echoes/ipmcset/storage_ldconfig
成功Set logical drive access policy successfully.interface_config/cli/echoes/ipmcset/storage_ldconfig
成功Set logical drive disk cache policy successfully.interface_config/cli/echoes/ipmcset/storage_ldconfig
成功Set logical drive BGI state successfullyinterface_config/cli/echoes/ipmcset/storage_ldconfig
成功Set logical drive as boot device successfully.interface_config/cli/echoes/ipmcset/storage_ldconfig
成功Set logical drive SSCD caching state successfully.interface_config/cli/echoes/ipmcset/storage_ldconfig
成功Set logical drive capacity successfully.interface_config/cli/echoes/ipmcset/storage_ldconfig
成功Set logical drive strip size successfully.interface_config/cli/echoes/ipmcset/storage_ldconfig
成功Set logical drive acceleration method successfully.interface_config/cli/echoes/ipmcset/storage_ldconfig
其他Volume not exist.interface_config/cli/echoes/ipmcset/storage_ldconfig

来源信息

ItemValue
命令类型ipmcset
targetstorage
dataitemldconfig
URI/cli/v1/storage/ldconfig
Interface TypePatch
配置来源interface_config/cli/ipmcset/storage.json
请求版本26.06_2026.06.30
源码提交5606349e
生成时间2026-07-16T01:48:37