Getting full information from a certain DirectStorage
Format
Method | GET |
---|---|
URL | /directstorages/$DIRECT_STORAGE_ID |
Request contents | Empty |
Successful answer | DirectStorageInfo Object |
Non-successful answer | ErrorMessage Object |
Unexpected error | HTTP 500 |
DirectStorageInfo Object
Schema
direct_storage_id | String | DirectStorage's unique identifier |
---|---|---|
host_list | Array de String | List of Hosts linked to this DirectStorage |
disks | Array de PhysicalDiskInfo | List of PhysicalDisks available on this DirectStorage |
JSON example
{ "media_storage_id" : "dataon" , "host_list" : [ "flexdev01" ], "disks" : [{ "volume_id" : "samsung_ssd" , "product_number" : "Samsung" , "physical_disk_id" : "3500253887013e77e" , "vendor" : "ATA" , "host_device" : "/dev/sdb" }] } |
PhysicalDiskInfo Object
Schema
physical_disk_id | String | Physical disk's unique identifier |
---|---|---|
product_number | String | Product number string |
vendor | String | Vendor string |
host_device | String | Linux devices assigned to this device on the first Host |
volume_id | String | Volume's unique identifier which owns this PhysicalDisk, or empty if free |
JSON example
{ "volume_id" : "samsung_ssd" , "product_number" : "Samsung" , "physical_disk_id" : "3500253887013e77e" , "vendor" : "ATA" , "host_device" : "/dev/sdb" } |