Set Storage Configurations
更新时间: 2026/08/06
在Gitcode上查看源码Set Storage Configurations
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Set the storage configuration.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | 0x0007DB (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. |
| 4 | Sub command, sub command=3Eh |
| 5 | Reserved |
| 6 | Parameter Selector. For details about its value, see Table 1. |
| 7 | Set Selector. For details about the value, see Table 1. |
| 8 | Block selector. For details about its value, see Table 1. |
| 9 | Exertern selector. For details about its value, see Table 1. |
| 10 | [7:1]: resvered [0]: 0-last frame 1-casecade frame |
| 11:12 | Writing Offset |
| 13 | Writing Length |
| 14:N | Data. For details, see Table 1. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | 0x0007DB (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:8 | Reserved |
| 9:N | Data. For details, see Table 1. |
Reference Information
Table 1 Parameters
| Parameter Selector | Parameter Data |
|---|---|
| 0 | This 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. |
| 1 | Creating 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. |
| 2 | Creating 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. |
| 3 | Create 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. |
| 4 | Deletes 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. |
| 5 | Changing 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.) |
| 6 | Modifying 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. |
| 7 | Modifying 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. |
| 8 | Modifying 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 |
| 9 | Modifying 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. |
| 10 | Modifying 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. |
| 11 | Changing 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 |
| 12 | Enabling 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 |
| 13 | Setting 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. |
| 14 | Disabling 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 |
| 15 | Setting 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 |
| 16 | Resetting 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. |
| 17 | Setting 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 |
| 18 | Sets 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. |
| 19 | Sets 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) |
| 20 | Setting 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. |
| 21 | Specifies 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). |
| 22 | Sets 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. |
| 23 | Setting 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. |
| 24 | Setting 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. |
| 25 | Setting 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). |
| 26 | Manually 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. |
| 27 | Setting 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 |
| 28 | Setting 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 0x01Response:
text
db 07 00 00 00 00 00