Set Storage Configurations
更新时间: 2026/08/06
在Gitcode上查看源码

Set Storage Configurations

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Set the storage configuration.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:30x0007DB (LS Byte first, the first byte is DBh, the second byte is 07h, and the third byte is 00h). The least significant byte is in the front.
4Sub command, sub command=3Eh
5Reserved
6Parameter Selector. For details about its value, see Table 1.
7Set Selector. For details about the value, see Table 1.
8Block selector. For details about its value, see Table 1.
9Exertern selector. For details about its value, see Table 1.
10[7:1]: resvered
[0]:
0-last frame
1-casecade frame
11:12Writing Offset
13Writing Length
14:NData. For details, see Table 1.

Response Information

ByteData Field
1Completion Code
2:40x0007DB (LS Byte first, the first byte is DBh, the second byte is 07h, and the third byte is 00h). The least significant byte is in the front.
5:8Reserved
9:NData. For details, see Table 1.

Reference Information

Table 1 Parameters

Parameter SelectorParameter Data
0This interface is used to perform operations on a delivered setting task. (This interface is not supported currently.)
Request:
Set Selector:
0- Query the information about the setting task.
1- If the setting task is not performed, delete the setting task.
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. Set this parameter to 0xFF.
data1:4 indicates the task ID.
Response (valid only for query):
data1: sets the task status.
0- The operation is complete.
1- The operation is waiting.
2- being set
data2:3 indicates the return code of the setting task. The low-order byte is in the front. 0x0000 indicates that the setting is successful.
data3:131: error description, which is a character string.
1Creating Common Logical Disks (RAID 0, 1, 5, 6, 10, 50, and 60)
Request:
Set Selector: ID of the RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
data1: specifies the length of the logical disk name. The value is marked as M. The maximum value of M is 15.
data2: (M+1): logical disk name (If M is 0, this field does not exist.)
data (M+2): RAID level of the logical disk, which must be specified.
data (M+3): (M+6): capacity of the logical disk. The 0xFFFFFFFF-is determined by the background based on the site requirements. The low byte is placed before the low byte.
data (M+7): logical disk capacity unit. The value can be 0 (MB), 1 (GB), or 2 (TB).
data (M+8): stripe size of the logical disk. The value 0xFF indicates that the default value is specified by the background.
data (M+9): logical disk read policy. The value 0xFF indicates that the default value is specified by the background.
data (M+10): logical disk write policy. The value 0xFF indicates that the default value is specified in the background.
data (M+11): I/O policy of the logical disk. The value 0xFF indicates that the default value is specified by the background.
data (M+12): logical disk access policy. The value 0xFF indicates that the default value is specified by the background.
data (M+13): disk cache policy of the logical disk. The value 0xFF indicates that the default value is specified by the background.
data (M+14): initialization operation mode. The default value is 0xFF, which is specified by the background.
data (M+15): indicates the number of spans. The value is 1 when RAID 0, 1, 5, or 6 is created. This parameter must be specified.
data (M+16): indicates the number of physical member disks in each span. When RAID 0, 1, 5, or 6 is created, this parameter indicates the number of all physical member disks and must be specified.
data (M+17):N: ID list of physical member disks. Total number of IDs=Number of spans x Number of physical member disks in each span. This parameter must be specified.
CAUTION: The command execution takes a long time to prevent IPMI interface timeout failures. Add the -N <timeout> parameter to the IPMI parameters to specify the IPMI command timeout interval (unit: second).This command is not recommended for logical disk O&M. You are advised to use the BMC WebUI or Redfish interface.
2Creating a CacheCade Logical Disk (RAID0/1)
Request:
Set Selector: ID of the RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
data1: specifies the length of the logical disk name. The value is marked as M. The maximum value of M is 15.
data2: (M+1): logical disk name (If M is 0, this field does not exist.)
data (M+2): RAID level of the logical disk, which must be specified.
data (M+3): logical disk write policy, which must be specified.
data (M+4): number of physical SSDs (mandatory)
data (M+5):N: ID list of SSD physical member disks. This parameter must be specified.
CAUTION: The command execution takes a long time to prevent IPMI interface timeout failures. Add the -N <timeout> parameter to the IPMI parameters to specify the IPMI command timeout interval (unit: second).This command is not recommended for logical disk O&M. You are advised to use the BMC WebUI or Redfish interface.
3Create a logical disk on the existing disk array.
Request:
Set Selector: ID of the RAID controller
Block Selector: low-order byte of the array ID with free space
Extern Selector: high-order byte of the array ID with free space
data1: specifies the length of the logical disk name. The value is marked as M. The maximum value of M is 15.
data2: (M+1): logical disk name (If M is 0, this field does not exist.)
data (M+2): (M+5): capacity of the logical disk. The 0xFFFFFFFF-is determined by the background based on the site requirements. The least significant byte is placed before the least significant byte.
data (M+6): logical disk capacity unit. The value can be 0 (MB), 1 (GB), or 2 (TB).
data (M+7): stripe size of the logical disk. The value 0xFF indicates that the default value is specified by the background.
data (M+8): logical disk read policy. The value 0xFF indicates that the default value is specified by the background.
data (M+9): logical disk write policy. The value 0xFF indicates that the default value is specified by the background.
data (M+10): I/O policy of the logical disk. The value 0xFF indicates that the default value is specified by the background.
data (M+11): logical disk access policy. The value 0xFF indicates that the default value is specified by the background.
data (M+12): disk cache policy of the logical disk. The value 0xFF indicates that the default value is specified by the background.
data (M+13): initialization operation mode. The default value is 0xFF, which is specified by the background.
CAUTION: The command execution takes a long time to prevent IPMI interface timeout failures. Add the -N <timeout> parameter to the IPMI parameters to specify the IPMI command timeout interval (unit: second).This command is not recommended for logical disk O&M. You are advised to use the BMC WebUI or Redfish interface.
4Deletes a logical drive.
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the logical disk ID.
Extern Selector: N/A. The value is 0xFF.
CAUTION: The command execution takes a long time to prevent IPMI interface timeout failures. Add the -N <timeout> parameter to the IPMI parameters to specify the IPMI command timeout interval (unit: second).This command is not recommended for logical disk O&M. You are advised to use the BMC WebUI or Redfish interface.
5Changing the Name of a Logical Drive
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the logical disk ID.
Extern Selector: N/A. The value is 0xFF.
data1: specifies the length of the logical disk name. The value is marked as M. The maximum value of M is 15.
data2: (M+1): logical disk name (If M is 0, this field does not exist.)
6Modifying the Read Policy of a Logical Drive
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the logical disk ID.
Extern Selector: N/A. The value is 0xFF.
data1: specifies the read policy of the logical disk.
7Modifying the Write Policy of a Logical Drive
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the logical disk ID.
data1: specifies the write policy of the logical disk.
8Modifying the I/O Policy of a Logical Drive
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the logical disk ID.
Extern Selector: N/A. The value is 0xFF.
data1: logical disk I/O policy
9Modifying the access policy of a logical disk
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the logical disk ID.
Extern Selector: N/A. The value is 0xFF.
data1: logical disk access policy
NOTE: If the RAID controller type is 3508/3516/9440-8i/9460-8i/9460-16i and the firmware version is MR7.9 or later, restart the OS for the settings to take effect.
10Modifying the Cache Policy of a Logical Drive
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the logical disk ID.
Extern Selector: N/A. The value is 0xFF.
data1: specifies the cache policy of the logical disk.
11Changing the BGI Status of a Logical Drive
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the logical disk ID.
Extern Selector: N/A. The value is 0xFF.
data1: BGI enable status
12Enabling CacheCade for a Logical Drive
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the logical disk ID.
Extern Selector: N/A. The value is 0xFF.
data1: specifies whether to enable CacheCade for the logical disk.
1: Enabled
0: disabled
13Setting a Logical Drive as the Boot Disk
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the logical disk ID.
Extern Selector: N/A. The value is 0xFF.
14Disabling the Copyback Function of the RAID Controller
Request:
Set Selector: ID of the RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
data1: specifies whether to disable the copyback function.
0: Disabled
1- not disabled
15Setting Whether the RAID Controller Automatically Starts Copyback When a Physical Disk Sends a SAMRT Error
Request:
Set Selector: ID of the RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
data1: specifies whether to automatically start copyback.
1: Enabled
0: disabled
16Resetting the RAID controller settings (without deleting the logical drive)
Request:
Set Selector: ID of the RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
NOTE: If the RAID controller type is 3508/3516/9440-8i/9460-8i/9460-16i and the firmware version is MR7.9 or later, you need to restart the OS for the restoration to take effect.
17Setting the JBOD Status of the RAID Controller Card
Request:
Set Selector: ID of the RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
data1: specifies whether to enable the JBOD function.
1: yes
0: disabled
18Sets the hot spare status of a physical disk.
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the physical disk ID.
Extern Selector: N/A. The value is 0xFF.
data1: hot spare type. 0: hot spare canceled; 1: global; 2: dedicated
data2: If the value is DEDICATED, this parameter specifies the associated LD ID.
19Sets the physical disk status (online/offline, UG/JBOD).
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the physical disk ID.
Extern Selector: N/A. The value is 0xFF.
data1: physical disk status
0-UNCONFIGURED_GOOD
3-OFFLINE
6-ONLINE
8-SYSTEM(JBOD)
20Setting the Physical Drive Locating Status (location)
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the physical disk ID.
Extern Selector: N/A. The value is 0xFF.
data1: physical disk status
0- Stop locating.
1- Start locating.
data2: reserved. Set it to 0.
21Specifies whether the RAID controller supports out-of-band management.
Request:
Set Selector: RAID controller ID. If the value is 0xFF, all RAID controllers are set.
Block Selector: N/A. Set this parameter to 0xFF.
Extern Seletor: N/A, 0xFF
data1: indicates whether out-of-band management is supported. 0: not supported (no persistence); 1: supported (no persistence); 2: not supported (data is not lost upon power-off); 3: supported (data is not lost upon power-off).
22Sets slow disk detection attributes.
Request:
Set Selector: slow disk detection attribute type
(Note: The IPMI command sending sequence does not affect the actual function. By default, the sequence is set in ascending order as follows.)
0- enable. data1: 0: disable and clear the attribute values related to slow disk detection. 1: enable.
1- SMART information error detected by slow disks. data1:2: threshold; data3:4: growth threshold; data5: growth observation period (unit: day). The maximum observation period cannot exceed 30 days. The values are in little-endian format.
2- RAID controller card information error detected by slow disks. data1:2: threshold; data3:4: growth threshold; data5: growth observation period (unit: day). The maximum observation period does not exceed 30 days. All values are in little-endian byte order.
3- number of times that the slow disk detection instruction times out. data1:2: threshold; data3: observation period (unit: day). The maximum observation period cannot exceed 30 days. The value is in little-endian format.
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
23Setting Subhealth Check Attributes
Request:
Set Selector: subhealth check attribute type
(Note: The IPMI command sending sequence does not affect the actual function. By default, the sequence is set in ascending order as follows.)
0- enable; data1: 0: disable and clear the subhealth detection attribute values; 1: enable
1- threshold of subhealth check standard parameter 1. data1:2: threshold, in little-endian byte order.
2- threshold of subhealth detection standard parameter 2. data1:2: threshold, in little-endian mode.
3- threshold of subhealth check standard parameter 3. data1:2: threshold, in little-endian mode.
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
24Setting the Fault Indicator Status of a Physical Drive
Request:
Set Selector: N/A. The value is 0xFF.
Block Seletor: physical disk ID
Extern Selector: N/A. The value is 0xFF.
data1: status of the physical disk fault indicator
0: turns off the fault indicator.
1. Turn on the fault indicator.
25Setting Disk Diagnosis Parameters
Request:
Set Selector:
0: NVMe slow disk detection switch
1: switch for enabling SAS slow disk detection
2: NVMe slow disk detection parameter configuration
3-SAS slow disk detection parameter configuration
255-Setting the Status and Period of Automatic Disk Log Collection
Block selector. This field is not involved and is set to 0xFF.
Extern Selector. This field is not involved and is set to 0xFF.
Data:
When Set Selector in the request is set to 0:
data1: 0-disable; 1-enable
When Set Selector in the request is set to 1:
data1: 0-disable; 1-enable
When Set Selector in the request is set to 2:
data1:2: average response delay threshold, in milliseconds. The value is in little-endian format.
data3: number of times that the average delay exceeds the threshold
data4: multiple of the average response latency of quasi-slow disks in a disk domain
data5:6: standard average response latency of quasi-slow disks, in milliseconds, little-endian
When Set Selector in the request is set to 3:
data1:2: average response delay threshold, in milliseconds. The value is in little-endian mode.
data3: number of times that the average delay exceeds the threshold
data4: multiple of the average response latency of quasi-slow disks in a disk domain
data5:6: standard average response latency of quasi-slow disks, in milliseconds, little-endian
When the value of the request parameter Set Selector is 255 :
data1: enabled status. 0: disabled; 1: enabled.
data2: indicates the collection period. The value ranges from 1 to 255 (hours).
26Manually trigger disk log collection (for a single disk or all disks).
Request:
Set Selector: N/A. The value is 0xFF.
Block Selector: physical drive ID
If Block Selector is not 0xFF, collect logs of the physical disk with the specified ID.
If Block Selector is set to 0xFF, logs of all physical disks are collected.
Extern Selector: N/A. The value is 0xFF.
27Setting the Enabling Status of Out-of-Band Drive Fault Prediction
Request:
Set Selector: N/A. The value is 0xFF.
Block Selector: N/A. Set it to 0xFF.
Extern Selector: N/A. The value is 0xFF.
data1: 0-disable; 1-enable
28Setting the Power Status of a Specified Physical Disk Slot
Request:
Set Selector. This field is not involved and is set to 0xFF.
Block Selector, physical disk slot ID
Extern Selector. This field is not involved and is set to 0xFF.
Data, data1: sets the power status of a specified physical disk slot. 0: powered off; 1: powered on.

Command Example

Enable slow disk detection for NVMe SSDs.

Request:

bash
ipmitool raw 0x30 0x93 0xdb 0x07 0x00 0x3E 0x00 0x19 0x00 0xFF 0xFF 0x00 0x00 0x00 0x01 0x01

Response:

text
db 07 00 00 00 00 00

Back to Index