/
Getting full information from a certain Direct Storage
Getting full information from a certain Direct Storage
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 | Direct Storage's unique identifier |
---|---|---|
host_list | Array de String | List of Hosts linked to this Direct Storage |
disks | Array de PhysicalDiskInfo | List of Physical Disks available on this Direct Storage |
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 Physical Disk, or empty if free |
JSON example
{ "volume_id": "samsung_ssd", "product_number": "Samsung", "physical_disk_id": "3500253887013e77e", "vendor": "ATA", "host_device": "/dev/sdb" }