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

Get Storage Configurations

Change History

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

Basic Information

Function Description

This command is used to obtain the storage configurations.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
4Sub command, sub command = 3Dh
5Reserved
6Parameter Selector. For details, see Table 1.
7Set Selector. For details about the value, see Table 1.
8Block selector. For details about its value, see Table 1.
9Extern selector. For details about the value, see Table 1.
10:11Reading offset, which is used to obtain the offset of a parameter.
12Reading length, which is used to obtain the length of a parameter.

Response Information

ByteData Field
1Completion Code
2:4Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
5[7:1]: resvered
[0]:
0-last frame
1-casecade frame
6:NData. For details, see Table 1.

References

Table 1 Parameters

Parameter SelectorParameter Data
0Obtaining the ID List of All RAID Controllers
Request:
Set Selector: N/A. The value is 0xFF.
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
data1: ID of RAID controller 1
data2: ID of RAID controller 2
...
1Obtains the firmware version of a specified RAID controller card.
Request: Set Selector: ID of the specified RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
data1: indicates the length of the firmware version of the RAID controller card. The value is marked as M.
data2: (M+1): firmware version of the RAID controller card (If M is 0, this field does not exist.)
2Obtains the NVDATA version of a specified RAID controller card.
Set Selector: ID of the specified RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
data1: length of the NVDATA version of the RAID controller, marked as M
data2: (M+1): NVDATA version of the RAID controller (If M is 0, this field does not exist.)
3Obtains the configuration information of a specified RAID controller.
Set Selector: ID of the specified RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
data1: indicates whether out-of-band management is supported. 1: supported; 0: not supported.
data2:3: memory size of the RAID controller, in MB. The value is 0xFFFF-UNKNOWN, and the least significant byte is placed before the least significant byte.
data4: interface rate of the RAID controller card. 0-SPI, 1-SAS 3G, 2-SATA 1.5G, 3-SATA 3G, 4-SAS 6G, 5-SAS 12G, 255-UNKNOWN
data5:20: SAS address of the RAID controller (character string)
data21: Cache pinned flag, 1-cache is pinned, 0-cache is not pinned, 255-UNKNOWN
data22: Maintain PD fail history. 1: enabled; 0: disabled; 255: UNKNOWN
data23: whether copyback is disabled. 0: disabled; 1: enabled; 255: UNKNOWN
data24: whether to automatically start copyback after a SMART error occurs on a disk. 1: yes; 0: no; 255: UNKNOWN
data25: JBOD enabling status. 1: enabled; 0: disabled; 255: UNKNOWN
data26: supported minimum stripe size. For details, see the stripe size definition in the logical disk information.
data27: supported maximum stripe size. For details, see the stripe size definition in the logical disk information.
data28:32: reserved
data33: length of the RAID controller name. The value is marked as M.
data34: (M+33): RAID controller name (If M is 0, this field does not exist.)
4Obtaining the Logical Disk ID List of a Specified RAID Controller
Request:
Set Selector: ID of the specified RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
data1: ID of logical disk 1
data2: ID of logical disk 2
...
5Obtains basic information about a specified 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.
Response:
data1: specifies the length of the logical disk name. The value is marked as M.
data2: (M+1): logical disk name (character string). If M is 0, this field does not exist.
data (M+2): RAID level of the logical disk. 0: RAID0, 1: RAID1, 2: RAID2, 3: RAID3, 4: RAID4, 5: RAID5, 6: RAID6, 10: RAID10, 17: RAID1E, 20: RAID20, 30: RAID30, 40: RAID40, 50: RAID50, 60: RAID60, 255: Unknown, Others: reserved
data (M+3): running status of the logical disk,
data (M+4): default read policy of the logical disk. 0: NO READ AHEAD; 1: READ AHEAD; 255: UNKNOWN
data (M+5): indicates the current read policy of the logical disk. 0: NO READ AHEAD; 1: READ AHEAD; 255: UNKNOWN.
data (M+6): default write policy of the logical disk. 0: WRITE THROUGH; 1: RITE BACK with BBU; 2: RITE BACK; 255: NKNOWN
data (M+7): current write policy of the logical disk. 0: WRITE THROUGH; 1: WRITE BACK with BBU; 2: WRITE BACK; 255: UNKNOWN
data (M+8): default I/O policy of the logical disk. 0: CACHED IO; 1: DIRECT IO; 255: UNKNOWN
data (M+9): current I/O policy of the logical disk. 0: CACHED IO; 1: DIRECT IO; 255: UNKNOWN
data (M+10): logical disk access policy. 0: READ WRITE; 1: READ ONLY; 2: BLOCKED; 3: HIDDEN; 255: UNKNOWN
data (M+11): logical disk cache policy. 0: UNCHANGED (Disk's default); 1: ENABLE; 2: DISABLE; 255: UNKNOWN
data (M+12): number of spans of the logical disk. The value ranges from 255 to UNKNOWN.
data (M+13): indicates the number of physical disks in each span. The value ranges from 255 to UNKNOWN.
data (M+14): strip size of the logical disk. 0: 512 bytes; 1: 1 KB; 2: 2 KB; 3: 4 KB; 4: 8 KB; 5: 16 KB; 6: 32 KB; 7: 64 KB; 8: 128 KB; 9: 256K, 10: 512K, 11: 1MB, 12: 2MB, 255: UNKNOWN
data (M+15): (M+18): capacity of the logical disk, in MB. The least significant byte is placed before the least significant byte. 0xFFFFFFFF: UNKNOWN
data (M+19): (M+22): reserved
data (M+23): BGI enabling status of the logical disk. 1: enabled; 0: disabled; 255: UNKNOWN
data (M+24): whether the logical disk is a boot disk. 1: yes; 0: no; 255: UNKNOWN
data (M+25): CacheCade identifier. 1: CacheCade logical disk; 0: common logical disk; 255: UNKNOWN
data (M+26): whether the logical disk is associated with a CacheCade logical disk. 1: yes; 0: no; 255: UNKNOWN
data (M+27): initialization status of the logical disk. 0: not initialized; 1: fast initialization; 2: full initialization; 255: UNKNOWN
data (M+28): OS drive letter length. The value is Ndata(M+29):(M+28+N): OS drive letter (character string). If N is 0, this field does not exist.
6Obtaining the ID List of Common Logical Disks Associated with a Specified CacheCade Logical Disk
Request:
Set Selector: ID of the RAID controller
Block Selector: CacheCade logical disk ID
Extern Selector: N/A. The value is 0xFF.
Response:
data1:N: ID of the associated logical disk
7Obtains the ID list of physical member disks contained in a specified 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.
Response:
data1: ID of physical disk 1
data2: ID of physical disk 2
...
8Obtaining the ID List of Physical Disks Managed by a Specified RAID Controller
Request:
Set Selector: ID of the specified RAID controller. 0xFF indicates that the IDs of all physical disks are obtained.
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
data1: ID of physical disk 1
data2: ID of physical disk 2
...
9Obtains the physical location of a specified physical disk (silkscreen information).
Request:
Set Selector: N/A, 0xFF
Block Selector: physical drive ID
Extern Selector: N/A. The value is 0xFF.
Response:
data1: length of the physical location information of the physical disk. The value is marked as Mdata2: (M+1): physical location information of the physical disk (If M is 0, this field does not exist.)
10Obtaining Information About a Specified Physical Disk
Request:
Set Selector: N/A. The value is 0xFF.
Block Selector: physical drive ID
Extern Selector: N/A. The value is 0xFF.
Response:
data1: indicates the length of the disk vendor name. The value is marked as M1. Currently, the maximum value is 20; data2: (M 1+1): indicates the disk vendor name.
data (M 1+2): indicates the length of the disk serial number. The value is M2 and the maximum value is 32.
data(M 1+3):(M 1+M2+2): disk serial number
data (M 1+M2+3): indicates the length of the hard disk model. The value is M3 and the maximum value is 40.
data(M 1+M2+4):(M 1+M2+M3+3): disk model
data (M 1+M2+M3+4): indicates the length of the disk firmware version. The value is M4 and the maximum value is 8.
data(M 1+M2+M3+5):(M 1+M2+M3+M4+4): disk firmware version
data(M 1+M2+M3+M4+5): health status
data(M 1+M2+M3+M4+6): running status. The value can be 0-UNCONFIGURED_GOOD, 1-UNCONFIGURED_BAD, 2-HOT_SPARE, 3-OFFLINE, 4-FAILED, 5-REBUILD, 6-ONLINE, 7-COPYBACK, 8-SYSTEM(JBOD), 9-SHIELD_UNCONFIGURED, 10-SHIELD_HOT_SPARE, 11-SHIELD_CONFIGURED, 12-FOREIGN or 255-UNKNOWN.
data(M 1+M2+M3+M4+7): power supply status. The value can be 0-ACTIVE, 1-STOP, 2-TRANSITIONING or 255-UNKNOWN.
data(M 1+M2+M3+M4+8): media type, 0-ROTATIONAL(HDD), 1-SSD, 2-SSM FLASH, 255-UNKNOWN
data(M 1+M2+M3+M4+9): interface type. The value can be 0-UNDEFINE, 1-PARALLEL SCSI, 2-SAS, 3-SATA, 4-FC, 5-SATA/SAS, 6-PCIE or 255-UNKNOWN.
Data(M1+M2+M3+M4+10): indicates the maximum rate supported by the interface. 0-UNDEFINED, 1-1.5Gbps, 2-3Gbps, 3-6Gbps, 4-12Gbps, 255-UNKNOWN
data(M 1+M2+M3+M4+11): negotiated rate. For details, see the maximum rate supported by the interface. data(M 1+M2+M3+M4+12): temperature, in °C.
data(M 1+M2+M3+M4+13):(M 1+M2+M3+M4+16): disk capacity, in MB. The least significant byte is placed before the least significant byte.
data(M 1+M2+M3+M4+17):(M 1+M2+M3+M4+20): reserved
data(M 1+M2+M3+M4+21): hot backup type, 0-NONE, 1-GLOBAL, 2-DEDICATED, 3-COMMISSIONED, 4-EMERGENCY, 5-UNKNOWN=255
data(M 1+M2+M3+M4+22): Reconstruction status. 1: being reconstructed; 0: reconstruction completed or stopped; 255: UNKNOWN
data(M 1+M2+M3+M4+23): reconstruction progress, in percentage.
data(M 1+M2+M3+M4+24): inspection status. 1: being inspected; 0: inspection completed or stopped; 255: UNKNOWN
data(M 1+M2+M3+M4+25):(M 1+ M2+M3+M4+27): reserved
data(M 1+M2+M3+M4+28): SSD remaining wear rate, in percentage. The value is 0xFF for HDDs.
data(M 1+M2+M3+M4+29):(M 1+M2+M3+M4+32): media type error statistics
data(M 1+M2+M3+M4+33):(M 1+M2+M3+M4+36): prefail error statistics
data(M 1+M2+M3+M4+37):(M 1+M2+M3+M4+40): other error statistics
data(M 1+M2+M3+M4+41): positioning status. 1: being positioned; 0: positioning stopped; 255: unknown
Data(M1+M2+M3+M4+42):data(M1+M2+M3+M4+43): accumulated power-on time (unit: hour), LSB First, 65535-UNKNOWN
11Obtaining the ID List of Disk Arrays Managed by a Specified RAID Controller
Request:
Set Selector: ID of the specified RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
data1:2: ID of disk array 1
data3:4: ID of disk array 2
...
12Obtaining Information About a Specified Disk Array
Request:
Set Selector: ID of the specified RAID controller
Block Selector: low byte of the disk array ID
Extern Selector: high byte of the disk array ID
Response:
data1:4 indicates the used space, in MB. 0xFFFFFFFF indicates that the least significant byte is placed in the front.
data5:8: reserved
data9:12: remaining space, in MB. The value 0xFFFFFFFF indicates that the low byte is placed before the high byte.
data13:16: reserved
data17: specifies the number of logical disks. The value 0xFF indicates that the parameter is invalid.
data18: specifies the number of physical disks. The value 0xFF indicates that this parameter is invalid.
13Obtaining the ID List of Logical Disks on a Specified Disk Array
Request:
Set Selector: ID of the specified RAID controller
Block Selector: low byte of the disk array ID
Extern Selector: high byte of the disk array ID
Response:
data1: ID of logical disk 1
data2: ID of logical disk 2
...
14Obtaining the ID List of Physical Disks on a Specified Disk Array
Request:
Set Selector: ID of the specified RAID controller
Block Selector: low byte of the disk array ID
Extern Selector: high byte of the disk array ID
Response:
data1: ID of physical disk 1
data2: ID of physical disk 2
...
15Obtaining the List of IDs of Specified Logical Disks as Dedicated Hot Spare Disks
Request:
Set Selector: ID of the RAID controller
Block Selector: specifies the logical disk ID.
Extern Selector: N/A. The value is 0xFF.
Response:
data1: ID of hot spare disk 1
data2: ID of hot spare disk 2
...
16Name and version of the RAID controller driver
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.
Response:
data1: length of the RAID controller driver name. The value is marked as M.
data2: (M+1): RAID controller driver name (character string). If M is 0, this field does not exist.
data (M+2): length of the RAID controller driver version. The value is N.
data2: (M+3): (M+2+N): RAID controller driver version (character string). If N is 0, this field does not exist.
17Obtain the out-of-band management capability of all RAID controller cards (except software RAID) in the environment.
Request:
Set Selector: N/A
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
dataN:N+7: Each RAID controller card occupies 8 bytes. RAID controller cards are not arranged in sequence.
data1: RAID controller ID
data2:Bus ID
data3:Device ID
data4:Function ID
data5: bit2:7: reserved. The default value is 0.bit1: indicates whether the RAID controller card supports SMART information collection. The value 1 indicates that the RAID controller card supports SMART information collection, and the value 0 indicates that the RAID controller card does not support SMART information collection.bit0: indicates whether the RAID controller card supports out-of-band management. The value 1 indicates that out-of-band management is supported, and the value 0 indicates that out-of-band management is not supported.
data6:8: reserved. The default value is 0.
18Obtain the indicator status of a specified hard drive.
Request:
Set Selector: N/A. The value is 0xFF.
Block Selector: physical drive ID
Extern Selector: N/A. The value is 0xFF.
Response
data1: Presence
data2: Activation
data3: Location
data4: Fault
19Obtains the logical disk ID list of a specified RAID controller.
Request:
Set Selector: ID of the specified RAID controller
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
data1:2: ID of logical disk 1
data3:4: ID of logical disk 2
...
data(2n-1):2n: ID of logical disk n
20Obtaining the ID List of Common Logical Disks Associated with a Specified CacheCade Logical Disk
Request:
Set Selector: ID of the RAID controller
Block Selector: CacheCade logical disk ID
Extern Selector: N/A. The value is 0xFF.
Response:
data1:2: ID of associated logical disk 1
data3:4: ID of associated logical disk 2
...
data(2n-1):2n: ID of associated logical disk n
21Obtains the logical disk ID list of a specified disk array.
Request:
Set Selector: ID of the specified RAID controller
Block Selector: low byte of the disk array ID
Extern Selector: high byte of the disk array ID
Response:
data1:2: ID of logical disk 1
data3:4: ID of logical disk 2
...
data(2n-1):2n: ID of logical disk n
22Obtains slow disk detection attributes.
Request:
Set Selector: N/A. The value is 0xFF.
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
data1: enable status
0: no
1: yes
data2:3: threshold for SMART information errors in slow disk detection (little-endian)
data4:5: threshold for the increase of SMART information errors in slow disk detection (little-endian)
data6: period for observing the increase of SMART information errors in slow disk detection (unit: day)
data7:8: RAID controller card information error threshold for slow disk detection, little-endian
data9:10: RAID controller card information error increase threshold for slow disk detection, little-endian
data11: observation period for detecting the increase of RAID controller card information errors in slow disks (unit: day)
data12:13: threshold for the number of timeout times of slow disk detection instructions, little-endian
data14: period for observing the number of timeout times of slow disk detection instructions (unit: day)
23Obtains subhealth detection attributes.
Request:
Set Selector: N/A. The value is 0xFF.
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
data1: enable status
0: no
1: yes
data2:3: threshold of subhealth check standard parameter 1, little-endian
data4:5: threshold of subhealth check standard parameter 2, little-endian
data6:7: threshold of subhealth check standard parameter 3, little-endian
24Proactively triggers disk log collection.
Request:
Set Selector: N/A
Block Selector: N/A
Extern Selector: N/A
25Obtaining Disk Diagnosis Parameter Settings
Request:
Set Selector:
0- obtains the parameter settings for NVMe SSD slow disk detection.
1- obtains the slow disk detection parameter settings of SAS SSDs.
255-Querying Whether Automatic Disk Log Collection Is Enabled and the Collection Period
Block Selector: N/A. Set it to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
When Set Selector in the request is set to 0:
data1: status of the NVMe slow disk detection function. 0: disabled; 1: enabled.
data2:3: average NVMe response delay threshold (ms, little-endian)
data4: number of times that the average NVMe latency exceeds the threshold
data5: multiple of the average response latency of NVMe quasi-slow disks in the disk domain
data6:7: standard average response latency of NVMe quasi-slow disks (unit: ms, little-endian)
When Set Selector in the request is set to 1:
data1: status of the SAS slow disk detection function. 0: disabled; 1: enabled.
data2:3: SAS average response delay threshold (ms, little-endian)
data4: number of times that the average SAS latency exceeds the threshold
data5: multiple of the average response latency of SAS quasi-slow disks in a disk domain
data6:7: standard average response latency of SAS quasi-slow disks (unit: ms, little-endian)
When the value of the request parameter Set Selector is 255 :
data1: enabled status. 1: enabled; 0: disabled.
data2: indicates the collection period. The value ranges from 1 to 255, in hours.
27Obtaining the Enabling Status of Out-of-Band Drive Fault Prediction
Request:
Set Selector: N/A. The value is 0xFF.
Block Selector: N/A. Set this parameter to 0xFF.
Extern Selector: N/A. The value is 0xFF.
Response:
data1: 0-disable; 1-enable
28Querying 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.
Response:
Data, data1: queries the power status of a specified physical disk slot. 0: powered off; 1: powered on; 255: UNKNOWN.

Command Example

Query the slow disk detection configuration of an NVMe SSD.

Request:

bash
ipmitool raw 0x30 0x93 0xdb 0x07 0x00 0x3D 0x00 0x19 0x00 0xFF 0xFF 0X00 0X00 0XFF

Response:

text
db 07 00 00 00 ff ff 00 00 00 00

Back to Index