跳到主要内容

GET – 存储控制器属性

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

请求 URL

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

响应正文

字段

类型

描述

Description

字符串

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

Id

字符串

此资源的标识符。

Links

对象

已展开。

 

Enclosures

数组

机箱资源的 URI 引用。

  

Enclosures[N]

对象

链接:/redfish/v1/Chassis/1

Name

字符串

此资源的名称。

Status

对象

已展开。

 

State

字符串

“Enabled”

 

HealthRollup

字符串

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

 

Health

字符串

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

StoragePools

链接

存储池集合的链接。

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

StorageControllers

数组

所选存储的控制器信息

 

StorageControllers[N]

对象

已展开

  

AssetTag

字符串

此存储控制器的资产标记。

  

SupportedRAIDTypes

数组

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

   

SupportedRAIDTypes[N]

字符串

已展开。

  

FirmwareVersion

字符串

控制器的固件信息。

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

PCIeInterface

对象

已展开。

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

MaxLanes

整数

支持的 PCIe 通道数。

   

MaxPCIeType

整数

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

   

PCIeType

整数

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

   

LanesInUse

整数

正在使用的 PCIe 通道数。

  

Identifiers

数组

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

项数:1

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

Identifiers[N]

对象

已展开。

    

DurableNameFormat

字符串

“UUID”

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

DurableName

字符串

此存储控制器的 UUID。

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

Manufacturer

字符串

此存储控制器的制造商。

  

Model

字符串

这是存储控制器的型号

  

MemberId

字符串

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

  

Name

字符串

存储控制器的名称。

  

Cachesummary

对象

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

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

TotalCacheSizeMiB

整数

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

   

PersistentCacheSizeMiB

整数

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

   

Status

对象

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

    

State

字符串

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

    

Health

字符串

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

  

Location

对象

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

PartLocation

对象

部件位置。

    

LocationOrdinalValue

整数

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

    

LocationType

字符串

“Slot”

    

ServiceLabel

字符串

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

  

SKU

字符串

此存储控制器的 SKU。

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

PartNumber

字符串

此存储控制器的部件号。

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

SerialNumber

字符串

此存储控制器的序列号。

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

SpeedGbps

数字

存储控制器的设备接口的最大速度。

  

SupportedControllerProtocols

数组

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

   

SupportedControllerProtocols[N]

字符串

枚举字符串

PCIe

  

SupportedDeviceProtocols

数组

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

   

SupportedDeviceProtocols[N]

字符串

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

  

Status

对象

此存储控制器的状态。

   

State

字符串

此存储控制器的状态。

   

Health

字符串

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

Drives

数组

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

 

Drives[N]

对象

链接

Volumes

数组

控制器创建的卷。

 

Volumes[N]

对象

链接

状态代码

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

示例

返回以下示例 JSON 响应:

{
"Drives": [
{
"@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot18/Drives/Disk.0"
},


{
"@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot18/Drives/Disk.11"
}
],
"@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot18",
"Volumes": {
"@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot18/Volumes"
},
"StorageControllers": [
{
"SerialNumber": "SP627P1828",
"SupportedDeviceProtocols": [
"SATA",
"SAS"
],
"@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot18#/StorageControllers/0",
"AssetTag": "",
"MemberId": "0",
"Location": {
"PartLocation": {
"LocationType": "Slot",
"ServiceLabel": "PCI 18",
"LocationOrdinalValue": 18
},
"InfoFormat": "Slot X",
"Info": "Slot 18",
"Info@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead.",
"InfoFormat@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead."
},
"FirmwareVersion": "51.10.0-2837",
"Status": {
"Health": "OK"
},
"SupportedControllerProtocols": [
"PCIe"
],
"Name": "ThinkSystem RAID 930-16i 4GB Flash PCIe 12Gb Adapter",
"SKU": "01KN508",
"Oem": {
"Lenovo": {
"SupportedRaidLevels": "0/1/5/6/10/50/60",
"Battery": {
"SerialNumber": "7962",
"RemainingCapacity": "362J",
"DesignVoltageMV": 9500,
"CurrentMA": 0,
"ProductName": "CVPM05",
"OperationalStatus": "Operational",
"DesignCapacity": "306J",
"VoltageMV": 9829,
"TemperatureCelsius": 28,
"BatteryType": "TMMC",
"Manufacturer": "LSI",
"Chemistry": "EDLC",
"FirmwareDescription": "07251-00",
"FullChargeCapacity": "0J"
},
"Mode": "RAID/JBOD",
"SupportedRaidLevels@Redfish.Deprecated": "The property is deprecated. Please use SupportedRAIDTypes instead."
}
},
"Identifiers": [
{
"DurableNameFormat": "UUID",
"DurableName": "0000000000000000500605B2016249C0"
}
],
"PartNumber": "SR17A04506",
"SpeedGbps": 12,
"Manufacturer": "Lenovo",
"SupportedRAIDTypes": [
"RAID0",
"RAID1",
"RAID5",
"RAID6",
"RAID10",
"RAID50",
"RAID60"
],
"Model": "SAS3516",
"CacheSummary": {
"Status": {
"State": "Enabled",
"Health": "Warning"
},
"TotalCacheSizeMiB": 4096,
"PersistentCacheSizeMiB": 128
}
}
],
"Name": "RAID Storage",
"StorageControllers@odata.count": 1,
"Id": "RAID_Slot18",
"@odata.type": "#Storage.v1_7_0.Storage",
"Links": {
"Enclosures": [
{
"@odata.id": "/redfish/v1/Chassis/1"
}
]
},
"Drives@odata.count": 12,
"@odata.etag": "\"f8bf8ed58a4584cf58c6a1a8eff8af13\"",
"Status": {
"State": "Enabled",
"Health": "OK",
"HealthRollup": "OK"
},
"Description": "This resource is used to represent a storage for a Redfish implementation."
}