,QWHUIDFH *XLGH ,QWHUIDFH *XLGH ,QWHUIDFH *XLGH 6&6, 6'/7 $
SDLT 600 Fibre Channel Interface Guide, 81-81200-02 A01, December 2007, Made in USA. Quantum Corporation provides this publication “as is” without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability or fitness for a particular purpose. Quantum Corporation may revise this publication from time to time without notice. COPYRIGHT STATEMENT Copyright 2007 by Quantum Corporation. All rights reserved.
SDLT 600 SCSI Interface Guide Table of Contents 81-81200-02 REV A01 Table of Contents 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Purpose and Scope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Referenced Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Related Documents . . . . . . . . . . . . .
Table of Contents SDLT 600 SCSI Interface Guide MESSAGE PARITY ERROR (09h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9 MESSAGE REJECT (07h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9 NO OPERATION (08h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9 PARALLEL PROTOCOL REQUEST (extended message 04h) . . . . . . . . . . . . . .
SDLT 600 SCSI Interface Guide Table of Contents Sequential Access Device Log Page (0Ch). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-49 Temperature Log Page (0Dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-51 TapeAlert Log Page (2Eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-53 Read / Write Compression Log Page (32h) . . . . . . . . . . . . . . . .
Table of Contents SDLT 600 SCSI Interface Guide PERSISTENT RESERVE IN Command (5Eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PERSISTENT RESERVE OUT Command (5Fh). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PREVENT / ALLOW MEDIUM REMOVAL Command (1Eh) . . . . . . . . . . . . . . . . . . . . . . . . . READ Command (08h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SDLT 600 SCSI Interface Guide Table of Contents One_command Parameter Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS Command (A3h) . . . . . . . . . . REQUEST SENSE Command (03h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RESERVE (10) Command (56h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents x SDLT 600 SCSI Interface Guide January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide List of Tables 81-81200-02 REV A01 List of Tables 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Table 1-1. Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 2 SCSI Parallel Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 Table 2-1. Drive’s MESSAGE OUT Phase Response. . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Tables SDLT 600 SCSI Interface Guide Table 4-9. Vendor Specific Inquiry Data Page — Field Descriptions. . . . . . . . . . . . . . . . . . . . . . . 4-18 Table 4-10. Unit Serial Number Page — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20 Table 4-11. Device Identification Page — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21 Table 4-12. Vendor-unique Logical Unit Identifier — Field Descriptions . . . . . . . . . . . . . . . . . . .
SDLT 600 SCSI Interface Guide List of Tables Table 4-45. MODE SELECT Mode Parameter Block Descriptor — Field Descriptions . . . . . . . . 4-74 Table 4-46. MODE SELECT Page Descriptor — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . 4-75 Table 4-47. Read / Write Error Recovery MODE SELECT Page — Field Descriptions . . . . . . . . 4-77 Table 4-48. Disconnect / Reconnect MODE SELECT Page — Field Descriptions . . . . . . . . . . . . 4-79 Table 4-49.
List of Tables SDLT 600 SCSI Interface Guide Table 4-85. PERSISTENT RESERVE OUT Parameter List — Field Descriptions . . . . . . . . . . . 4-150 Table 4-86. SDLT Tape Drive Interpretation of Service and Scope Value . . . . . . . . . . . . . . . . . . 4-151 Table 4-87. PREVENT / ALLOW MEDIUM REMOVAL Command Descriptor Block — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-152 Table 4-88.
SDLT 600 SCSI Interface Guide List of Tables Table 4-116. REPORT DENSITY SUPPORT Command — Field Descriptions . . . . . . . . . . . . . 4-199 Table 4-117. REPORT DENSITY SUPPORT Header — Field Descriptions. . . . . . . . . . . . . . . . 4-200 Table 4-118. REPORT DENSITY SUPPORT Data Block Descriptor — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-202 Table 4-119.
List of Tables xvi SDLT 600 SCSI Interface Guide January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide List of Figures 81-81200-02 REV A01 List of Figures 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 2 SCSI Parallel Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 3 SCSI Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 Figure 3-1. Extended Message — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Figure 3-2.
List of Figures SDLT 600 SCSI Interface Guide Figure 4-15. LOG SELECT Log Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-34 Figure 4-16. LOG SELECT Log Page — Parameters Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-35 Figure 4-17. LOG SENSE Command Descriptor Block — Data Format. . . . . . . . . . . . . . . . . . . . 4-39 Figure 4-18. Supported Pages LOG SENSE Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . 4-42 Figure 4-19.
SDLT 600 SCSI Interface Guide List of Figures Figure 4-52. Port Control MODE SELECT Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . 4-90 Figure 4-53. TapeAlert MODE SELECT Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-92 Figure 4-54. Vendor Specific Configuration MODE SELECT Page — Data Format . . . . . . . . . . 4-95 Figure 4-55. Disaster Recovery Control MODE SELECT Page — Data Format . . . . . . . . . . . . . 4-97 Figure 4-56.
List of Figures SDLT 600 SCSI Interface Guide Figure 4-88. READ ATTRIBUTE with PARTITION LIST Service Action — Parameter List Format4162 Figure 4-89. EMAM Attribute — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-163 Figure 4-90. DEVICE VENDOR/SERIAL NUMBER Attribute — Data Format . . . . . . . . . . . . 4-167 Figure 4-91. MEDIUM USAGE HISTORY Attribute — Data Format . . . . . . . . . . . . . . . . . . . . 4-170 Figure 4-92.
SDLT 600 SCSI Interface Guide List of Figures Figure 4-124. REQUEST SENSE Command Descriptor Block — Data Format . . . . . . . . . . . . . Figure 4-125. REWIND Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . . . . . Figure 4-126. SEND DIAGNOSTIC Command Descriptor Block — Data Format . . . . . . . . . . Figure 4-127. SET DEVICE IDENTIFIER Command Descriptor Block — Data Format . . . . . Figure 4-128. SET DEVICE IDENTIFIER Parameter List — Data Format . . . . . . . . . . . . . . . .
List of Figures xxii SDLT 600 SCSI Interface Guide January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Introduction 81-81200-02 REV A01 C HAPTER 1 Introduction 1.1 Purpose and Scope This reference guide is a comprehensive source of information about SCSI commands and SCSI messages used by the Super DLTtape™-generation (SDLT) tape drives. This document is written for original equipment manufacturers (OEMs) that are integrating the Quantum SDLT tape drive into a system or subsystem. Background knowledge of the SCSI-3, SAM, SPC, SPI, and SSC standards is assumed.
Related Documents 1.3 SDLT 600 SCSI Interface Guide Related Documents • SDLT 600 Fibre Channel Interface Guide (81-81202-02) • SDLT 600 Product Manual (81-81184-01) • Current standards documents available from www.t10.org: SCSI Architecture Model (SAM-2) SCSI Parallel Interface (SPI-3) SCSI Primary Commands (SPC-2) SCSI Stream Commands (SSC) 1.4 1-2 Structure of this Manual • Chapter 1, Introduction, is the chapter you are currently reading.
SDLT 600 SCSI Interface Guide 1.5 Chapter 1: Introduction Conventions This manual uses the following conventions to designate specific elements: Table 1-1. 1.
Reader Comments 1.7 SDLT 600 SCSI Interface Guide Reader Comments Quantum is committed to providing the best products and service. We encourage your comments, suggestions, and corrections for this manual. Please send all comments on existing documentation to: Quantum Technical Publications 4001 Discovery Dr. Suite 1100 Boulder, Colorado USA 80303 or if you prefer, e-mail your comments to: doc-comments@quantum.
SDLT 600 SCSI Interface Guide SCSI Parallel Protocol 81-81200-02 REV A01 C HAPTER 2 SCSI Parallel Protocol This chapter covers the following topics: 2.1 • “Background Information About SCSI” describes the knowledge required to use this manual successfully. • “Information Transfer Phases” describes the specifics of information transfer in SDLT tape drives. • “SCSI Bus Conditions” describes the two asynchronous conditions of the SCSI bus.
Information Transfer Phases 2.2 SDLT 600 SCSI Interface Guide Information Transfer Phases The COMMAND, DATA, STATUS, and MESSAGE phases are known as the information transfer phases because they are used to transfer data or control information. Keep the following guidelines in mind: 2.3 • SDLT tape drives support wide asynchronous and synchronous data transfers.
SDLT 600 SCSI Interface Guide • Chapter 2: SCSI Parallel Protocol If an initiator wishes to send a message before transitioning to a new bus phase, the initiator asserts the ATN signal, then waits at least two deskew delays before negating the ACK signal for the last byte transferred in the current bus phase. Asserting the ATN signal later may not be honored until a later bus phase which may result in an unexpected action.
SCSI Bus Conditions 2.3.2 SDLT 600 SCSI Interface Guide Reset Condition The SDLT tape drive responds to bus reset conditions as follows: • Within 250 milliseconds—and typically under 4 milliseconds—after a bus reset, the drive responds to SCSI bus selections and returns the appropriate normal responses. Tape motion commands are returned with Check Condition status, Sense Key of Not Ready, until the drive makes the medium ready.
SDLT 600 SCSI Interface Guide SCSI Messages 81-81200-02 REV A01 C HAPTER 3 SCSI Messages This chapter provides a detailed description of the SCSI messages SDLT tape drives support. Specifically, it covers the following topics: 3.1 • “Message Format” lists the specific format of SCSI messages. • “Supported SCSI Messages” contains descriptions of each of the messages supported by the drive. Message Format A message can be one or more bytes in length.
Message Format SDLT 600 SCSI Interface Guide The first byte of the message, as defined in Table 3-1, determines the format of the message. Table 3-1. SCSI Message Format Message Code Message 00h One-byte message (TASK COMPLETE) 01h Extended message 02h – 1Fh One-byte message 20h – 2Fh Two-byte message 30h – 54h Reserved 55h One-byte message 56h – 7Fh Reserved 80h – FFh One-byte message (IDENTIFY) Two-byte messages consist of two consecutive bytes.
SDLT 600 SCSI Interface Guide Table 3-2. 3.2 Chapter 3: SCSI Messages SDLT Tape Drive Extended Message — Field Descriptions Field Description Extended Message Length This field specifies the length, in bytes, of the Extended Message Code plus the Extended Message Arguments that follow. The total length of the message is equal to the Extended Message Length plus 2. A value of 0 for the Extended Message Length indicates that 256 bytes follow.
Supported SCSI Messages Table 3-3. SDLT 600 SCSI Interface Guide SDLT Tape Drive Supported Messages (Continued) Message and Code Direction NO OPERATION (08h) 3.2.
SDLT 600 SCSI Interface Guide 3.2.2 Chapter 3: SCSI Messages TARGET RESET (0Ch) An initiator sends the TARGET RESET message to direct the SDLT tape drive to clear all I/O processes. This message causes the drive to: 1. Flush the contents of the cache to tape and go to the BUS FREE phase. 2. Execute a soft reset, leaving the drive as if a Bus Reset had occurred. The drive creates a Unit Attention condition for all initiators after accepting and processing a TARGET RESET message.
Supported SCSI Messages SDLT 600 SCSI Interface Guide Table 3-4. 3.2.5 Drive’s Response to DISCONNECT Message (Continued) BUS Phase Drive Response COMMAND The drive discards the DISCONNECT message and enters the BUS FREE phase. The drive ignores the ATTENTION request while it fetches the Command Descriptor Block. The drive does not switch to MESSAGE OUT until the current DMA completes.
SDLT 600 SCSI Interface Guide 3.2.6 Chapter 3: SCSI Messages IGNORE WIDE RESIDUE (23h) The SDLT tape drive sends the IGNORE WIDE RESIDUE message to the initiator to indicate that the number of valid bytes sent during the last REQ/ACK handshake and REQB/ACKB handshake of a DATA IN phase is less than the negotiated transfer width. The Ignore field indicates the number of invalid data bytes transferred. The drive sends this message immediately following the DATA IN phase and before any other messages.
Supported SCSI Messages Table 3-7. 3.2.8 SDLT 600 SCSI Interface Guide Drive’s Response to INITIATOR DETECTED ERROR Message Bus Phase Drive Response SELECTION The drive discards the INITIATOR DETECTED ERROR message and then enters the BUS FREE phase. COMMAND The drive discards any Command Descriptor Block bytes fetched from the initiator, sets the Sense Key to ABORTED COMMAND, and sets the Additional Sense Code to INITIATOR DETECTED ERROR MESSAGE RECEIVED.
SDLT 600 SCSI Interface Guide 3.2.9 Chapter 3: SCSI Messages MESSAGE PARITY ERROR (09h) The initiator sends this message to tell the SDLT tape drive that the last message byte the drive passed to the initiator contained a parity error. To indicate that it intends to send the message, the initiator sets the ATN signal before it releases ACK for the REQ/ACK handshake of the message that has the parity error. This provides an interlock so that the drive can determine which message has the parity error.
Supported SCSI Messages SDLT 600 SCSI Interface Guide 3.2.12 PARALLEL PROTOCOL REQUEST (extended message 04h) PARALLEL PROTOCOL REQUEST (PPR) messages (as shown in Table 3-4) are used to negotiate synchronous transfer agreements and wide data transfer agreements, and to set the protocol options between two SCSI devices.
SDLT 600 SCSI Interface Guide Table 3-8. Chapter 3: SCSI Messages Features of the PARALLEL PROTOCOL REQUEST Message Field Description DT_REQ Double Transition Clocking Request. This bit indicates a request for Double Transition Clocking, which means that two units of data are transferred for each clock cycle. Support for the PPR message is indicated by the Clocking field in the Standard Inquiry page.
Supported SCSI Messages SDLT 600 SCSI Interface Guide 3.2.15 SYNCHRONOUS DATA TRANSFER REQUEST (extended message 01h) This extended message allows the SDLT tape drive and initiator to agree on the values of the parameters relevant to synchronous transfers. The SYNCHRONOUS DATA TRANSFER REQUEST message has the format shown in Figure 3-5. NOTE: The ANSI SPI-4 standard prohibits target devices from initiating negotiations using the PARALLEL PROTOCOL REQUEST message.
SDLT 600 SCSI Interface Guide Chapter 3: SCSI Messages This agreement applies to the DATA IN and DATA OUT phases only. All other information transfer phases must use asynchronous transfers. The SDLT tape drive implements both the wide data transfer and synchronous data transfer options. If both wide and synchronous data transfers are used, the wide data transfer agreement must be negotiated first.
Supported SCSI Messages SDLT 600 SCSI Interface Guide 3.2.16 WIDE DATA TRANSFER REQUEST (extended message 03h) Figure 3-6 illustrates the message formats. Bit Byte 7 6 5 4 3 2 0 Extended Message Identifier (01h) (see Figure 3-1) 1 Extended Message Length (02h) 2 WIDE DATA TRANSFER REQUEST (03h) 3 Transfer Width Exponent 1 0 Figure 3-6.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 C HAPTER 4 SCSI Commands This chapter describes the supported SCSI commands, options, and error recovery procedures implemented in the Quantum SDLT tape drive. This chapter does not fully reiterate the entire ANSI SCSI specification; for information of this nature, refer to the SCSI specification itself. The web sites http://www.scsita.org and http://www.t10.org are also helpful sources of information. 4.
Overview of SCSI Command and Status Processing Table 4-1.
SDLT 600 SCSI Interface Guide Table 4-1. Chapter 4: SCSI Commands SCSI Commands Supported by SDLT Tape Drives (Continued) Command Operation Code Subsection WRITE BUFFER 3Bh Page 4-249 WRITE FILEMARKS 10h Page 4-252 1. SA = Service Action NOTES: 1 The SDLT tape drive does not act as an initiator on the SCSI bus. Therefore, the drive does not 1) generate unsolicited interrupts to the host, 2) initiate its own SCSI commands, or 3) assert bus RESET.
Overview of SCSI Command and Status Processing Table 4-2. 4.1.2 SDLT 600 SCSI Interface Guide Status Codes Status Code Definition Meaning 00h GOOD The drive successfully completed the command. 02h CHECK CONDITION An exception condition occurred and the drive has established a Contingent Allegiance condition. 08h BUSY The drive cannot currently service the command and has discarded the CDB. The initiator may retry the command later.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands parentheses after an item indicate the item’s length in bytes. In some cases, additional length information is communicated during the DATA phase. Table 4-4.
Overview of SCSI Command and Status Processing Table 4-4.
SDLT 600 SCSI Interface Guide 4.1.3 Chapter 4: SCSI Commands Unit Attention Condition Queued Unit Attentions are implemented on the SDLT tape drive and are maintained separately for each valid LUN for each initiator. Unit Attentions are created in each of the following circumstances: • At power-on. • At Bus Reset • On a BUS DEVICE RESET message • When the medium may have changed asynchronously. • When another initiator changes the Mode parameters.
SDLT 600 SCSI Interface Guide 4.1.5 Chapter 4: SCSI Commands Data Cache and Tape Write Interaction The Quantum SDLT tape drive contains a data cache that buffers blocks and filemarks until it writes them to tape. This section describes what happens when the drive writes, or “flushes,” those blocks to tape. A MODE SELECT parameter allows the data cache to be disabled (unbuffered mode).
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Throughout this manual, multiple bytes that contain information about specific command parameters are portrayed as shown in the example of the Parameter List Length field (bytes 7 to 8) of the LOG SELECT command, shown as follows: Bit Byte 7 6 5 4 3 2 1 0 (Bytes 0 – 6) (MSB) Parameter List Length 7–8 (LSB) This sample indicates that the most significant bit (MSB) of the field is bit 7 of byte 7; the least significant bit is bit 0 of byte 8
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 ERASE Command (19h) 4.3 SDLT 600 SCSI Interface Guide ERASE Command (19h) The ERASE command erases the data on the tape medium. The SDLT tape drive erases the data only if the Long bit is set to 1 and the drive receives the ERASE command while it is at Beginning of Tape (BOT). If the Long bit is set to 0, this command has no effect on the tape medium.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide 4.4 Chapter 4: SCSI Commands INQUIRY Command (12h) The INQUIRY command allows the initiator to direct all attached devices to return information about themselves. SDLT devices respond by providing a variety of information, including their World Wide Name and other important characteristics. The SDLT tape drive identifies itself as a Sequential Access Storage Device that implements the SCSI-3 protocol.
INQUIRY Command (12h) Table 4-7. 4-12 SDLT 600 SCSI Interface Guide INQUIRY Command Descriptor Block — Field Descriptions Field Description EVPD Enable Vital Product Data. If set to 0, the drive returns the Standard Inquiry Data. If EVPD is set to 1, the drive returns the Vital Product Data Page specified by Page Code. Page Code Specifies the Vital Product Data Page that the drive is to return when EVPD is set to 1.
SDLT 600 SCSI Interface Guide 4.4.1 Chapter 4: SCSI Commands Standard Inquiry Data Page Figure 4-3 shows the format of the Standard Inquiry Data page returned by the drive.
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide The following table contains field descriptions for the data the drive returns. Table 4-8. 4-14 Standard Inquiry Data Page — Field Descriptions Field Name Value Description Peripheral Qualifier 0 This field contains 000b if the command is directed to a valid device. The field contains 011b if there is no device at the selected LUN.
SDLT 600 SCSI Interface Guide Table 4-8. Chapter 4: SCSI Commands Standard Inquiry Data Page — Field Descriptions (Continued) Field Name Value Description VS 0 Vendor Specific. Both VS bits are always set to 0. MultiP 0 Multi Port. The drive is a single-port device that does not implement multi-port requirements. Always set to 0. MChnger 0 Medium Changer. The drive does not support attached medium changer commands sent to the drive’s LUN. Always set to 0. Addr16 1 16-bit Addressing.
INQUIRY Command (12h) Table 4-8. 4-16 SDLT 600 SCSI Interface Guide Standard Inquiry Data Page — Field Descriptions (Continued) Field Name Value Description QAS 0 Quick Arbitrate Supported. Not supported. Always set to 0. IUS 0 Information Units Supported. Not supported. Always set to 0. Version Descriptors - Identifies the industry standards to which the drive conforms. Note: As many version descriptors as apply for the drive are returned.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Vendor Specific Inquiry Data Page The following information precisely identifies the revision of SDLT tape drive subsystem components. Note: Page content is subject to change at any time.
INQUIRY Command (12h) Table 4-9. 4-18 SDLT 600 SCSI Interface Guide Vendor Specific Inquiry Data Page — Field Descriptions Field Name Description Product Family Indicates the data density of each of the SDLT tape drives as follows: Value Drive Density Ah 110.0 / 220.0 GB Bh 160.0 / 320.0 GB Ch 300.0 / 600.0 GB Released Firmware Differentiates between released and test versions of firmware. When set to 1, indicates released code (Vxxx); when set to 0, indicates field test code (Txxx).
SDLT 600 SCSI Interface Guide 4.4.2 Chapter 4: SCSI Commands Vital Product Data Pages The following subsections describe the Vital Product Data Pages for the SDLT tape drive. Supported Vital Product Data Page (00h) The Supported Vital Product Data Page provides a directory of the Vital Product Data pages that the drive supports.
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide Unit Serial Number Page (80h) Figure 4-6 shows the format of the Unit Serial Number page the drive returns. Bit Byte 0 7 6 5 4 3 Peripheral Qualifier 2 1 0 Peripheral Device Type 1 Page Code (80h) 2 Reserved 3 Page Length (10h) 4 – 19 Serial Number Figure 4-6. Unit Serial Number Page — Data Format Table 4-10.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Device Identification Page (83h) Figure 4-7 shows the format of the Device Identification page the drive returns. Bit Byte 0 7 6 5 4 3 Peripheral Qualifier 2 1 0 Peripheral Device Type 1 Page Code (83h) 2 Reserved 3 Page Length 4–n Identification Descriptors Figure 4-7. Device Identification Page — Data Format Table 4-11.
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide Vendor-unique Logical Unit Identifier Figure 4-8 shows the format of the Vendor-unique Logical Unit Identifier. Bit Byte 7 6 0 5 4 3 Protocol Identifier 1 PIV (0) Rsv’d 2 1 0 Code Set (2h) Association (0) 2 Reserved 3 Identifier Length Identifier Type (1) (MSB) Vendor Identification 4 – 11 (LSB) (MSB) Product Identification 12 – 27 (LSB) (MSB) Serial Number 28 – n (LSB) Figure 4-8.
SDLT 600 SCSI Interface Guide Table 4-12. Chapter 4: SCSI Commands Vendor-unique Logical Unit Identifier — Field Descriptions (Continued) Field Name Description Identifier Length Specifies the length in bytes of the Identifier field. If the Allocation Length field of the CDB is too small to transfer the entire identifier, the Identifier Length value is not adjusted to reflect the truncation. Vendor Identification The value in this field is left-aligned and set to “QUANTUM”.
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide Logical Unit NAA Identifier Figure 4-9 shows the format of the Logical Unit NAA Identifier. Bit Byte 7 6 0 5 4 3 Protocol Identifier 1 PIV (0) Rsv’d 2 1 0 Code Set (1) Association (0) 2 Reserved 3 Identifier Length (08h) Identifier Type (3h) (MSB) NAA Identifier (binary) 4 – 11 (LSB) Figure 4-9. Logical Unit NAA Identifier — Data Format Table 4-13.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Firmware Build Information Page (C0h) Figure 4-11 shows the format of the Firmware Build Information page the drive returns. Bit Byte 7 0 6 5 4 3 Peripheral Qualifier 2 1 0 Peripheral Device Type 1 Page Code (C0h) 2 Reserved 3 Page Length (28h) 4–7 Servo Firmware Revision 8 – 11 Servo Firmware Checksum 12 – 15 Servo EEPROM Checksum 16 – 19 Controller Firmware Checksum 20 – 43 Controller Firmware Build Date Figure 4-10.
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide Subsystem Components Revision Page (C1h) The following information precisely identifies the revision of SDLT tape drive subsystem components. Note: Page content is subject to change at any time.
SDLT 600 SCSI Interface Guide Table 4-15. Chapter 4: SCSI Commands Subsystem Components Revision Page — Field Descriptions Field Name Description Product Family Indicates the data density of each of the SDLT tape drives as follows: Value Drive Density Ah 110.0 / 220.0 GB Bh 160.0 / 320.0 GB Ch 300.0 / 600.0 GB Released Firmware Differentiates between released and test versions of firmware. When set to 1, indicates released code (Vxxx); when set to 0, indicates field test code (Txxx).
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 LOAD UNLOAD Command (1Bh) 4.5 SDLT 600 SCSI Interface Guide LOAD UNLOAD Command (1Bh) The LOAD UNLOAD command instructs the SDLT tape drive to load or unload the tape inside the data cartridge. If no data cartridge is in the drive, the LOAD UNLOAD command returns a CHECK CONDITION status with the Sense Key set to NOT READY.
SDLT 600 SCSI Interface Guide Table 4-16. Chapter 4: SCSI Commands LOAD UNLOAD Command Descriptor Block — Field Descriptions (Continued) Field Name Description Load If the Load bit is set to 1 and the medium is already loaded, the drive writes any cached data to the tape, rewinds the tape, and returns a GOOD status.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 LOCATE Command (2Bh) 4.6 SDLT 600 SCSI Interface Guide LOCATE Command (2Bh) The LOCATE command performs high-speed positioning to a specified block address. Use the READ POSITION command to obtain the block address associated with the current position on tape. Then use the LOCATE command to position the tape at the same logical position for high-performance restore operations of particular blocks of data.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide 4.7 Chapter 4: SCSI Commands LOG SELECT Command (4Ch) The LOG SELECT command allows the host to manage statistical information the SDLT tape drive maintains about its own hardware parameters and about the installed tape medium. Read the description of the “LOG SENSE Command (4Dh)” on page 4-39; it provides information about log page format, parameters, and supported pages.
LOG SELECT Command (4Ch) Table 4-18. SDLT 600 SCSI Interface Guide LOG SELECT Command Descriptor Block — Field Descriptions Field Name Description PCR Parameter Code Reset. If this bit is set to 1 and the Parameter List Length field is set to 0, all accumulated values of page codes 2, 3, and 32 are set to 0 and all threshold values are set to default.
SDLT 600 SCSI Interface Guide 4.7.1 Chapter 4: SCSI Commands Overview: LOG SELECT Command Descriptor Block Errors The following conditions constitute errors that the drive detects in relation to the CDB. The Request Sense Data is set to Sense Key of ILLEGAL REQUEST, and Additional Sense Code set to INVALID FIELD IN CDB. The conditions that constitute errors are: 4.7.2 • PCR bit is set to 1 and Parameter List Length field is not set to 0. • Both the PCR and SP bits are set to 1.
LOG SELECT Command (4Ch) 4.7.3 SDLT 600 SCSI Interface Guide LOG SELECT Log Page Format Each log page begins with a 4-byte header followed by n number of log parameter blocks—one block for each parameter code. Each block, except for parameter code 05h, comprises 8 bytes. The parameter block for page code 05h is 12 bytes. Bit Byte 7 6 5 4 3 0 Page Code 1 Reserved 2 1 0 (MSB) Page Length (n – 3) 2–3 (LSB) Log Parameters 4 Log Parameter (First) x+3 Length (x) . .
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Bit Byte 7 6 5 4 3 2 1 0 (MSB) Parameter Code 0–1 (LSB) DU 21 DS TSD 3 ETC TMC LBIN LP Parameter Length (n – 3) (MSB) Parameter Value 4–n (LSB) 1. The byte 2 fields are collectively referred to as the Parameter Control byte. Figure 4-16. LOG SELECT Log Page — Parameters Format Table 4-21.
LOG SELECT Command (4Ch) Table 4-21. Field Name SDLT 600 SCSI Interface Guide LOG SELECT Log Parameters — Field Descriptions (Continued) Description 8003h Total servo tracking errors 9000h9007h Without substantial delay errors by channel 9080h9087h Write only: Possible delay errors assignable to specific channels Read only: Raw sub-block read errors by channel Note: Many of these errors are write, not read, errors and are not to be included in read error-rate calculations.
SDLT 600 SCSI Interface Guide Table 4-21. Chapter 4: SCSI Commands LOG SELECT Log Parameters — Field Descriptions (Continued) Field Name Description 01b Cumulative value equal to threshold value 10b Cumulative value not equal to threshold value 11b Cumulative value greater than threshold value • The Default Threshold Values are the maximum values that each parameter can attain.
LOG SELECT Command (4Ch) 4.7.4 SDLT 600 SCSI Interface Guide Error Detection Summary in LOG SELECT Pages The host issues a LOG SENSE command to initialize host-resident software that allows determination of: • The log pages the drive uses • The parameter codes and length of each parameter.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide 4.8 Chapter 4: SCSI Commands LOG SENSE Command (4Dh) The LOG SENSE command allows the host to retrieve statistical information the SDLT tape drive maintains about its own hardware parameters or about the installed tape medium. This command complements the LOG SELECT command.
LOG SENSE Command (4Dh) Table 4-22. SDLT 600 SCSI Interface Guide LOG SENSE Command Descriptor Block — Field Descriptions Field Name Description PPC Parameter Pointer Control. When set to 0, indicates that the parameter data requested from the drive starts with the parameter code specified in the Parameter Pointer field (bytes 5 – 6) and returns the number of bytes specified in the Allocation Length field (bytes 7 – 8) in ascending order of parameter codes from the specified log page.
SDLT 600 SCSI Interface Guide Table 4-22.
LOG SENSE Command (4Dh) 4.8.2 SDLT 600 SCSI Interface Guide Supported Pages Log Page (Page 00h) When the host requests Page 00h, the drive returns the 4-byte page header followed by the pages supported in ascending order, one byte for each.
SDLT 600 SCSI Interface Guide 4.8.3 Chapter 4: SCSI Commands Read (Page 03h) / Write (Page 02h) Error Log Page Each log page begins with a 4-byte header followed by a number of log parameters. Bit Byte 7 6 5 4 3 0 Page Code 1 Reserved 2 1 0 (MSB) Page Length 2–3 (LSB) Figure 4-19. Read / Write Error LOG SENSE Page — Header Format Table 4-23. Read / Write Error LOG SENSE Header — Field Descriptions Field Name Description Page Code Echoes the page code specified in the LOG SENSE CDB.
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide Bit Byte 7 6 5 4 3 2 1 0 (MSB) Parameter Code 0 –1 (LSB) 21 DU DS TSD 3 ETC TMC LBIN LP Parameter Length (MSB) Parameter Value 4–n (LSB) 1. The byte 2 fields are collectively referred to as the Parameter Control byte. Figure 4-20. Log Parameters Format for Read / Write Error LOG SENSE Page Table 4-24.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Table 4-24.
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide Table 4-24. Log Parameters for Read / Write Error LOG SENSE Page — Field Descriptions (Continued) Field Name Description TMC Threshold Met Criteria. This field is valid only if the host sets the ETC bit to 1. This field determines the basis for comparison. The host specifies this field using the LOG SELECT command.
SDLT 600 SCSI Interface Guide 4.8.4 Chapter 4: SCSI Commands LAST n ERROR EVENTS Log Page (07h) This page returns one parameter at a time that contains the ASCII text for the specified event log. The Parameter Number field in the CDB specifies the log event to return. The log events in EEPROM are numbered from 0 to 255, after which the number wraps back to 0. A maximum of 32 events are stored at a given time.
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide Table 4-25. Last n Error Events LOG SENSE Header — Field Descriptions Field Name Description Page Code Echoes the page code specified in the LOG SENSE CDB. Page Length Specifies the total number of bytes contained in this log page, excluding the 4 bytes that make up the header. Bit Byte 7 6 5 4 3 2 1 0 (MSB) Parameter Code 0–1 (LSB) DU 21 DS 3 TSD ETC TMC LBIN LP Parameter Length (MSB) ASCII String for Event n 4–n (LSB) 1.
SDLT 600 SCSI Interface Guide 4.8.5 Chapter 4: SCSI Commands Sequential Access Device Log Page (0Ch) This page provides a standardized way to report the amount of data transferred between the tape drive and the host. Bit Byte 7 6 5 4 3 0 Page Code (0Ch) 1 Reserved 2 1 0 (MSB) Page Length 2–3 (LSB) Figure 4-23. Sequential Access Device LOG SENSE Page — Header Format Table 4-27.
LOG SENSE Command (4Dh) Table 4-28. 4-50 SDLT 600 SCSI Interface Guide Sequential Access Device LOG SENSE Page Parameters — Field Descriptions Field Name Description Parameter Code Parameter codes supported for the Sequential Access Device Page are as follows: Code Description 0000h Host Write Byte Count. This is the number of data bytes received from application clients during WRITE command operations. 0001h Tape Write Byte Count.
SDLT 600 SCSI Interface Guide 4.8.6 Chapter 4: SCSI Commands Temperature Log Page (0Dh) This page provides a standardized way to report the device temperature. Bit Byte 7 6 5 4 3 0 Page Code (0Dh) 1 Reserved 2 1 0 (MSB) Page Length 2–3 (LSB) Figure 4-25. Temperature LOG SENSE Page — Header Format Table 4-29. Temperature LOG SENSE Header — Field Descriptions Field Name Description Page Code Echoes the page code specified in the LOG SENSE CDB.
LOG SENSE Command (4Dh) Table 4-30. 4-52 SDLT 600 SCSI Interface Guide Temperature LOG SENSE Parameters — Field Descriptions Field Name Description Parameter Code Parameter codes supported for the Temperature page are as follows: Code Description 0000h Current operating temperature (degrees Celsius). 0001h Reference temperature (degrees Celsius).
SDLT 600 SCSI Interface Guide 4.8.7 Chapter 4: SCSI Commands TapeAlert Log Page (2Eh) This page returns results of the SDLT tape drive’s ongoing self-diagnosis, so that the drive’s behavior can be monitored and high reliability assured.
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide Bit Byte 7 6 5 4 3 2 1 0 (MSB) Parameter Code 0–1 (LSB) 21 1. DU DS TSD ETC TMC LBIN 3 Parameter Length (1) 4 Value of TapeAlert Flag (Flag is set when bit 0 is set to 1; bits 1–7 are reserved) LP The byte 2 fields are collectively referred to as the Parameter Control Byte. Figure 4-28. TapeAlert LOG SENSE Page — Parameters Format Table 4-32.
SDLT 600 SCSI Interface Guide Table 4-33. Chapter 4: SCSI Commands TapeAlert Flags, Severity Levels, and Meanings Flag Severity Level 1 1 Read Warning Warning Problems reading data. There is no loss of data, but the tape drive’s performance is reduced. 2 Write Warning Warning Problems writing data. There is no loss of data, but the capacity of the tape is reduced. 3 Hard Error Warning An error occurred during a read or write operation that the drive cannot correct: the operation has stopped.
LOG SENSE Command (4Dh) Table 4-33. SDLT 600 SCSI Interface Guide TapeAlert Flags, Severity Levels, and Meanings (Continued) Flag Severity Level 1 20 Clean Now Critical Meaning The drive needs to be cleaned. Make sure that all tape operations have completed, eject the data cartridge and follow the appropriate steps to use a cleaning cartridge. For detailed instructions about how to clean the tape drive using a cleaning cartridge, refer to the User Reference Guide for this product.
SDLT 600 SCSI Interface Guide 4.8.8 Chapter 4: SCSI Commands Read / Write Compression Log Page (32h) This page begins with a 4-byte header followed by the log parameter blocks of 6 or 8 bytes, depending on the parameter code selected. Bit Byte 7 6 5 4 3 0 Page Code (32h) 1 Reserved 2 1 0 (MSB) Additional Length 2–3 (LSB) Figure 4-29. Read / Write Compression Ratio LOG SENSE Page — Header Format Table 4-34.
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide Table 4-35. Log Parameters for Read / Write Compression Ratio LOG SENSE Page — Field Descriptions (Parameter Codes 00h and 01h) Field Name Description Parameter Code Parameter codes supported for the Read / Write Compression Ratio Page are as follows (for codes 00h and 01h only; codes 02h through 09h are detailed separately): Code Description 00h READ Compression Ratio x 100 01h WRITE Compression Ratio x 100 DU Disable Update.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Table 4-36.
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide Table 4-36. Log Parameters for Read / Write Compression Ratio LOG SENSE Page — Field Descriptions (Parameter Codes 02h through 09h) (Continued) Field Name Description Counter Value Parameter codes 02h through 09h provide a count of the number of bytes transferred since the last time the counters were reset with a LOG SELECT command or reset condition.
SDLT 600 SCSI Interface Guide 4.8.9 Chapter 4: SCSI Commands Device Wellness Log Page (33h) The Device Wellness Page returns information about any CHECK CONDITION status related to Sense Keys 03h, 04h, 09h, and 0Bh that the SDLT tape drive has logged. This page can contain up to 16 entries (parameter code 0000h to 000Fh). Note that parameter code 0000h contains the oldest log information while parameter code 000Fh contains the most recent log information.
LOG SENSE Command (4Dh) Bit Byte SDLT 600 SCSI Interface Guide 7 6 5 4 0–1 2 3 2 1 0 LBIN LP Parameter Code DU 3 DS TSD ETC TMC Parameter Length (0Ch) (MSB) Time Stamp 4–7 (LSB) (MSB) 8 – 11 Media ID (LSB) 12 Sense Key 13 Additional Sense Code 14 Additional Sense Code Qualifier 15 Additional Error Information Figure 4-33.
SDLT 600 SCSI Interface Guide Table 4-38. Chapter 4: SCSI Commands Log Parameters for Device Wellness LOG SENSE Page — Field Descriptions Field Name Description Parameter Code Parameter codes 0000h through 000Fh are supported, providing 16 log entries for error information capture. DU Disable Update. Always set to 0. DS Disable Save. Not supported. Always set to 1. TSD Target Save Disable. Not supported. Always set to 1. ETC Enable Threshold Comparison. Not supported. Always set to 0.
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide 4.8.10 Device Status Log Page (3Eh) This page describes the current status of the drive. Bit Byte 7 6 5 4 3 0 Page Code (3Eh) 1 Reserved 2 1 0 (MSB) Page Length 2–3 (LSB) Figure 4-34. Device Status LOG SENSE Page — Header Format Table 4-39. Device Status LOG SENSE Header — Field Descriptions Field Name Description Page Code Echoes the page code specified in the LOG SENSE CDB.
SDLT 600 SCSI Interface Guide Table 4-40. Chapter 4: SCSI Commands Log Parameters for Device Status LOG SENSE Page — Field Descriptions Field Name Description Parameter Code Parameter codes 0000h through 000Ah are supported: Code Description 0000h Specifies the device type. For sequential-type devices such as tape drives, the value is always 00010000h. 0001h Specifies device cleaning-related status (see Figure 4-36). 0002h Specifies the number of loads over the lifetime of the drive.
LOG SENSE Command (4Dh) Bit Byte SDLT 600 SCSI Interface Guide 7 6 4 5 4 3 Reserved 2 1 0 ClnQ ClnR ClnEx (MSB) Reserved 5–7 (LSB) Figure 4-36. Cleaning-Related Log Parameters Format for Device Status LOG SENSE Page Table 4-41. Log Parameters for Device Status LOG SENSE Parameter 0001h (Cleaning-Related) — Field Descriptions 4-66 Field Name Description ClnQ Set to 1 if a cleaning-required condition exists. When the condition clears, the drive also clears this bit.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide 4.9 Chapter 4: SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) The MODE SELECT commands enable the host to configure the SDLT tape drive. Before configuring the drive, the host should issue a MODE SENSE command to the drive to obtain a report of the current configuration and determine which parameters are configurable.
MODE SELECT (6) / (10) Command (15h / 55h) Bit Byte 7 SDLT 600 SCSI Interface Guide 6 5 0 4 3 2 1 0 Operation Code (15h) 1 Reserved PF Reserved 2–3 Reserved 4 Parameter List Length 5 Control SP (0) Figure 4-37. MODE SELECT (6) Command Descriptor Block — Data Format Bit Byte 7 6 0 5 4 3 2 1 0 Operation Code (55h) 1 Reserved PF 2–6 Reserved SP (0) Reserved (MSB) 7–8 Parameter List Length (LSB) 9 Control Figure 4-38.
SDLT 600 SCSI Interface Guide Table 4-42. 4.9.1 Chapter 4: SCSI Commands MODE SELECT (6)/(10) Command Descriptor Block — Field Descriptions Field Name Description PF Page Format. Indicates that the data the host sent after the MODE SELECT header and block descriptors complies with the definition of pages in the SCSI-3 specification. If the Page Format bit is set to 0, only a Mode Parameter Header and Mode Parameter Block Descriptor can be included in the mode parameter data.
MODE SELECT (6) / (10) Command (15h / 55h) Bit Byte 7 SDLT 600 SCSI Interface Guide 6 5 4 3 2 0–7 Mode Parameter Header 8 – 15 Mode Parameter Block Descriptor (Optional) 8–n or 16 – n Page(s) (Optional) 1 0 Figure 4-40. MODE SELECT (10) Mode Parameter List — Data Format Table 4-43. 4-70 MODE SELECT Mode Parameter List — Field Descriptions Field Name Description Mode Parameter Header Four bytes in length for MODE SELECT (6) or 8 bytes in length for MODE SELECT (10).
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Mode Parameter Header The following figure and table illustrate and describe the fields that make up the MODE SELECT command’s Mode Parameter header. Bit Byte 7 6 5 4 3 0 Reserved 1 Medium Type 2 Ignored 2 Buffered Mode 3 1 0 Speed (0h) Block Descriptor Length Figure 4-41.
MODE SELECT (6) / (10) Command (15h / 55h) Table 4-44. SDLT 600 SCSI Interface Guide MODE SELECT Mode Parameter Header — Field Descriptions Field Name Description Medium Type The drive ignores this field. Buffered Mode Set to 1 by default. The drive implements immediate reporting on WRITE commands through its buffered mode. With Buffered Mode set to 1, the drive reports GOOD status on WRITE commands as soon as the data block has been transferred to the buffer.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Mode Parameter Block Descriptor The following figure and table illustrate and describe the fields that make up the MODE SELECT command’s Mode Parameter Block Descriptor. Bit Byte 7 0 6 5 4 3 2 1 0 Density Code (MSB) Number of Blocks 1–3 (LSB) 4 Reserved (MSB) 5–7 Block Length (LSB) Figure 4-43.
MODE SELECT (6) / (10) Command (15h / 55h) Table 4-45. Field Name Density Code MODE SELECT Mode Parameter Block Descriptor — Field Descriptions Description This field must contain one of the Density Code values listed below: Density Code Description 00h Use default density 48h 133,000 bpi, 56 logical tracks, serial cartridge tape 110.0 GB / 220.0 GB (Super DLTtape I)1 49h 190,000 bpi, 56 logical tracks, serial cartridge tape 160.0 GB / 320.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Mode Page Descriptor Following the MODE SELECT command’s Mode Parameter Block Descriptor are the MODE SELECT pages, each of which sets a different device parameter. Each Mode page has a 2-byte header that identifies the page code and indicates the number of bytes in that page. Bit Byte 0 7 6 5 PS (0) SPF (0) 4 3 2 1 0 Page Code 1 Page Length 2–n Mode Parameters Figure 4-44. MODE SELECT Page Descriptor — Data Format Table 4-46.
MODE SELECT (6) / (10) Command (15h / 55h) 4.9.2 SDLT 600 SCSI Interface Guide Read / Write Error Recovery Page (01h) The Read / Write Error Recovery Page controls the drive’s response to error conditions that arise during the course of READ and WRITE command processing. Bit Byte 0 7 6 PS (0) Rsv’d 5 3 2 1 0 DTE (0) DCR (0) Page Code (01h) 1 2 4 Page Length (0Ah) Reserved TB Rsv’d EER (1) 3 Read Retry Count 4–7 Reserved 8 Write Retry Count 9 – 11 Reserved PER Figure 4-45.
SDLT 600 SCSI Interface Guide Table 4-47. Chapter 4: SCSI Commands Read / Write Error Recovery MODE SELECT Page — Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, must be set to 0. Page Code Identifies the type of MODE SELECT page being transferred. A value of 01h identifies this as the Read / Write Error Recovery Page. Page Length Indicates the number bytes in the page, excluding bytes 0 and 1.
MODE SELECT (6) / (10) Command (15h / 55h) 4.9.3 SDLT 600 SCSI Interface Guide Disconnect / Reconnect Page (02h) The Disconnect / Reconnect Page controls the drive’s behavior on the SCSI bus and allows the host to tune bus performance.
SDLT 600 SCSI Interface Guide Table 4-48. Chapter 4: SCSI Commands Disconnect / Reconnect MODE SELECT Page — Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 0. Indicates that the drive uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 02h identifies this as the Disconnect / Reconnect Page.
MODE SELECT (6) / (10) Command (15h / 55h) 4.9.4 SDLT 600 SCSI Interface Guide Control Mode Page (0Ah) The Control Mode Page provides control over several features such as tagged queuing, extended contingent allegiance, asynchronous event notification, and error logging.
SDLT 600 SCSI Interface Guide Table 4-49. Chapter 4: SCSI Commands Control Mode MODE SELECT Page — Field Descriptions (Continued) Field Name Description TST Task Set Type. The drive maintains a single task set for all initiators. Must be set to 0. D_Sense Descriptor Format Sense Data. Not supported. Must be set to 0. GLTSD Global Logging Target Save Disable. Must be set to 0. RLEC Report Log Exception Condition. When set to 1, specifies that the drive reports log exception conditions.
MODE SELECT (6) / (10) Command (15h / 55h) Table 4-49. 4.9.5 SDLT 600 SCSI Interface Guide Control Mode MODE SELECT Page — Field Descriptions (Continued) Field Name Description Busy Timeout Period Specifies the maximum time, in 100 ms increments, that the initiator allows the drive to remain busy for unanticipated conditions that are not a routine part of commands from the initiator. A value of 0000h is undefined. A value of FFFFh specifies an unlimited busy timeout period.
SDLT 600 SCSI Interface Guide Table 4-50. Chapter 4: SCSI Commands Data Compression MODE SELECT Page — Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, must be set to 0. Page Code Identifies the type of MODE SELECT page being transferred. A value of 0Fh identifies this as the Data Compression Page. Page Length Indicates the number of bytes in the Data Compression Page that follow this field. The only valid value for this field is 0Eh.
MODE SELECT (6) / (10) Command (15h / 55h) 4.9.6 SDLT 600 SCSI Interface Guide Device Configuration Page (10h) The Device Configuration Page controls the tape drive’s behavior on the SCSI bus and allows the host to tune bus performance.
SDLT 600 SCSI Interface Guide Table 4-51. Chapter 4: SCSI Commands Device Configuration MODE SELECT Page — Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, must be set to 0. Page Code Identifies the type of MODE SELECT page being transferred. A value of 10h identifies this as the Device Configuration Page. Page Length Indicates the number bytes in the page, excluding bytes 0 and 1.
MODE SELECT (6) / (10) Command (15h / 55h) Table 4-51. 4-86 SDLT 600 SCSI Interface Guide Device Configuration MODE SELECT Page — Field Descriptions (Continued) Field Name Description REW Report Early Warning. Not supported. Must be set to 0 (do not report Early Warning EOM on READ). Gap Size Not used. Must be set to 0. EOD Defined End-of-Data Defined. Must be set to 0h. EEG Enable End-of-Data Generation.
SDLT 600 SCSI Interface Guide 4.9.7 Chapter 4: SCSI Commands Medium Partition Page (11h) The drive supports the Medium Partition Parameters Page, which specifies the medium partitions.
MODE SELECT (6) / (10) Command (15h / 55h) Table 4-52. 4-88 SDLT 600 SCSI Interface Guide Medium Partition MODE SELECT Page — Field Descriptions (Continued) Field Name Description Additional Partitions Defined Must be set to 0. Specifies the number of additional partitions defined for the tape based on the settings of the SDP and IDP bits. The maximum allowed is the value returned in the Maximum Additional Partitions field. Only one partition is supported; therefore, this field must be set to 0.
SDLT 600 SCSI Interface Guide 4.9.8 Chapter 4: SCSI Commands Logical Unit Control Page (18h) The Logical Unit Control Page contains the logical unit control parameters for READ and WRITE operations. Bit Byte 0 7 6 5 PS SPF (0) 1 2 4 3 2 1 0 Page Code (18h) Page Length (06h) Reserved Protocol Identifier (1h) 3–7 Reserved Figure 4-51. Logical Unit Control MODE SELECT Page — Data Format Table 4-53.
MODE SELECT (6) / (10) Command (15h / 55h) 4.9.9 SDLT 600 SCSI Interface Guide Port Control Page (19h) The Port Control Page contains the parameters that affect SCSI target port operation options. Bit Byte 0 7 6 5 PS SPF (0) 1 4 3 2 1 0 Page Code (19h) Page Length (06h) 2 Reserved Protocol Identifier (1h) 3 Reserved (MSB) Synchronous Transfer Timeout 4-5 (LSB) 6-7 Reserved Figure 4-52. Port Control MODE SELECT Page — Data Format Table 4-54.
SDLT 600 SCSI Interface Guide Table 4-54. Chapter 4: SCSI Commands Port Control MODE SELECT Page — Field Descriptions (Continued) Field Name Description Synchronous Transfer Timeout Indicates the maximum amount of time, in 1 msec increments, that the drive waits before generating an error by performing an unexpected BUS FREE operation.
MODE SELECT (6) / (10) Command (15h / 55h) SDLT 600 SCSI Interface Guide 4.9.10 TapeAlert Page (1Ch) The drive supports the TapeAlert Page, which sets or changes the supported TapeAlert configuration options. Use the MODE SENSE command to read the settings of the TapeAlert page.
SDLT 600 SCSI Interface Guide Table 4-55. Chapter 4: SCSI Commands TapeAlert MODE SELECT Page — Field Descriptions (Continued) Field Name Description DExcpt Disable Information Exception Operations. When set to 0, the reporting method specified by the contents of the MRIE field is selected. When set to 1, all information exception conditions are disabled regardless of the contents of the MRIE field. When in this mode, the software polls the TapeAlert Log page.
MODE SELECT (6) / (10) Command (15h / 55h) Table 4-55. SDLT 600 SCSI Interface Guide TapeAlert MODE SELECT Page — Field Descriptions (Continued) Field Name Description 06h Only Report Informational Exception Condition on Request. The drive preserves information exception data. To access the data, issue an unsolicited REQUEST SENSE command. The drive sets the Sense Key to NO SENSE with an Additional Sense Code of 5Dh / 00h (TapeAlert Event).
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.9.11 Vendor Specific Configuration Page (25h) The drive supports a Vendor Specific Configuration Page that is used to set or change the vendorunique configuration features. Figure 4-54 shows the page that can be changed using the MODE SELECT command and subsequently queried using the MODE SENSE command.
MODE SELECT (6) / (10) Command (15h / 55h) Table 4-56. SDLT 600 SCSI Interface Guide Vendor Specific Configuration MODE SELECT Page — Field Descriptions Field Name Description PS Parameters Savable. Must be set to 0. Page Code Identifies the type of MODE SELECT page being transferred. A value of 25h identifies this as the Vendor Specific Configuration Page. Page Length Indicates the number bytes in the page, excluding bytes 0 and 1.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.9.12 Disaster Recovery Control Page (3Ch) This page controls the operation of the Disaster Recovery Control Mode for the tape drive. Bit Byte 0 7 6 PS(0) Rsv’d 1 5 4 3 2 1 0 Page Code (3Ch) Page Length (4) 2 Reserved 3–5 DRAct Reserved Figure 4-55. Disaster Recovery Control MODE SELECT Page — Data Format Table 4-57. Disaster Recovery Control MODE SELECT Page — Field Descriptions Field Name Description PS Parameters Savable.
MODE SELECT (6) / (10) Command (15h / 55h) SDLT 600 SCSI Interface Guide 4.9.13 EEPROM Vendor Specific Page (3Eh) The drive supports an EEPROM Vendor Specific Page that enables an initiator to modify savable parameters. Only one savable parameter can be changed per MODE SELECT command. Bit Byte 0 7 6 PS Rsv’d 5 4 3 2 1 0 Page Code (3Eh) 1 Page Length 2-n ASCII String of Parameter Name and Value Figure 4-56.
SDLT 600 SCSI Interface Guide Table 4-58. Chapter 4: SCSI Commands EEPROM Vendor Specific MODE SELECT Page — Parameter Descriptions Parameter Name Data Type Default Length (Bytes) Usage DefSEW Binary 1 1 Default Synchronize at Early Warning parameter. DisDeferClnRpt Binary 0 1 When set to 1, the drive sends a cleaning report over the library port as soon as the cleaning light illuminates. When set to 0, the drive sends the report only at unload.
MODE SELECT (6) / (10) Command (15h / 55h) Table 4-58. SDLT 600 SCSI Interface Guide EEPROM Vendor Specific MODE SELECT Page — Parameter Descriptions Parameter Name Data Type Default Length (Bytes) Usage EnaReadPosLong Binary 1 1 Enable Long Data Format in READ POSITION command.
SDLT 600 SCSI Interface Guide Table 4-58. Chapter 4: SCSI Commands EEPROM Vendor Specific MODE SELECT Page — Parameter Descriptions Parameter Name Data Type Default Length (Bytes) Usage MaxBurstSize Binary 0080h 2 Specifies the maximum amount of data to be transferred without disconnecting. A value of 0 sets no limit. This value is given in 512-byte increments. For example, a value of 8 indicates 4 KB. The drive rounds values that are not multiples of 8 down to the nearest multiple of 8.
MODE SELECT (6) / (10) Command (15h / 55h) Table 4-58. SDLT 600 SCSI Interface Guide EEPROM Vendor Specific MODE SELECT Page — Parameter Descriptions Parameter Name RewindOnReset Data Type Binary Default 1 Length (Bytes) 1 Usage When set to 1, the drive rewinds the tape medium to BOT on reset. When set to 0, the drive does not rewind on BUS RESET or BDR message. Caution: Partial block data may be written to tape if reset occurs during WRITE.
SDLT 600 SCSI Interface Guide Table 4-58. Chapter 4: SCSI Commands EEPROM Vendor Specific MODE SELECT Page — Parameter Descriptions Parameter Name Data Type Default Length (Bytes) Usage SetEOMatBOM Binary 0 1 When set to 1, sets EOM field in byte 2 of REQUEST SENSE data when encountering BOM. SetEOMatEW Binary 0 1 When set to 1, sets EOM field in byte 2 of REQUEST SENSE data when encountering Early Warning End of Media for all operations.
MODE SELECT (6) / (10) Command (15h / 55h) SDLT 600 SCSI Interface Guide The following is a sample of an EEPROM vendor-specific page that modifies the VendorID parameter to “XXXYY.” 0 0 0 Page Code (3Eh) 1 Page Length (0Fh) 2 “v” (76h) 3 “e” (65h) 4 “n” (6Eh) 5 “d” (64h) 6 “o” (6Fh) 7 “r” (72h) 8 “i” (69h) 9 “d” (64h) 10 “ ” (20h) 11 “X” (58h) 12 “X” (58h) 13 “X” (58h) 14 “Y” (59h) 15 “Y” (59h) 16 (A0h) or (00h) Figure 4-57.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.9.14 Changeable Parameters Within MODE SELECT The following table lists the MODE SELECT command’s changeable parameters and their default, minimum, and maximum values. Descriptions of the various parameters are provided in the discussions of the different MODE SELECT mode pages. NOTE: Parameter rounding is supported for all parameters except the Block Descriptor Length parameter. Table 4-59.
MODE SELECT (6) / (10) Command (15h / 55h) Table 4-59. Changeable Mode Parameters Within MODE SELECT (Continued) Page: Parameter Default Minimum Maximum Disaster Recovery (3Ch): DRAct 0 0 1 1. 4-106 SDLT 600 SCSI Interface Guide All values between the minimum and maximum must be an even multiple of 4.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.10 MODE SENSE (6) / (10) Command (1Ah / 5Ah) The MODE SENSE command allows the SDLT tape drive to report its media type and current—or changeable—configuration parameters to the host. It is a complementary command to MODE SELECT. The CDB for the 6-byte MODE SENSE (1Ah) command is shown below. An illustration of the CDB for the 10-byte MODE SENSE (5Ah) command follows on the next page.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) SDLT 600 SCSI Interface Guide The 10-byte MODE SENSE command is required to request the vendor-specific EEPROM parameter page due to the large amount of data that parameter page contains. MODE SENSE (10) can be used to retrieve the other pages as well. Note that MODE SENSE (10) returns descriptor data in a different format than MODE SENSE (6).
SDLT 600 SCSI Interface Guide Table 4-60. Chapter 4: SCSI Commands MODE SENSE Command Descriptor Block — Field Descriptions (Continued) Field Name Description Page Code Allows the host to select a specific page or all of the pages the drive supports. SubPage Code Specifies the subpage to return. Set to FFh to return all subpages. Allocation Length Specifies the number of bytes that the host has allocated for returned MODE SENSE data.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) Bit Byte 7 SDLT 600 SCSI Interface Guide 6 5 4 3 2 1 0 (MSB) Mode Data Length 0–1 (LSB) 2 Medium Type 3 WP Buffered Mode 4–5 Speed (0) Reserved (MSB) Block Descriptor Length 6–7 (LSB) Figure 4-61. MODE SENSE (10) Data Header — Data Format Table 4-61. Field Name Description Mode Data Length Specifies the length in bytes of the MODE SENSE data that is available to be transferred during the DATA IN phase.
SDLT 600 SCSI Interface Guide Table 4-61. Chapter 4: SCSI Commands MODE SENSE Data Header — Field Descriptions (Continued) Field Name Description Buffered Mode When set to 0, the drive does not report a GOOD status on WRITE commands until it actually writes the data blocks to tape. When set to 1, the drive reports GOOD status on WRITE commands as soon as the data block has been transferred to the buffer. This is the default configuration of the drive.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 4-62. Field Name Density Code 4-112 SDLT 600 SCSI Interface Guide MODE SENSE Block Descriptor — Field Descriptions Description Matches the current tape medium density. Density Code Description 00h Default density 48h 133,000 bpi, 56 logical tracks, serial cartridge tape 110.0 GB / 220.0 GB (Super DLTtape I) 49h 190,000 bpi, 56 logical tracks, serial cartridge tape 160.0 GB / 320.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.10.3 MODE SENSE Mode Pages The following figure depicts the variable-length page descriptor. Bit Byte 0 7 6 PS SPF (0) 5 4 3 2 1 0 Page Code 1 Page Length 2–n Mode Parameters Figure 4-63. MODE SENSE Page — Data Format Descriptions of the MODE SENSE page descriptor fields are provided in Table 4-63. Detailed descriptions of each of the MODE SENSE pages follow. Table 4-63.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 4-64.
SDLT 600 SCSI Interface Guide Table 4-65. Chapter 4: SCSI Commands Read / Write Error Recovery MODE SENSE Page — Field Descriptions Field Name Description PS Parameters Savable. Not supported. Always set to 0. Page Code Identifies the type of MODE SENSE page being transferred. A value of 01h identifies this as the Read / Write Error Recovery Page. Page Length Indicates the number of bytes in the page, excluding bytes 0 and 1.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) SDLT 600 SCSI Interface Guide Disconnect / Reconnect Page (02h) The drive supports the Disconnect / Reconnect Page. The format for the page is shown in the following figure.
SDLT 600 SCSI Interface Guide Table 4-66. Chapter 4: SCSI Commands Disconnect / Reconnect MODE SENSE Page — Field Descriptions Field Name Description PS Parameters Savable. Not supported. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that the drive uses the page_0 page format. Page Code Identifies the type of MODE SENSE page being transferred. A value of 02h identifies this as the Disconnect / Reconnect Page.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) SDLT 600 SCSI Interface Guide Control Mode Page (0Ah) The Control Mode Page allows the initiator to determine whether the drive returns a CHECK CONDITION status when one of the WRITE and READ counters has reached a specified threshold.
SDLT 600 SCSI Interface Guide Table 4-67. Chapter 4: SCSI Commands Control Mode MODE SENSE Page — Field Descriptions (Continued) Field Name Description GLTSD Global Logging Target Save Disable. Always set to 0. RLEC Report Log Exception Condition. Indicates whether the drive returns CHECK CONDITION status with Sense Key set to UNIT ATTENTION (06h) when one of its WRITE and READ error counters reaches a specified threshold.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) SDLT 600 SCSI Interface Guide Data Compression Page (0Fh) The Data Compression Page specifies parameters that control data compression. Bit Byte 0 7 6 5 PS (0) Rsv’d 1 4 3 2 1 0 Page Code (0Fh) Page Length (0Eh) 2 DCE 3 DDE (0) DCC (1) Reserved RED (0) Reserved (MSB) Compression Algorithm (10h) 4–7 (LSB) (MSB) Decompression Algorithm 8 – 11 (LSB) 12 – 15 Reserved Figure 4-67. Data Compression MODE SENSE Page — Data Format Table 4-68.
SDLT 600 SCSI Interface Guide Table 4-68. Chapter 4: SCSI Commands Data Compression MODE SENSE Page — Field Descriptions (Continued) Field Name Description DDE Data Decompression Enable. The value the drive returns indicates whether data decompression is enabled or not. Always set to 1. When the drive reads compressed data from tape, it automatically decompresses the data before sending it to the host. RED Report Exception on Decompression.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) SDLT 600 SCSI Interface Guide Device Configuration Page (10h) The drive supports the Device Configuration Page. The format for the page is shown below.
SDLT 600 SCSI Interface Guide Table 4-69. Chapter 4: SCSI Commands Device Configuration MODE SENSE Page — Field Descriptions Field Name Description PS Parameters Savable. Not supported. Always set to 0. Page Code Identifies the type of MODE SENSE page being transferred. A value of 10h identifies this as the Device Configuration page. Page Length Indicates the number of bytes in the page, excluding bytes 0 and 1.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 4-69. 4-124 SDLT 600 SCSI Interface Guide Device Configuration MODE SENSE Page — Field Descriptions (Continued) Field Name Description REW Report Early Warning. Not supported. Always set to 0 (do not report Early Warning EOM on READ). Gap Size Not supported. Always set to 0. EOD Defined End of Data. Always set to 0h. EEG Enable EOD Generation. When set to 1, indicates that the drive generates an EOD.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Medium Partition Page (11h) The drive supports the Medium Partition Page. The format for the page is shown below.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 4-70. SDLT 600 SCSI Interface Guide Medium Partition MODE SENSE Page — Field Descriptions (Continued) Field Name Description SDP Select Data Partitions. Always set to 0. IDP Initiator Defined Patrons. Always set to 0. PSUM Partition Size Unit of Measure. Always set to 0. POFM Partition on Format. Not supported. Always set to 0. Clear Not supported. Always set to 0. ADDP Additional Defined Data Partitions. Not supported. Always set to 0.
SDLT 600 SCSI Interface Guide Table 4-71. Chapter 4: SCSI Commands Logical Unit Control MODE SENSE Page — Field Descriptions Field Name Description PS Parameters Savable. Not supported. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that the drive uses the page_0 page format. Page Code Identifies the type of MODE SENSE page being transferred. A value of 18h identifies this as the Logical Unit Control page.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 4-72. SDLT 600 SCSI Interface Guide Port Control MODE SENSE Page — Field Descriptions Field Name Description PS Parameters Savable. Not supported. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that the drive uses the page_0 page format. Page Code Identifies the type of MODE SENSE page being transferred. A value of 19h identifies this as the Port Control page.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands TapeAlert Page (1Ch) The TapeAlert configuration settings can be read using the MODE SENSE command’s TapeAlert Page. Bit Byte 0 7 6 5 PS (0) Rsv’d 4 2 1 0 Rsv’d LogErr Page Code (1Ch) 1 2 3 Page Length (0Ah) Perf 3 Rsv’d EBF EWASC DExcpt Test Reserved MRIE (MSB) Interval Timer 4–7 (LSB) (MSB) 8 – 11 Report Count / Test Flag Number (LSB) Figure 4-72.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 4-73. 4-130 SDLT 600 SCSI Interface Guide TapeAlert MODE SENSE Page — Field Descriptions Field Name Description PS Parameters Savable. Always set to 0. Page Code Identifies the type of MODE SENSE page being transferred. A value of 1Ch identifies this as the TapeAlert Page. Page Length Indicates the number bytes in the page, excluding bytes 0 and 1.
SDLT 600 SCSI Interface Guide Table 4-73. Field Name Chapter 4: SCSI Commands TapeAlert MODE SENSE Page — Field Descriptions (Continued) Description 04h Unconditionally Generate Recovered Error. The drive reports informational exception conditions by returning CHECK CONDITION status on the next SCSI command (except INQUIRY and REQUEST SENSE commands) following detection of the condition. The Sense Key is set to RECOVERED ERROR with the Additional Sense Code set to 5Dh / 00h (TapeAlert event).
MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 4-74. SDLT 600 SCSI Interface Guide Vendor Specific Configuration Control MODE SENSE Page — Field Descriptions Field Name Description PS Parameters Savable. Always set to 0. Page Code Identifies the type of MODE SENSE page being transferred. A value of 25h identifies this as the Vendor Specific Configuration Control Page. Page Length Indicates the number bytes in the page, excluding bytes 0 and 1.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Disaster Recovery Control Page (3Ch) This page controls the operation of the Disaster Recovery Control Mode for the drive. Bit Byte 0 7 6 PS (0) Rsv’d 1 5 4 3 2 1 0 Page Code (3Ch) Page Length (4) 2 Reserved 3–5 DRAct Reserved Figure 4-74. Disaster Recovery Control MODE SENSE Page — Data Format Table 4-75. Disaster Recovery Control MODE SENSE Page — Field Descriptions Field Name Description PS Parameters Savable.
MODE SENSE (6) / (10) Command (1Ah / 5Ah) SDLT 600 SCSI Interface Guide EEPROM Vendor Specific Page (3Eh) This page returns all of the EEPROM parameters that can be set with the MODE SELECT EEPROM Vendor Specific page; it sometimes returns an error message in the returned ASCII string. The 10-byte MODE SENSE command for the EEPROM page returns data in the form of a MODE SENSE (10) data header followed by block and page descriptors.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.11 PERSISTENT RESERVE IN Command (5Eh) The PERSISTENT RESERVE IN command is a 10-byte command used to obtain information about persistent reservations and registrations active in an SDLT tape drive. This command works with the PERSISTENT RESERVE OUT command.
PERSISTENT RESERVE IN Command (5Eh) Table 4-77. Field Name Service Action SDLT 600 SCSI Interface Guide PERSISTENT RESERVE IN Command — Field Descriptions Description The following service action codes are available. All other values are reserved. Code Name Description 00h Read Keys Reads all registered reservation keys. 01h Read Reservations Reads all current persistent reservations. 02h Report Capabilities Returns persistent reservation capability information.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands The figure and table below illustrate and describe the data fields of Read Key data parameters. Bit Byte 7 6 5 4 3 2 1 0 (MSB) PRGeneration 0–3 (LSB) (MSB) Additional Length (n – 7) 4–7 (LSB) (Reservation Key List Follows in Bytes 8 – n) (MSB) First Reservation Key 8 – 15 (LSB) n–7 to n (MSB) Last Reservation Key (LSB) Figure 4-77.
PERSISTENT RESERVE IN Command (5Eh) Table 4-78. SDLT 600 SCSI Interface Guide Read Keys Parameters — Field Descriptions Field Name Description PRGeneration Persistent Reservations Generation. The value in this field is a 32-bit counter in the drive that is incremented each time a PERSISTENT RESERVE OUT command requests a Register, Clear, Pre-empt, or Pre-empt & Clear operation.
SDLT 600 SCSI Interface Guide Table 4-79. Chapter 4: SCSI Commands Read Reservations Parameters — Field Descriptions Field Name Description PRGeneration Persistent Reservations Generation. The value in this field is a 32-bit counter in the drive that is incremented each time a PERSISTENT RESERVE OUT command requests a Register, Clear, Pre-empt, or Pre-empt & Clear operation.
PERSISTENT RESERVE IN Command (5Eh) SDLT 600 SCSI Interface Guide Figure 4-79. PERSISTENT RESERVE IN Read Reservations Descriptor — Data Format Table 4-80. PERSISTENT RESERVE IN Read Reservations Descriptor — Field Descriptions Field Name Description Reservation Key Contains an 8-byte value that identifies the reservation key under which the persistent reservation is held. Scope-Specific Address Not supported. Must be set to 0.
SDLT 600 SCSI Interface Guide Table 4-81. Chapter 4: SCSI Commands PERSISTENT RESERVATION IN Type Codes (Continued) Code Name Description 3h Exclusive Access READS: Exclusive; any command from any initiator other than the initiator holding the persistent reservation that attempts a transfer from the drive results in a reservation conflict.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 PERSISTENT RESERVE OUT Command (5Fh) SDLT 600 SCSI Interface Guide 4.12 PERSISTENT RESERVE OUT Command (5Fh) PERSISTENT RESERVE OUT is a 10-byte command used to reserve a logical unit for exclusive or shared use of an initiator. The command is used with the PERSISTENT RESERVE IN command. Initiators that perform PERSISTENT RESERVE OUT actions are identified by a Reservation Key the application client assigns.
SDLT 600 SCSI Interface Guide Table 4-82. Chapter 4: SCSI Commands PERSISTENT RESERVE OUT Command — Field Descriptions Field Name Description Service Action The following service action codes are available. All other values are reserved. Code Name Description 00h Register Registers a Reservation Key with the drive. 01h Reserve Creates a persistent reservation using a Reservation Key. 02h Release Releases a persistent reservation.
PERSISTENT RESERVE OUT Command (5Fh) SDLT 600 SCSI Interface Guide The following table provides detailed descriptions of each of the PERSISTENT RESERVE OUT command’s seven possible service actions (Service Action codes appear in bits 0 to 4 of Byte 1). Table 4-83. PERSISTENT RESERVE OUT Command’s Service Action Descriptions Code Name Description 00h Register When the command executes a Register service action, it registers a Reservation Key with the drive without generating a reservation.
SDLT 600 SCSI Interface Guide Table 4-83. Chapter 4: SCSI Commands PERSISTENT RESERVE OUT Command’s Service Action Descriptions (Continued) Code Name Description 02h Release A PERSISTENT RESERVE OUT command with Release service action removes a persistent reservation held by the same initiator. The fields associated with a Release service action match fields of the active persistent reservation.
PERSISTENT RESERVE OUT Command (5Fh) Table 4-83. SDLT 600 SCSI Interface Guide PERSISTENT RESERVE OUT Command’s Service Action Descriptions (Continued) Code Name Description 04h Pre-empt A PERSISTENT RESERVE OUT command with a successful Pre-empt service action removes all persistent reservations for all initiators that have been registered with the service action Reservation Key specified in the PERSISTENT RESERVE OUT command’s parameter list.
SDLT 600 SCSI Interface Guide Table 4-83. Chapter 4: SCSI Commands PERSISTENT RESERVE OUT Command’s Service Action Descriptions (Continued) Code Name Description 05h Pre-empt & Clear A PERSISTENT RESERVE OUT command with a Pre-empt & Clear service action removes all persistent reservations for all initiators that have been registered with the service action Reservation Key specified in the PERSISTENT RESERVE OUT command’s parameter list.
PERSISTENT RESERVE OUT Command (5Fh) SDLT 600 SCSI Interface Guide The following table presents the definitions of the available Type values from the Type field of the PERSISTENT RESERVE OUT Read Reservations parameters. Each of the codes provides handling instructions for READ operations, for WRITE operations, and for subsequent attempts to establish persistent reservations (referred to as “Additional Reservations Allowed” in the table). Table 4-84.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands The PERSISTENT RESERVE OUT command requires a parameter list, shown in the following figure and defined in the following table. Every PERSISTENT RESERVE OUT command sends all of the fields of the parameter list, even if the field is not required for the specific service action or scope values.
PERSISTENT RESERVE OUT Command (5Fh) Table 4-85. SDLT 600 SCSI Interface Guide PERSISTENT RESERVE OUT Parameter List — Field Descriptions Field Name Description Reservation Key Contains an 8-byte token that the application client provides to the drive to identify the initiator that is the source of the PERSISTENT RESERVE OUT command.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands The following table illustrates the fields the application client sets and which the drive interprets for each service and scope value. Table 4-86.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 PREVENT / ALLOW MEDIUM REMOVAL Command (1Eh) SDLT 600 SCSI Interface Guide 4.13 PREVENT / ALLOW MEDIUM REMOVAL Command (1Eh) This command enables or disables unloading the data cartridge. Each initiator maintains the PREVENT / ALLOW status in the drive separately. Bit Byte 7 6 5 4 3 0 Operation Code (1Eh) 1 Reserved 2–3 Reserved 4 Reserved 5 2 1 0 Prevent Control Figure 4-82.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.14 READ Command (08h) The READ command transfers one or more data blocks or bytes to the initiator starting with the next block on the tape. Bit Byte 7 0 6 5 4 3 2 1 0 SILI Fixed Operation Code (08h) 1 Reserved (MSB) Transfer Length 2–4 (LSB) 5 Control Figure 4-83. READ Command Descriptor Block — Data Format Table 4-88.
READ Command (08h) Table 4-88.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.14.2 End-of-Medium/Partition Handling The meaning of EOM is different for a READ command than it is for a WRITE-related command. The drive reports EOM only when it encounters the physical EOM or End-of-Partition (EOP). The drive returns a CHECK CONDITION status. The EOM and Valid bits are set to 1 and the Sense Key field is set to MEDIUM ERROR.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 READ ATTRIBUTE Command (8Ch) SDLT 600 SCSI Interface Guide 4.15 READ ATTRIBUTE Command (8Ch) The READ ATTRIBUTE command (see Figure 4-84) allows an application client to read attribute values from Enhanced Medium Auxiliary Memory (EMAM).
SDLT 600 SCSI Interface Guide Table 4-89. Field Name Chapter 4: SCSI Commands READ ATTRIBUTE Parameter Data — Field Descriptions (Continued) Description First Attribute Identifier Specifies the attribute identifier of the first attribute to be returned. Allocation Length Specifies how many bytes are allocated for the returned parameter list. If the value in this field is not sufficient to contain the entire parameter list, the drive returns the truncated list; this is not considered an error.
READ ATTRIBUTE Command (8Ch) SDLT 600 SCSI Interface Guide 4.15.2 READ ATTRIBUTE Service Action Codes The service actions defined for the READ ATTRIBUTE command are listed in Table 4-90. Table 4-90. READ ATTRIBUTE Command Service Action Codes Code Name Description Details 00h ATTRIBUTE VALUES Returns attribute values. Page 4-159 01h ATTRIBUTE LIST Returns a list of available attribute identifiers. Page 4-160 02h VOLUME LIST Returns a list of known volume numbers.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands ATTRIBUTE VALUES Service Action The READ ATTRIBUTE command with the ATTRIBUTE VALUES service action returns parameter data containing the attributes specified by the Partition Number, Volume Number, and First Attribute Identifier fields in the CDB. The returned parameter data contains the requested attributes in ascending numerical order by attribute identifier value, using the format shown in Figure 4-85.
READ ATTRIBUTE Command (8Ch) SDLT 600 SCSI Interface Guide ATTRIBUTE LIST Service Action The READ ATTRIBUTE command with the ATTRIBUTE LIST service action returns parameter data containing the attribute identifiers for the specified partition and volume number. The contents of the First Attribute Identifier field in the CDB are ignored.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands VOLUME LIST Service Action The READ ATTRIBUTE command with the VOLUME LIST service action returns parameter data (see Figure 4-87) identifying the supported number of volumes. The contents of the Volume Number, Partition Number, and First Attribute Identifier fields in the CDB are ignored. Bit Byte 7 6 5 4 3 2 1 0 (MSB) Available Data (02h) 0–1 (LSB) 2 First Volume Number 3 Number of Volumes Available Figure 4-87.
READ ATTRIBUTE Command (8Ch) SDLT 600 SCSI Interface Guide PARTITION LIST Service Action The READ ATTRIBUTE command with the PARTITION LIST service action returns parameter data (see Figure 4-88) identifying the number of partitions supported in the specified volume number. The contents of the Partition Number and First Attribute Identifier fields in the CDB are ignored.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.15.3 Enhanced Medium Auxiliary Memory (EMAM) Attributes This section describes the specific composition of Enhanced Medium Auxiliary Memory (EMAM) attributes. Each EMAM attribute is identified by a 2-byte attribute ID. Attribute Format Each EMAM attribute is communicated between the application client and the drive in the format shown in Figure 4-89 and described in Table 4-95.
READ ATTRIBUTE Command (8Ch) Table 4-95. EMAM Attribute Parameter Data — Field Descriptions Field Name Description Attribute Identifier Contains a code value identifying the attribute (see “Attribute Identifier Values” on page 4-165). Read Only Indicates whether the attribute is read only. When set to 1, the attribute is read only. When set to 0, the attribute is read / write. Format Specifies the format of the data in the Attribute Value field (see Table 4-96).
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Attribute Identifier Values The values in the Attribute Identifier field (see “Attribute Format” on page 4-163) are assigned according to the attribute type and whether the attribute is standard or vendor unique (see Table 4-97). Table 4-97.
READ ATTRIBUTE Command (8Ch) SDLT 600 SCSI Interface Guide Table 4-98.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands LOAD COUNT: Indicates how many times this medium has been fully loaded. The drive does not reset this attribute. MAM SPACE REMAINING: Indicates the space currently free in the medium auxiliary memory. The total medium auxiliary memory capacity is reported in the MAM CAPACITY attribute (see “MAM CAPACITY:” on page 4-176). You cannot always use all of the free space in a particular medium auxiliary memory implementation.
READ ATTRIBUTE Command (8Ch) SDLT 600 SCSI Interface Guide Table 4-99. DEVICE VENDOR/SERIAL NUMBER Attribute Parameter Data — Field Descriptions Field Name Description Vendor ID Contains the same value returned in the STANDARD INQUIRY data. Product Serial Number Contains the unit serial number.
SDLT 600 SCSI Interface Guide Bit Byte Chapter 4: SCSI Commands 7 6 5 4 3 2 1 0 (MSB) Current Read Retries Count 18 – 23 (LSB) (MSB) Previous Amount of Data Written 24 – 29 (LSB) (MSB) Previous Write Retries Count 30 – 35 (LSB) (MSB) Previous Amount of Data Read 36 – 41 (LSB) (MSB) Previous Read Retries Count 42 – 47 (LSB) (MSB) Total Amount of Data Written 48 – 53 (LSB) (MSB) Total Write Retries Count 54 – 59 (LSB) (MSB) Total Amount of Data Read 60 – 65 (LSB) (MSB) Total Read Re
READ ATTRIBUTE Command (8Ch) Bit Byte 7 SDLT 600 SCSI Interface Guide 6 5 4 3 2 1 0 (MSB) Total Change Partition Count 78 – 83 (LSB) (MSB) Total Partition Initialize Count 84 – 89 (LSB) Figure 4-91. MEDIUM USAGE HISTORY Attribute — Data Format Table 4-100. MEDIUM USAGE HISTORY Attribute Parameter Data — Field Descriptions Field Name 4-170 Description Current Amount of Data Written Indicates the amount of data physically written to the medium during this load of the medium.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Table 4-100. MEDIUM USAGE HISTORY Attribute Parameter Data — Field Descriptions (Continued) Field Name Description Previous Amount of Data Read Indicates the amount of data physically read from the medium during the previous load of the medium. This value is expressed in increments of 1,048,576 bytes; that is, a value of 1 means 1,048,576 bytes, 2 means 2,097,152 bytes, and so on.
READ ATTRIBUTE Command (8Ch) SDLT 600 SCSI Interface Guide PARTITION USAGE HISTORY: Provides statistics (see Figure 4-92) for the partition specified by the Partition Number field in the CDB. If a field is not used, it is set to 0.
SDLT 600 SCSI Interface Guide Bit Byte Chapter 4: SCSI Commands 7 6 5 4 3 2 1 0 (MSB) Total Amount of Data Read 40 – 43 (LSB) (MSB) Total Read Retries Count 44 – 47 (LSB) (MSB) Load Count 48 – 51 (LSB) (MSB) Total Change Partition Count 52 – 55 (LSB) (MSB) Total Partition Initialize Count 56 – 59 (LSB) Figure 4-92. PARTITION USAGE HISTORY Attribute — Data Format Table 4-101.
READ ATTRIBUTE Command (8Ch) SDLT 600 SCSI Interface Guide Table 4-101. PARTITION USAGE HISTORY Attribute Parameter Data — Field Descriptions (Continued) Field Name 4-174 Description Current Read Retries Count Indicates the number of times the drive performed a Read retry in the partition specified by the Partition Number field in the CDB during this load of the medium.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Table 4-101. PARTITION USAGE HISTORY Attribute Parameter Data — Field Descriptions (Continued) Field Name Description Total Change Partition Count Indicates the number of times that switches to the partition specified by the Partition Number field in the CDB have been performed on the medium. Must be set to 0. Super DLTtape media comprises a single volume.
READ ATTRIBUTE Command (8Ch) SDLT 600 SCSI Interface Guide MEDIUM SERIAL NUMBER: Identifies the manufacturer’s serial number for the medium. MEDIUM LENGTH: Specifies the length of the medium in meters. A value of 00h specifies that the length of the medium is undefined. MEDIUM WIDTH: Specifies the width of the medium supported by this density. The value is expressed in units of tenths of millimeters.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands MEDIUM TYPE INFORMATION attribute is interpreted according to the type of medium indicated by the MEDIUM TYPE (see Table 4-103). Table 4-103.
READ ATTRIBUTE Command (8Ch) SDLT 600 SCSI Interface Guide that most recently sent a WRITE ATTRIBUTE command to the drive while this medium auxiliary memory was accessible. APPLICATION NAME: The name of the application client. APPLICATION VERSION: The version of the application client. USER MEDIUM TEXT LABEL: The user level identifier for the medium. DATE & TIME LAST WRITTEN: Contains when the application client last wrote to the medium auxiliary memory.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Host vendor-unique attributes can be added and deleted. A write to a host vendor-unique attribute causes the drive to test the size remaining (Attribute ID 4:MAM Space Remaining) and if the write does not cause an out-of-memory condition, the drive allows it. An application is allowed to write an attribute marked as read only to the host vendor-unique area, but this attribute can never be deleted.
READ ATTRIBUTE Command (8Ch) • SDLT 600 SCSI Interface Guide Since the EMAM data is read off the tape, the host needs to wait for one of two ready states to read and write attributes. If the SDLT tape drive is configured to report the MAM Available Unit Attention using the EEPROM setting “RepMAMAvailUA” (see Table 4-58 on page 4-98), once that UA is reported to the host, it can read and write MAM attributes.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.16 READ BLOCK LIMITS Command (05h) The READ BLOCK LIMITS command directs the SDLT tape drive to report its block length limits. Bit Byte 7 6 5 4 3 2 0 Operation Code (05h) 1–4 Reserved 5 Control 1 0 Figure 4-93. READ BLOCK LIMITS Command Descriptor Block — Data Format The READ BLOCK LIMITS data shown below is sent during the DATA IN phase of the command.
READ BLOCK LIMITS Command (05h) Table 4-106. 4-182 SDLT 600 SCSI Interface Guide READ BLOCK LIMITS Data — Field Descriptions Field Name Description Granularity Indicates the granularity of block sizes the drive supports. Block sizes must be an even multiple of 2 raised to the granularity power. This field is set to 0 for all densities indicating any block size between the minimum and the maximum is acceptable. Maximum Block Length Indicates the maximum block length.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.17 READ BUFFER Command (3Ch) The READ BUFFER command is used with the WRITE BUFFER command as a diagnostic function for testing the SDLT tape drive’s data buffer for possible diagnostic data and for checking the integrity of the SCSI bus.
READ BUFFER Command (3Ch) Table 4-107. SDLT 600 SCSI Interface Guide READ BUFFER Command Descriptor Block — Field Descriptions Field Name Description Mode The drive supports the following values for this field. Setting any nonsupported value causes the drive to terminate the command with a CHECK CONDITION status and Sense Key set to ILLEGAL REQUEST.
SDLT 600 SCSI Interface Guide Table 4-107. Chapter 4: SCSI Commands READ BUFFER Command Descriptor Block — Field Descriptions (Continued) Field Name Description Allocation Length Specifies the maximum number of bytes the initiator has allocated for returning data. The host uses this field to limit the size of data transfers to its own internal buffer size. Comp Compression. When set to 1, enables compression of buffer A2h (the live buffer); when set to 0, disables compression of buffer A2h.
READ BUFFER Command (3Ch) SDLT 600 SCSI Interface Guide Compression To reduce memory requirements for the diagnostic read buffers, and to reduce the size of the resulting diagnostic information, the Live Buffer (A2h) can be compressed internally inside the drive before being sent to the host. If you choose to do this, the process of generating the diagnostic information takes longer, but the time to retrieve the information is reduced.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.17.3 Data Mode (02h) In this mode, the DATA IN phase contains only buffer data. This mode can be used to check the diagnostic read buffer to see if an unexpected error has occurred. 4.17.4 Descriptor Mode (03h) In this mode, the drive returns a maximum of 4 bytes of READ BUFFER descriptor information. The drive returns the descriptor information for the buffer specified by the Buffer ID.
READ BUFFER Command (3Ch) SDLT 600 SCSI Interface Guide 4.17.6 Echo Buffer Descriptor Mode (0Bh) In this mode, the drive returns a maximum of 4 bytes of READ BUFFER descriptor information. The drive returns the descriptor information for the Echo Buffer. The Buffer Offset field is reserved in this mode. The allocation length should be set to 4 or greater. The drive transfers the lesser of the allocation length or 4 bytes of the READ BUFFER descriptor.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.18 READ POSITION Command (34h) The READ POSITION command reads a position identifier or SCSI Logical Block Address (LBA). The LOCATE command uses this identifier or LBA for high-performance repositioning of the tape medium to a known logical position.
READ POSITION Command (34h) SDLT 600 SCSI Interface Guide 4.18.
SDLT 600 SCSI Interface Guide Table 4-111. Chapter 4: SCSI Commands READ POSITION (Short Form) Data — Field Descriptions (Continued) Field Name Description LOCU Logical Object Count Unknown. When set to 1, indicates that the value contained in the Number of Logical Objects in Object Buffer field does not accurately represent the actual number of logical objects in the object buffer. When set to 0, indicates that the value contained in the Number of Logical Objects in Object Buffer field is accurate.
READ POSITION Command (34h) SDLT 600 SCSI Interface Guide 4.18.2 Read Position Data — Long Form Data returned when the service action value is 6 takes the following form: Bit Byte 0 7 6 BOP EOP 5 4 Reserved 1–3 3 2 MPU LONU 1 0 Reserved Reserved (MSB) Partition Number 4–7 (LSB) (MSB) Logical Object Number 8 – 15 (LSB) (MSB) Logical File Identifier 16 – 23 (LSB) (MSB) Logical Set Identifier 24 – 31 (LSB) Figure 4-101. READ POSITION (Long Form) — Data Format Table 4-112.
SDLT 600 SCSI Interface Guide Table 4-112. Chapter 4: SCSI Commands READ POSITION (Long Form) Data — Field Descriptions (Continued) Field Name Description MPU Mark Position Unknown. When set to 1, indicates that the values contained in the Logical File Identifier and Logical Set Identifier fields are not known or accurate reporting is not currently available. When set to 0, indicates that the values these fields contain are accurate. LONU Logical Object Number Unknown.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 RECEIVE DIAGNOSTIC RESULTS Command (1Ch) SDLT 600 SCSI Interface Guide 4.19 RECEIVE DIAGNOSTIC RESULTS Command (1Ch) The RECEIVE DIAGNOSTIC RESULTS command fetches the results of the last SEND DIAGNOSTIC command sent to the SDLT tape drive. Bit Byte 7 6 5 4 3 0 Operation Code (1Ch) 1 Reserved 2 2 1 0 PCV Page Code (MSB) Allocation Length 3–4 (LSB) 5 Control Figure 4-102.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands The drive returns the following data as a result of the RECEIVE DIAGNOSTIC RESULTS command. Use the REQUEST SENSE command to obtain more detailed information following a CHECK CONDITION status on a SEND DIAGNOSTIC command.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 RELEASE (10) Command (57h) SDLT 600 SCSI Interface Guide 4.20 RELEASE (10) Command (57h) NOTE: This command has been made obsolete in the latest version of SCSI-3 and should not be used with any new implementations. The SDLT tape drive supports this command for legacy applications only. The RELEASE and RESERVE commands provide contention resolution in multiple-initiator systems.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Table 4-114. RELEASE (10) Command — Field Descriptions Field Name Description 3rdPty Third Party Release allows an initiator to release a previously reserved logical unit. When set to 0, third-party release is not requested. When set to 1, the drive releases the specified logical unit, but only if the initiator ID, 3rdPty bit, and Third Party Device ID are identical to those of the RESERVE command that established the reservation.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 RELEASE UNIT Command (17h) SDLT 600 SCSI Interface Guide 4.21 RELEASE UNIT Command (17h) NOTE: This command has been made obsolete in the latest version of SCSI-3 and should not be used with any new implementations. The SDLT tape drive supports this command for legacy applications only. The RELEASE UNIT command releases the SDLT tape drive if it is currently reserved by the requesting initiator.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.22 REPORT DENSITY SUPPORT Command (44h) The REPORT DENSITY SUPPORT command is a 10-byte command that the application client uses to request information about the densities the SDLT tape drive supports. Note that a reservation conflict occurs when the drive receives a REPORT DENSITY SUPPORT command from any initiator other than the one holding a logical unit reservation for the drive.
REPORT DENSITY SUPPORT Command (44h) SDLT 600 SCSI Interface Guide The following figure illustrates the REPORT DENSITY SUPPORT header. Bit Byte 7 6 5 4 3 2 1 0 (MSB) Available Density Support Length 0–1 (LSB) 2–3 Reserved 4–n Density Support Data Block Descriptor Figure 4-108. REPORT DENSITY SUPPORT Header — Data Format The following table provides a description of the Available Density Support Length field.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands The figure and table that follow provide information about the Density Support Data Block Descriptor field of the header.
REPORT DENSITY SUPPORT Command (44h) SDLT 600 SCSI Interface Guide Table 4-118. REPORT DENSITY SUPPORT Data Block Descriptor — Field Descriptions Field Name Description Primary Density Code Contains the value returned by a MODE SENSE command for the density described in the remainder of the Density Support Data Block Descriptor. Secondary Density Code When multiple density code values are assigned to the same recording technology, this field lists the equivalent density code value.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Table 4-118. REPORT DENSITY SUPPORT Data Block Descriptor — Field Descriptions (Continued) Field Name Description Capacity If the Media bit is set to 0, the Capacity field indicates the approximate capacity of the longest supported medium. If the Media bit is set to 1, the Capacity field indicates the approximate capacity of the current medium. The capacity assumes that compression is disabled.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 REPORT DEVICE IDENTIFIER Command (A3h) SDLT 600 SCSI Interface Guide 4.23 REPORT DEVICE IDENTIFIER Command (A3h) The REPORT DEVICE IDENTIFIER command requests that the SDLT tape drive send device identification information to the applicable client. Bit Byte 7 6 0 5 4 3 2 1 0 Operation Code (A3h) 1 Reserved 2–5 Service Action (05h) Reserved (MSB) Allocation Length 6–9 (LSB) 10 Reserved 11 Control Figure 4-110.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands The REPORT DEVICE IDENTIFIER parameter list contains a 4-byte field that sets the length in bytes of the parameter list and the drive’s identifier. Bit Byte 7 6 5 4 3 2 1 0 (MSB) Identifier Length (n – 4) 0–3 (LSB) 4–n Identifier Figure 4-111. REPORT DEVICE IDENTIFIER — Data Format Table 4-120.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 REPORT LUNS Command (A0h) SDLT 600 SCSI Interface Guide 4.24 REPORT LUNS Command (A0h) The REPORT LUNS command requests that the SDLT tape drive send the peripheral device logical unit numbers of known logical units to the applications client. The command only returns information about the logical units that accept commands.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Table 4-121. REPORT LUNS Command Descriptor Block — Field Descriptions (Continued) Field Description Allocation Length If the Allocation Length is not sufficient to contain the logical unit number values for all configured logical units, the SDLT tape drive reports as many logical number values as fit in the Allocation Length. The format of the report of configured logical units is shown in Figure 4-113.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 REPORT SUPPORTED OPERATION CODES Command (A3h) SDLT 600 SCSI Interface Guide 4.25 REPORT SUPPORTED OPERATION CODES Command (A3h) The REPORT SUPPORTED OPERATION CODES command requests information on commands the SDLT tape drive supports. An application client may request a list of all operation codes and service actions the drive supports or the command support data for a specific command.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Table 4-122. REPORT SUPPORTED OPERATION CODES Command Descriptor Block — Field Descriptions Field Description Service Action A service action of 0Ch identifies this as the REPORT SUPPORTED OPERATION CODES command. Reporting Options Specifies the type of information to be returned in the parameter data. All values other than those listed are reserved.
REPORT SUPPORTED OPERATION CODES Command (A3h) SDLT 600 SCSI Interface Guide 4.25.1 All_commands Parameter Data Format The REPORT SUPPORTED OPERATION CODES all_commands parameter data format begins with a 4-byte header that contains the length in bytes of the parameter data, followed by a list of the returned commands. Each command descriptor contains information about a single supported command, including operation code and service action, if applicable.
SDLT 600 SCSI Interface Guide Bit Byte Chapter 4: SCSI Commands 7 6 5 4 3 0 Operation Code 1 Reserved 2 1 0 (MSB) Service Action 2–3 (LSB) 4 Reserved 5 Reserved ServActV (MSB) CDB Length 6–7 (LSB) Figure 4-116. All_commands Command Descriptor — Data Format Table 4-124. All_commands Command Descriptor — Field Descriptions Field Description Operation Code The operation code of the returned command. Service Action The service action of the returned command.
REPORT SUPPORTED OPERATION CODES Command (A3h) SDLT 600 SCSI Interface Guide 4.25.2 One_command Parameter Data Format The REPORT SUPPORTED OPERATION CODES one_command parameter data format contains information about the CDB and a usage map for fields in the CDB of the command specified in the Reporting Options, Requested Operation Code, and Requested Service Action fields of the REPORT SUPPORTED OPERATION CODES CDB.
SDLT 600 SCSI Interface Guide Table 4-125. Chapter 4: SCSI Commands One_command Parameter Data — Field Descriptions Field Description Support Indicates how the drive supports the requested command. All values other than those listed are reserved. Value Description 000b The drive cannot currently return data about the requested command. All data following byte 1 is invalid. Another request for command data may be successful. 0001b The drive does not support the requested command.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS Command (A3h) SDLT 600 SCSI Interface Guide 4.26 REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS Command (A3h) The REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS command requests information on task management functions the SDLT tape drive supports.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Table 4-126. REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS Command Descriptor Block — Field Descriptions Field Description Service Action A service action of 0Dh identifies this as the REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS command. Allocation Length Specifies the number of bytes allocated for the returned parameter data. The Allocation Length value is at least 4 bytes.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 REQUEST SENSE Command (03h) SDLT 600 SCSI Interface Guide 4.27 REQUEST SENSE Command (03h) The REQUEST SENSE command directs the SDLT tape drive to transfer detailed Sense Data to the initiator. Bit Byte 7 6 5 4 3 0 Operation Code (03h) 1 Reserved 2–3 Reserved 4 Allocation Length 5 Control 2 1 0 DESC Figure 4-120. REQUEST SENSE Command Descriptor Block — Data Format Table 4-128.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands SENSE command with a WRITE FILEMARKS command with the Immed bit set to 0. This forces the drive to flush any buffered data to tape. A subsequent REQUEST SENSE command returns the actual physical and logical position of the drive to the initiator. The following figure illustrates the REQUEST SENSE data format.
REQUEST SENSE Command (03h) Table 4-129. SDLT 600 SCSI Interface Guide REQUEST SENSE Data — Field Descriptions Field Name Description Valid When set to 1, indicates that the Information field contains valid SCSI-3 information. When set to 0, indicates that the contents of the Information field are not defined by any command standard. Response Code A value of 70h indicates a current error; the report is associated with the most recently received command.
SDLT 600 SCSI Interface Guide Table 4-129. Chapter 4: SCSI Commands REQUEST SENSE Data — Field Descriptions (Continued) Field Name Description Field Replaceable Unit Code Not used. Always set to 0. SKSV Sense-Key Specific Valid. When set to 1, indicates that the data in the Sense-Key Specific fields is valid. C/D Command / Data. When set to 1, indicates that the illegal parameter is contained in the CDB.
REQUEST SENSE Command (03h) Table 4-130. Sense Key 4-220 SDLT 600 SCSI Interface Guide Supported Sense Keys for REQUEST SENSE Command Description 0h NO SENSE. Check the Filemark, EOM, ILI, Additional Sense Code, and Additional Sense Code Qualifier fields. 1h RECOVERED ERROR. Can result from rounding of Mode Parameters on a MODE SELECT command or may report that READ / WRITE error rates are reaching drive specification limits for optimal operation.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Table 4-131 provides the Additional Sense Codes (ASCs) and Additional Sense Code Qualifiers (ASCQs) that the drive may report. Additional information, explanations, or suggestions for action are included with some of the descriptions. Table 4-131.
REQUEST SENSE Command (03h) Table 4-131. Supported ASC / ASCQ (Hex) for REQUEST SENSE Command (Continued) Text Name Sense Key ASC ASCQ Description NOT READY 02h 04h 00h Unit Not Ready, Cause Nonreportable 04h 01h Unit Not Ready, Calibration in Process 04h 02h Unit Not Ready, LOAD Command Needed. A tape cartridge is loaded but the tape medium is in an unloaded state. 04h 03h Unit Not Ready, Manual Intervention Needed. No tape cartridge is present or a mechanical failure has occurred.
SDLT 600 SCSI Interface Guide Table 4-131.
REQUEST SENSE Command (03h) Table 4-131.
SDLT 600 SCSI Interface Guide Table 4-131.
REQUEST SENSE Command (03h) Table 4-131.
SDLT 600 SCSI Interface Guide Table 4-131. Text Name VOLUME OVERFLOW Chapter 4: SCSI Commands Supported ASC / ASCQ (Hex) for REQUEST SENSE Command (Continued) Sense Key 0Dh 1. 2.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A03 RESERVE (10) Command (56h) SDLT 600 SCSI Interface Guide 4.28 RESERVE (10) Command (56h) NOTE: This command has been made obsolete in the latest version of SCSI-3 and should not be used with any new implementations. The SDLT tape drive supports this command for legacy applications only. The RESERVE and RELEASE commands provide contention resolution in multiple-initiator systems. The RESERVE command reserves a logical unit number.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands Table 4-132. RESERVE (10) Command — Field Descriptions Field Description 3rdPty When set to 1, indicates that the Third Party Device ID field is valid. LongID When set to 0, indicates that the third-party device associated with the reservation release has a number smaller than 255 and the ID value can be sent within the CDB.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 RESERVE UNIT Command (16h) SDLT 600 SCSI Interface Guide 4.29 RESERVE UNIT Command (16h) NOTE: This command has been made obsolete in the latest version of SCSI-3 and should not be used with any new implementations. The SDLT tape drive supports this command for legacy applications only. The RESERVE UNIT command reserves the specified SDLT tape drive for the exclusive use of the requesting initiator or for another specified SCSI device.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands A reservation with the RESERVE UNIT command remains in effect until one of the following conditions is met: • Another valid RESERVE UNIT command from the initiator supersedes it. • A RELEASE UNIT command from the same initiator releases it. • A TARGET RESET message from any initiator releases it. • A reset condition releases it.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 REWIND Command (01h) SDLT 600 SCSI Interface Guide 4.30 REWIND Command (01h) The REWIND command directs the SDLT tape drive to position the tape at the beginning of the currently active partition, always Beginning of Media (BOM). Before rewinding, the drive writes any data in the write buffer to the tape medium and appends an End of Data marker.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.31 SEND DIAGNOSTIC Command (1Dh) The SEND DIAGNOSTIC command directs the SDLT tape drive to perform its self-diagnostic tests. Two levels of drive-resident diagnostic tests are available: the Level 1 Electronics Test and the Level 2 Write / Read Functionality Test.
SEND DIAGNOSTIC Command (1Dh) SDLT 600 SCSI Interface Guide 4.31.1 Level 1 Test: Electronics Test Running a Level 1 test requires that a major portion of the controller hardware and software be functioning properly. The Level 1 test is based on the premise that full power-up testing is not necessary; therefore, it is an extension of the power-on tests that the drive runs.
SDLT 600 SCSI Interface Guide Table 4-136.
SEND DIAGNOSTIC Command (1Dh) SDLT 600 SCSI Interface Guide Additional Sense Codes and Additional Sense Code Qualifiers that apply to SEND DIAGNOSTIC test results are described in the following table. Table 4-138.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.32 SET DEVICE IDENTIFIER Command (A4h) The SET DEVICE IDENTIFIER command requests that the device identifier information in the SDLT tape drive be set to the value contained in the parameter list. This information is then accessible using the REPORT DEVICE IDENTIFIER command. The device identifier is persistent through Reset and power cycles.
SET DEVICE IDENTIFIER Command (A4h) Table 4-139. SDLT 600 SCSI Interface Guide SET DEVICE IDENTIFIER Command Descriptor Block — Field Descriptions Field Name Description Service Action Must be set to 06h. Any other value causes the drive to return CHECK CONDITION status with Sense Key set to ILLEGAL REQUEST. Parameter List Length Specifies the length in bytes of the Identifier that is transferred from the application client to the SDLT tape drive. The maximum value for this field is 64 bytes.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.33 SPACE Command (11h) The SPACE command provides a variety of positioning functions that are determined by the Code and Count fields in the Command Descriptor Block. This command provides both forward (toward End of Medium / End of Partition) and reverse (toward Beginning of Medium / Beginning of Partition) positioning.
SPACE Command (11h) Table 4-141. SDLT 600 SCSI Interface Guide SPACE Command Data — Field Descriptions (Continued) Field Name Description Count When spacing over Blocks or Filemarks, the Count field is interpreted as follows: • A positive value n causes forward motion over n blocks or filemarks. The drive logically positions the tape after the nth Block or Filemark on the EOM or EOP side. • A value of 0 causes no change in logical position.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.34 TEST UNIT READY Command (00h) The TEST UNIT READY command checks the SDLT tape drive to ensure that it is ready for commands involving tape movement. Bit Byte 7 6 5 4 3 0 Operation Code (00h) 1 Reserved 2–4 Reserved 5 Control 2 1 0 Figure 4-130.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 VERIFY Command (13h) SDLT 600 SCSI Interface Guide 4.35 VERIFY Command (13h) The VERIFY command directs the SDLT tape drive to verify one or more blocks beginning with the next block on the tape. The drive verifies both CRCs and EDCs. Bit Byte 7 6 5 4 0 3 2 1 0 Immed BytCmp Fixed Operation Code (13h) 1 Reserved (MSB) Verification Length 2–4 (LSB) 5 Control Figure 4-131.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.36 WRITE Command (0Ah) The WRITE command transfers one or more data blocks from the host to the current logical position on tape. When in Buffered Mode, which is the default mode of operation, the SDLT tape drive reports GOOD status on WRITE commands as soon as the requested data block or blocks have been transferred to the data buffer.
WRITE Command (0Ah) Table 4-143. SDLT 600 SCSI Interface Guide WRITE Command Data — Field Descriptions Field Name Description Fixed Sets both the meaning of the Transfer Length field and whether fixed-length or variable-length blocks are to be transferred. When set to 0, variable-length block mode is selected. A single block is transferred from the initiator and is written to the drive beginning at the current logical tape position.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.37 WRITE ATTRIBUTE Command (8Dh) The WRITE ATTRIBUTE command allows an application client to write attributes to Enhanced Medium Auxiliary Memory (EMAM). The WRITE ATTRIBUTE command is the functional counterpart of the READ ATTRIBUTE command. Application clients issue READ ATTRIBUTE commands before using this command to discover SDLT tape drive support for EMAM features.
WRITE ATTRIBUTE Command (8Dh) Table 4-144. SDLT 600 SCSI Interface Guide WRITE ATTRIBUTE Command Parameter Data — Field Descriptions Field Name Description Volume Number Specifies a volume within the medium auxiliary memory. Must be set to 0. Super DLTtape media comprises a single volume. Partition Number Specifies a partition within a volume. Must be set to 0. Super DLTtape media comprises a single partition.
SDLT 600 SCSI Interface Guide Table 4-145. Field Name Chapter 4: SCSI Commands WRITE ATTRIBUTE Command Parameter Data — Field Descriptions Description Parameter Data Length Ignored. Contains the number of bytes of attribute data. Attribute Contains: 1) an attribute header, and 2) data. Each attribute must be formatted as described in “Enhanced Medium Auxiliary Memory (EMAM) Attributes” on page 4-163. 4.37.
WRITE ATTRIBUTE Command (8Dh) SDLT 600 SCSI Interface Guide • If the attribute is Read / Write, the attribute is deleted. The attribute is not returned in response to a READ ATTRIBUTE command and not reported by the READ ATTRIBUTE command with the ATTRIBUTE LIST service action. • If the attribute does not exist, the attribute in the WRITE ATTRIBUTE command parameter list is ignored; this is not considered an error.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.38 WRITE BUFFER Command (3Bh) The WRITE BUFFER command works with the READ BUFFER command as a diagnostic function for testing the device data buffer, DMA engine, SCSI bus interface hardware, and network SCSI bus integrity. It is also used to download and update microcode (firmware).
WRITE BUFFER Command (3Bh) Table 4-146. SDLT 600 SCSI Interface Guide WRITE BUFFER Command Descriptor Block — Field Descriptions Field Name Description Mode The drive supports the following values in this field. If any other value is set, the drive terminates the command with CHECK CONDITION status, Sense Key set to ILLEGAL REQUEST.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands 4.38.3 Download Microcode Mode (04h) This mode uses buffer offsets to download the firmware image into the drive’s buffer in parts. The firmware image must be downloaded in integral (whole) multiples of 8 KB. These commands do not cause the new image to become active. A Download Microcode and Save Mode WRITE BUFFER command must be issued for the image to become active. The drive must not contain any tape medium before starting an image download.
SDLT 600 SCSI Interface Guide SCSI Commands 81-81200-02 REV A01 WRITE FILEMARKS Command (10h) SDLT 600 SCSI Interface Guide 4.39 WRITE FILEMARKS Command (10h) The WRITE FILEMARKS command directs the SDLT tape drive to write the specified number of Filemarks onto the tape, beginning at the current logical position. If the Immed bit is not set to 1, the drive writes any data or Filemarks in the WRITE cache buffer to tape.