Exchange Medium - X'A6'
Table 1 shows the format of the Exchange Medium command.
Byte | Bit 7 MSB |
Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 LSB |
---|---|---|---|---|---|---|---|---|
0 | Operation code (X'A6') | |||||||
1 | LUN (Obsolete) | Reserved | ||||||
2 | Transport Element Address | |||||||
3 | ||||||||
4 | Source Address | |||||||
5 | ||||||||
6 | First Destination Address | |||||||
7 | ||||||||
8 | Second Destination Address | |||||||
9 | ||||||||
10 | Reserved | Inv2 (B'0') | Inv1 (B'0') | |||||
11 | Vendor Specific (B'00') | Reserved (B'0000') | Flag (B'0') | Link (B'0') |
The medium in the source element is moved to the first destination element and the medium, which previously occupied the first destination element, is moved to the second destination element. The second destination element might be the same as the source element.
The following tape
library-specific parameters apply:
- Transport Element Address: A value of X'0000', X'0001', or X'0002' is allowed for this field. For any of these values, the library selects an MTE based on optimal availability and performance.
- Source/Destination Addresses: The valid element addresses for this field
are dependent upon library model and library configuration. For more details, go to the section
about locations and addresses of SCSI elements in the tape
library. Notes:
- The Medium Transport Elements are not capable of an exchange. If this element address is specified as a Destination Address in an Exchange Medium command, the command is presented CHECK CONDITION status with associated sense data of 5/2101 (Illegal Request, Invalid Element Address).
- For the TS4500, if a destination element is an Ultrium 1 Tape Drive and the source element
address contains an Ultrium 2 cartridge (VolTag of
xxxxxxL2
), the command is presented CHECK CONDITION status with associated sense data of 5/3000 (Illegal Request, Incompatible Medium Installed). - For the TS4500, if a destination element is an Ultrium 1 or Ultrium 2
tape drive and the source element address contains an
Ultrium 3 cartridge (VolTag of
xxxxxxL3
), the command is presented CHECK CONDITION status with associated sense data of 5/3000 (Illegal Request, Incompatible Medium Installed).
For additional information on element addresses and descriptions, go to the sections about Mode Page X'1D': Element Address Assignment, Mode Page X'1F': Device Capabilities, and Read Element Status - X'B8'.