Summary of the content on the page No. 1
HP Ultrium tape drives
Technical reference manual
Generation 3 drives
Volume 3—the SCSI interface
Part Number: Q1530–90901 Volume 3
Edition 6, December 2004
Summary of the content on the page No. 2
Legal and notice information © Copyright 2000–2004—Hewlett-Packard Development Company, L.P. The information contained in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or direct, indirect, special, incidental or consequential damages in conne
Summary of the content on the page No. 3
Contents Related documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Documents specific to HP Ultrium drives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Documentation map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 General documents and standardization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1 Interface Implementatio
Summary of the content on the page No. 4
Illegal Command check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Illegal Field/Request check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Media Access check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Media Information check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Media Write c
Summary of the content on the page No. 5
Read-Write Error Recovery mode page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Disconnect-Reconnect page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 SCSI drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Control mode page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Data Compression Charact
Summary of the content on the page No. 6
Fixed format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 Descriptor format 152 Sense data management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Current sense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 UNIT ATTENTION sense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 DEF
Summary of the content on the page No. 7
Related documents This is one of six volumes that document HP Ultrium drives. This volume provides background information for driver and application developers. The following documents provide additional information: Documents specific to HP Ultrium drives Hardware Integration Guide, volume 1 of the HP Ultrium Technical Reference Manual Software Integration Guide, volume 2 of the HP Ultrium Technical Reference Manual Specifications, volume 4 of the HP Ultrium Technical Reference Manual
Summary of the content on the page No. 8
SCSI Drives FC Drives Optimizing performance (SCSI only) 1 HW Integration: ch. 8n/a 2 SW Integration: ch. 4 UNIX configuration 5 UNIX Config Operation SCSI Drives FC Drives External drives (SCSI only) 1 HW Integration: ch. 5n/a In Libraries 1 HW Integration: ch. 1 In Servers (SCSI only) 1 HW Integration: ch. 4n/a In Tape Arrays (SCSI only) 1 HW Integration: ch. 3n/a Cartridges SCSI Drives FC Drives Cartridge Memory (LTO-CM) 2 SW Integration: ch. 5 6 HW Integration: ch. 5 Cartridges 1 HW Integrat
Summary of the content on the page No. 9
Maintenance and troubleshooting SCSI Drives FC Drives Cleaning 2 SW Integration: ch. 5 2 SW Integration: ch. 7 External drives (SCSI only) 1 HW Integration: ch. 5n/a In Libraries 1 HW Integration: ch. 1 In Servers (SCSI only) 1 HW Integration: ch. 4n/a In Tape Arrays (SCSI only) 1 HW Integration: ch. 3n/a Monitoring drive and tape condition 2 SW Integration: ch. 7 Software troubleshooting techniques 2 SW Integration: ch. 1 Dealing with errors SCSI Drives FC Drives Error Codes 1 HW Integration: c
Summary of the content on the page No. 10
SCSI Drives FC Drives Software design 2 SW Integration: ch. 1 Supporting Ultrium features 2 SW Integration: ch. 5 Ultrium Format 6 Background: ch. 2 General documents and standardization Enhanced Small Computer System Interface (SCSI-2), ANSI X3T9.2-1993 Rev. 10L, available through ANSI See http://www.t10.org/t10_main.htm for ANSI SCSI-3 and other specifications Copies of documents of other standards bodies can be obtained from: ANSI 11 West 42nd Street New York, NY 10036-8002 USA ISO CP 5
Summary of the content on the page No. 11
1 Interface Implementation HP Ultrium drives use SCSI-3 as the interface to connect to the host system. This chapter gives an overview of how the interface operates. Full details of the messages are given in Chapter 2 and of commands in Chapter 3 and Chapter 4. The SCSI interface The Small Computer System Interface (SCSI) is an industry standard, approved by the American National Standards Institute (ANSI). You are recommended to read the ANSI standard document in conjunction with this manual
Summary of the content on the page No. 12
DISCONNECT IDENTIFY IGNORE WIDE RESIDUE INITIATOR DETECTED ERROR MESSAGE PARITY ERROR MESSAGE REJECT NO-OP (no operation) PARALLEL PROTOCOL REQUEST (PPR) RESTORE POINTERS SAVE DATA POINTER SYNCHRONOUS DATA TRANSFER REQUEST WIDE DATA TRANSFER REQUEST For implementation details on these messages, see Chapter 2, “Messages” Supported commands The following commands are supported by the drives. They include all Mandatory and Extended commands and most Optional commands. 19h E
Summary of the content on the page No. 13
The following additional commands are supported for CD-ROM mode: 08h READ 6 43h READ TOC 28h READ 10 2Bh SEEK 25h READ CAPACITY 1Bh START/STOP UNIT For implementation details on these commands, see Chapter 3, “Commands—introduction” and Chapter 4, “Commands”. SCSI features Design approach The features supported by the drive are based on standards, both official and de facto. The drive is fully compliant with the current SCSI standards: SPC3, SSC2, SAM2, and the relevant transport protocol (e.
Summary of the content on the page No. 14
A UNIT ATTENTION condition is set, based on the type of reset The drive will respond to INQUIRY, TEST UNIT READY, REPORT LUNS and REQUEST SENSE within 250 ms of the reset line being released. The first command from any initiator (other than INQUIRY, REQUEST SENSE and REPORT LUNS) will result in CHECK CONDITION status with UNIT ATTENTION sense data for the reset. Note that all commands will receive BUSY status until the drive has completed its internal reset. The Reset button on the front
Summary of the content on the page No. 15
Command Abort Processing PREVENT/ALLOW The command completes. MEDIUM REMOVAL READ The logical position is set to that at the start of the operation. READ BLOCK LIMITS None READ BUFFER None READ POSITION None RECEIVE DIAGNOSTICS None RESULTS RELEASE UNIT The command completes. REQUEST SENSE Sense data is discarded. RESERVE UNIT The command completes. REWIND The command completes. SEND DIAGNOSTIC If data transfer is complete, the command is completed, otherwise no action is taken SPACE The logica
Summary of the content on the page No. 16
If Information Units is enabled (parallel SCSI only), the drive will drop the bus on detecting a CRC error during a LQ_IU. If the CRC error occurs during the Information Units command phase or data out phase, the drive will return CHECK CONDITION with a CRC error. Additional sense is set to 4703h (Information Unit CRC error detected). On detecting an Initiator Detected error, the drive will return CHECK CONDITION with additional sense of 4800h (initator detected error message received). The
Summary of the content on the page No. 17
CDB arrives REQUEST SENSE from Yes an initiator in CA or INQUIRY with EVPD=0 No No Disconnect priv granted Yes Send data Disconnect Previous cmd No still in progress? Yes No Data transfer Yes required? Execute cmd Reselect Transfer data & Reselect execute cmd Send BUSY Send status Send status status Cmd complete Cmd complete Cmd complete Multi-initiator support All drives are design to operate within a multi-initiator environment. The maximum number of concurrently connected initiators is
Summary of the content on the page No. 18
Sense Data, Unit Attention and Deferred Errors are maintained for each initiator. Mode Parameters are common to all initiators. The untagged queuing model implemented by the drives guarantees that all commands are executed in strict order of receipt. Certain non-media access type commands, such as TEST UNIT READY, INQUIRY, REQUEST SENSE and REPORT LUNS, are implicitly allowed to queue-jump other media access type commands, such as REWIND. The parallel SCSI drive supports the full command que
Summary of the content on the page No. 19
IEEE Company ID (24 bits). Assigned by IEEE to the company. Vendor Specified ID (36 bits). Assigned by the company. Addresses Each Fibre Channel port also has a Port Address which is assigned during loop initialization and/or Fabric Login. This is a 24-bit value in the following format: The AL_PA is the Arbitrated Loop Physical Address. This is normally assigned dynamically during loop initialization. If the loop is not attached to a fabric (in other words, when it is private,) the top two
Summary of the content on the page No. 20
The values of the names can be obtained using the Device Identification Vital Product Information Page (part of the INQUIRY command). Implications for libraries Normally a standalone drive will operate using its own ‘hard’ names. The drive knows it is in a library or other ‘managed’ environment since one of the signal lines on the ACI (Automation Control Interface) will be tied down. In this case, the drive will not go on the FC loop until it is told to. The library can optionally downloa