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>]>参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
controllerid | ReqBody | - | 是 | - | [{"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. |
volumeid | ReqBody | - | 是 | - | [{"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. |
name | ReqBody | - | 否 | - | [{"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 '-'. |
rpvalue | ReqBody | - | 否 | - | [{"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 |
wpvalue | ReqBody | - | 否 | - | [{"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 |
iopvalue | ReqBody | - | 否 | - | [{"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 |
apvalue | ReqBody | - | 否 | - | [{"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 |
dcpvalue | ReqBody | - | 否 | - | [{"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 |
bgi | ReqBody | - | 否 | - | [{"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 |
boot | ReqBody | - | 否 | - | [{"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 |
sscd | ReqBody | - | 否 | - | [{"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 |
ldsize | ReqBody | - | 否 | - | [{"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. |
stripesize | ReqBody | - | 否 | - | [{"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'. |
accelerationmethod | ReqBody | - | 否 | - | [{"Type": "Enum", "Formula": ["NA", "iobypass", "cache", "no"]}] | - |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
PathExist | RspBody | - | 否 | - | - | - |
NameExist | RspBody | - | 否 | - | - | - |
RpValueExist | RspBody | - | 否 | - | - | - |
WpValueExist | RspBody | - | 否 | - | - | - |
IopValueExist | RspBody | - | 否 | - | - | - |
ApValueExist | RspBody | - | 否 | - | - | - |
DcpValueExist | RspBody | - | 否 | - | - | - |
BgiExist | RspBody | - | 否 | - | - | - |
BootExist | RspBody | - | 否 | - | - | - |
SscdExist | RspBody | - | 否 | - | - | - |
LdsizeExist | RspBody | - | 否 | - | - | - |
StripesizeExist | RspBody | - | 否 | - | - | - |
AcceleratorExist | RspBody | - | 否 | - | - | - |
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Method | /bmc/kepler/MdbService | bmc.kepler.Mdb | GetPath | - | {"Path": "Path"} |
| 2 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetName | - | - |
| 3 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetReadPolicy | - | - |
| 4 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetWritePolicy | - | - |
| 5 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetAccessPolicy | - | - |
| 6 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetDiskCachePolicy | - | - |
| 7 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetIOPolicy | - | - |
| 8 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetBootable | - | - |
| 9 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetBGIEnable | - | - |
| 10 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetCachecadeEnable | - | - |
| 11 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetCapacitySize | - | - |
| 12 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetStripSize | - | - |
| 13 | Method | ${ProcessingFlow[1]/Destination/Path} | bmc.kepler.Systems.Storage.Volume | SetAccelerator | - | - |
使用示例
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>]>输出样例
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | storage |
| dataitem | ldconfig |
| URI | /cli/v1/storage/ldconfig |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/storage.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |