Set Power Status of a Hard Disk
更新时间: 2026/08/06
在Gitcode上查看源码

Set Power Status of a Hard Disk

Change History

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

Basic Information

Function Description

Sets the power status of a hard disk.

Privilege

BasicSetting

Command Information

Request Information

ByteData Field
NetFn32h
CMDd1h
1:3fruId
4deviceId
5sdrType:0x08
6frameNum, 0x00 reserved
7slotId: specifies the disk ID.
8powerCmd:
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

ByteData Field
1Completion 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 0x02

Response:

text

Back to Index