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


Hardware Operations : Tape Library and Component Operations : Import LTFS Foreign Tape

Import LTFS Foreign Tape
Description
Imports a non-BlackPearl LTFS foreign tape. See Import BlackPearl Foreign Tape to import a BlackPearl foreign tape.
Notes:
§
§
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/tape/{unique identifier or attribute}?operation=IMPORT&bucket_id={string}
[&storage_domain_id={string}]
[&task_priority=URGENT|HIGH|NORMAL|LOW]
Request Parameters
The priority for processing this task. The task_priority determines the resources assigned and the processing order.
Values: URGENT, HIGH, NORMAL, LOW (default)
Responses
Response Elements
<Data>
   <AssignedToStorageDomain>TRUE|FALSE</AssignedToStorageDomain>
   <AvailableRawCapacity>{
64‑bit integer}</AvailableRawCapacity>
   <BarCode>{string}</BarCode>
   <BucketId>{string}</BucketId>
   <DescriptionForIdentification>
      {string}
   </DescriptionForIdentification>
   <EjectDate>{YYYY-MM-DDThh:mm:ss.xxxZ}</EjectDate>
   <EjectLabel>{string}</EjectLabel>
   <EjectLocation>{string}</EjectLocation>
   <EjectPending>{YYYY-MM-DDThh:mm:ss.xxxZ}</EjectPending>
   <FullOfData>TRUE|FALSE</FullOfData>
   <Id>{
string}</Id>
   <LastAccessed>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastAccessed>
   <LastCheckpoint>{string}</LastCheckpoint>
   <LastModified>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastModified>
   <LastVerified>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastVerified>
   <PartiallyVerifiedEndOfTape>
      {
YYYY-MM-DDThh:mm:ss.xxxZ}
   </PartiallyVerifiedEndOfTape>
   <PartitionId>{string}</PartitionId>
   <PreviousState>
      NORMAL|BAD|BAR_CODE_MISSING|DATA_CHECKPOINT_MISSING|
      EJECT_FROM_EE_PENDING|EJECT_TO_EE_IN_PROGRESS|EJECTED|
      FOREIGN|FORMAT_IN_PROGRESS|FORMAT_PENDING|
      IMPORT_IN_PROGRESS|INCOMPATIBLE|INSPECTION_PENDING|LOST|
      LTFS_WITH_FOREIGN_DATA|OFFLINE|ONLINE_IN_PROGRESS|
      ONLINE_PENDING|SERIAL_NUMBER_MISMATCH|UNKNOWN
   </PreviousState>
   <SerialNumber>{string}</SerialNumber>
   <State>
      NORMAL|BAD|BAR_CODE_MISSING|DATA_CHECKPOINT_MISSING|
      EJECT_FROM_EE_PENDING|EJECT_TO_EE_IN_PROGRESS|EJECTED|
      FOREIGN|FORMAT_IN_PROGRESS|FORMAT_PENDING|
      IMPORT_IN_PROGRESS|INCOMPATIBLE|INSPECTION_PENDING|LOST|
      LTFS_WITH_FOREIGN_DATA|OFFLINE|ONLINE_IN_PROGRESS|
      ONLINE_PENDING|SERIAL_NUMBER_MISMATCH|UNKNOWN
   </State>
   <StorageDomainId>{string}</StorageDomainId>
   <TakeOwnershipPending>TRUE|FALSE</TakeOwnershipPending>
   <TotalRawCapacity>{64‑bit integer}</TotalRawCapacity>
   <Type>
      LTO5|LTO6|LTO7|LTO8|LTOM8|LTO_CLEANING_TAPE|TS_JC|TS_JD|
      TS_JK|TS_JL|TS_JY|TS_JZ|TS_CLEANING_TAPE|UNKNOWN|FORBIDDEN
   </Type>
   <VerifyPending>
      CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND
   </VerifyPending>
   <WriteProtected>TRUE|FALSE</WriteProtected>
</Data>
where the response elements are defined as follows:
The date and time that the BlackPearl system discovered that the tape was ejected, in the format YYYY-MM-DDThh:mm:ss.xxxZ. If the parameter is empty, the tape has not been ejected.
The date and time that the tape was put in the queue to be ejected in the format YYYY-MM-DDThh:mm:ss.xxxZ. If the parameter is empty, the tape has not been queued to be ejected or the eject has started and is no longer cancelable.
§
TRUE — The foreign tape was imported when WriteProtected was TRUE, preventing the tape from being claimed by the current system.
§
FALSE — The tape was imported successfully.
The tape format and generation of the tape cartridge.
Values:
LTO5, LTO6, LTO7, LTO8, LTOM8, LTO_CLEANING_TAPE, TS_JC, TS_JD, TS_JK, TS_JL, TS_JY, TS_JZ, TS_CLEANING_TAPE, UNKNOWN, FORBIDDEN
Example
Sample Request
This request imports a non-BlackPearl LTFS tape with the UUID “da8c72d7-d4c9-4cc5-94b9-34ddeb01f5b9” into the bucket named “AdminBucket”.
PUT http://blackpearl-hostname/_rest_/tape/da8c72d7-d4c9-4cc5-94b9-34ddeb01f5b9?operation=IMPORT&bucket_id=AdminBucket HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <AssignedToStorageDomain>FALSE</AssignedToStorageDomain>
   <AvailableRawCapacity>10000</AvailableRawCapacity>
   <BarCode>13b41f41-84e6-49cd-963d-afadb386d7ca</BarCode>
   <BucketId>AdminBucket</BucketId>
   <DescriptionForIdentification/>
   <EjectDate/>
   <EjectLabel/>
   <EjectLocation/>
   <EjectPending/>
   <FullOfData>FALSE</FullOfData>
   <Id>da8c72d7-d4c9-4cc5-94b9-34ddeb01f5b9</Id>
   <LastAccessed/>
   <LastCheckpoint/>
   <LastModified/>
   <LastVerified/>
   <PartiallyVerifiedEndOfTape/>
   <PartitionId>215629d1-f76c-4dbe-a342-d7c726eaf675</PartitionId>
   <PreviousState/>
   <SerialNumber/>
   <State>INSPECTION_PENDING</State>
   <StorageDomainId/>
   <TakeOwnershipPending>FALSE</TakeOwnershipPending>
   <TotalRawCapacity>20000</TotalRawCapacity>
   <Type>LTO5</Type>
   <VerifyPending/>
   <WriteProtected>FALSE</WriteProtected>
</Data>