跳到主要内容

GET – 存储控制器属性

使用 GET 方法检索服务器的存储资源的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Storage/{Id}

响应正文

字段

类型

描述

Drives

数组

连接到所选控制器的硬盘。

 

Drives[N]

对象

硬盘的链接。

Description

字符串

“This resource is used to represent a storage for a Redfish implementation.”

Volumes

数组

控制器创建的卷。

Id

字符串

此资源的标识符。

HotspareActivationPolicy

字符串

激活此存储域中的热备用硬盘的策略。

Links

对象

与此资源相关的其他资源的链接。

Name

字符串

此资源的名称。

Status

对象

已展开。

 

State

字符串

Enabled

 

Health

字符串

此存储的总体运行状况信息,包括控制器、硬盘和卷。

 

HealthRollup

字符串

表示此资源的视图中的总体运行状况状态。

StoragePools

链接

存储池集合的链接。

如果存储是 RAID 存储控制器,则将显示此对象。

StorageControllers

数组

所选存储的控制器信息

 

StorageControllers[N]

对象

已展开。

  

MemberId

字符串

这是集合中成员的标识符。

  

SupportedRAIDTypes

数组

存储控制器支持的 RAID 类型集。

   

SupportedRAIDTypes[N]

字符串

已展开。

  

FirmwareVersion

字符串

控制器的固件信息。

如果存储是直连存储,则此属性将被隐藏。
  

Identifiers

数组

项:存储控制器的持久名称。

项数:1

如果存储是直连存储,则此数组将被隐藏。
   

Identifiers[N]

对象

已展开。

    

DurableNameFormat

字符串

“UUID”

如果存储是直连存储,则此对象将被隐藏。
    

DurableName

字符串

此存储控制器的 UUID。

如果存储是直连存储,则此对象将被隐藏。
  

Manufacturer

字符串

此存储控制器的制造商。

  

Model

字符串

这是存储控制器的型号

  

Name

字符串

存储控制器的名称。

  

CacheSummary

对象

存储控制器高速缓存的大致详细信息。

如果存储是 M.2/7 毫米或 NVMe 存储,则此对象将被隐藏。
   

TotalCacheSizeMiB

整数

配置的总高速缓存(以 MiB 为单位)。

   

PersistentCacheSizeMiB

整数

高速缓存中的持久性部分(以 MiB 为单位)。

   

Status

对象

此存储控制器的缓存摘要的状态。

    

State

字符串

此存储控制器的缓存摘要的状态。可能的值为“Enabled”和“Disabled”。

    

Health

字符串

此存储控制器的缓存摘要的运行状况。

  

ControllerRates

对象

此属性描述用于卷重建或一致性检查等过程的各种控制器速率。

   

ConsistencyCheckRatePercent

整数

用于对卷执行数据一致性检查的控制器资源所占的百分比。

   

RebuildRatePercent

整数

用于重建/修复卷的控制器资源百分比。

   

TransformationRatePercent

整数

用于将卷从一种配置转换为另一种配置的控制器资源百分比。

  

PCIeInterface

对象

已展开。

如果存储是主机总线适配器或 7 毫米存储,则将显示此对象。
   

LanesInUse

整数

正在使用的 PCIe 通道数。

   

MaxLanes

整数

支持的 PCIe 通道数。

   

MaxPCIeType

整数

支持的 PCIe 规范的最高版本。

   

PCIeType

整数

正在使用的 PCIe 规范的版本。

  

PartNumber

字符串

此存储控制器的部件号。

如果存储是直连存储,则此属性将被隐藏。
  

SKU

字符串

此存储控制器的 SKU。

如果存储是直连存储,则此属性将被隐藏。
  

SerialNumber

字符串

此存储控制器的序列号。

如果存储是直连存储,则此属性将被隐藏。
  

Status

对象

此存储控制器的状态。

   

State

字符串

此存储控制器的状态。

  

SupportedControllerProtocols

数组

已展开。

   

SupportedControllerProtocols[N]

字符串

支持用于与此存储控制器通信的协议集。

  

SupportedDeviceProtocols

数组

存储控制器可用于与连接的设备进行通信的协议。

   

SupportedDeviceProtocols[N]

字符串

可能的值为“SAS”/“SATA”/“NVMe”。

  

Location

对象

存储控制器的位置。
如果存储是直连存储,则此对象将被隐藏。
   

PartLocation

对象

部件位置。

    

LocationOrdinalValue

整数

表示此存储控制器的位置的数字。

    

LocationType

字符串

“Slot”

    

ServiceLabel

字符串

此存储控制器的服务标签。

状态代码

HTTP 状态代码错误消息 ID
500InternalError

示例

返回以下示例 JSON 响应:

{
"@odata.context": "/redfish/v1/$metadata#Storage.Storages",
"@odata.etag": "\"D3601548\"",
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8",
"@odata.type": "#Storage.v1_15_0.Storage",
"Actions": {
"Oem": {
...
}
}
},
"Description": "This resource is used to represent a storage for a Redfish implementation.",
"Drives": [
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Drives/drive_bay_7"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Drives/drive_bay_5"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Drives/drive_bay_6"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Drives/drive_bay_3"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Drives/drive_bay_0"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Drives/drive_bay_1"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Drives/drive_bay_2"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Drives/drive_bay_4"
}
],
"Drives@odata.count": 8,
"Id": "controller_slot8",
"Name": "ThinkSystem RAID 940-8i 4GB Flash PCIe Gen4 12Gb Adapter",
"Status": {
"Health": "Warning",
"HealthRollup": "Warning",
"State": "Enabled"
},
"StorageControllers": [
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8#/StorageControllers/0",
"CacheSummary": {
"PersistentCacheSizeMiB": 3142,
"Status": {
"Health": "OK",
"State": "Enabled"
},
"TotalCacheSizeMiB": 4096
},
"FirmwareVersion": "52.32.0-5785",
"Identifiers": [
{
"DurableName": "BE2F1F5977264864A926E98498C466A2",
"DurableNameFormat": "UUID"
}
],
"Location": {
"PartLocation": {
"LocationOrdinalValue": 8,
"LocationType": "Slot",
"ServiceLabel": "Slot=8"
}
},
"Manufacturer": "Lenovo",
"MemberId": "0",
"Model": "SAS3916",
"Name": "ThinkSystem RAID 940-8i 4GB Flash PCIe Gen4 12Gb Adapter",
"Oem": {
...
}
},
"PCIeInterface": {
"LanesInUse": 8,
"MaxLanes": 8,
"MaxPCIeType": "Gen4",
"PCIeType": "Gen4"
},
"PartNumber": "SR17A32432",
"SKU": "01PE816",
"SerialNumber": "L1FM192SA63",
"Status": {
"Health": "Warning",
"State": "Enabled"
},
"SupportedControllerProtocols": [
"PCIe"
],
"SupportedDeviceProtocols": [
"SAS",
"SATA",
"NVMe"
],
"SupportedRAIDTypes": [
"RAID0",
"RAID1",
"RAID00",
"RAID10"
]
}
],
"StorageControllers@odata.count": 1,
"StoragePools": {
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/StoragePools"
},
"Volumes": {
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Volumes"
}
}