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/{StorageId}/StoragePools/{StoragePoolId}
Response body
Field | Type | Description | ||
---|---|---|---|---|
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. | ||
CapacitySources | Array | An array of space allocations to this store. | ||
CapacitySources[] | Object | Each element of space allocations to this store. | ||
ProvidingDrives | Link | The drive or drives that provide this space. | ||
Id | String | The resource ID of the CapacitySource. | ||
Name | String | The resource name of the CapacitySource. | ||
Description | String | The description of this CapacitySource. | ||
Description | String | This resource is used to represent StoragePool in Redfish implementation. | ||
EncryptionEnabled | Boolean | The value of this property shall be a boolean indicating whether encryption is enabled. | ||
Id | String | Volume Id | ||
Link | Object | Expanded. | ||
DedicatedSpareDrives | Array | An array of references to the drives which are dedicated spares for this volume. | ||
MaxBlockSizeBytes | Number | Max Block size in bytes. | ||
Name | String | Volume info name | ||
RemainingCapacityPercent | Number | The percentage of the capacity remaining in the Volume. | ||
Status | Object | The status of this storage pool. | ||
State | String | The state of this storage pool. | ||
Health | String | The health 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:
{
"@odata.context": "/redfish/v1/$metadata#StoragePool.StoragePool",
"@odata.etag": "\"021A239E\"",
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/StoragePools/Pool_8_238",
"@odata.type": "#StoragePool.StoragePool",
"AllocatedVolumes": {
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/StoragePools/ Pool_8_238/AllocatedVolumes"
},
"Capacity": {
"Data": {
"AllocatedBytes": 3997997989888,
"ConsumedBytes": 3997997989888
}
},
"CapacitySources": [
{
"@odata.context": "/redfish/v1/$metadata#Capacity.CapacitySource",
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/StoragePools/ Pool_8_238/CapacitySources/1",
"@odata.type": "#Capacity.v1_2_0.CapacitySource",
"Description": "The resource is used to represent a capacity for a Redfish implementation.",
"Id": 1,
"Name": "CapacitySources_1",
"ProvidingDrives": {
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/StoragePools/ Pool_8_238/CapacitySources/1/ProvidingDrives"
}
}
],
"Description": "This resource is used to represent a storage pool for a Redfish implementation.",
"EncryptionEnabled": false,
"Id": "Pool_8_238",
"Links": {
"DedicatedSpareDrives": []
},
"MaxBlockSizeBytes": 512,
"Name": "Pool_8_238",
"RemainingCapacityPercent": 0,
"Status": {
"Health": "OK",
"State": "Enabled"
},
"SupportedRAIDTypes": [
"RAID10"
]
}