Obtain Power Status of a Hard Disk
更新时间: 2026/08/06
在Gitcode上查看源码Obtain 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
Obtaining the Power Status of a Hard Disk
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 32h |
| CMD | d0h |
| 1:3 | fruId |
| 4 | deviceId |
| 5 | sdrType :09h |
| 6 | slotId: specifies the disk ID. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | disk 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 0x01Response:
text
02