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


Hardware Operations : Tape Library and Component Operations : Clean Tape Drive

Clean Tape Drive
Description
Clean the specified tape drive.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/tape_drive/{tape_drive_id}?operation=CLEAN
To determine the UUID for a tape drive, see Get Tape Drives.
Request Parameters
Responses
Response Elements
<Data>
   <ErrorMessage>{
string}</ErrorMessage>
   <CleaningRequired>TRUE|FALSE</CleaningRequired>
   <ForceTapeRemoval>TRUE|FALSE</ForceTapeRemoval>
   <Id>{string}</Id>
   <LastCleaned>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastCleaned>
   <PartitionId>{string}</PartitionId>
   <Quiesced>NO|PENDING|YES</Quiesced>
   <ReservedTaskType>ANY|READ|WRITE</ReservedTaskType>
   <SerialNumber>{string}</SerialNumber>
   <State>
      ERROR|NORMAL|
      NOT_COMPATIBLE_IN_PARTITION_DUE_TO_NEWER_TAPE_DRIVES|OFFLINE
   </State>
   <TapeId>{string}</TapeId>
   <Type>
      LTO5|LTO6|LTO7|LTO8|LTOM8|TS1140|TS1150|TS1155|UNKNOWN
   </Type>
</Data>
where the response elements are defined as follows:
The status of the tape drive. Values: ERROR, NORMAL, NOT_COMPATIBLE_IN_PARTITION_DUE_TO_NEWER_TAPE_DRIVES, OFFLINE
The tape format and generation of the tape drive.
Values:
LTO5, LTO6, LTO7, LTO8, TS1140, TS1150, TS1155, UNKNOWN
Example
Sample Request
This request cleans the tape drive with the UUID ab9146b8-feca-4023-8c45-0d60268ad115.
PUT http://blackpearl-hostname/_rest_/tape_drive/ab9146b8-feca-4023-8c45-0d60268ad115?operation=CLEAN HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <CleaningRequired>FALSE</CleaningRequired>
   <ErrorMessage/>
   <ForceTapeRemoval>FALSE</ForceTapeRemoval>
   <Id>ab9146b8-feca-4023-8c45-0d60268ad115</Id>
   <LastCleaned/>
   <PartitionId>703a0ad2-a86d-4d2a-97c9-56c2a59a718f</PartitionId>
   <Quiesced>NO</Quiesced>
   <ReservedTaskType>ANY</ReservedTaskType>
   <SerialNumber>68001883</SerialNumber>
   <State>NORMAL</State>
   <TapeId/>
   <Type>UNKNOWN</Type>
</Data>