Get system drives

NAS File Storage REST API v7 Reference

Version
14.7.x
14.6.x
Audience
anonymous
Part Number
MK-92HNAS088-05

Retrieves system drives on the storage system.

HTTP request syntax (URI)

GET <base_URI>/v7/storage/system-drives

Return codes

Code Data Description
200 systemDrives Array of system drives retrieved successfully.
500 Error message Error associated with the storage system.
501 No Data Server has not implemented the request operation on the resource.

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

Request example

curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v7/storage/system-drives

Response example

HTTP/1.1 200 OK
{
  "systemDrives" : [
      {
         "capacity" : 214748364800,
         "comment" : "",
         "controllerPort" : "0000",
         "externalLUN" : "10",
         "internalLUN" : "0064",
         "isAccessAllowed" : true,
         "isAssignedToStoragePool" : false,
         "isMirrorPrimary" : true,
         "isMirrored" : false,
         "label" : "0064",
         "mirrorDriveUniqueId" : "31096614-12822110-17001110-17000100",
         "model" : "OPEN-V",
         "objectId" : "303a3a3a4f49445f24232140255f56",
         "queueDepth" : -1,
         "rackName" : "93935",
         "status" : "OK",
         "subModel" : "R700",
         "systemDriveId" : 0,
         "tier" : "NO_TIER",
         "uniqueId" : "31096614-12822110-17001110-17000100",
         "vendor" : "HITACHI"
      },
      {
         "capacity" : 214749020160,
         "comment" : "",
         "controllerPort" : "0000",
         "externalLUN" : "0",
         "internalLUN" : "00A5",
         "isAccessAllowed" : true,
         "isAssignedToStoragePool" : true,
         "isMirrorPrimary" : true,
         "isMirrored" : false,
         "label" : "00A5",
         "mirrorDriveUniqueId" : "31096614-128193966080323966000-91",
         "model" : "OPEN-V",
         "objectId" : "313a3a3a4f49445f24232140255f56",
         "queueDepth" : -1,
         "rackName" : "210050",
         "status" : "OK",
         "subModel" : "HM70",
         "systemDriveId" : 1,
         "tier" : "NO_TIER",
         "uniqueId" : "31096614-128193966080323966000-91",
         "vendor" : "HITACHI"
      }
    ]
}