Set RAID Parameter Command
更新时间: 2026/08/06
在Gitcode上查看源码

Set RAID Parameter Command

Change History

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

Basic Information

Function Description

This command is used to set RAID parameters.

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=34h
5Raid Controller Id(1 based)
6Raid Id(1 based)
7Parameter selector. For details, see Table 1.
8[7:1]: reserved
[0]: cascading flag
0: last data
1: middle data
9:10Offset of the written data, starting from 0.
Write data in sequence when they are written as multiple frames.
11:12Length: write length
11:NConfiguration parameter data

Response Information

ByteData Field
1Completion Code
80h=parameter not supported.
81h=attempt to set the 'set in progress' value (in parameter #0) when not inthe 'set complete' state. (This completion code provides a way torecognize that another party has already 'claimed' the parameters.)
82h=attempt to write read-only parameter
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.

Reference Information

Table 1 RAID parameters

Parameter#DataDescription
Raid -create Partition00hdata1-Partition/LUN Number
data2:5-first Partition size(MBYTE, LSB)
data6:9-second Partition size
data10:13-third Partition size
......
dataN:N+3-nth Partition size
Creates partitions.
Partition Access state(x86)01hdata1-Partition Selector(Set Selector)
data2-enable state
[7]-read enable state 0b-disable 1b-enable
[6]-write enable state 0b-disable 1b-enable
[5:0]-reservd
Enables a partition to read.
Partition owner02hdata1-owner
00h BMC
01h X86
Sets the partition owner.
Raid -primiarySD Sel03hdata1-SD Card slotSets the active SD card.
Raid -read err threshold04hdata1:4-thresholdSets the read error threshold.
Raid -write err threshold05hdata1:4-thresholdSets the write error threshold.
sync mode06hdata1-mode
00h auto
01h manual
Specifies the synchronization mode (manual or automatic).
start raid rebuild07hdata1-direction
00h SD1->SD2
01h SD2->SD1
Set the synchronization direction.
rebuild status08hdata1
0: The storage volume is in sync (synchronized)
1: partition is out of sync (waiting for synchronization)
2: partition sync is in progres (being synchronized)
3: partition sync was attempted and failed (synchronization failure)
This item checks synchronization status.
rebuild dir09hdata1
00h SD1->SD2
01h SD2->SD1
02h: Synchronization conditions are not met.
When data2 to data5 are 02, each bit indicates whether a condition is met.
To query the expected synchronization direction
clear metadata0ahnaClears meta data.

Command Example

Set the SD owner to x86.

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index