HP Laserjet
HP Laserjet
HP Laserjet
SCSI Reference
Second Edition (March 2007)
| Information in this document is subject to change without notice.
| ©2007 Dell Inc. All rights reserved.
| Reproduction in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden. Trademarks
| used in this text: Dell, the DELL logo, and PowerVault are trademarks of Dell Inc. Other trademarks and trade names
| may be used in this document to refer to either the entities claiming the marks and names or their products. Dell Inc.
| disclaims any proprietary interest in trademarks and trade names other than its own.
Contents
Chapter 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
iii
Element Address Assignment page (1Dh) . . . . . . . . . . . . . . . . . . . . . . 3-33
Transport Geometry Parameters page (1Eh) . . . . . . . . . . . . . . . . . . . . . 3-34
Device Capabilities page (1Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
Vendor Specific Event Filter page (20h) . . . . . . . . . . . . . . . . . . . . . . 3-36
MODE SENSE 10 (5Ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39
Mode Parameter List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39
Mode Parameter Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-40
MOVE MEDIUM (A5h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41
PERSISTENT RESERVE IN (5Eh) . . . . . . . . . . . . . . . . . . . . . . . . . 3-42
PERSISTENT RESERVE IN Parameter Data for Read Keys . . . . . . . . . . . . . . . 3-42
PERSISTENT RESERVE IN Parameter Data for Read Reservation . . . . . . . . . . . . 3-43
PERSISTENT RESERVE IN Reservation Descriptor . . . . . . . . . . . . . . . . . . 3-43
PERSISTENT RESERVE OUT (5Fh) . . . . . . . . . . . . . . . . . . . . . . . . 3-45
PERSISTENT RESERVE OUT Parameter List . . . . . . . . . . . . . . . . . . . . 3-46
OPEN/CLOSE IMPORT/EXPORT ELEMENT (1Bh) . . . . . . . . . . . . . . . . . . . 3-47
POSITION TO ELEMENT (2Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48
PREVENT / ALLOW MEDIA REMOVAL (1Eh) . . . . . . . . . . . . . . . . . . . . . 3-49
READ BUFFER (3Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-50
Vendor Unique Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-50
Descriptor Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-51
Data Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-51
Echo Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-52
Echo Buffer Descriptor Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 3-52
READ ELEMENT STATUS (B8h) . . . . . . . . . . . . . . . . . . . . . . . . . . 3-53
Element Status Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-54
Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-54
Element Status Page (Sub-header and Element Descriptor) . . . . . . . . . . . . . . . 3-54
Medium Transport Element Status Page (01h) . . . . . . . . . . . . . . . . . . . . 3-55
Storage Element Status Page (02h) . . . . . . . . . . . . . . . . . . . . . . . . 3-57
Import/Export Element Status Page (03h) . . . . . . . . . . . . . . . . . . . . . . 3-59
Data Transfer Element Status Page (04h) . . . . . . . . . . . . . . . . . . . . . . 3-62
RELEASE 6 (17h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-65
RELEASE 10 (57h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-66
REPORT SUPPORTED OPERATION CODES (A3h) . . . . . . . . . . . . . . . . . . . 3-67
REPORT TIMESTAMP (A3h) . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-70
SEND DIAGNOSTIC (1Dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-72
SEND VOLUME TAG (B6h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-73
Send Volume Tag Parameter structure . . . . . . . . . . . . . . . . . . . . . . . 3-74
SET TIMESTAMP (A4h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-75
REQUEST SENSE (03h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-76
Possible Sense Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-77
REQUEST VOLUME ELEMENT ADDRESS (B5h) . . . . . . . . . . . . . . . . . . . . 3-79
Request Volume Element Address header . . . . . . . . . . . . . . . . . . . . . 3-80
RESERVE 6 (16h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-81
RESERVE 10 (56h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-82
TEST UNIT READY (00h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-83
WRITE BUFFER (3Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-84
Write Data Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-84
Download microcode and Download microcode and save Mode . . . . . . . . . . . . . 3-85
Echo Buffer Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-85
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1
Contents v
vi TL2000 and TL4000 SCSI Reference
Chapter 1. Introduction
| This document describes the SCSI Media Changer Command Set for the Dell™ PowerVault™ TL2000 Tape
| Library and TL4000 Tape Library. The host will recognize both a tape drive and a Media Changer on the
same SCSI ID. On this SCSI ID logical unit zero is reserved for the tape drive and logical unit one is used
for the media changer. The tape drive will pass the received SCSI commands for LUN 1 over to the
attached library controller by means of serial communication.
The SCSI media changer commands are based on the following specifications.
A media changer logical unit receives commands to move cartridges between various types in the element
address space. The element types are storage, import-export, data transfer, and medium transport. The
cartridge handling robotic subsystem, addressed as a medium transport element, moves cartridges within
a media changer. The media changer logical unit maintains an inventory of cartridges and the element
addresses. The media changer logical unit reports this inventory when requested as well as identifying the
element address assigned to different types of elements.
1-1
1-2 TL2000 and TL4000 SCSI Reference
Chapter 2. Library Features
The library includes the following components:
v Operator panel with LCD display and 4 buttons which allows you to monitor the media changer
operations, control robotic operation and change configuration settings
v Bar code scanner, the media changer uses the bar code scanner to read the bar codes from the data
cartridges and report this information as part of the cartridge inventory
v Ethernet port for connecting to a 10/100Base T Ethernet network. This connection allows remote
monitoring of the media changer's operation, performing firmware upgrades and configuring its settings.
This port is also called RMU (Remote Management Unit)
v LVD SCSI or Fibre Channel port, through this port the host sends SCSI commands to both the media
changer and the tape drive
v Serial monitor port, through this port the media changer can be controlled by a console interface
v Cartridge mover which moves cartridges from one location to the other. This element is also called a
medium transfer element
v Storage slots which store cartridges also referred to as storage elements
v Import/Export element allows the user to import or export an cartridge into/from the inventory of the
library
v High Speed / High Density tape drive also referred to as data transfer element
v Magazines, these cartridge carriers are used to hold cartridges in the library. Magazines can be
removed from the library.
Control Modes
The media changer can receive commands from the following interfaces: SCSI, RMU, OCP and Console.
The default interface for receiving media access commands is the SCSI interface. The media changer
accepts media access SCSI commands when the media changer is on-line. The media changer is off-line
when a user sends a media access command from either the RMU, OCP or Console interface.
2-1
Immediately after the user command is finished the media changer switches to on-line mode. Note the
media changer is continuous off-line when it is configured into Sequential Mode.
The concept of control modes is introduced to explain the owner of the media changer. If the media
changer is on-line then the SCSI bus has control of the loader. When the media changer is in OCP Control
mode the OCP has control of the media changer. Described below are the possible control modes of the
library:
v SCSI Control mode (on-line) , in which the media changer is controlled by a SCSI driver issuing
commands to move cartridges between the existing elements. This is the default control mode.
v Sequential mode (off-line), in which the media changer is controlled by the media changers internal
firmware. In this mode the media changer will automatically replace an ejected cartridge from the tape
drive with another one from the media changers inventory. The media changer can be configured into
Sequential mode by means of the OCP menu or RMU browser.
v OCP / RMU / Console Control mode (off-line) , in which the media changer is controlled by a user.
These control modes allow the user to send media access commands like move cartridges between
existing elements.
The media changer will return Not Ready status on media access SCSI command when the media
changer is off-line. The media changer will accept media access SCSI commands when the media
changer is on-line.
Not Ready reason Sense code during Sense info after Not Ready reason finished
Initializing 02/04/01 06/28/00
Magazine removed 02/3B/12 02/04/01 (see note 1)
Sequential Mode 02/04/8E 06/28/00
Off-line 02/04/12 06/28/00
Note: When a magazine is inserted the media changer will automatically re-initialize. During this process
the media changer shall return 02/04/01 status. When initializing is finished the media changer shall
return a unit attention 06/28/00 before returning Ready status.
The following non-media access commands are allowed during the Not Ready reason:
v allowed : Command received from SCSI initiators not holding the reservation should complete normally.
v conflict : Commands received from SCSI initiators not holding the reservation shall terminate the command with a
RESERVATION CONFLICT status.
RMU Features
The library is equipped with a Remote Management Unit. By means of the RMU interface the media
changer can be operated from a web based browser. The RMU interface allows a user to monitor the
media changers operation, make configuration changes and perform media access commands. When a
user executes a medium access command through the RMU interface the media changer will enter the
off-line state. When the media changer is off-line the media changer will report Not Ready on the SCSI
bus. For an extensive description of the RMU functions please refer to the RMU specification.
Console Features
The library is equipped with a serial port which allows a console interface to control the media changer.
The console interface allows a user to monitor the media changer operation, make configuration changes
and perform media access commands. When a user executes a medium access command through the
console interface the media changer will enter the off-line state. When the media changer is off-line the
media changer will report Not Ready on the SCSI bus. For an extensive description of the console
functions please refer to the Console specification.
Table 2-2. TL2000 Tape Library SCSI element addresses for I/O Station, storage slots, and drive slot
Table 2-4. TL4000 Tape Library SCSI element addresses for I/O Station, storage slots, and drive slot
3-1
INITIALIZE ELEMENT STATUS (07h)
This command directs the medium changer to check all existing elements for tape cartridges and any
status relevant to that element. This command enables the initiator to get a quick response from a Read
Element Status command that may follow, and is useful after a power failure, if tape medium has been
changed by an operator, or if subsystem configuration has changed. The library shall not return GOOD
status until checking of all the elements is complete.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (07h)
1 LUN Reserved
2 Reserved
3 Reserved
4 Reserved
5 Control
Field descriptions:
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (37h)
1 LUN Reserved Fast Range
2 (MSB) Starting Element Address
3 (LSB)
4 Reserved
5 Reserved
6 (MSB) Number of Elements
7 (LSB)
8 Reserved
9 Control
Field descriptions:
Range:
A Range bit of zero indicates that all element addresses shall be checked and that the Starting
Element Address and Number of Elements fields are ignored. A Range bit of one indicates that the
series of elements beginning at the specified Starting Element Address for the specified Number of
Elements shall be checked. If the Number of Elements field is zero, the range checked shall start
with the Starting Element Address and continue through the last element address on the unit.
Fast: A Fast bit of one indicates that the specified elements shall be scanned for media presence only. A
Fast bit of zero indicates that the specified elements shall be scanned for all relevant status.
Element Address:
When the Range bit is set this field specifies the starting element address of the scan for the
Initialize Elements with Range command. When the Range bit is not set the information in this
field is ignored.
Number of Elements:
When the Range bit is set this field specifies the number of elements to scan during the Initialize
Elements with Range command. The number of cartridges to scan should not exceed the
maximum number of available storage slots taking in account the starting Element Address field.
When the Range bit is not set the information in this field is ignored.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (12h)
1 LUN Reserved Obsolete EVPD
2 Page Code
3 (MSB) Allocation length
4 (LSB)
5 Control
Field descriptions:
EVPD:
Enable Vital Product Data. An enable vital product data (EVPD) bit of one specifies that the device
server shall return the optional vital product data specified by the page code field. Note If the
EVPD bit is set to 0, the page code must be 00h.
Page Code:
This field contains the page number of the vital product data page to be returned for the INQUIRY
command, if the EVPD bit is set to 1. The following pages are supported:
v 00h - Supported vital product pages
v 80h - Unit serial number page
v 83h - Device Identification page
v C0h - Firmware build information page
v D0h - Vendor Specific Page
v FFh - Vendor Use Only
Allocation Length:
Specifies the number of bytes of inquiry information the media changer is allowed to return to the
initiator during the command s data-in phase. Error status is not returned if the value in this field
truncates the requested information.
Field descriptions:
Peripheral Qualifier:
A return value of 0 indicates that the specified LUN is supported in this device. When a
unsupported LUN was specified the Peripheral Qualifier will return 3h which indicates that
specified LUN is not supported.
Peripheral Device Type:
Indicates that this is a medium changer device. Set to 8. When a unsupported LUN was specified
the Peripheral Device Type will return 1Fh which indicates that specified LUN is not supported.
RMB: Removable Medium Bit. Set to 1.
Version:
The library complies to SPC-3. Set to 5.
NormACA:
A NORMACA bit set to zero indicates that the device server does not support a NACA bit set to
one in the control byte and does not support the ACA task attribute.
0 1 2 3 4 5 6 7
I B M
Product Identification:
Sixteen byte ASCII string. This field depends on the library model. This field is set to:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
3 5 7 3 - T L
Bit 7 6 5 4 3 2 1 0
Byte
0 Peripheral Qualifier (0) Peripheral Device Type (8)
1 Page Code (00h)
2 Reserved
3 Page Length (04h)
4 00h - (this page)
5 80h - Unit Serial Number Page
6 83h - Device Identification Page
7 C0h - Firmware Build Information Page
8 D0h - Vendor Specific Page
9 FFh - Vendor Use Only
Note: If an unsupported LUN was initially specified, the Peripheral Qualifier will return 3h and the
Peripheral Device Type will return 1Fh.
Bit 7 6 5 4 3 2 1 0
Byte
0 Peripheral Qualifier (0) Peripheral Device Type (8)
1 Page Code (80h)
2 Reserved
3 Page Length (10h)
4- Serial Number (12 ACSII bytes)
15
16 - Unique Logical Library Identifier
19
Note: If an unsupported LUN was initially specified, the Peripheral Qualifier will return 3h and the
Peripheral Device Type will return 1Fh.
Field descriptions:
Serial Number:
The 12 byte ASCII Serial Number may contain ASCII numbers and ASCII characters and is right
justified with leading zeros.
Unique Logical Library Identifier:
Such as the ASCII representation of the logical library name, for example, _LL3.
Bit 7 6 5 4 3 2 1 0
Byte
0 Peripheral Qualifier (0) Peripheral Device Type (8)
1 Page Code (83h)
2 Reserved
3 Page Length (2Ch)
4 Reserved Code Set (2)
5 Reserved Identifier Type (1)
6 Reserved
7 Identifier Length (28h)
8- Vendor Identification (8 ASCII bytes)
15
16 - Product Identification (16 ASCII bytes)
31
32 - Serial Number (12 ASCII bytes)
43
44 - Unique Logical Library Identifier
47
Field descriptions:
Peripheral Qualifier:
A return value of 0 indicates that the specified LUN is supported in this device. When a
unsupported LUN was specified the Peripheral Qualifier will return 3h which indicates that
specified LUN is not supported.
Peripheral Device Type:
Indicates that this is a medium changer device. Set to 8. When a unsupported LUN was specified
the Peripheral Device Type will return 1Fh which indicates that specified LUN is not supported.
Code Set:
This field is set to 2 indicating that the device identifier is returned as an ASCII string.
Identifier Type:
The Identifier Type is set to 1 indicating that the T10 style identifier is returned.
Vendor Identification:
This field returns the eight byte Vendor ID ASCII string.
Product Identification:
This field returns the sixteen byte Product ID ASCII string.
Serial Number:
This field returns the twelve byte serial number ASCII string.
Unique Logical Library Identifier:
Such as the ASCII representation of the logical library name, for example, _LL3.
Bit 7 6 5 4 3 2 1 0
Byte
0 Peripheral Qualifier (0) Peripheral Device Type (8)
1 Page Code (C0h)
2 Reserved
3 Page Length (3Ch)
4-7 Reserved
8 - 11 Media changer Firmware Checksum in ASCII
12 - Media changer Firmware Build Date in ASCII (mm-dd-yyyy)
35
36 - Reserved
63
Note: If an unsupported LUN was initially specified, the Peripheral Qualifier will return 3h and the
Peripheral Device Type will return 1Fh.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (4Ch)
1 LUN Reserved PCR SP (0)
2 PC Reserved
3 Reserved
4 Reserved
5 Reserved
6 Reserved
7 (MSB) Parameter List Length
8 (LSB)
9 Control
Field descriptions:
PCR: The Parameter Code Reset (PCR) bit is not supported. Must be set to zero.
SP: Saving log Parameters is not supported. Must be set to zero.
Parameter List Length:
The Log Select parameters are not supported.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (4Dh)
1 LUN Reserved PPC (0) SP (0)
2 PC Page Code
3 Reserved
4 Reserved
5 (MSB) Parameter pointer
6 (LSB)
7 (MSB) Allocation length
8 (LSB)
9 Control
Field descriptions:
PPC: If Parameter Pointer Control bit is set, the target terminates the command with Check Condition
status. The sense key is set to ILLEGAL REQUEST, and an additional sense code of INVALID
FIELD IN CDB.
SP: Saving Log Parameters (SP) is not supported. If the SP bit is set, the command is terminated with
Check Condition status with the sense key set to ILLEGAL REQUEST, and an additional sense
code of INVALID FIELD IN CDB.
PC: The Page Control field defines the type of parameter value to be returned. This field should either
be set to 00b (Current Threshold Values) or 01b (Current Cumulative Values). If not, the command
is terminated with Check Condition status with the sense key set to ILLEGAL REQUEST, and an
additional sense code of INVALID FIELD IN CDB. The Current Cumulative Values are the values
computed since the last reset of the device (either by power-cycling, Bus Device Reset, or SCSI
Reset).
Note: Only Log Sense Tape Alert page (2Eh) supports PC being set to Current Threshold Values.
Page Code:
The Page Code field identifies which log page is being requested by the initiator. If the page is not
supported then the command terminates with a Check Condition status with the sense key set to
ILLEGAL REQUEST, and an additional sense code of INVALID FIELD IN CDB. Supported pages
are:
v 00h -List of Supported Pages Page
v 07h -Event Log Page
v 2Eh -Tape Alert Page
v 30h -Statistics Counter Page
v 33h -Error Log Page
Parameter Pointer:
The Parameter Pointer field allows the host to specify at which parameter within a Log Page the
requested data should begin. This is not supported in any Log Sense page and should be set to 0.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved Page Code
1 Reserved
2-3 Page Length
Field descriptions:
Page Code:
The Page Code echoes the page code that was specified in the CDB.
Page Length:
The Page Length specifies the total number of bytes contained in this log page, not including the
four bytes of the header.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved Page Code (00h)
1 Reserved
2-3 Page Length (5)
4 00h - Supported Log Pages page
5 07h - Event Log page
6 2Eh - Tape Alert page
7 30h - Statistics Counter page
8 33h - Error Log page
The data returned for the Event log page shall not exceed 64KBytes. A single LOG SENSE command to
the Event Log page may return all events. The Event Log page starts with a header indicating the number
of bytes of the total event history, followed by zero or more event structures. Reading the Event Log page
shall not clear the event data. Clearing the event data is done by means of the LOG SELECT command.
Note: The Host may specify what event types need to be logged. This is done with the MODE SELECT
command to the vendor specific Event Filter page.
Field descriptions:
Page Code:
The Page Code echoes the page code that was specified in the LOG SENSE CDB.
Page Length:
The Page Length specifies the total number of event bytes, not including the four bytes for this
header.
Event Structure:
An event structure consists of a header and a variable number of event data bytes. This structure
is defined in the next table.
Event Structure
An event structure consists of two parts: a 13 byte event header and (optional) event data. The event
header contains info about event type, source module of event, time of event, data type, and event data
length. The optional event data does not exceed 114 bytes. When this field is returned it contains specific
information about the event. See next structure:
Bit 7 6 5 4 3 2 1 0
Byte
0 (MSB) Parameter Code
1 (LSB)
2 DU(0) DS(1) TSD(0) ETC(0) TMC(0) Reserved Reserved LP
3 Parameter Length (n-3)
4 Event type
5-6 Source module ID of event
7 - 10 Time of event (sec)
11 Data type of event data
12 Length of event data
13 - n Event data (0..114 bytes)
Field descriptions:
Parameter Code:
The Parameter Code is a 2-byte value that uniquely identifies the event within the log.
DU: Disable Update is set for any parameter that the Host cannot reset.
DS: Disable Save. The media changer has no support for SP bit. Set to 1.
TSD: Target shall determine save method, set to 0.
ETC: No threshold comparison, set to 0.
Next table describes the possible Source module ID s which may generate events.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved Page Code (2Eh)
1 Reserved
2 (MSB) Page Length (0140h)
3 (LSB)
4- 64 Tape Alert Flag structures (320 bytes)
323
The media changer will support the following Tape Alert Flags:
Check the applications users manual or the hardware users manual for
specific instructions on redoing the library inventory.
25d Library Illegal W A library operation has been attempted that is invalid at this time.
Operation
27d Cooling FAN W One or more fans inside the library have failed. This flag is cleared when
Failure all fans are working again.
32d Unreadable I The library was unable to read the barcode on a cartridge.
Bar Code
Labels
Field descriptions:
Parameter Code:
The Parameter Code is a 2-byte value that uniquely identifies the parameter within the log. It
ranges from 1..64
DU: Disable Update is set for any parameter that the Host cannot reset.
DS: Disable Save. The media changer has no support for SP bit. Set to 1.
TSD: Target shall determine save method.
ETC: No threshold comparison
TMC: No threshold supported
LP: The List Parameter field is set to zero for parameters that are counters and set to one for
parameters that are not counters.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved Page Code (30h)
1 Reserved
2 (MSB) Page Length (0048h)
3 (LSB)
4 - 51 9 Statistics Counter structures (72 bytes)
Field descriptions:
Page Code:
The Page Code echoes the page code that was specific in the Log Sense CDB.
Field descriptions:
Parameter Code :
The Parameter Code is a 2-byte value that uniquely identifies the parameter within the log. It
ranges from 1..9.
DU: Disable Update is set for any parameter that the Host cannot reset.
DS: Disable Save. The media changer has no support for SP bit. Set to 1.
TSD: Target shall determine save method, set to 0.
ETC: No threshold comparison, set to 0.
TMC: No threshold supported, set to 0.
LP: The List Parameter field is set to zero for parameters that are counters and set to one for
parameters that are not counters.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved Page Code (33h)
1 Reserved
2-3 Page Length
4- Up to maximum 64 Hardware Error event structures (64*97 bytes)
6211
Field descriptions:
Page Code:
The Page Code echoes the page code that was specific in the LOG SENSE CDB.
Page Length:
The Page Length specifies the total number of bytes contained in this log page, not including the
four bytes of the header.
Error event structures:
This field contains a dump of the last error events. Up to 64 error event structures are returned in
this page.
Bit 7 6 5 4 3 2 1 0
Byte
0 (MSB) Parameter Code
1 (LSB)
2 DU(0) DS(1) TSD(0) ETC(0) TMC(0) Reserved Reserved LP(0)
3 Parameter Length (5Dh)
4 Event type (80h)
5-6 Source module ID of Error Event
7 - 10 Timestamp of Error Event
11 Reserved
12 Length of Error Event data (n)
13 (MSB)
Field descriptions:
Parameter Code:
The Parameter Code is a 2-byte value that uniquely identifies the error event structure the log. It
ranges between 1 and 64.
DU: Disable Update is set for any parameter that the Host cannot reset.
DS: Disable Save. The media changer has no support for SP bit. Set to 1.
TSD: Target shall determine save method.
ETC: No threshold comparison
TMC: No threshold supported
LP: The List Parameter field is set to zero for parameters that are counters and set to one for
parameters that are not counters.
Parameter Length:
The parameter length field specifies the length of the whole error event structure without the 4
byte header.
Event Type:
This field specifies the event type. Since this page only returns error events it is set to 80h,
indicating Hard Error event.
Source module ID of Error Event:
This field specifies the ID of the source module which generated the error event. See Log Sense
page 07h for detailed information about the possible source module IDs.
Time of Event:
This field records the time the error event took place.
Length of Error Event data:
This field specifies the length in number of bytes of the error event data field.
Error Event data:
This field returns specific information about the error event.
Error Event description:
This field describes the error event in ASCII text. The returned string is zero terminated. The
maximum string length returned is 80 bytes.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (15h)
1 LUN PF (1) Reserved SP
2 Reserved
3 Reserved
4 Parameter list length
5 Control
Field descriptions:
PF: A PF bit of one indicates that the MODE SELECT parameters following the header and block
descriptor(s) complies with the SCSI-2 specification. The value must be set to 1.
SP: A Save Pages (SP) bit of zero indicates the media changer shall perform the specified MODE
SELECT operation, and shall not save any pages in nonvolatile ram. An SP bit of one indicates
that the media changer shall perform the specified MODE SELECT operation, and shall save the
current values to a nonvolatile RAM.
When a host has successfully issued the MODE SELECT CDB that changed settings in one of the Mode
pages, the media changer will raise a Unit Attention condition to every other host who has not issued this
CDB. The sense data for these hosts will be set to: Mode Parameters Changed (06/2A/01)
The host provides the parameters through a parameter list to the media changer. The parameter list
consists of the following items:
v Parameter List Header
v Mode Select page(s)
Bit 7 6 5 4 3 2 1 0
Byte
0-3 Parameter List Header
4-n Mode Select page(s)
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved
1 Reserved
2 Reserved
3 Block Descriptor Length (0)
If no Block Descriptor is to be sent to the media changer specify zero as Block Descriptor Length in the
Parameter Header.
After the Parameter List Header the application client can send zero, one or more Mode Select Pages to
the media changer to configure any required parameter.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved SPF (0) Page Code (00h)
1 Additional Page Length (02h)
2 Reserved Parity Reserved
3 Maximum Parity retries
Field descriptions:
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved SPF (1) Page Code (0Ah)
1 Subpage code (31h)
2 (MSB) Page Length (1Ch)
3 (LSB)
4 Reserved TCMOS SCSIP IALUAE
5 Reserved Initial Priority
6 - 31 Reserved
Field descriptions:
SPF: The Sub Page Format (SPF) bit is set to one to indicate this is a subpage.
TCMOS:
A TCMOS bit set to zero specifies that the timestamp shall not be changed by any method except
those defined by this standard.
SCSIP:
A SCSI precedence (SCSIP) bit set to one specifies that the timestamp changed using a SET
TIMESTAMP command shall take precedence over any other methods.
IALUAE:
The implicit asymmetric logical unit access enabled (IALUAE) bit must be set to zero. The media
changer does not allow implicit asymmetric logical unit access state changes.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved SPF (0) Page Code (1Ch)
1 Additional Page Length (0Ah)
2 Perf (0) Reserved Dexcpt Test (0) Reserved LogErr
3 Reserved MRIE (0)
4-7 Internal Timer
8 - 11 Report Count / Test Flag Number
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved SPF (0) Page Code (1Dh)
1 Additional Page Length (12h)
2 First Medium Transport Element Address
3 Number of Medium Transport Elements
4 First Storage Element Address
5 Number of Storage Elements
6 First Import / Export Element Address
7 Number of Import / Export Elements
8 First Data Transfer Element Address
9 Number of Data Transfer Elements
10 Reserved
11 Reserved
Note: The actual number of installed elements cannot be changed by the field values in the Element
Address Assignment page. Specifying a value other than the specified number returns a Check
Condition status with the Sense Key set to ILLEGAL REQUEST.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved SPF (0) Page Code (1Eh)
1 Additional Page Length (02h)
2 Reserved Rotate (0)
3 Member Number in Transport Element Set (0)
Field descriptions:
Rotate:
Rotation of media is not an implemented feature, so the value returned for this field bit is 0.
Member Number in Transport Element Set:
This field indicates the specific transport element in the system to apply this descriptor to. The
library has only one transport element , so the value returned for this field is 0.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved SPF (0) Page Code (1Fh)
1 Additional Page Length (12h)
Reserved DT I/E ST MT
2
(1) (1) (1) (0)
3 Reserved ACE VTRP S2C
MT→RA Reserved MT→DT MT→I/E MT→ST MT→MT
4
(0) (1) (1) (1) (0)
ST→RA Reserved ST→DT ST→I/E ST→ST ST→MT
5
(0) (1) (1) (1) (0)
I/E→RA Reserved I/E→DT I/E→I/E I/E→ST I/E→MT
6
(0) (1) (0) (1) (0)
DT→RA Reserved DT→DT DT→I/E DT→ST DT→MT
7
(0) (1) (1) (1) (0)
8 - 11 Reserved
MT→WA Reserved MT↔DT MT↔I/E MT↔ST MT↔MT
12
(0) (0) (0) (0) (0)
ST→WA Reserved ST↔DT ST↔I/E ST↔ST ST↔ST
13
(0) (0) (0) (0) (0)
I/E→WA Reserved I/E↔DT I/E↔I/E I/E↔ST I/E↔ST
14
(0) (0) (0) (0) (0)
DT→WA Reserved DT↔DT DT↔I/E DT↔ST DT↔ST
15
(0) (0) (0) (0) (0)
16 - Reserved
19
Field descriptions:
DT: Data Transfer. The value for this field is 1. Tape drives can store cartridges.
I/E: Import/Export. The value for this field is 1. The Import/Export element can store cartridges.
ST: Storage. The value reported for this field is 1. The storage elements can store cartridges.
MT: Medium Transport. The value for this field is 0. The medium transport element cannot store
cartridges.
S2C: SMC-2 Capabilities field is set to 1. This bit indicates that this page supports the new VRTP, ACE,
XX-RA, and XX-WA fields.
VTRP: Volume Tag Reader Present. When set this bit indicates that the library does have a bar code
reader. When set to zero the library does not have a bar code reader.
ACE: Auto Clean Enabled. When set to one, the library shall automatically clean the data transfer
element. When set to zero the library does not automatically clean the data transfer element.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved SPF (0) Page Code (20h)
1 Additional Page Length (08h)
2 Reserved
3 Reserved Log Mode
4 Reserved
5 Reserved Sez Mode
6 Reserved
7 Event Type Filter
8-9 Event Module Filter
Field descriptions:
Log Mode:
The Log Mode controls the behavior of the event log system. This mode can be set to the
following different modes:
Seq Mode:
Sequential Mode, this bit indicates the operating Mode of the loader. This mode is either
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (55h)
1 LUN PF (1) Reserved SP
2 Reserved
3 Reserved
4 Reserved
5 Reserved
6 Reserved
7 IMSB) Parameter list length
8 (LSB)
9 Control
Field descriptions:
PF: A PF bit of one indicates that the MODE SELECT parameters following the header and block
descriptor(s) complies with the SCSI-2 specification. The value must be set to 1.
SP: A Save Pages (SP) bit of zero indicates the media changer shall perform the specified MODE
SELECT operation, and shall not save any pages in non volatile ram. An SP bit of one indicates
that the media changer shall perform the specified MODE SELECT operation, and shall save the
current values to a non volatile RAM.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (1Ah)
1 LUN Reserved DBD Reserved
2 PC Page Code
3 Subpage Code
4 Allocation length
5 Control
Field descriptions:
DBD: The Disable Block Descriptors bit specifies if the media changer may return block descriptor after
the Parameter List Header. The media changer does not support block descriptors, therefore this
bit is ignored.
PC: The Page Control field defines the type of mode parameter values to be returned in the mode
pages.
00b Report Current Values (equal to default values if no pages previously saved)
01b Report changeable values
10b Report Default Values
11b Report Saved Values (equal to default values if no pages previously saved)
Page Code:
The page code defines which pages should be returned. See next table. A Initiator can request
one or all mode sense pages. Each response includes a four bytes for the Parameter List Header,
followed by the specified number of bytes for each page:
Note: The number bytes column does not include the Parameter List Header and the (optional) Block
Descriptor.
A page code of 3Fh indicates that all mode pages shall be returned to the application client. These pages
will be returned in ascending order except for Mode Page 00h. Mode Page 00h shall be returned after all
other Mode Pages.
Bit 7 6 5 4 3 2 1 0
Byte
0-3 Mode Parameter Header
4-n Mode Sense Page(s)
Bit 7 6 5 4 3 2 1 0
Byte
0 Mode Data Length
1 Reserved
2 Reserved
3 Block Descriptor Length
Field descriptions:
Mode Data Length:
This field indicates the number of bytes of parameter information the media changer is returning
as a result of this command, excluding the Mode Data Length but including the three additional
Parameter List Header bytes. If a block descriptor was requested this count is also added to the
Mode Data Length.
Block Descriptor Length:
If the DBD bit is cleared in the CDB the media changer may return an eight byte Block Descriptor.
When a Block Descriptor is returned the Block Descriptor Length will report 8. When the DBD bit
is set the media changer will not return Block Descriptors and therefore the Block Descriptor
Length will report 0.
Bit 7 6 5 4 3 2 1 0
Byte
0 PS (1) SPF (0) Page Code (00h)
1 Additional Page Length (02h)
2 Reserved Parity Reserved
3 Maximum Parity retries
Field descriptions:
PS: Parameters Savable. This field is set to one. The media changer can write this page to
non-volatile memory.
Parity:
This bit indicates whether parity retries are enabled or disabled. By factory default parity retries are
enabled.
Maximum Parity retries:
This field indicates the maximum number of retries performed on a parity error during data out,
data in, and message out phase. By factory default the number of parity retries is set to 4. The
maximum value allowed in the parity retry field is 7.
Bit 7 6 5 4 3 2 1 0
Byte
0 PS (0) SPF (1) Page Code (0Ah)
1 Subpage code (01h)
2 (MSB) Page Length (1Ch)
3 (LSB)
4 Reserved TCMOS SCSIP IALUAE
5 Reserved Initial Priority
6 - 31 Reserved
Field descriptions:
PS: Parameters Savable. This field is set to zero. The media changer cannot write this page to
non-volatile memory.
SPF: The Sub Page Format (SPF) bit is set to one to indicate this is a subpage.
TCMOS:
A TCMOS bit set to zero specifies that the timestamp shall not be changed by any method except
those defined by this standard.
SCSIP:
A SCSI precedence (SCSIP) bit set to one specifies that the timestamp changed using a SET
TIMESTAMP command shall take precedence over any other methods.
Bit 7 6 5 4 3 2 1 0
Byte
0 PS (0) SPF (1) Page Code (0Ah)
1 Additional Page Length (0Ah)
2 Perf (0) Reserved DExcpt (1) Test (0) Reserved LogErr
3 Reserved MRIE (0)
4-7 Interval Timer
8 - 11 Report Count / Test Flag Number
Field descriptions:
PS: Parameters Savable. This field is set to zero. The media changer cannot write this page to
non-volatile memory.
Perf: When this bit is set to 0, this indicates that informational exception operations that can cause
delays are acceptable. This bit is always set to zero.
DExcpt:
When this bit is set to zero the reporting method indicated by the MRIE field is used. When this bit
is set to one this indicates that the media changer shall disable all information exception
operations, ignoring the MRIE field (In this mode the initiator must the Tape Alert log page).
Currently only MRIE mode 0 is supported, so this bit is ignored.
Test: Test modes are not supported, therefore this field is set to 0.
LogErr:
When this bit is set to 0, the media changer shall not log any Tape Alert events. When this bit is
set to 1, the media changer shall log Tape Alert events.
MRIE: This field indicates the method used by the media changer to report informational exception
conditions. Currently only mode 0 is supported. This means that Tape Alert flags can only be read
by polling with the LOG SENSE command to the Tape Alert page.
Interval Timer:
The library does not report Tape Alert conditions as Informational Exception conditions, therefore
this field is set to zero.
Report Count / Test Flag Number:
Since test modes are not supported, this field reports Report Count only. But the library does not
support Informational Exception conditions, therefore this field is set to zero.
Field descriptions:
PS: Parameter Saveable. This field is set to 1. The media changer can save this page to non-volatile
memory.
First Medium Transport Element Address:
This field indicates the address of the accessor cartridge handler (other than the default Medium
Transport Element address of zero).
Number of Medium Transport Elements:
This field indicates the number of robotic cartridge handler within the library. The library has one
accessor cartridge handler, set to 0001h.
First Storage Element Address:
This field indicates the starting address for the cartridge storage locations.
Number of Storage Elements:
This field indicates the total number of cartridge storage locations contained within the medium
changer.
First Import/Export Element Address:
This field indicates the starting address of the first import/export element.
Number of Import/Export Elements:
This field indicates the total number of import/export elements contained within the medium
changer.
First Data Transfer Element:
This field indicates the starting address of the installed tape drives.
Number of Data Transfer Elements:
This field indicates the number of tape drives contained within the medium changer.
Bit 7 6 5 4 3 2 1 0
Byte
0 PS (0) SPF (0) Page Code (1Eh)
1 Additional Page Length (02h)
2 Reserved Rotate (0)
3 Member Number in Transport Element Set (0)
Field descriptions:
PS: Parameter Saveable. This field is set to 0. The media changer cannot save this page to
non-volatile memory.
Rotate:
Rotation of media is not an implemented feature, so the value returned for this field bit is 0.
Member Number in Transport Element Set:
This field indicates the specific medium transport element in the system to apply this descriptor to.
The library has only one medium transport element, so the value returned for this field is 0.
Bit 7 6 5 4 3 2 1 0
Byte
0 PS (0) SPF (0) Page Code (1Fh)
1 Additional Page Length (12h)
Reserved DT I/E ST MT
2
(1) (1) (1) (0)
3 Reserved ACE VTRP S2C
MT→RA Reserved MT→DT MT→I/E MT→ST MT→MT
4
(0) (1) (1) (1) (0)
ST→RA Reserved ST→DT ST→I/E ST→ST ST→MT
5
(0) (1) (1) (1) (0)
I/E→RA Reserved I/E→DT I/E→I/E I/E→ST I/E→MT
6
(0) (1) (0) (1) (0)
DT→RA Reserved DT→DT DT→I/E DT→ST DT→MT
7
(0) (1) (1) (1) (0)
8 - 11 Reserved
MT→WA Reserved MT↔DT MT↔I/E MT↔ST MT↔MT
12
(0) (0) (0) (0) (0)
ST→WA Reserved ST↔DT ST↔I/E ST↔ST ST↔ST
13
(0) (0) (0) (0) (0)
Field descriptions:
PS: Parameters Savable. This field is set to zero. the media changer cannot write this page to
non-volatile memory.
DT: Data Transfer. The value for this field is 1. Tape drives can store cartridges.
I/E: Import/Export. The value for this field is 1. The Import/Export element can store cartridges.
ST: Storage. The value reported for this field is 1. The storage elements can store cartridges.
MT: Medium Transport. The value for this field is 0. The medium transport element cannot store
cartridges.
S2C: SMC-2 Capabilities field is set to 1. This bit indicates that this page supports the new VRTP, ACE,
XX-RA, and XX-WA fields.
VTRP: Volume Tag Reader Present. When set to 1 this bit indicates that the library does have a bar code
reader. When set to zero the library does not have a bar code reader.
ACE: Auto Clean Enabled. When set to one, the library shall automatically clean the data transfer
element. When set to zero the library does not automatically clean the data transfer element.
XX→YY:
(Where XX is a valid source and YY is a valid destination address) If one of these bits is set to 1,
it indicates that the medium changer device supports all Move Medium commands for which the
source is element type XX and the destination is element type YY on the condition that the
element addresses are valid.
XX↔YY:
A one in these fields indicates that the medium can be exchanged by means of the Exchange
Media command between elements of types XX and YY on the condition that the element
addresses are valid.
XX→RA:
These fields indicate the resources required to support the READ ATTRIBUTE commands for each
element type XX. The media changer does not support the READ ATTRIBUTE command therefore
these fields are set to 0.
XX→WA:
These fields indicate the resources required to support the WRITE ATTRIBUTE commands for
each element type XX. The media changer does not support the WRITE ATTRIBUTE command
therefore these fields are set to 0.
Field descriptions:
PS: Parameters Savable. This field is set to one. The media changer can write this page to
non-volatile memory.
Seq Mode:
This bit indicates the operational mode of the library. When set to 1, the library is in Sequential
Mode. When set to 0, the library is in Random Mode. Note this mode can only be changed by
means of the OCP or Web User interfaces.
Log Mode:
The Log Mode determines the selected behavior of the event log system. This mode can be set to
the following different modes:
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (5Ah)
1 LUN Reserved DBD Reserved
2 PC Page Code
3 Subpage Code
4 Reserved
5 Reserved
6 Reserved
7 (MSB) Allocation length
8 (LSB)
9 Control
Field descriptions:
DBD: The Disable Block Descriptors bit specifies if the media changer may return block descriptor after
the Parameter List Header. The media changer does not support block descriptors, therefore this
bit is ignored.
PC: The Page Control field defines the type of mode parameter values to be returned in the mode
pages.
00b Report Current Values (equal to default values if no pages previously saved)
01b Report changeable values
10b Report Default Values
11b Report Saved Values (equal to default values if no pages previously saved)
Page Code:
The page code defines which pages should be returned. A Initiator can request one or all mode
sense pages. Each response includes four bytes for the Parameter List Header, followed by the
specified number of bytes for each page.
Bit 7 6 5 4 3 2 1 0
Byte
0-7 Mode Parameter Header
8-n Mode Sense Page(s)
Bit 7 6 5 4 3 2 1 0
Byte
0 (MSB) Mode Data Length
1 (LSB)
2 Reserved
3 Reserved
4 Reserved
5 Reserved
6 (MSB) Block Descriptor Length
7 (LSB)
Field descriptions:
Mode Data Length:
This field indicates the number of bytes of parameter information the media changer is returning
as a result of this command, excluding the Mode Data Length but including the six additional
Mode Parameter Header bytes. If a block descriptor was requested this count is also added to the
Mode Data Length.
Block Descriptor Length:
When the DBD bit is set to zero the media changer may return an eight byte Block Descriptor.
When a Block Descriptor is returned the Block Descriptor Length will report 8. When the DBD bit
is set the media changer will not return Block Descriptors and the block Descriptor Length will
report 0.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (A5h)
1 LUN Reserved
2 (MSB) Medium Transport Address
3 (LSB)
4 (MSB) Source Address
5 (LSB)
6 (MSB) Destination Address
7 (LSB)
8 Reserved
9 Reserved
10 Reserved Invert
11 Control
Field descriptions:
Medium Transport Address:
This field specifies the medium transport element used to execute the Move Medium command.
This value can be set to either 0 or the currently valid Medium Transport Element address.
Source Address:
Element address from which the tape cartridge is being moved. This can be a Storage Element
address, Import/Export Element address or a Data Transfer Element address.
Destination Address:
Element address to which the tape cartridge is being moved. This can be a Storage Element
address, Import/Export Element address or a Data Transfer Element address.
Invert:
An Invert bit of one specifies that the medium should be inverted or rotated prior to depositing the
medium into the destination element. The library does not support medium rotation. Therefore this
field must be set to zero.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (5Eh)
1 LUN Service Action
2 Reserved
3 Reserved
4 Reserved
5 Reserved
6 Reserved
7 (MSB) Allocation Length
8 (LSB)
9 Control
Field descriptions:
Service Action:
The following service actions are supported:
Allocation Length:
By means of the Allocation Length field the application client specifies how much space has been
allocated for the returned parameter list.
Bit 7 6 5 4 3 2 1 0
Byte
0 (MSB) Generation
3 (LSB)
4 (MSB) Additional length (n - 7)
7 (LSB)
Reservation Key List
8 (MSB) First reservation key
15 (LSB)
...
Field descriptions:
Generation:
See SPC-3 r23.
Additional Length:
See SPC-3 r23.
Reservation Key List:
See SPC-3 r23.
Bit 7 6 5 4 3 2 1 0
Byte
0 (MSB) Generation
3 (LSB)
4 (MSB) Additional length (n - 7)
7 (LSB)
Field descriptions:
Generation:
See SPC-3 r23.
Additional Length:
See SPC-3 r23.
Reservation Descriptors:
See SPC-3 r23.
Bit 7 6 5 4 3 2 1 0
Byte
0 (MSB) Reservation Key
1 (LSB)
2 (MSB) Scope-Specific Address
Field descriptions:
Reservation Key:
See SPC-3 r23.
Scope-Specific Address:
See SPC-3 r23.
Scope:
See SPC-3 r23.
Type: See SPC-3 r23.
Initiators performing PERSISTENT RESERVE OUT service actions are identified by a reservation key
provided by the application client. An application client may use the PERSISTENT RESERVE IN command
to obtain the reservation key for the initiator holding a persistent reservation and may use the
PERSISTENT RESERVE OUT command to preempt that reservation.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (5Fh)
1 LUN Service Action
2 Scope Type
3 Reserved
4 Reserved
5 Reserved
6 Reserved
7 (MSB) Parameter List Length
8 (LSB)
9 Control
Field descriptions:
Service Action:
The following service actions are supported:
Type:
Scope:
The value in the Scope field specifies whether a persistent reservation applies to an entire logical
unit or to an element.
Code Description
Bit 7 6 5 4 3 2 1 0
Byte
0 (MSB) Reservation Key
7 (LSB)
8 (MSB) Service Action Reservation Key
15 (LSB)
16 (MSB) Scope-Specific Address
19 (LSB)
20 Reserved APTPL
21 Reserved
22 (MSB) Obsolete
23 (LSB)
Field descriptions:
Reservation Key:
The Reservation Key field contains a value provided by the application client to the device server
to identify the initiator that is the source of the PERSISTENT RESERVE OUT command.
Service Action Reservation Key:
For the Register, and Register and Ignore Existing Key service action, the Service Action
Reservation Key contains the new registration key to be registered. For the Preempt, and Preempt
and Abort service actions, the Service Action Reservation Key field contains the reservation key of
the persistent reservations that are being preempted. The Service Action Reservation Key field is
ignored for all other service actions.
Scope-Specific Address:
If the Scope is an Element Scope reservation, the Scope-Specific Address field shall contain the
element address (zero filled in the most significant two bytes).
APTPL:
The Activate Persist Through power Loss (APTPL) bit shall be valid only for the Register, or the
Register and Ignore Existing Key service action. In all other cases the APTPL bit shall be ignored.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (1Bh)
1 LUN Reserved
2 (MSB) Import/Export Element Address
3 (LSB)
4 Reserved Action Code
5 Control
Field descriptions:
Service Action :
By means of the Action Code the application client specifies the requested action for the I/O
Station specified by the Import/Export Element Address.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (2Bh)
1 LUN Reserved
2 (MSB) Medium Transport Address
3 (LSB)
4 (MSB) Destination Address
5 (LSB)
6 Reserved
7 Reserved
8 Reserved Invert
9 Control
Field descriptions:
Medium Transport Address:
This field contains either 0 or the currently valid element address of the Medium Transport
Element.
Destination Address:
This field contains the destination element address for the Position to Element command. This
destination address can be a Storage Element, Import/Export Element or a Data Transfer Element
address.
Invert:
The library does not support medium rotation. This value must be set to 0.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (1Eh)
1 LUN Reserved
2 Reserved
3 Reserved
4 Reserved Prevent
5 Control
Field descriptions:
Prevent:
When this bit is set, opening of the Import/Export element and unlocking of the magazine functions
are disabled. When the Prevent bit is cleared opening of the Import/Export element and the
unlocking of the magazine functions are enabled.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (3Ch)
1 LUN Reserved Mode
2 Buffer ID
3 (MSB)
4 Buffer offset
5 (LSB)
6 (MSB)
7 Allocation Length
8 (LSB)
9 Control
Field descriptions:
Mode: The Mode field is used to select the mode of operation. The media changer supports the following
values within the field.
If any non supported value is set, the media changer terminates the command with a Check
Condition status and an Illegal Request sense key set.
Buffer ID:
For all modes only buffer ID zero is supported.
Buffer Offset:
The Buffer Offset field is not supported and must be set to zero. If the Buffer Offset field specifies
an unsupported value, the media changer shall return Check Condition status. The sense key will
be set to ILLEGAL REQUEST and the sense data to INVALID FIELD IN CDB.
Allocation Length:
The Allocation Length specifies the maximum number of bytes that the initiator has allocated for
returned data.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved
1 Additional Page Length (2Ch)
2 Reserved
3 Reserved
4 (MSB)
... Current Setting Variables (42 bytes)
45 (LSB)
Note: For a description of the possible Setting Variables, see the table at the WRITE BUFFER command.
Descriptor Mode
In this mode, the media changer returns the Buffer Capacity of the specified Buffer ID in Data Mode. If a
not supported Buffer ID is specified the media changer will return zero as Buffer Capacity. Next table
specifies the Buffer Descriptor which is returned on a READ BUFFER command in Descriptor Mode.
Bit 7 6 5 4 3 2 1 0
Byte
0 Offset Boundard (0)
1 (MSB)
... Buffer Capacity
3 (LSB)
Field descriptions:
Offset Boundary:
The Offset Boundary field defines the byte alignment for the buffer. The media changer only
supports byte alignment, so this value will be zero.
Buffer Capacity:
The Buffer Capacity field returns the size of the specified Buffer ID buffer in bytes. Note that this is
the maximum size including the length byte. The Read Buffer command in Data Mode supports
Buffer ID zero. Buffer ID zero can store up to 256 bytes. The returned Buffer Capacity for Buffer ID
zero is 000100h. The uffer Capacity for all other Buffer ID values is set to 000000h.
Data Mode
In this mode, the library returns the information stored in the specified Buffer ID. This mode is used to test
SCSI bus data integrity in conjunction with the WRITE BUFFER command. The Data Mode returns up to
256 bytes from the specified Buffer ID to the host. The value in the Buffer Offset field may not exceed the
length of the specified Buffer ID. Only Buffer ID 00h is supported. Potential Buffer overruns are detected
and the command is rejected. By means of a READ BUFFER command in Data Mode the host can
retrieve the information sent by a WRITE BUFFER command in Data Mode. The returned number of bytes
is defined by the value stored in the Allocation Length field of the READ BUFFER CDB.
Echo Mode
In this mode, the library returns the same number of bytes of data as received in the prior Echo Mode
WRITE BUFFER command from the same host. If a prior Echo Mode WRITE BUFFER command did not
complete successfully the Echo Mode READ BUFFER command shall return Check Condition status. The
sense key shall be set to ILLEGAL REQUEST and the sense data shall be set to COMMAND SEQUENCE
ERROR. If the data in the Echo Buffer has been overwritten by another host the library shall return Check
Condition status. The sense key shall be set to ILLEGAL REQUEST and the sense data shall be set to
ECHO BUFFER OVERWRITTEN. The maximum length of the Echo Mode buffer is 256 bytes.
Bit 7 6 5 4 3 2 1 0
Byte
0-n (data defined by previous Echo Mode WRITE BUFFER command)
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved EBOS
1 Reserved
2 Reserved (MSB)
3 Buffer Capacity (LSB)
Field descriptions:
EBOS:
The Echo Buffer Overwritten Support bit is set. The library shall return
ECHO_BUFFER_OVERWRITEN sense data when the buffer is overwritten by another initiator.
Buffer Capacity:
The Buffer Capacity field returns the maximum size of the Echo Buffer in bytes. The Echo Buffer
can store up to 256 bytes.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (B8h)
1 LUN VolTag Element Type Code
2 (MSB) Starting Element Address
3 (LSB)
4 (MSB) Number of Elements
5 (LSB)
6 Reserved CurData DVCID
7 (MSB)
8 Allocation Length
9 (LSB)
10 Reserved
11 Control
Field descriptions:
VolTag:
If the VolTag bit is set the media changer shall return volume tag information in the element
descriptors. If the VolTag bit is not set the media changer shall not return volume tag information.
Element Type Code:
This field specifies the element type or types selected to report in response to this command. A
value of 0 indicates that status for all element types is to be reported.
Header
The data returned on a Read Element Status command always starts with the Header. This Header
reports the first element address, the number of elements, and the byte count of the report.
Bit 7 6 5 4 3 2 1 0
Byte
0-1 First Element Address Reported
2-3 Number of Elements Available
4 Reserved
5-7 Byte Count of Report Available
Field descriptions:
First Element Address Reported:
This field indicates the element address of the element with the smallest element address found to
meet the Read Element Status command's request.
Number of Elements Available:
This field indicates the number of elements found. The status for these elements is returned if the
Allocation Length specified in the Read Element Status command's CDB was sufficient.
Byte Count of Report Available:
This field indicates the number of available element status bytes that meet the CDB requirements.
This value does not adjust to match the Allocation Length field of the CDB and does not include
the 8 byte element status header.
Bit 7 6 5 4 3 2 1 0
Byte
0 Element Type Code
1 PvolTag AvolTag Reserved
2-3 Element Descriptor Length
Field descriptions:
Element Type Code:
This field specifies the element type of the next element descriptor(s). The supported element type
descriptors are:
PVolTag:
Primary Volume Tag. If the PVolTag bit is set, the device returns Primary Volume Tag information
in the Storage and Data Transfer Element descriptors.
AVolTag:
Alternate Volume Tag. The library does not support dual sided media. Therefore the Alternate
Volume Tag label is always set to zero even when the VolTag bit is set in the CDB.
Element Descriptor Length:
This field indicates the number of bytes in each element descriptor.
Byte Count of Descriptor Data Available:
This field indicates the number of bytes of element descriptor data available for elements of this
element type that meet the request in the CDB. The value is not adjusted to match the allocation
length available.
The element descriptors include the element address and status flags for the elements and may also
contain sense code information and/or other information depending on the element type. The following
subsections describe each of the possible element descriptors.
Bit 7 6 5 4 3 2 1 0
Byte
Subheader
0 Element Type Code (1h = Medium Transport)
1 PVolTag AVolTag Reserved
2-3 Transport Element Descriptor Length
4 Reserved
5-7 Byte Count of Descriptor Data Available
Element Descriptor
8-9 Medium Transport Element Address
Field descriptions:
PVolTag:
Primary Volume Tag. When set this flag indicates valid information in the Primary Volume Tag
Information field. This flag will be set when the VolTag field was set in the CDB.
AVolTag:
Alternate Volume Tag. Always set to 0.
Medium Transport Element Address:
This field provides the address of the Medium Transport Element of this changer device whose
status is reported by this element descriptor block.
Except:
Exception. An exception bit of 0 indicates the medium transport element is in a normal state. If this
bit is 1, information on the abnormal state may be available in the Additional Sense Code and
Additional Sense Code Qualifier fields.
Full: A full bit value of one indicates that the medium transport element of the changer device contains
a tape cartridge. A value of 0 indicates the medium transport element is empty.
Additional Sense Code:
This field may provide specific information about an abnormal medium transport state (valid only if
the Except bit is 1).
Additional Sense Code Qualifier:
This field may provide more detail about an abnormal medium transport state (valid only if the
Except bit is 1).
SValid:
Source Valid. When set to 1, indicates that the Source Storage Element Address field and the
Invert bit information fields are valid. When 0, indicates that the values in these fields are not valid.
Invert:
The library uses singe sided media and does not support inverting of the media. The value
reported for this field is 0.
0h Unspecified
1h Data Medium
2h Cleaning Medium
3h Diagnostics Medium
4h WORM Medium
5h - 7h Reserved
Next table contains a list of the ASC and ASCQ values that will appear in the Additional Sense Code and
Additional Sense Code Qualifier fields of the Medium Transport Element descriptor if the element is in an
abnormal state. The Except field of an element descriptor indicates if an element is in an abnormal state.
Bit 7 6 5 4 3 2 1 0
Byte
Subheader
0 Element Type Code (2h = Storage Element)
1 PVolTag AVolTag Reserved
2-3 Storage Element Descriptor Length
4 Reserved
5-7 Byte Count of Descriptor Data Available
Element Descriptor
8-9 Storage Element Address
10 Reserved Access Reserved Full
Field descriptions:
PVolTag:
Primary Volume Tag. When set this flag indicates valid information in the Primary Volume Tag
Information field. This flag will be set when the VolTag field was set in the CDB.
AVolTag:
Alternate Volume Tag. Always set to 0.
Storage Element Address:
This field provides the address of the Storage Element of this changer device whose status is
reported by this element descriptor block.
Access:
When set to 1 this field indicates that access to the storage element by a medium transport
element is allowed. If 0, indicates access to the storage element by a medium transport element is
denied.
Except:
Exception. An exception bit of 0 indicates the element is in a normal state. If this bit is 1,
information on the abnormal state may be available in the Additional Sense Code and Additional
Sense Code Qualifier fields.
Full: A full bit value of one indicates that the storage element of the changer device contains a tape
cartridge. A value of 0 indicates the storage address element is empty.
Additional Sense Code:
This field may provide specific information about an abnormal storage element state.
Additional Sense Code Qualifier:
This field may provide more detail about an abnormal storage element state.
SValid:
Source Valid. When set to 1, indicates that the Source Storage Element Address field and the
Invert bit information fields are valid. When 0, indicates that the values in these fields are not valid.
Invert:
The library uses singe sided media and does not support inverting of the media. The value
reported for this field is 0.
0h Unspecified
1h Data Medium
2h Cleaning Medium
3h Diagnostics Medium
4h WORM Medium
5h - 7h Reserved
Next table contains a list of the ASC and ASCQ values that will appear in the Additional Sense Code and
Additional Sense Code Qualifier fields of an element descriptor if the element is in an abnormal state. The
Except field of an element descriptor indicates if an element is in an abnormal state.
Bit 7 6 5 4 3 2 1 0
Byte
Subheader
0 Element Type Code (3h = Import / Export Element)
1 PVolTag AVolTag Reserved
2-3 Import / Export Element Descriptor Length
4 Reserved
5-7 Byte Count of Descriptor Data Available
Element Descriptor
8-9 Import / Export Element Address
Field descriptions:
PVolTag:
Primary Volume Tag. When set this flag indicates valid information in the Primary Volume Tag
Information field. This flag will be set when the VolTag field was set in the CDB.
AVolTag:
Alternate Volume Tag. Always set to 0.
Import/Export Element Address:
This field provides the address of the import/export element of this changer device whose status is
reported by this element descriptor block.
Full: A full bit value of 1 indicates that the import/export element address contains a unit of media. A
value of 0 indicates the import/export element address is empty.
ImpExp:
An import export bit of one indicates the unit of media in the import/export element was placed
there by an operator. An bit of zero indicates the unit of media in the import/export element was
placed there by the medium transport element.
Except:
Exception. An exception bit of 0 indicates the element is in a normal state. If this bit is 1,
information on the abnormal state may be available in the Additional Sense Code and Additional
Sense Code Qualifier fields.
Access:
When set to 1 this field indicates that access to the import/export element by a medium transport
element is allowed. If 0, indicates access to the import/export element by a medium transport
element is denied.
ExEnab:
An Export Enable bit of one indicates that the import/export element supports movement of media
into of the scope of the media changer device.
InEnab:
An InEnab bit of zero indicates that this element does not support import actions. An Import
0h Unspecified
1h Data Medium
2h Cleaning Medium
3h Diagnostics Medium
4h WORM Medium
5h - 7h Reserved
Next table contains a list of the ASC and ASCQ values that will appear in the Additional Sense Code and
Additional Sense Code Qualifier fields of an element descriptor if the element is in an abnormal state. The
Except field of an element descriptor indicates if an element is in an abnormal state.
Bit 7 6 5 4 3 2 1 0
Byte
Subheader
0 Element Type Code (4h = Data Transfer Element)
1 PVolTag AVolTag Reserved
2-3 Data Transfer Element Descriptor Length
4 Reserved
5-7 Byte Count of Descriptor Data Available
Element Descriptor
8-9 Data Transfer Element Address
10 Reserved Access Except Reserved Full
11 Reserved
12 Additional Sense Code
13 Additional Sense Code Qualifier
14 Obsolete Reserved IDValid Obsolete Reserved Obsolete
15 SCSI Bus Address
16 Reserved
17 SValid Invert Reserved ED Medium Type
18 - Source Storage Element Address
19
20 - Primary Volume Tag Information
55
(field omitted if PVolTag = 0)
56 Reserved Code Set
57 Reserved Identifier Type
58 Reserved
59 Identifier Length
60 - (MSB)
93
Identifier
(Omitted if DVCID = 0 in CDB)
(LSB)
Field descriptions:
PVolTag:
Primary Volume Tag. When set this flag indicates valid information in the Primary Volume Tag
Information field. This flag will be set when the VolTag field was set in the CDB.
0h Unspecified
1h Data Medium
2h Cleaning Medium
3h Diagnostics Medium
4h WORM Medium
5h - 7h Reserved
0 1 2 3 4 5 6 7
n n n n n n t t
The first six (6) characters are any combination of upper case A-Z or 0-9 (e.g. ABC123) to identify
the cartridge volume. The last two (2) characters are determined by the cartridge media type (i.e.
L for LTO and 1 for tape cartridge generation or drive manufacturer unique identifier).
Code Set:
If the DVCID bit is set in the CDB, the Code Set field is set to 2h, indicating that ASCII values are
returned. If the DVCID bit in the CDB is set to 0, the Code Set is set to 0h.
Identifier Type:
If the DVCID bit is set in the CDB, the Identifier Type is set to 1h. This indicates that the identifier
field contains an eight byte vendor identifier followed by vendor unique identifier information. If the
DVCID bit in the CDB is set to 0, the Identifier Type field is set to 0h.
Identifier Length:
The Identifier Length field contains the length in bytes of the Identifier field. When the DVCID bit is
not set in the CDB the Identifier Length field is set to 00h.
Identifier:
If the DVCID bit is set in the CDB, the Identifier field provides the Vendor ID, Product ID and tape
drive serial number. The format is identifier Type 1, which is equivalent to the drive's Inquiry page
83h. If the DVCID bit in the CDB is set to 0, the Identifier field is omitted.
Next table contains a list of the ASC and ASCQ values that will appear in the Additional Sense Code and
Additional Sense Code Qualifier fields of the Data Transfer Element descriptor if the element is in an
abnormal state. The Except field of an element descriptor indicates if an element is in an abnormal state.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (17h)
1 LUN Obsolete
2 Obsolete
3 Reserved
4 Reserved
5 Control
Field descriptions:
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (57h)
1 LUN 3rdPty Reserved LongID Reserved
2 Obsolete
3 Third Party Device ID
4 Reserved
5 Reserved
6 Reserved
7 (MSB) Parameter List Length
8 (LSB)
9 Control
Field descriptions:
LongID:
Device IDs greater than 255 are not supported, therefore setting of LongID will result in a Check
Condition status. The Sense Key will be set to ILLEGAL REQUEST and the sense data to
INVALID FIELD IN CDB.
3rdPty:
If the third party (3rdPty) bit is zero, then a third-party release is not requested. If the 3rdPty bit is
zero then the LongID and Parameter List Length field shall be ignored. If the 3rdPty bit is one then
the library shall release the reservation, but only if the initiator ID and Third-Party Device ID are
identical when compared to the RESERVE command that established the reservation.
Third-Party Device ID:
This field provides the Device ID for the third party when 3rdPty bit is set.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (A3)
1 LUN Service Action (0Ch)
2 Reserved Reporting Options
3 Requested Operation Code
4 (MSB) Requested Service Action
5 (LSB)
6 (MSB)
7 Allocation Length
8
9 (LSB)
10 Reserved
11 Control
Field descriptions:
Reporting Options :
The Reporting Options field specifies the information to be returned in the parameter data.
The REPORT SUPPORTED OPERATION CODES all_commands parameter data format begins with a
four-byte header that contains the length in bytes of the parameter data followed by a list of supported
commands. Each command descriptor contains information about a single supported command CDB (i.e.,
one operation code and service action combination, or one non-service-action operation code). The list of
command descriptors shall contain all commands supported by the logical unit.
Bit 7 6 5 4 3 2 1 0
Byte
0-3 Command data length (n-3)
4-n Command Descriptors
Each Command Descriptor contains information about a single supported command CDB. The Command
Descriptor format is shown in next table:
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code
1 Reserved
2 (MSB) Service Action
3 (LSB)
4-5 Reserved
6 (MSB) CDB Length
7 (LSB)
The REPORT SUPPORTED OPERATION CODES one_command parameter data format contains
information about the CDB and a usage map for bits in the CDB for the command specified by the
Reporting Options, Requested Operation Code, and Requested Service Action fields in the REPORT
SUPPORTED OPERATION CODES CDB.
Bit 7 6 5 4 3 2 1 0
Byte
0 Reserved
1 Reserved Support
2 (MSB) CDB Size (n-3)
3 (LSB)
4 (MSB) CDB Usage Data
n (LSB)
Field descriptions:
Support:
The Reporting Options field specifies the information to be returned in the parameter data.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (A3)
1 LUN Service Action (0Fh)
2 Reserved
3 Reserved
4 Reserved
5 Reserved
6 (MSB)
7 Allocation Length
8
9 (LSB)
10 Reserved
11 Control
Field descriptions:
Allocation Length:
The Allocation Length field specifies the number bytes the application client has allocated for the
returned data.
The Timestamp shall not be affected by an I_T nexus loss or a logical unit reset. The Timestamp is
cleared on a hard reset event.
Bit 7 6 5 4 3 2 1 0
Byte
0-1 Timestamp parameter data length (0Ah)
2 Reserved Timestamp Origin
3 Reserved
4-9 Timestamp
10 - Reserved
11
Field descriptions:
Timestamp parameter data length:
The Timestamp parameter data length field indicates the number of bytes of parameter data that
follow.
Timestamp Origin :
The Timestamp origin field indicates the origin of the timestamp.
Code Description
TimeStamp :
The Timestamp field contains the current value of the timestamp. The Time Stamp field returns the
number of milliseconds that have elapsed since midnight, 1 January 1970 UT.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (1Dh)
1 LUN PF (1) Reserved SelfT (1) DOfl (0) UOfl (0)
2 Reserved
3 (MSB) Parameter List Length (0)
4 (LSB)
5 Control
Field descriptions:
PF: Page Format. The value for this bit must be set to 1 to indicate that the SEND DIAGNOSTICS
parameters conform to the page structure as specified in SCSI-2.
SelfT: This bit indicates whether the media changer should perform the diagnostic test specified in the
parameter list or a standard self-test. The library only supports the self-test and should therefore
be set to 1.
DOfl: Device Offline. Since diagnostics tests must be performed when the media changer is online, the
value of this bit must be set to 0.
UOfl: Unit Offline. Since the media changer is a single logical unit, the value of this bit must be set to 0.
Parameter List Length:
The media changer does not accept additional parameters for diagnostics test. Must be set to
zero.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (B6h)
1 LUN Reserved Element Type Code
2 (MSB) Element Address
3 (LSB)
4 Reserved
5 Reserved Send Action Code
6-7 Reserved
8 (MSB) Parameter List Length
9 (LSB)
10 Reserved
11 Control
Field descriptions:
Element Type Code:
The Element Type Code field specifies an element type specification as defined in the Read
Element Status command. If the Send Action Code field indicates a translate operation, this field
indicates the element types to be searched. If the value is zero, all element types are candidates
for a translate operation. If the Send Action Code does not indicate a translate, this field shall be
treated as reserved.
Element Address:
The Element Address field gives the media changer element address whose interpretation
depends on the Send Action Code field. When the Send Action Code field is a translate, the
Element Address field gives the starting element to be examined for the search operation. When
the Send Action Code field is assert, replace, or undefined, the Element Address field gives the
specific Element Address where the volume tag information for a volume is to be modified.
Send Action Code:
The Send Action Code field gives the function to be performed by this command as specified in
next table:
Code Description
0h Translate - search all defined volume tags
1h Translate - search only primary volume tags
4h Translate - search all defined tags, ignore sequence numbers
5h Translate - search primary tags, ignore sequence numbers
8h Assert - as the primary volume tag, if tag now undefined
Ah Replace - the primary volume tag - current tag ignored
Ch Undefine - the primary volume tag - current tag ignored
Field descriptions:
Volume Identification Template:
The Volume Identification Template field specifies a search template for translate functions and the
value of the new volume identification information for other Send Volume Tag command functions.
As a search template, this field may contain the wildcard characters ? and *. The ? shall match
any single character. The * shall match any string of characters. When it appears in a template the
remainder of the template at higher offsets in the field is not used. For assert, replace, or
undefined functions, the wildcard characters may not be used.
Minimum Volume Sequence Number:
The Minimum Volume Sequence Number field specifies the new sequence number for the assert
and replace functions. For a translate, this field specifies the least value in the volume sequence
number field of the volume tag information that meets the search specification.
Maximum Volume Sequence Number:
The Maximum Volume Sequence Number field specifies the maximum number value in the volume
sequence number field of the volume tag information that meets the search specification. This field
is ignored for assert, replace, and undefine functions.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (A4)
1 LUN Service Action (0Fh)
2 Reserved
3 Reserved
4 Reserved
5 Reserved
6 (MSB)
7 Parameter List Length
8
9 (LSB)
10 Reserved
11 Control
Field descriptions:
Parameter List Length:
The PARAMETER LIST LENGTH field specifies the length in bytes of the SET TIMESTAMP
parameters that shall be transferred from the application client to the device server. A parameter
list length of zero indicates that no data shall be transferred, and that no change shall be made to
the timestamp.
Bit 7 6 5 4 3 2 1 0
Byte
0-3 Reserved
4-9 Time Stamp
10 - Reserved
11
The TIMESTAMP field shall contain the initial value of the timestamp in the format defined in above table.
The Time Stamp field should be the number of milliseconds that have elapsed since midnight, 1 January
1970 UT. If the high order byte in the TIMESTAMP field is greater than F0h, the command shall be
terminated with CHECK CONDITION status, with the sense key set to ILLEGAL REQUEST, and the
additional sense code set to INVALID FIELD IN PARAMETER LIST.
On successful completion of a SET TIMESTAMP command the device server shall generate a unit
attention condition for the initiator port associated with every I_T nexus except the I_T nexus on which the
SET TIMESTAMP command was received, with the additional sense code set to TIMESTAMP CHANGED.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (03h)
1 LUN Reserved
2 Reserved
3 Reserved
4 Allocation Length
5 Control
Field descriptions:
Allocation length:
This field specifies the maximum sense data length the hosts wants to receive.
The sense data is valid for a check condition status returned on the previous command. The sense data
bytes are preserved by the library until retrieved by the REQUEST SENSE command from the same
initiator.
If the media changer receives a REQUEST SENSE command, it returns up to 18 bytes of Sense Data
with the appropriate values in the Sense Key, Additional Sense Code, and Additional Sense Code
Qualifier.
Bit 7 6 5 4 3 2 1 0
Byte
0 Valid (0) Response code (70h)
1 Segment number
2 Filemark EOM ILI Reserved Sense Key
3-6 Information
7 Additional sense length (0Ah)
8 - 11 Reserved
12 Additional sense code
13 Additional sense code qualifier
14 Reserved
15 SKSV C/D Reserved BPV Bit Pointer
16 (MSB) Field Pointer
17 (LSB)
Field descriptions
Valid: A Valid bit of one indicates that the Information field contains valid information as defined in the
SCSI specification. This bit is set to 0.
Note: A list of possible sense keys, with supported sense codes (ASC) and additional sense code
qualifiers (ASCQ) is available in chapter 8.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (B5h)
1 LUN VolTag Obsolete
2 (MSB) Element Address
3 (LSB)
4 (MSB) Number Elements to Report
5 (LSB)
6 Reserved
7 (MSB)
8 Allocation Length
9 (LSB)
10 Reserved
11 Control
For each Send Volume Tag command, the library shall report in response to a Request Volume Element
Address command zero or more elements that match a volume tag template in element address order.
Once information for a given element address has been reported, only higher element addresses shall be
reported by subsequent Request Volume Element Address commands.
Field descriptions:
VolTag:
A VolTag bit of one indicates that the library shall report volume tag information. A value of zero
indicates that the volume tag information shall not be reported.
Element Address:
The Element Address field specifies a media changer element address whose interpretation
depends on the Send Action Code field of the last successful Send Volume Tag command. When
the Send Action Code field was a translate, the Element Address field gives the minimum element
address to be reported by this command. When the Send Action Code field is assert, replace, or
undefine, the Element Address field gives the particular element whose volume tag information
was modified.
Number of Elements to Report:
The Number of Elements to Report field specifies the maximum number of elements to report of
those that match the last Send Volume Tag command translate template.
Allocation Length:
If the Allocation Length is not sufficient to transfer all the element descriptors, the library shall only
return those descriptors whose complete contents fit within the allocation length.
Field descriptions:
First Element Address Reported:
This field indicates the element address of the element with the smallest element address found to
meet the Send Volume Tag command s request.
Number of Elements Reported:
This field indicates the number of elements found. The status for these elements is returned if the
Allocation Length specified in the Request Volume Element Address command was sufficient.
Send Action Code:
The Send Action Code in the Request Volume Element Address Header returns the Send Action
code of the last successful Send Volume Tag command.
Byte Count of Report Available:
This field indicates the number of available element status bytes that meet the CDB requirements.
This value does not adjust to match the Allocation Length field of the CDB and does not include
the 8 byte Request Volume Element Address header.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (16h)
1 LUN Obsolete
2 Obsolete
3 Obsolete
4
5 Control
Field descriptions:
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (56h)
1 LUN 3rdPty Reserved LongID Reserved
2 Obsolete
3 Third-Party Device ID
4 Reserved
5 Reserved
6 Reserved
7 (MSB) Parameter List Length
8 (LSB)
9 Control
Field descriptions:
LongID:
Device IDs greater than 255 are not supported, therefore setting of LongID will result in a Check
Condition status. The Sense Key will be set to ILLEGAL REQUEST and the sense data to
INVALID FIELD IN CDB.
3rdPty:
If the third party (3rdPty) bit is zero, then a third-party reservation is not requested. If the 3rdPty bit
is zero then the LongID and Parameter List Length field shall be ignored. If the 3rdPty bit is one
then the library is reserved by the initiator ID specified in the Third-Party Device ID field. The
reservation is preserved until it is superseded by another valid RESERVE command from the
initiator that made the reservation or until it is released by the same initiator, by a SCSI RESET
message, or by a Hard Reset condition, or by a power-on cycle. The library shall ignore any
attempt to release the reservation made by any other initiator.
Third-Party Device ID:
This field provides the Device ID for the third party when 3rdPty bit is set.
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (00h)
1 LUN Reserved
2 Reserved
3 Reserved
4 Reserved
5 Control
Field descriptions:
Bit 7 6 5 4 3 2 1 0
Byte
0 Operation Code (3Bh)
1 LUN Reserved Mode
2 Buffer ID
3 (MSB)
4 Buffer offset
5 (LSB)
6 (MSB)
7 Parameter list length
8 (LSB)
9 Control
Field descriptions:
Mode: The Mode field is used to select the mode of operation. The media changer supports the following
values within this field.
0010b Data
0100b Download microcode
0101b Download microcode and save
1010b Echo buffer
If any non supported value is set, the media changer terminates the command with a Check
Condition status. The sense key will be set to ILLEGAL REQUEST and the sense data to INVALID
FIELD IN CDB.
Buffer ID:
When the Mode is set to Download micro code or Download micro code and save, the Buffer ID
should be set to zero. When the mode is set to Vendor Unique operation, the Buffer ID indicates
the requested page to update. If the value of the Buffer ID is not supported by the specified Mode
the command is rejected. The target detects and rejects commands that would overrun the buffer.
Buffer Offset:
The Buffer Offset is required for the Download micro code (and save) modes and optional for the
Vendor Unique and Data modes. In all other modes the Buffer Offset must be set to zero.
The supported Buffer ID field for Mode 4 (Download micro code) and Mode 5 (Download micro code and
save) are:
Mode 4 should be used for all transfers, and the last transfer can be Mode 4 or Mode 5.
Bit 7 6 5 4 3 2 1 0
Byte
0-n (Echo Mode WRITE BUFFER data)
Command Complete
The COMMAND COMPLETE message is sent from a target to an initiator to indicate that the execution of
a command completed and a valid status has been sent to the initiator.
Extended messages
The library supports two extended messages: Synchronous Data Transfer Request (01h) and Wide Data
Transfer Request (03h). All other extended messages are rejected with a Reject message after receiving
the entire Extended message. The SDTR is used to negotiate data transfer agreements. If the host wants
to transfer data synchronously it must negotiate a synchronous data transfer agreement with the target
before transferring data. The media changer does not support synchronous data transfer. When it receives
a SDTR from a initiator, it returns a SDTR message with a REQ/ACK offset equal to zero. This indicates
that the media changer requires asynchronous data transfer.
Bit 7 6 5 4 3 2 1 0
Byte
0 Extended Message (01h)
1 Extended Message Length (03h)
2 Extended Message Code (01h)
3 Transfer Period Factor
4 REQ/ACK Offset
The Transfer Period Factor field indicated the value for the Transfer Period in 4ns counts. This value is not
used, the returned value is 00h. The media changer returns 00h for the REQ/ACK Offset field indicating
that the media changer requires asynchronous data transfer.
4-1
The Wide Data Transfer Request message is used to negotiate the width of the data path for the data
transfers between the media changer and the initiator. The width applies to data phases only. The media
changer does not support wide data transfers. When it receives a WDTR message from the initiator, it
returns a WDTR message with a transfer width exponent of 0 (8-bit transfer width). The successful
exchange of WDTR message implies an agreement to an 8-bit data transfer width.
Bit 7 6 5 4 3 2 1 0
Byte
0 Extended Message (01h)
1 Extended Message Length (02h)
2 Extended Message Code (03h)
3 Transfer Width Exponent
The Transfer Width field determines the width of the data path for data transfers. The media changer will
return 00h for this field. This indicates that the media changer supports an 8-bit data transfer width only.
Restore Pointers
The media changer sends the RESTORE POINTERS message to direct the initiator to copy the most
recently saved command, data and status pointers of the I/0 process to the corresponding active pointers.
The command and status pointers are restored to the value at the beginning of the data area. The media
changer sends the Restore Pointers message after a detecting a parity error during the command phase
or data out phase. After the media changer successfully sends the Restore Pointers message to the
initiator, the media changer restarts the command, data in, data out, or status phase from the beginning.
Disconnect
The DISCONNECT message is sent by a target to inform an initiator that the present data transfer will be
suspended. the target will reselect the initiator at a later time to continue the current operation.
Abort
The ABORT message terminates the current I/O process. The target goes directly to the BUS FREE phase
after receipt of this message.
Message Reject
The MESSAGE REJECT message is sent from the initiator or target to indicate that the last message
received was inappropriate or not implemented.
Identify
The IDENTIFY messages are sent either by the initiator or by the target to establish (or reestablish) the
logical connection path between an initiator and target for a particular logical unit.
Bit 7 6 5 4 3 2 1 0
Byte
0 Identify DiscPriv LUNTAR Reserved LUN
Field Descriptions:
Bit 7 - Identify
This bit must be set to 1 to indicate this is the Identify message.
Bit 6 - DiscPriv (Disconnect Privlege)
This bit indicates whether the initiator supports the disconnect privelege, as follows:
v 0 - Disconnect is not allowed
v 1 - Disconnect is allowed
The media changer always sets this bit to 0. Only initiators indicate if they support disconnect.
Bit 5 - LUNTAR (Logical Unit Target)
This bit indicates the LUNs that you can access on this device. This bit must be set to 0 to
indicate that the Identify message is directed to a logical unit.
Bit 2 ..0 - LUN (Logical Unit Number)
The only supported logical unit number for the media changer is 1. If the LUN fiels is set to a other
value than 0, the media changer returns Check Condition status to commands other than
INQUIRY and REQUEST SENSE, and the sense data is set to indicate that the logical unit is not
supported.
5-1
5-2 TL2000 and TL4000 SCSI Reference
Chapter 6. Command Timeouts
Next table will list the library media changer commands with the recommended maximum time-out values.
Note: If the library is working in a multi host environment, the time-out values should be adjusted for the
worst case time-out value from a pending motion command from another host.
6-1
B6h SEND VOLUME TAG 30 seconds
A4h SET TIMESTAMP 30 seconds
00h TEST UNIT READY 10 seconds
3Bh WRITE BUFFER 3 minutes 5
Notes:
1. The Initialize Element Status time-out assumes a fully populated unit.
2. The Initialize Element Status With Range time-out assumes a fully populated unit.
3. The Move Medium command assumes a move from one storage element to the data transfer element
or vice versa. If the cartridge has not been unloaded by a host command to the tape drive, prior to
receiving the Move Medium command, the media changer will issue an Unload command to the tape
drive. Therefore, the time-out value needs to be adjusted fro the maximum time a data transfer
element takes to rewind and unload the cartridge.
4. The Read Buffer time-out is based on a 16K-data-chunk request. Adjust the time-out value if larger
data chunks are requested.
5. The Write Buffer time-out is based on a 16K-data-chunk request. Adjust the time-out value if larger
data chunks are sent.
7-1
Sense Key ASC ASCQ Description
Hardware Error (04) 81h 80h Cannot initialize bar code reader
81h 81h No response from bar code reader
81h 82h No response from EEPROM
81h 83h Slave robotic generic problem
81h 84h Setting of gripper pic value failed
81h 85h Setting of slider pic value failed
81h 86h Setting of elevator pic value failed
81h 87h Setting of rotation pic value failed
81h 88h Setting of sled pic value failed
81h 89h Gripper blocked
81h 8Ah Slider blocked
81h 8Bh Elevator blocked
81h 8Ch Rotation blocked
81h 8Dh Sled blocked
81h 8Eh Cannot find gripper block
81h 8Fh Cannot find slider block
81h 90h Cannot find elevator block
81h 91h Cannot find rotation block
81h 92h Cannot find sled block
81h 93h Gripper outside range
81h 94h Slider outside range
81h 95h Elevator outside range
81h 96h Rotation outside range
81h 97h Sled outside range
81h 98h No cartridge present sensor found
81h 99h No slider home sensor found
81h 9Ah No rotation home sensor found
81h 9Bh No sled position sensor found
81h 9Ch The range of gripper is wrong
81h 9Dh The range of slider is wrong
81h 9Eh The range of elevator is wrong
81h 9Fh The range of rotation is wrong
81h A0h The range of sled is wrong
81h A1h Open import/export element failed
81h B0h Slave robotic controller response timeout
81h B1h NACK received from slave robotic controller
81h B2h Slave robotic controller communication failed
81h B3h Slave robotic controller urgent stop
81h B4h Cartridge did not transport completely
81h B5h Slave robotic controller does not respond on command
A
A3h (REPORT SUPPORTED OPERATION L
CODES) 3-67 LOG SELECT (4Ch) 3-10
A3h (REPORT TIMESTAMP) 3-70 LOG SENSE (4Dh) 3-11
A4h (SET TIMESTAMP) 3-75
A5h (MOVE MEDIUM) 3-41
abort 4-2 M
ASC 7-1 message parity error 4-3
ASCQ 7-1 message reject 4-2
messages, extended 4-1
MODE SELECT (4Ch) 3-21
B MODE SELECT (55h) 3-29
B5h (REQUEST VOLUME ELEMENT ADDRESS) 3-79 MODE SENSE (1Ah) 3-30
B6h (SEND VOLUME TAG) 3-73 MODE SENSE (5Ah) 3-39
B8h (READ ELEMENT STATUS) 3-53 MOVE MEDIUM (A5h) 3-41
bus device reset 4-3
N
C no operation 4-3
cartridge Not Ready Condition
cleaning about 2-2
detection 2-1
command complete 4-1
Command Status Byte 5-1 O
command supported 3-1 OCP
command timeouts 6-1 features 2-4
commands OPEN/CLOSE IMPORT/EXPORT ELEMENT
allowed in the presence of reservations 2-3 (1Bh) 3-47
X-1
P restore pointers 4-2
RMU
PERSISTENT RESERVE IN (5Eh) 3-42
features 2-4
PERSISTENT RESERVE OUT (5Fh) 3-45
POSITION TO ELEMENT (2Bh) 3-48
PREVENT / ALLOW MEDIA REMOVAL (1Eh) 3-49
S
save data pointers 4-2
R SEND DIAGNOSTIC (1Dh) 3-72
SEND VOLUME TAG (B6h) 3-73
READ BUFFER (3CH) 3-50
Sense keys 7-1
READ ELEMENT STATUS (B8h) 3-53
SET TIMESTAMP (A4h) 3-75
RELEASE (17h) 3-65
RELEASE 10 (57H) 3-66
REPORT SUPPORTED OPERATION CODES
(A3h) 3-67
T
REPORT TIMESTAMP (A3h) 3-70 TEST UNIT READY (00h) 3-83
REQUEST SENSE (03h) 3-76
REQUEST VOLUME ELEMENT ADDRESS (B5h) 3-79
RESERVE (16h) 3-81 W
RESERVE 10 (56H) 3-82 WRITE BUFFER (3Bh) 3-84