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

Obtain Power Status of a Hard Disk

Change History

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

Basic Information

Function Description

Obtaining the Power Status of a Hard Disk

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFn32h
CMDd0h
1:3fruId
4deviceId
5sdrType :09h
6slotId: specifies the disk ID.

Response Information

ByteData Field
1Completion Code
2disk power state:
2: The hard disk is powered on.
3: The hard disk is powered off.

Command Example

Query the power status of hard disk 1.

Request:

bash
ipmitool raw 0x32 0xd0 0x00 0x00 0x80 0x00 0x09 0x01

Response:

text
02

Back to Index