Get SAS DiskInfo
更新时间: 2026/08/06
在Gitcode上查看源码

Get SAS DiskInfo

Change History

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

Basic Information

Function Description

Obtains SAS disk information.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD95h
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=04h
5Parameter Selector
6JBOD Slot No.
7Specifies the start number of the hard disk to be queried.
8Specifies the number of hard disks to be queried.

Response Information

ByteData Field
1Completion Code
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.
5:NDisk Information

Reference Information

Table 1 Disk Information

-#Data Field
Disk Presence01data1 JBOD slot number
Start disk ID for data2 query
Number of data3 disks
data4-n: disk presence information
1: The SIM card is in position.
0: The SIM card is not in position.
Disk Information02data1 JBOD slot number
Start disk ID for data2 query
Number of data3 disks
data4: first disk type
0: no disk
1 indicates a SAS disk.
Indicates a SATA disk.
Data5: supported rate of the first hard disk
0: no disk
1:1.5G
2: 3G
3: 6 Gbit/s
4: 12 Gbit/s
data6-7: rotational speed of the first hard disk (RPM)
Capacity of the first hard disk in data 8-9 (GB)
data10-29: serial number of the first hard disk (character string)
data30-n subsequent disk information

Command Example

Obtain SAS disk information.

Request:

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

Response:

text
0f MM NN

Back to Index