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


Hardware Operations : Tape Library and Component Operations : Get Tape Partition

Get Tape Partition
Description
Get information about the specified tape partition.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/tape_partition/{tape_partition_id}[?full_details]
To determine the UUID for a tape partition, see Get Tape Partitions.
Request Parameters
Responses
Response Elements
<Data>
   <DriveType>
      LTO5|LTO6|LTO7|LTO8|TS1140|TS1150|TS1155|UNKNOWN
   </DriveType>
   <DriveTypes> (only if full_details is included)
      LTO5|LTO6|LTO7|LTO8|TS1140|TS1150|TS1155|UNKNOWN
   </DriveTypes>
   ...
   <ErrorMessage>{string}</ErrorMessage>
   <Id>{string}</Id>
   <ImportExportConfiguration>
      SUPPORTED|NOT_SUPPORTED
   </ImportExportConfiguration>
   <LibraryId>{string}</LibraryId>
   <MinimumReadReservedDrives>
      {32-bit integer}
   </MinimumReadReservedDrives>
   <MinimumWriteReservedDrives>
      {32-bit integer}
   </MinimumWriteReservedDrives>
<Name>{string}</Name>
   <Quiesced>NO|PENDING|YES</Quiesced>
   <SerialId>{string}</SerialId>
   <SerialNumber>{string}</SerialNumber>
   <State>ONLINE|OFFLINE</State>
   <TapeTypes> (only if full_details is included)
      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
   </TapeTypes>
</Data>
where the response elements are defined as follows:
Values: LTO5, LTO6, LTO7, LTO8, TS1140, TS1150, TS1155, UNKNOWN
Values: LTO5, LTO6, LTO7, LTO8, TS1140, TS1150, TS1155, UNKNOWN
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 retrieves information about the tape partition with the UUID 9434bc89-67a5-41c2-a161-098972f1dd67 using full_details.
GET http://blackpearl-hostname/_rest_/tape_partition/9434bc89-67a5-41c2-a161-098972f1dd67?full_details HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <DriveType>TS1140</DriveTypes>
   <DriveTypes>TS1140</DriveTypes>
   <ErrorMessage/>
   <Id>9434bc89-67a5-41c2-a161-098972f1dd67</Id>
   <ImportExportConfiguration>
      SUPPORTED
   </ImportExportConfiguration>
   <LibraryId>1b71aadb-4ffc-4649-9f41-3f0cc5d01782</LibraryId>
   <MinimumReadReservedDrives>0</MinimumReadReservedDrives>
   <MinimumWriteReservedDrives>0</MinimumWriteReservedDrives>
   <Name>name-tape partition</Name>
   <Quiesced>NO</Quiesced>
   <SerialId>01000090A5000950</SerialId>
   <SerialNumber>21130090A5000950</SerialNumber>
   <State>ONLINE</State>
   <TapeTypes>LTO6</TapeTypes>
</Data>