Set Power Status of a Hard Disk
更新时间: 2026/08/06
在Gitcode上查看源码Set Power Status of a Hard Disk
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Sets the power status of a hard disk.
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 32h |
| CMD | d1h |
| 1:3 | fruId |
| 4 | deviceId |
| 5 | sdrType:0x08 |
| 6 | frameNum, 0x00 reserved |
| 7 | slotId: specifies the disk ID. |
| 8 | powerCmd: 1: Reset the hard disk power supply. 2: command for powering on a hard disk 3: command for powering off a hard disk |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
Command Example
Set the power status of the hard disk whose ID is 1 to power on.
Request:
bash
ipmitool raw 0x32 0xd1 0x00 0x00 0x80 0x00 0x08 0x00 0x01 0x02Response:
text