Spectra Logic
1-800-833-1132 : 1-303-449-6400


Hardware Operations : Tape Library and Component Operations : Eject Storage Domain Blobs

Eject Storage Domain Blobs
Description
Ejects all tapes that are eligible to be ejected within the storage domain specified for the blob payload included. If a tape is in use, it is ejected once it is no longer in use.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/tape/?operation=EJECT&blobs &storage_domain_id={string}&bucket_id={string} [&eject_label={string}][&eject_location={string}]
Request Parameters
Request Elements
An optional XML payload, formatted as follows, must be sent to specify certain object parts to eject:
<Objects
   <Object Name="{
string}" Length="{64-bit integer}"
      Offset="{64-bit integer}"/>
   ...
</Objects>
where the parameters are defined as follows:
Responses
Response Elements
The operation returns status only.
Notable status codes:
§
§
§
Example
Sample Request
This request queues all eligible tapes in the storage domain with UUID 2a48ae2c-5c0e-47c4-a800-ec54aa4f7abc, assigned to “bucket1” and containing pieces of the object “Object1”, to be ejected.
PUT http://blackpearl-hostname/_rest_/tape/?operation=EJECT&blobs&bucket_id=bucket1&storage_domain_id=2a48ae2c-5c0e-47c4-a800-ec54aa4f7abc HTTP/1.1
<Objects
   <Object Name="Object1">
</Objects>
Sample Response
HTTP/1.1 204 No Content