GET – StoragePool managed by storage controller
Use the GET method to retrieve the StoragePool resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Storage/Id/StoragePools/{StoragePoolId}
Response body
Field | Type | Description | ||
---|---|---|---|---|
Id | String | Volume Id | ||
Name | String | Volume info name | ||
Description | String | This resource is used to represent StoragePool in Redfish implementation. | ||
AllocatedVolumes | Link | A reference to the collection of volumes allocated from this storage pool. | ||
Capacity | Object | Capacity utilization. | ||
Data | Object | The capacity information relating to the user data. | ||
AllocatedBytes | Integer | The number of bytes currently allocated by the storage system in this data store for this data type. | ||
ConsumedBytes | Integer | The number of bytes consumed in this data store for this data type. | ||
Metadata | Object | The capacity information relating to metadata. | ||
Snapshot | Object | The capacity information relating to snapshot or backup data. | ||
CapacitySources | Array | An array of space allocations to this store. | ||
CapacitySources[N] | Object | Each element of space allocations to this store. | ||
Id | String | The resource ID of the CapacitySource. | ||
Name | String | The resource name of the CapacitySource. | ||
Description | String | The description of this CapacitySource. | ||
ProvidingDrives | Link | The drive or drives that provide this space. | ||
Status | Object | The status of this storage pool. | ||
State | String | The state of this storage pool. | ||
SupportedRAIDTypes | Array | A collection of the RAID Types supported by the storage pool. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"Capacity": {
"Metadata": {},
"Snapshot": {},
"Data": {
"AllocatedBytes": 298999349248,
"ConsumedBytes": 298999349248
}
},
"Description": "The resource is used to represent a storage pool for a Redfish implementation.",
"Name": "Pool_1_1",
"@odata.etag": "\"7a4f29555d192af3bb5\"",
"CapacitySources": [
{
"Id": "1",
"Name": "CapacitySources_1",
"@odata.type": "#Capacity.v1_1_3.CapacitySource",
"@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot14/StoragePools/Pool_1_1/CapacitySources/1",
"ProvidingDrives": {
"@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot14/StoragePools/Pool_1_1/CapacitySources/1/ProvidingDrives"
},
"Description": "The resource is used to represent a capacity for a Redfish implementation.",
"@odata.etag": "\"31dd7e507e4725a6be5\""
}
],
"Id": "Pool_1_1",
"AllocatedVolumes": {
"@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot14/StoragePools/Pool_1_1/AllocatedVolumes"
},
"Status": {
"State": "Enabled"
},
"SupportedRAIDTypes": [
"RAID1"
],
"@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot14/StoragePools/Pool_1_1",
"CapacitySources@odata.count": 1,
"@odata.type": "#StoragePool.v1_5_0.StoragePool"
}