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


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

Eject Storage Domain
Description
Ejects all eligible tapes within the specified storage domain. If a tape is being used for a job, it is ejected once it is no longer in use.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/tape/?operation=EJECT &storage_domain_id={string}[&bucket_id={string}] [&eject_label={string}][&eject_location={string}]
Request Parameters
Request Elements
An optional XML payload, formatted as follows, can 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 to be ejected.
PUT http://blackpearl-hostname/_rest_/tape/?operation=EJECT&storage_domain_id=2a48ae2c-5c0e-47c4-a800-ec54aa4f7abc HTTP/1.1
Sample Response
HTTP/1.1 204 No Content