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


Hardware Operations : Tape Library and Component Operations : Format Tapes

Format Tapes
Description
Format all eligible tapes. Tapes are not eligible if they have a state of EJECTED, LOST, EJECT_PENDING, or OFFLINE. In addition, the force parameter must be used to format a tape that contains data written by a BlackPearl gateway, to format a tape before it is inspected, to format a tape that has already been formatted by a BlackPearl gateway, or to format a tape that currently has reads or writes scheduled. If a tape contains data written by the current BlackPearl gateway, you must delete the objects and buckets before formatting the tape even if the force parameter is included.
*
The force parameter is not required to format a tape with the state UNKNOWN (see State). Any data on the tape media is lost during the format operation.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/tape/?operation=FORMAT[&force]
Request Parameters
Responses
Response Elements
The operation returns status only.
Notable status codes:
§
§
Example
Sample Request
This request queues all unformatted tapes to be formatted.
PUT http://blackpearl-hostname/_rest_/tape/?operation=FORMAT HTTP/1.1
Sample Response
HTTP/1.1 204 No Content