Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Get system drives associated with a storage pool

Retrieves system drives used to create a storage pool on the storage system.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/storage-pools/{storagePoolId}/system-drives
Parameters
Name Type Required Values Description
storagePoolId URI_PARAM Y string/number Specifies either the storage pool object ID or HNAS storage pool ID.
Return codes
Code Data Description
200 systemDrives Array of system drives was retrieved successfully.
400 Error Message Missing or invalid request contents.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example: Get first 2 system drives using the storage pool object ID
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/storage-pools/393637373036323034343433363639353430343a3a3a/system-drives?pageSize=2
Response example: Using the storage pool object ID
HTTP/1.1 200 OK
{
  "systemDrives": [
    {
      "capacity": 322122547200,
      "comment": "",
      "controllerPort": "0900",
      "externalLUN": "0",
      "internalLUN": "0035",
      "isAccessAllowed": true,
      "isAssignedToStoragePool": true,
      "isMirrorPrimary": true,
      "isMirrored": false,
      "label": "0035",
      "mirrorDriveUniqueId": "",
      "model": "OPEN-V",
      "objectId": "303a3a3a3a3a3a303a3a3a4f49445f24232140255f56",
      "queueDepth": -1,
      "rackName": "442029",
      "status": "OK",
      "subModel": "HM84",
      "systemDriveId": 0,
      "tier": "NO_TIER",
      "uniqueId": "31096614-12818-924508064-924500053",
      "vendor": "HITACHI"
    },
    {
      "capacity": 322122547200,
      "comment": "",
      "controllerPort": "0D00",
      "externalLUN": "1",
      "internalLUN": "0036",
      "isAccessAllowed": true,
      "isAssignedToStoragePool": true,
      "isMirrorPrimary": true,
      "isMirrored": false,
      "label": "0036",
      "mirrorDriveUniqueId": "",
      "model": "OPEN-V",
      "objectId": "313a3a3a3a3a3a303a3a3a4f49445f24232140255f56",
      "queueDepth": -1,
      "rackName": "442029",
      "status": "OK",
      "subModel": "HM84",
      "systemDriveId": 1,
      "tier": "NO_TIER",
      "uniqueId": "31096614-12818-924508064-924500054",
      "vendor": "HITACHI"
    }
  ]
}
Request example: Get first 2 system drives using the HNAS storage pool ID
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/storage-pools/505793010106320088/system-drives?pageSize=2
Response example: Using the HNAS storage pool ID
HTTP/1.1 200 OK
{
  "systemDrives": [
    {
      "capacity": 322122547200,
      "comment": "",
      "controllerPort": "0900",
      "externalLUN": "0",
      "internalLUN": "0035",
      "isAccessAllowed": true,
      "isAssignedToStoragePool": true,
      "isMirrorPrimary": true,
      "isMirrored": false,
      "label": "0035",
      "mirrorDriveUniqueId": "",
      "model": "OPEN-V",
      "objectId": "303a3a3a3a3a3a303a3a3a4f49445f24232140255f56",
      "queueDepth": -1,
      "rackName": "442029",
      "status": "OK",
      "subModel": "HM84",
      "systemDriveId": 0,
      "tier": "NO_TIER",
      "uniqueId": "31096614-12818-924508064-924500053",
      "vendor": "HITACHI"
    },
    {
      "capacity": 322122547200,
      "comment": "",
      "controllerPort": "0D00",
      "externalLUN": "1",
      "internalLUN": "0036",
      "isAccessAllowed": true,
      "isAssignedToStoragePool": true,
      "isMirrorPrimary": true,
      "isMirrored": false,
      "label": "0036",
      "mirrorDriveUniqueId": "",
      "model": "OPEN-V",
      "objectId": "313a3a3a3a3a3a303a3a3a4f49445f24232140255f56",
      "queueDepth": -1,
      "rackName": "442029",
      "status": "OK",
      "subModel": "HM84",
      "systemDriveId": 1,
      "tier": "NO_TIER",
      "uniqueId": "31096614-12818-924508064-924500054",
      "vendor": "HITACHI"
    }
  ]
}

 

  • Was this article helpful?