Resumo do conteúdo contido na página número 1
the SCSI
interface
hp ultrium drives
technical reference manual
generation 2 SCSI and FC drives
volume 3: the SCSI interface
Part Number: C7379–90900 Volume 3
Edition 4, February 2003
Resumo do conteúdo contido na página número 2
This document contains proprietary Notice information which is protected by The information contained in this copyright. All rights reserved. No document is subject to change part of this document may be without notice. photocopied, reproduced or Hewlett-Packard makes no translated to another language warranty of any kind with regard to without the prior written consent of this material, including, but not Hewlett-Packard. limited to, the implied warranties of © Copyright 2000–2003 by
Resumo do conteúdo contido na página número 3
The Purpose of this Manual This is one of five volumes that document HP Ultrium drives. This volume provides background information for driver and application developers. The following products are covered. Capacities are when the drive is using data compression with a compression ratio of 2:1, where applicable: ■ HP Ultrium Generation 2 Full-Height SCSI Internal Drive ■ HP Ultrium Generation 2 Full Height FC Internal Drive Note Throughout this manual frequent reference is made to SCSI comm
Resumo do conteúdo contido na página número 4
Documentation Map The following will help you locate information in the 6-volume Technical Reference Manual: Drives—general SCSI Drives FC Drives Connectors 1 HW Integration: ch. 7 1 HW Integration: ch. 4 Controller architecture 6 Background: ch. 4 Front Panel LEDs 1 HW Integration: ch. 6 1 HW Integration: ch. 3 Mechanism and hardware 6 Background: ch. 3 Specifications 4 Specs Installation and Configuration SCSI Drives FC Drives Connectors 1 HW Integration: ch. 7 1 HW Integration: ch. 4 Determ
Resumo do conteúdo contido na página número 5
Cartridges SCSI Drives FC Drives Cartridge Memory (LTO-CM) 2 SW Integration: ch. 5 6 HW Integration: ch. 5 Cartridges 1 HW Integration: ch. 9 1 HW Integration: ch. 5 Features 6 HW Integration: ch. 5 Managing the use of cartridges 2 SW Integration: ch. 1 Use of cartridges 2 SW Integration: ch. 3 Interface SCSI Drives FC Drives SCSI Guide 3 SCSI Commands 3 SCSI: ch. 4 Error codes 1 HW Integration: ch. 10 1 HW Integration: ch. 6 Implementation 3 SCSI: ch. 1 Interpreting sense data 2 SW Integration:
Resumo do conteúdo contido na página número 6
Dealing with Errors SCSI Drives FC Drives Error Codes 1 HW Integration: ch. 10 1 HW Integration: ch. 6 Handling errors 2 SW Integration: ch. 5 How error correction works 6 Background: ch. 4 Logs—see the LOG SENSE command 3 SCSI: ch. 4 Recovering from write and read errors 2 SW Integration: ch. 7 Software response to error correction 2 SW Integration: ch. 3 Software response to logs 2 SW Integration: ch. 3 TapeAlert log 2 SW Integration: ch. 7 Ultrium Features SCSI Drives FC Drives Adaptive Tape
Resumo do conteúdo contido na página número 7
General Documents and Standardization ■ Small Computer System Interface (SCSI-1), ANSI X3.131-1986. This is the ANSI authorized standard for SCSI implementation, available through ANSI ■ Enhanced Small Computer System Interface (SCSI-2), ANSI X3T9.2-1993 Rev. 10L, available through ANSI Copies of General Documents can be obtained from: ANSI 11 West 42nd Street New York, NY 10036-8002 USA ISO CP 56 CH-1211 Geneva 20 Switzerland ECMA 114 Rue du Rhône Tel: +41 22 849 6000 CH-1204 Geneva Web URL
Resumo do conteúdo contido na página número 8
8
Resumo do conteúdo contido na página número 9
contents Contents The Purpose of this Manual 3 Related Documents 3 Documents Specific to HP Ultrium Drives 3 Documentation Map 4 General Documents and Standardization 7 1 Interface Implementation 13 The SCSI Interface 13 Supported Messages 14 Supported Commands 14 SCSI Features 15 Design Approach 15 Power-On 15 Reset Strategy 15 Abort Handling 16 Bus Parity Errors (Parallel SCSI only) 18 Disconnect Strategy (Parallel SCSI only) 19 Multi-Initiator Support 19 Fibre Channel Operation 20 Fibre Chann
Resumo do conteúdo contido na página número 10
2 Messages 25 Message Out Support (Parallel SCSI only) 25 Message In Support (Parallel SCSI only) 26 Extended Message Support 27 Status 29 3 Commands—Introduction 31 Summary 31 Command Details 32 Pre-Execution Checks 32 Bad LUN Check 32 Deferred Error Check 33 Diagnostic Status Check 33 Fixed Bit Check 34 Flag Link Check 34 Illegal Command Check 34 Illegal Field/Request Check 34 Media Access Check 35 Media Information Check 36 Media Write Check 37 Parameter List Check 37 Reservation Check 37 Uni
Resumo do conteúdo contido na página número 11
Contents LOCATE 2Bh 58 LOG SELECT 4Ch 60 LOG SENSE 4Dh 62 Log Page Format 63 Supported Log Pages Page 64 Write Error Counters Log Page 65 Read Error Counters Log Page 66 Sequential Access Device Log Page 66 TapeAlert Log Page 67 Tape Usage Log Page 69 Tape Capacity Log Page 69 Data Compression Log Page 70 Performance Data Log Page 70 MODE SELECT 15h/55h 72 Mode Parameter Pages 74 Mode Page Representation 74 Mode Data Format 74 Mode Block Descriptor 77 Read-Write Error Recovery Mode Page 78 D
Resumo do conteúdo contido na página número 12
Host Common Attributes 107 READ BLOCK LIMITS 05h 110 READ BUFFER 3Ch 111 READ POSITION 34h 115 RECEIVE DIAGNOSTICS RESULTS 1Ch 119 RELEASE UNIT 17h/57h 121 REPORT DENSITY SUPPORT 44h 123 REPORT LUNS A0h 126 REQUEST SENSE 03h 128 Request Sense Data 129 Sense Data Management 131 Current Sense 132 UNIT ATTENTION Sense 132 DEFERRED ERROR Sense 133 Sense Keys 135 Additional Sense Codes 136 Error Codes 140 RESERVE UNIT 16h/56h 141 REWIND 01h 144 SEND DIAGNOSTIC 1Dh 145 Standard Self-Test 147 SPACE 11h
Resumo do conteúdo contido na página número 13
Interface Implementation 1 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
Resumo do conteúdo contido na página número 14
Supported Messages The following messages are supported by the drives: ■ ABORT ■ BUS DEVICE RESET ■ COMMAND COMPLETE ■ DISCONNECT ■ IDENTIFY ■ IGNORE WIDE RESIDUE ■ INITIATOR DETECTED ERROR ■ MESSAGE PARITY ERROR ■ MESSAGE REJECT ■ NO-OP (no operation) ■ RESTORE POINTERS ■ SAVE DATA POINTER ■ Extended Message: PARALLEL PROTOCOL REQUEST ■ Extended Message: SYNCHRONOUS DATA TRANSFER REQUEST ■ Extended Message: WIDE DATA TRANSFER REQUEST For implementation details on these messages, see Chapter 2,
Resumo do conteúdo contido na página número 15
Interface Implementation READ BUFFER WRITE BUFFER 3Ch 3Bh READ POSITION WRITE FILEMARKS 34h 10h 1Ch RECEIVE DIAGNOSTIC RESULTS 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 SCSI-3 specification and supports all features required by that standard. However, since most tape dri
Resumo do conteúdo contido na página número 16
default setting. The known base state is defined in the SCSI-3 specification and includes the following: ■ The current I/O process is aborted. ■ Any queued I/O processes from other initiators are removed. ■ All reservations are cleared. ■ All mode values are reset to their defaults. ■ Synchronous/Wide negotiations are cleared (SCSI drives only). ■ A UNIT ATTENTION condition is set. ■ Any buffered writes are flushed to tape. ■ The logical position is undefined. The drive will be able to respond
Resumo do conteúdo contido na página número 17
Interface Implementation GOOD status immediately. A REQUEST SENSE command will give NO SENSE. An INQUIRY command will return the required data and give GOOD status. Command Abort Processing ERASE Long erase is aborted as quickly as possible without corrupting tape format. Short erase completes. INQUIRY None LOAD/UNLOAD Load completes and logically positions tape at BOT. Unload is aborted leaving logical position at BOT unless operation is past the “point of no return” in which case the tape
Resumo do conteúdo contido na página número 18
Command Abort Processing RESERVE UNIT The command completes. REWIND The command completes. SEND DIAGNOSTIC Vendor Unique SPACE The logical position is set back to that at the start of the operation unless the operation has passed its “point of no return”, in which case the operation completes. TEST UNIT READY None WRITE The data up to first record boundary in the current burst is written to tape. Any subsequent data is discarded. If there is no record boundary in the current burst, the recor
Resumo do conteúdo contido na página número 19
Interface Implementation to ABORTED COMMAND with additional sense of 4800h (Initiator Detected Error). If the subsequent message is rejected with an Message Parity Error, then the drive goes to Status phase and sends CHECK CONDITION status. The sense key is set to ABORTED COMMAND with additional sense of 4300h (message error). On detecting a bus parity error during a Message Out phase, the drive will handshake in all message bytes until ATN is deasserted. It will then stay in Message Out p
Resumo do conteúdo contido na página número 20
the initiator that least recently connected before processing the command for the new initiator. See “Sense Data Management” on page 131 for more details. Fibre Channel Operation Note This applies only to Fibre Channel drives. The following sections have information specific to Fibre Channel operation: ■ “Fibre Channel Logical Unit Control Mode Page” on page 86 ■ “Fibre Channel Port Control Mode Page” on page 87 ■ “Vital Product Data Pages” on page 49 Fibre Channel Addressing Before describing