Quantum DLT 1 Interface Manual

Quantum dlt 1: user guide
Hide thumbs Also See for DLT 1:
Table of Contents

Advertisement

DLT1/VS80 SCSI
Interface Guide

Advertisement

Table of Contents
loading

Summary of Contents for Quantum DLT 1

  • Page 1 DLT1/VS80 SCSI Interface Guide...
  • Page 2: Contact Information

    Document Origination: Boulder, Colorado, USA. Trademarks Quantum, the Quantum logo, and the DLTtape logo are trademarks of Quantum Corporation, registered in the U.S.A. and other countries. DLTtape, DLTSage, and Super DLTtape are trademarks of Quantum Corporation. Other company and product names used in this document are trademarks, registered trademarks, or service marks of their respective owners.
  • Page 3: Revision History

    Ceci est un produit de Classe A. Dans un environnement domestique, ce produit risque de créer des interférences radioélectriques, il appartiendra alors à l'utilisateur de prendre les mesures spécifiques appropriées. 81-81276-01 Rev A01 Date Summary of Changes 10/06/2000 Initial Release 7/27/2001 Cover Sheet Updates 7/26/2004 Converted to FrameMaker and Quantum Style Guide. Released Per C0O9834. July 2004...
  • Page 4 DLT1/VS80 SCSI Interface Guide Taiwan Statement Japanese Notice User Manual Statements for Class B Equipment (External Tape System) This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation.
  • Page 5 DLT1/VS80 SCSI Interface Guide Taiwan Statement Japanese Notice 81-81276-01 Rev A01 July 2004...
  • Page 6 DLT1/VS80 SCSI Interface Guide Notes July 2004 81-81276-01 Rev A01...
  • Page 7: Table Of Contents

    Introduction ........1-1 Purpose and Scope.
  • Page 8 Table of Contents DISCONNECT (04h) ............3-3 EXTENDED MESSAGE (01h) .
  • Page 9 Read/Write Error LOG SENSE Page (Pages 02h and 03h) ......4-27 Last n Error Events Page (07h) ..........4-31 TapeAlert Parameters Page (2Eh) .
  • Page 10 Table of Contents READ BUFFER (3Ch) ............4-89 Combined Header and Data Mode .
  • Page 11 Storage Element Status Page........
  • Page 12 Table of Contents Notes July 2004 81-81276-01 Rev A01...
  • Page 13: List Of Figures

    SCSI Messages........3-1 Figure 3-1.
  • Page 14 List of Figures Figure 4-22. Device Wellness (33h) Log Page Header — Data Format ..... 4-40 Figure 4-23. Device Wellness (33h) Log Page Parameters (0000h through 000Fh) — Data Format .
  • Page 15 Figure 5-8. Storage Element Status Header — Data Format....... 5-9...
  • Page 16 List of Figures Notes July 2004 81-81276-01 Rev A01...
  • Page 17 Introduction ........1-1 Table 1-1.
  • Page 18 List of Tables Table 4-15. Read / Write Error LOG SENSE (Page 2 and 3) — Field Descriptions ... 4-27 Table 4-16. Read / Write Error LOG SENSE Parameters (Pages 02h and 03h) — Field Descriptions .
  • Page 19 DLT1/VS80 SCSI Interface Guide Table 4-52. READ (08h) Command Descriptor Block — Field Descriptions ....4-86 Table 4-53. READ BLOCK LIMITS (05h) Command Descriptor Block — Field Descriptions . . 4-89 Table 4-54.
  • Page 20 List of Tables Notes xviii July 2004 81-81276-01 Rev A01...
  • Page 21: Introduction

    This manual provides a detailed explanation of the Small Computer System Interface (SCSI) Protocol features the Quantum VS80 tape drive implements. This manual does not replace the full ANSI SCSI specification, messages, options, and command code specifications; instead, it describes the commands, messages, and options this tape drive supports.
  • Page 22: Related Documents

    Chapter 1: Introduction Related Documents DLT VS80 Installation and Operations Guide (001596-01) • Current standards documents available from www.t10.org • SCSI Architecture Model (SAM) SCSI Primary Commands (SPC) SCSI Parallel Interface (SPI) SCSI Stream Commands (SSC) Structure of this Manual Chapter 1, “Introduction,”...
  • Page 23: Table 1-1. Typographical Conventions

    : Tech Tips provide information that helps you complete a procedure or avoid additional steps. AUTION ! Warnings provide information you must know to avoid ARNING Table 1-1. Typographical Conventions Element Commands Hexadecimal Notation Binary Notation Decimal Notation Acronyms Abbreviations 81-81276-01 Rev A01 Cautions provide information you must know to avoid damaging the tape drive or losing data.
  • Page 24 Chapter 1: Introduction Notes July 2004 81-81276-01 Rev A01...
  • Page 25: General Scsi Bus Operation

    Data Transfer The tape drive supports both narrow and wide, asynchronous and synchronous data transfers. The product is configured as a Low-Voltage Differential (LVD) or Single-Ended (SE) tape drive. The tape drive generates parity (ODD) during all information transfer phases where the tape drive transfers data onto the SCSI bus.
  • Page 26: Scsi Ids And Logical Unit Numbers

    Chapter 2: General SCSI Bus Operation SCSI IDs and Logical Unit Numbers The tape drive has one logical unit number (LUN), which is always LUN 0. The tape drive treats unsupported LUNs as follows: If the LUN specified in the IDENTIFY message is invalid, the tape drive accepts the Command Descriptor Block (CDB).
  • Page 27: Behavior Around Power-On And Scsi Bus Reset

    Behavior Around Power-On and SCSI BUS RESET In the following situations, the tape drive generates these responses: Table 2-1. Tape Drive Behavior after a Power-On and SCSI BUS RESET Situation Tape drive power off Tape drive power on Within 5 seconds of power on and within 250 milliseconds (typically under 4 ms) after a BUS RESET The tape drive recognizes multiple bus resets in succession and bus resets of arbitrarily long duration.
  • Page 28: Other Scsi Functionality

    Chapter 2: General SCSI Bus Operation The tape drive writes (flushes) the write data cache to the data cartridge under the following circumstances: An initiator issues one or more WRITE FILEMARKS commands without intervening medium • motion commands. An initiator issues a WRITE 0 FILEMARKS command. •...
  • Page 29: Status Phase

    2.8.2 STATUS Phase The tape drive enters the STATUS phase only once per command unless the initiator requests a retry. The sole exception to this behavior is during error cases when the drive goes immediately to BUS FREE, as defined in the SCSI-2 standard. The tape drive returns the following STATUS bytes: GOOD (00h): This status indicates the tape drive successfully completed the command.
  • Page 30: Bus Free Phase

    Chapter 2: General SCSI Bus Operation These commands do not require access to the data cartridge: INQUIRY • LOG SENSE/SELECT • MODE SELECT • MODE SENSE • PREVENT/ALLOW MEDIUM REMOVAL • READ BLOCK LIMITS • READ BUFFER • READ ELEMENT STATUS •...
  • Page 31 DLT1/VS80 SCSI Interface Guide Bus parity errors cause the tape drive to retry the operation, go to STATUS phase, or go to BUS FREE and prepare Sense Data (see section 6.1.1 in the SCSI-2 specification). Retrying of parity errors during DATA OUT Phase when writing is normally not done, but can be enabled by changing the EnaParErrRetry parameter in the Vendor Unique EEPROM Mode Page.
  • Page 32 Chapter 2: General SCSI Bus Operation Notes July 2004 81-81276-01 Rev A01...
  • Page 33: Scsi Messages

    This chapter provides a detailed description of the SCSI messages DLT1 tape drives support. Specifically, it covers the following topics: “SCSI Message System” • “Supported SCSI Messages” • SCSI Message System SCSI messages allow communication between an initiator and a target for the purpose of physical path management.
  • Page 34: Supported Scsi Messages

    Chapter 3: SCSI Messages Table 3-1. Supported SCSI Messages (Continued) Code In/Out Both Supported SCSI Messages This section describes the messages outlined in 3.2.1 ABORT (06h) The initiator sends this message to the target to clear the current I/O process on the selected tape drive. On buffered (cached) write operations, the tape drive attempts to complete the command, if possible.
  • Page 35: Bus Device Reset (0Ch)

    3.2.2 BUS DEVICE RESET (0Ch) This message from an initiator clears all commands, data, and status in the tape drive controller. When the tape drive recognizes this message, it writes cached data to the medium and goes to the BUS FREE phase.
  • Page 36: Extended Message (01H)

    Chapter 3: SCSI Messages 3.2.5 EXTENDED MESSAGE (01h) An initiator or target sends this message as the first byte of a multiple-byte message (> 2 bytes). Figure 3-1 shows the EXTENDED MESSAGE format. Byte Figure 3-1. EXTENDED MESSAGE (01h) Format The Extended Message Length specifies the length of the EXTENDED MESSAGE plus the number of additional parameter bytes that are to follow.
  • Page 37: Identify (80H-Ffh)

    3.2.6 IDENTIFY (80h–FFh) The initiator or target sends these messages to establish (or reestablish) the physical connection path between an initiator and target for a particular logical unit. Table 3-3 lists the bits in the message byte. Table 3-3. Bits in the IDENTIFY Message Description Always set to 1.
  • Page 38: Initiator Detected Error (05H)

    Chapter 3: SCSI Messages 3.2.8 INITIATOR DETECTED ERROR (05h) An initiator sends this message to inform a target that an error, for example, a bus parity error, has occurred that does not prevent the target from attempting the operation again. Upon receiving this message, the tape drive tries to retransfer the last command, data, or status bytes by using the RESTORE POINTERS message.
  • Page 39: Message Reject (07H)

    3.2.12 MESSAGE REJECT (07h) The initiator or target sends this message to indicate that the last message received was inappropriate or remains not implemented. To indicate its intentions of sending this message, the initiator asserts the ATN signal before it releases ACK for the REQ/ACK handshake of the message that is to be rejected.
  • Page 40: Save Data Pointer (02H)

    Chapter 3: SCSI Messages 3.2.15 SAVE DATA POINTER (02h) A target sends this message to the initiator and saves a copy of the present active data pointer for the logical unit currently attached. As a target, the tape drive sends this message before a disconnect during a data transfer. It does not send a SAVE DATA POINTER message if it intends to move directly to the STATUS phase.
  • Page 41: Figure 3-4. Wdtr Message Format

    Figure 3-4 shows the format for this extended message. Byte Figure 3-4. WDTR Message Format A SCSI tape drive initiates a WDTR message exchange whenever a previously arranged transfer width agreement may have become invalid. The agreement becomes invalid after any condition that leaves the data transfer agreement in an indeterminate state: After a hard reset condition •...
  • Page 42 Chapter 3: SCSI Messages Notes 3-10 July 2004 81-81276-01 Rev A01...
  • Page 43: Scsi Commands

    This chapter describes the supported SCSI commands, options, and error recovery procedures implemented in the Quantum DLT1/VS80 tape drive. This chapter does not fully reiterate the entire ANSI SCSI specification; for information of this nature, refer to the SCSI specification itself.
  • Page 44: Summary Of Supported Sequential-Access Tape Drive Commands

    Chapter 4: SCSI Commands Summary of Supported Sequential-Access Tape Drive Commands The following table shows the SCSI commands/Opcodes the tape drive supports and the page in this manual on which you can find each command. Table 4-1. Supported SCSI Commands Command ERASE INQUIRY...
  • Page 45: Erase (19H)

    Table 4-1. Supported SCSI Commands (Continued) Command WRITE WRITE BUFFER WRITE FILEMARK ERASE (19h) ERASE causes data on the medium to be erased. Before executing the ERASE command, the tape drive flushes to medium any write data currently held in a data cache and not yet written. Byte Logical Unit Number 2 - 4...
  • Page 46: Inquiry (12H)

    Chapter 4: SCSI Commands INQUIRY (12h) INQUIRY tells the tape drive to send information regarding its parameters to the initiator. Byte Logical Unit Number Figure 4-2. INQUIRY (12h) Command Descriptor Block — Data Format The INQUIRY command executes normally even if the specified LUN is not supported. INQUIRY returns a CHECK CONDITION status only when the target cannot return the requested INQUIRY data.
  • Page 47: Tape Drive Inquiry Response

    Version TrmlOP Reserved Additional Length (35h) MChngr Wbus32 Wbus16 Sync Vendor ID = “QUANTUM“ Product ID = “VS80” Product Revision Level = “xxyy” Vendor Unique Bytes July 2004 DLT1/VS80 SCSI Interface Guide Peripheral Device Type Device Type Modifier ANSI-Approved Version...
  • Page 48: Table 4-4. Standard Inquiry Data Page - Field Descriptions

    Chapter 4: SCSI Commands The following table contains field descriptions for the data that the tape drive returns. Table 4-4. Standard Inquiry Data Page — Field Descriptions Field Name Peripheral Qualifier Peripheral Device Type Other Inquiry Data Fields Description The tape drive returns one of the following values in this field: 000b The indicated Peripheral Device Type is connected to the logical unit.
  • Page 49 This field contains four bytes of ASCII data that define the product's software Revision Levels. The first two bytes are the version number of servo code. In Quantum products, this firmware is located in an EEPROM and is field updateable. The second two bytes are the version number of the SCSI/read/write code.
  • Page 50: Vendor Unique Inquiry Data

    Chapter 4: SCSI Commands 4.4.2 Vendor Unique Inquiry Data Use the following information to identify precisely the revision of subsystem components. Byte 52–55 Figure 4-4. INQUIRY Vendor Unique Bytes — Data Format Product Family Firmware Major Version # Firmware Minor Version # EEPROM Format Major Version # EEPROM Format Minor Version # Firmware Personality...
  • Page 51: Vendor Unique Inquiry Bytes

    This field contains four bytes of ASCII data which define the product's software Revision Levels. The first two bytes are the version number of servo code. In Quantum products, this firmware is located in an EEPROM and is field updateable. The second two bytes are the version number of the SCSI/read/write code.
  • Page 52: Vital Product Data

    00h – (this page) 80h – Unit Serial Number Page 83h – Device Identification Page C0h – Firmware Build Information Page (Vendor Unique) Subsystem Components Revision Page (C1h – Quantum use only) Peripheral Qualifier Page Code (80h) Page Length (0Ah)
  • Page 53: Firmware Build Information Page (C0H)

    Firmware Build Information Page (C0h) The checksums are binary, and provide positive Firmware and EEPROM identification. Firmware Build Date is an ASCII string in DD-Mmm-YYYY HH:MM:SS format. Byte 4–7 8–11 12–35 Figure 4-7. Firmware Build Information Page — Data Format Media Loader Inquiry Response The tape drive controller generates INQUIRY Data on the Medium Changer LUN that is very similar to that of the tape drive LUN.
  • Page 54: Subsystem Components Revision Page (C1H)

    Chapter 4: SCSI Commands Subsystem Components Revision Page (C1h) The following information precisely identifies the revision of tape drive subsystem components. : Note: This page is for Quantum use only; page content is subject to change at any time. Byte Peripheral Qualifier 4 –...
  • Page 55: Load/Unload (1Bh)

    LOAD/UNLOAD (1Bh) The LOAD/UNLOAD command tells the target to load or unload the media in the data cartridge. If no cartridge is present in the tape drive, both LOAD and UNLOAD return CHECK CONDITION status with a NOT READY Sense Key set. If the tape drive has received an UNLOAD command with the Immed bit set, and then receives another command involving medium motion or TEST UNIT READY, the tape drive returns a CHECK CONDITION status with a NOT READY Sense Key set.
  • Page 56: Figure 4-9. Load-Unload (1Bh) Command Descriptor Block - Data Format

    Chapter 4: SCSI Commands A media loader does not affect the tape drive's processing of the LOAD flavor of the LOAD/ UNLOAD command. Byte Logical Unit Number 2 - 3 Figure 4-9. LOAD-UNLOAD (1Bh) Command Descriptor Block — Data Format Table 4-7.
  • Page 57: Locate (2Bh)

    LOCATE (2Bh) Use the LOCATE command for high-speed positioning to the specified block address. Byte Logical Unit Number (MSB) 3 - 6 Figure 4-10. LOCATE (2Bh) Command Descriptor Block — Data Format When writing, use the READ POSITION command to obtain the block address where particular blocks of data (for example, a data file) are about to be written.
  • Page 58: Log Select (4Ch)

    Chapter 4: SCSI Commands Table 4-8. LOCATE (2Bh) Command Descriptor Block — Field Descriptions (Continued) Field Name Block Address LOG SELECT (4Ch) The LOG SELECT command allows the host to manage statistical information the tape drive maintains about its own hardware parameters and about the installed media. All types of parameter values are changeable through LOG SELECT.
  • Page 59: Table 4-9. Log Select (4Ch) Command Descriptor Block - Field Descriptions

    Table 4-9. LOG SELECT (4Ch) Command Descriptor Block — Field Descriptions Field Name Parameter List Length 81-81276-01 Rev A01 Description Logical Unit Number. The target ignores this field. Only an IDENTIFY message can change the LUN. Parameter Code Reset. If this bit is 1 and the Parameter List Length field is 0, all accumulated values of page codes 2, 3, and 32 are 0 and all threshold values are default.
  • Page 60: Error Detection Summary In Log Select Cdb

    Chapter 4: SCSI Commands 4.7.1 Error Detection Summary in LOG SELECT CDB The following conditions constitute errors that the tape drive detects in relation to the CDB. The REQUEST SENSE data is set to ILLEGAL REQUEST, INVALID FIELD IN CDB. PCR bit is 1 and parameter list length is not 0.
  • Page 61: Log Select

    4.7.3 LOG SELECT 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, is 8 bytes. The parameter block for code 05h is 12 bytes.
  • Page 62: Figure 4-13. Log Select Log Page Parameters - Data Format

    Chapter 4: SCSI Commands Byte (MSB) 0 - 1 (MSB) 4 - n Figure 4-13. LOG SELECT Log Page Parameters — Data Format Table 4-12. LOG SELECT Log Page Parameters — Field Descriptions Field Name Parameter Code Parameter Control Byte 4-20 Parameter Code Parameter Length (n –...
  • Page 63 Table 4-12. LOG SELECT Log Page Parameters — Field Descriptions (Continued) Field Name Parameter Length Parameter Value 81-81276-01 Rev A01 Description Disable Update. This bit is not defined for LOG SELECT; the drive ignores any value in DU. Disable Save. Saving parameters is not supported. Set both DS and TSD to 1.
  • Page 64: Error Detection Summary In Log Select

    Chapter 4: SCSI Commands Table 4-13. Supported Parameter Codes Parameter Code 8000h Parameter codes 00h, 01h, and 04h always return a value of 0. : The parameter value for code 05h is 8 bytes; the parameter length is set to 8. 4.7.4 Error Detection Summary in LOG SELECT Pages The host issues a LOG SELECT command to initialize host-resident software, which allows the host to...
  • Page 65: Log Sense (4Dh)

    LOG SENSE (4Dh) The LOG SENSE command allows the host to retrieve statistical information the tape drive maintains about its own hardware or the installed media. This command complements LOG SELECT. Byte Logical Unit Number 3 - 4 (MSB) 5 - 6 (MSB) 7 - 8 Figure 4-14.
  • Page 66 Chapter 4: SCSI Commands Table 4-14. LOG SENSE (4Dh) Command Descriptor Block — Field Descriptions (Continued) Field Name 4-24 Description Parameter Pointer Control. This bit must be 0. A Parameter Pointer Control bit of 0 indicates that the parameter data requested from the tape drive starts with the parameter code specified in the Parameter Pointer field.
  • Page 67: Error Detection Summary In Log Sense Cdb

    Table 4-14. LOG SENSE (4Dh) Command Descriptor Block — Field Descriptions (Continued) Field Name Page Code Parameter Pointer Allocation Length 4.8.1 Error Detection Summary in LOG SENSE CDB The following conditions constitute errors that the tape drive detects in relation to the CDB. It sets the request sense data to ILLEGAL REQUEST, INVALID FIELD IN CDB.
  • Page 68: Supported Pages Log Page (Page 00H)

    Chapter 4: SCSI Commands 4.8.2 Supported Pages Log Page (Page 00h) When the host requests the page that contains the list of supported pages (Page Code 00h), the tape drive returns the 4-byte page header followed by the page code for each supported page, displaying the codes in ascending order, one byte for each.
  • Page 69: Read/Write Error Log Sense Page (Pages 02H And 03H)

    4.8.3 Read/Write Error LOG SENSE Page (Pages 02h and 03h) Each log page begins with a 4-byte header followed by n number of log parameter blocks, with each block containing 8 bytes, except for parameter code 05h. The log parameter block for the parameter total bytes processed (05h) is 12 bytes, since the parameter value is 8 bytes long.
  • Page 70: Figure 4-17. Read / Write Error Log Sense Parameters (Pages 02H And 03H) - Data Format

    Chapter 4: SCSI Commands Byte (MSB) 0 –1 (MSB) 4 – n The byte 2 fields are collectively referred to as the Parameter Control byte. Figure 4-17. Read / Write Error LOG SENSE Parameters (Pages 02h and 03h) — Data Format Table 4-16.
  • Page 71 Table 4-16. Read / Write Error LOG SENSE Parameters (Pages 02h and 03h) — Field Descriptions (Continued) Field Name Parameter Control Byte 81-81276-01 Rev A01 Description DU, DS, TSD, ETC, TMC, LBIN, and LP are collectively referred to as the Parameter Control Byte.
  • Page 72: Table 4-16. Read / Write Error Log Sense Parameters (Pages 02H And 03H) - Field

    Chapter 4: SCSI Commands Table 4-16. Read / Write Error LOG SENSE Parameters (Pages 02h and 03h) — Field Descriptions (Continued) Field Name Parameter Length Parameter Value 4-30 Description Threshold Met Criteria. This field is valid only if the host sets the ETC bit to 1. This field determines the basis for comparison.
  • Page 73: Last N Error Events Page (07H)

    4.8.4 Last n Error Events Page (07h) The log error events page returns zero or more log parameters using the list format of the log page which consist of ASCII text in the parameter value. The EEPROM stores a maximum of 15 log events at a given time.
  • Page 74 Chapter 4: SCSI Commands Table 4-17. Log Parameters for Last n Error Events (07h) LOG SENSE Page — Field Descriptions Field Name Parameter Control Byte Parameter Length Parameter Value (Hex ASCII String for Event n) 4-32 Description DU, DS, TSD, ETC, TMC, LBIN, and LP are collectively referred to as the Parameter Control Byte.
  • Page 75: Tapealert Parameters Page (2Eh)

    4.8.5 TapeAlert Parameters Page (2Eh) This page reports all TapeAlert status flags. Each parameter is a one-byte flag indicating the state of all TapeAlert events. Each flag is 1 when the corresponding event occurs. It is the responsibility of the host software to examine all TapeAlert flags when this page is read as each flag is only set once per occurrence and all flags are cleared when this page is read.
  • Page 76 Chapter 4: SCSI Commands Table 4-18. TapeAlert LOG SENSE Parameters — Field Descriptions (Continued) Parameter Code 0014h 0015h 0016h 0017h 0018h – 001Ch 001Dh 001Eh 001Fh 0020h 0021h 0022h 0023h 0024h 0025h 0026h 0027h 0028h – 002Eh 002Fh – 0040h The tape drive sets each TapeAlert flag to 0 in the following circumstances: At tape drive power on •...
  • Page 77: Read/Write Compression Ratio Page (32H)

    4.8.6 Read/Write Compression Ratio Page (32h) The Read / Write Compression Ratio page begins with a 4-byte header followed by the log parameter blocks of 6 or 8 bytes, depending on the parameter code selected. Byte Reserved (MSB) 2 - 3 Figure 4-19.
  • Page 78: Parameter Codes

    Chapter 4: SCSI Commands Parameter Codes The tape drive supports the following parameter codes for the Read / Write Compression Ratio page. Table 4-20. Supported Parameter Codes for the Read / Write Compression Ratio Page Parameter Code Parameter Block: Codes 00h and 01h Byte (MSB) 0 - 1...
  • Page 79: Table 4-21. Read / Write Compression Ratio Log Page - Field Descriptions

    Table 4-21. Read / Write Compression Ratio Log Page — Field Descriptions Field Name Parameter Control Byte Compression Ratio 81-81276-01 Rev A01 Description DU, DS, TSD, ETC, TMC, and LP are collectively referred to as the Parameter Control Byte. Disable Update. This bit is always 0. Disable Save.
  • Page 80: Parameter Block: Parameter Codes 02H Through 09H

    Chapter 4: SCSI Commands Parameter Block: Parameter Codes 02h through 09h Byte (MSB) 0 - 1 (MSB) 4 - 7 Figure 4-21. Read / Write Bytes Transferred Log Page — Data Format Table 4-22. Read / Write Bytes Transferred LOG SENSE Page — Field Descriptions Field Name Parameter Control Byte –...
  • Page 81: Device Wellness Log Sense Page (33H)

    Table 4-22. Read / Write Bytes Transferred LOG SENSE Page — Field Descriptions (Continued) Field Name Counter Value 4.8.7 Device Wellness LOG SENSE Page (33h) This LOG SENSE page returns the data useful for determining the tape drive wellness. The page contains up to 16 log entries (parameter code 0000h to 000Fh).
  • Page 82: Figure 4-22. Device Wellness (33H) Log Page Header - Data Format

    Chapter 4: SCSI Commands Byte Reserved (MSB) 2 - 3 Figure 4-22. Device Wellness (33h) Log Page Header — Data Format Table 4-23. Device Wellness (33h) Log Page Header — Field Descriptions Field Name Page Code Page Length Device Wellness (33h) Log Page parameters (0000h through 000Fh) are as follows: Byte (MSB) 0 - 1...
  • Page 83: Figure 4-23. Device Wellness (33H) Log Page Parameters (0000H Through 000Fh) - Data

    Byte (MSB) 8 - 11 Figure 4-23. Device Wellness (33h) Log Page Parameters (0000h through 000Fh) — Data Format Table 4-24. Device Wellness (33h) Log Page Parameters — Field Descriptions Field Name Parameter Control Byte – DU, DS, TSD, ETC, TMC, and LP are collectively referred to as the Parameter Control Byte.
  • Page 84: Device Status Log Page (3Eh)

    Chapter 4: SCSI Commands 4.8.8 Device Status Log Page (3Eh) This LOG SENSE page describes the current status of the tape drive. The page defines three, 4-Byte log parameters. Byte Reserved (MSB) 2 - 3 Figure 4-24. Device Status (3Eh) Log Page Header — Data Format Device Status (3Eh) Log Page parameters (0000h through 0002h) are as follows: Byte (MSB)
  • Page 85: Figure 4-26. Device Status (3Eh) Log Page Parameter Code (0001H) - Data Format

    Table 4-25. Device Status (3Eh) Log Page Parameter — Field Descriptions Field Name Parameter Control Byte – DU, DS, TSD, ETC, TMC, and LP are collectively referred to as the Parameter Control Byte. Parameter Code (0000h) Parameter Code (0001h) Device Status (3Eh) Log Page parameter code (0001h) description follows: Byte (MSB) 1 - 3...
  • Page 86: Mode Select (15H/55H)

    Chapter 4: SCSI Commands Table 4-26. Device Status (3Eh) Log Page Parameter Code (0001h) — Field Descriptions Field Name ClnQ ClnR ClnEx Parameter Code (0002h) MODE SELECT (15h/55h) The MODE SELECT command enables the host to configure the tape drive. Implementing MODE SELECT and MODE SENSE requires a certain amount of handshaking between the host and the tape drive.
  • Page 87: Figure 4-28. Mode Select (55H) 10-Byte Command Descriptor Block - Data Format

    Byte Logical Unit Number 2 - 6 (MSB) 7 - 8 Unused Figure 4-28. MODE SELECT (55h) 10-Byte Command Descriptor Block — Data Format The tape drive always powers up with its default configurations set. This is also true if the tape drive receives a BUS DEVICE RESET message or a hard reset through the RST line on the SCSI bus.
  • Page 88: Mode Select Parameter List

    Chapter 4: SCSI Commands 4.9.1 MODE SELECT Parameter List The MODE SELECT parameter list shown in 4-byte header, followed by one 8-byte block descriptor. Byte Ignored Figure 4-29. MODE SELECT (6) Parameter List Header — Data Format Byte (MSB) 1 - 3 (MSB) 5 - 7 Figure 4-30.
  • Page 89: Table 4-28. Mode Select (6) Parameter List - Field Descriptions

    Table 4-28. MODE SELECT (6) Parameter List — Field Descriptions Field Name Media Type Buffered Mode Speed Block Descriptor Length Density Code Number of Blocks Block Length 81-81276-01 Rev A01 Description The MODE SELECT command ignores this field. The tape drive implements Immediate Reporting on WRITE commands through Buffered mode.
  • Page 90: Mode Select

    Chapter 4: SCSI Commands 4.9.2 MODE SELECT Pages Following the Command Block Descriptor are the MODE SELECT pages, which set the tape drive parameters. Each page has a 2-byte header that identifies the page code and indicates the number of bytes in that page.
  • Page 91: Read/Write Error Recovery Page (01H)

    4.9.3 Read/Write Error Recovery Page (01h) The tape drive supports the Error Recovery Page, which has the following format: Byte PS (0) Rsv’d 4 - 7 9 - 11 Figure 4-32. Read / Write Error Recovery Page — Data Format In this page, only the Post Error (PER) flag parameter is changeable.
  • Page 92: Table 4-30. Read / Write Error Recovery Page (01H) - Field Descriptions

    Chapter 4: SCSI Commands Table 4-30. Read / Write Error Recovery Page (01h) — Field Descriptions Field Name Read Retry Count Write Retry Count 4-50 Description Transfer Block. This block (when not fully recovered) function is not supported. Enable Early Recovery. This function is always enabled. Post Error.
  • Page 93: Disconnect/Reconnect Page (02H)

    4.9.4 Disconnect/Reconnect Page (02h) The tape drive supports the Disconnect/Reconnect Page, which has the following format: Byte PS (0) (MSB) 4 - 5 (MSB) 6 - 7 (MSB) 8 - 9 (MSB) 10 - 11 13 - 15 Figure 4-33. Disconnect / Reconnect Page — Data Format In this page, only the Maximum Burst Size parameter is changeable.
  • Page 94 Chapter 4: SCSI Commands Table 4-31. Disconnect / Reconnect Page (02h) — Field Descriptions (Continued) Field Name DTDC 4-52 Description Data Transfer Disconnect Control. The DTDC field defines further restrictions when disconnect is permitted. DTDC Description Data Transfer Disconnect Control is not used. Disconnect is controlled by the other fields in this page.
  • Page 95: Device Configuration Page (10H)

    4.9.5 Device Configuration Page (10h) The tape drive supports the Device Configuration Page, which has the following format: Byte PS (0) Rsv’d (MSB) 6 - 7 (MSB) 11 - 13 Figure 4-34. Device Configuration Page — Data Format In this page, only the Write Delay Time and Select Data Compression Algorithm parameters are changeable.
  • Page 96 Chapter 4: SCSI Commands Table 4-32. Device Configuration Page — Field Descriptions (Continued) Field Name Active Partition Write Buffer Full Ratio and Read Buffer Empty Ratio Write Delay Time Byte 8 Gap Size EOD Defined SEW and Buffer Size At Early Warning Select Data Compression Algorithm...
  • Page 97: Control Mode Page (0Ah)

    4.9.6 Control Mode Page (0Ah) The Control Mode Page provides controls for several features such as tagged queuing, extended contingent allegiance, asynchronous event notification, and error logging. Byte EECA (MSB) 6 - 7 Figure 4-35. Control Mode Page — Data Format Table 4-33.
  • Page 98: Data Compression Page (0Fh)

    Chapter 4: SCSI Commands Table 4-33. Control Mode Page — Field Descriptions (Continued) Field Name QErr DQue EECA RAENP UAAENP EAENP Ready AEN Holdoff Period 4.9.7 Data Compression Page (0Fh) The Data Compression Page specifies parameters that control data compression. This page allows the user to turn the tape drive’s compressed format on and off independently of the medium's position.
  • Page 99: Figure 4-36. Data Compression Page - Data Format

    Byte (MSB) 4 - 7 (MSB) 8 - 11 12 - 15 Figure 4-36. Data Compression Page — Data Format Table 4-34. Data Compression Page — Field Descriptions Field Name 81-81276-01 Rev A01 Rsv’d Page Length (0Eh) Compression Algorithm Decompression Algorithm Description Data Compression Enable.
  • Page 100: Medium Partition Page (11H)

    Chapter 4: SCSI Commands Table 4-34. Data Compression Page — Field Descriptions (Continued) Field Name Compression Algorithm Decompression Algorithm 4.9.8 Medium Partition Page (11h) The tape drive supports the Medium Partition Parameter Page, which has the following format: Byte PS (0) 6 -7 Figure 4-37.
  • Page 101: Table 4-35. Medium Partition Page - Field Descriptions

    Table 4-35. Medium Partition Page — Field Descriptions Field Name Maximum Additional Partitions Additional Partitions Defined Option Flags Medium Format Recognition 81-81276-01 Rev A01 Description No additional partitions are supported. This field must be 0. This field specifies the number of additional partitions to be defined for the medium based on the settings of the SDP and IDP bits.
  • Page 102: Tapealert Page (1Ch)

    Chapter 4: SCSI Commands 4.9.9 TapeAlert Page (1Ch) The TapeAlert Page specifies parameters that control the TapeAlert MODE SELECT configuration. Byte Perf 4 - 7 8 - 11 Figure 4-38. TapeAlert Page — Data Format Table 4-36. TapeAlert Page — Field Descriptions Field Name Perf DExcpt...
  • Page 103: Eeprom Vendor Unique Page (3Eh)

    ProductID CacheTMS DefaultCompON DefFixedBlkLen DefSEW 81-81276-01 Rev A01 Additional Page Length ASCII String of Parameter Name and Value Length Value Rep Default (Bytes) ASCll QUANTUM ASCll VS80 Decimal ASCll Decimal ASCll Binary ASCll Decimal ASCll Binary July 2004 DLT1/VS80 SCSI Interface Guide...
  • Page 104 Chapter 4: SCSI Commands Table 4-37. MODE SELECT EEPROM Vendor Unique Page — Parameter Descriptions Name DisDRAutoLDMC DisUnbufMode EnaClngLTRPT EnaInitSyncNeg EnaLdrAutold EnaModePg22 EnaParErRetry EnaRepDecomp EnaThirdPtyDens EnbInqMedChgr ForceComp ForceDensity ForceEERebuild ForceReadSILI 4-62 Length Value Rep Default (Bytes) ASCll Binary ASCll Binary ASCll Binary ASCll...
  • Page 105 Table 4-37. MODE SELECT EEPROM Vendor Unique Page — Parameter Descriptions Name LdrCycleReset LoaderLUN LongXportPage NoDeferRcvdErr NoDisconFxdBlk NoRdyUAOnUnld PerfMode ProtectDirOnWp RedundancyMode RepBusyInProg ReportRcvdPErrs ReportRcvRdErr 81-81276-01 Rev A01 Length Value Rep Default (Bytes) ASCll Binary ASCll Decimal ASCll Binary ASCll Binary ASCll Binary ASCll...
  • Page 106 Chapter 4: SCSI Commands Table 4-37. MODE SELECT EEPROM Vendor Unique Page — Parameter Descriptions Name RewindOnReset SCSIBusDMATimer SCSIInqVS SCSIRdyEarly SCSIReselRetries SCSIResRelNOP 4-64 Length Value Rep Default (Bytes) ASCll Binary ASCll Decimal ASCll Binary ASCll Binary ASCll Decimal ASCll Binary July 2004 Usage When set to 0, the tape drive does not...
  • Page 107 Figure 4-40 shows an example of an EEPROM vendor unique page that modifies the VendorID parameter to “XXXYY.”. Byte Figure 4-40. EEPROM Vendor Unique Page — Example 1 81-81276-01 Rev A01 Page Length (0Fh) “v” (76h) “e” (65h) “n” (6Eh) “d”...
  • Page 108 Chapter 4: SCSI Commands Figure 4-41 shows an example of an EEPROM vendor unique page that modifies the Force Density parameter to 1. Byte Figure 4-41. EEPROM Vendor Unique Page — Example 2 4-66 Page Length (0Fh) “F” (53h) “O” (43h) “R”...
  • Page 109: 4.9.11 Mode Select Changeable Parameters

    4.9.11 MODE SELECT Changeable Parameters Table 4-38 lists the changeable mode parameters and their minimum and maximum allowed values. See the individual parameter descriptions for the units that are used. Parameter rounding is supported for all parameters except the Block Descriptor Length. Table 4-38.
  • Page 110: Mode Sense (1Ah/5Ah)

    Chapter 4: SCSI Commands 4.10 MODE SENSE (1Ah/5Ah) The MODE SENSE command allows the tape drive to report its media and current or changeable configuration parameters to the host. It complements the MODE SELECT command. The VS80 tape drive supports both the 6-byte and 10-byte MODE SENSE commands. Byte Logical Unit Number Figure 4-42.
  • Page 111: 4.10.1 Mode Sense Parameter List

    Table 4-39. MODE SENSE (1Ah/5Ah) Command Descriptor Block — Field Descriptions Field Name Page Code Allocation Length 4.10.1 MODE SENSE Parameter List The MODE SENSE (6) data contains a 4-byte header followed by one 8-byte block descriptor, which is in turn followed by zero or more variable length pages, depending on the Page Code and the Allocation Length.
  • Page 112: Figure 4-45. Mode Sense (10) Data Header - Data Format

    Chapter 4: SCSI Commands The MODE SENSE (10) data contains an 8-byte header followed by one 8-byte block descriptor, followed by zero or more variable length pages. Byte (MSB) 0 - 1 4 - 5 (MSB) 6 - 7 Figure 4-45. MODE SENSE (10) Data Header — Data Format Table 4-40.
  • Page 113: Figure 4-46. Mode Sense (6/10) Block Descriptor - Data Format

    Table 4-40. MODE SENSE (6/10) Data Header— Field Descriptions (Continued) Field Name Speed Block Descriptor Length Figure 4-46 shows the MODE SENSE (6/10) Block Descriptor. Byte (MSB) 1 - 3 (MSB) 5 - 7 Figure 4-46. MODE SENSE (6/10) Block Descriptor — Data Format 81-81276-01 Rev A01 Description The tape drive supports only the default speed.
  • Page 114: Table 4-41. Mode Sense (6/10) Block Descriptor - Field Descriptions

    Chapter 4: SCSI Commands Table 4-41. MODE SENSE (6/10) Block Descriptor — Field Descriptions Field Name Density Code Number of Blocks Block Length 4-72 Description This field matches the current density of the media, or 0 if the density is unknown. Density Code Description Use default density...
  • Page 115: Mode Sense

    4.10.2 MODE SENSE Pages Following the block descriptor are the MODE SENSE pages, which set the tape drive parameters. Table 4-42. Supported MODE SENSE Block Pages and Page Codes Page Code Each page has a 2-byte header that identifies the page code and indicates the number of bytes in that page.
  • Page 116: Read/Write Error Recovery Page (01H)

    Chapter 4: SCSI Commands Table 4-43. MODE SENSE Page — Field Descriptions Field Name Additional Page Length 4.10.3 Read/Write Error Recovery Page (01h) The tape drive supports the Error Recovery Page, which has the following format: Byte PS (0) Rsv’d 4 - 7 9 - 11 Figure 4-48.
  • Page 117: Disconnect/Reconnect Page (02H)

    Table 4-44. Read / Write Error Recovery Page — Field Descriptions (Continued) Field Name Read Retry Count Write Retry Count 4.10.4 Disconnect/Reconnect Page (02h) The tape drive supports the Disconnect/Reconnect Page, which has the following format: Byte PS (0) (MSB) 4 - 5 (MSB) 6 - 7...
  • Page 118: Figure 4-49. Disconnect / Reconnect Page - Data Format

    Chapter 4: SCSI Commands Byte 13 - 15 Figure 4-49. Disconnect / Reconnect Page — Data Format Table 4-45. Disconnect / Reconnect Page — Field Descriptions Field Name Maximum Burst Size DTDC 4-76 Reserved Reserved Description This field specifies the maximum amount of data that can be transferred without disconnecting.
  • Page 119: Control Mode Page (0Ah)

    4.10.5 Control Mode Page (0Ah) The Control Mode Page allows the user to determine whether the tape drive returns CHECK CONDITION status when one of the write and read error counters has reached a specified threshold. Byte EECA (MSB) 6 - 7 Figure 4-50.
  • Page 120: Data Compression Page (0Fh)

    Chapter 4: SCSI Commands Table 4-46. Control Mode Page — Field Descriptions (Continued) Field Name QErr DQue EECA RAENP UAAENP EAENP Ready AEN Holdoff Period 4.10.6 Data Compression Page (0Fh) The Data Compression Page specifies parameters that control the data compression feature. Byte (MSB) 4 - 7...
  • Page 121: Table 4-47. Data Compression Page - Field Descriptions

    Table 4-47. Data Compression Page — Field Descriptions Field Name Page Code Page Length Compression Algorithm Decompression Algorithm 81-81276-01 Rev A01 Description Parameters Savable. The value returned for this bit is 0. The Page Code identifies the type of MODE SENSE data being transferred. The value returned for this field is 0Fh (Data Compression Page).
  • Page 122: Device Configuration Page (10H)

    Chapter 4: SCSI Commands 4.10.7 Device Configuration Page (10h) The tape drive supports the Device Configuration Page, which has the following format: Byte Rsv’d (MSB) 6 - 7 (MSB) 11 - 13 Figure 4-52. Device Configuration Page — Data Format Table 4-48.
  • Page 123 Table 4-48. Device Configuration Page — Field Descriptions (Continued) Field Name CAP, CAF, Active Format Active Partition Write Buffer Full Ratio and Read Buffer Empty Ratio Write Delay Time RSmk SOCF Gap Size EOD Defined Buffer Size at Early Warning Select Data Compression Algorithm...
  • Page 124: Medium Partition Page (11H)

    Chapter 4: SCSI Commands 4.10.8 Medium Partition Page (11h) The tape drive supports the Medium Partition Page, which has the following format: Byte 6 - 7 Figure 4-53. Medium Partition Page — Data Format Table 4-49. Medium Partition Page — Field Descriptions Field Name Maximum Additional Partitions...
  • Page 125: Tapealert Page (1Ch)

    4.10.9 TapeAlert Page (1Ch) The TapeAlert Page specifies parameters that control the TapeAlert mode select configuration. Byte Perf 4 - 7 8 - 11 Figure 4-54. TapeAlert Page — Data Format Table 4-50. TapeAlert Page — Field Descriptions Field Name Perf DExcpt Test...
  • Page 126: Eeprom Vendor Unique Page (3Eh)

    Chapter 4: SCSI Commands Table 4-50. TapeAlert Page — Field Descriptions (Continued) Field Name Report Count/Test Flag Number 4.10.10 EEPROM Vendor Unique Page (3Eh) The tape drive supports the EEPROM vendor unique page (3Eh), and returns all EEPROM parameters that can be set through MODE SELECT EEPROM Vendor Unique Page. Byte Figure 4-55.
  • Page 127: Prevent/Allow Medium Removal (1Eh)

    ‘T’ designates data type: ‘b’ specifies binary type, ‘A’ specifies string type, decimal data type if no value is specified. 4.11 PREVENT/ALLOW MEDIUM REMOVAL (1Eh) This command enables or disables the unloading of the data cartridge. Byte Logical Unit Number 2 - 3 Figure 4-56.
  • Page 128: Read (08H)

    Chapter 4: SCSI Commands 4.12 READ (08h) The READ command transfers one or more data blocks to the initiator starting with the next block on the tape drive. Byte Logical Unit Number (MSB) 2 - 4 Figure 4-57. READ (08h) Command Descriptor Block — Data Format Table 4-52.
  • Page 129: 4.12.1 Filemark And End-Of-Data Handling

    Table 4-52. READ (08h) Command Descriptor Block — Field Descriptions (Continued) Field Name Fixed 4.12.1 Filemark and End-of-Data Handling If the tape drive reads a Filemark, it returns a CHECK CONDITION status. Within the Sense data, the Filemark and Valid bits are set and the Sense Key field is NO SENSE. The information fields contain the residue count.
  • Page 130: Read Block Limits (05H)

    Chapter 4: SCSI Commands If any READ command cannot be completed successfully, the tape drive returns a CHECK CONDITION status. Further commands should attempt to move past the error and complete successfully. 4.13 READ BLOCK LIMITS (05h) The READ BLOCK LIMITS command tells the tape drive to return its limits for block length. The tape drive sends this information during the DATA IN phase of the command.
  • Page 131: Read Buffer (3Ch)

    Table 4-53. READ BLOCK LIMITS (05h) Command Descriptor Block — Field Descriptions Field Name Granularity Maximum Block Length Minimum Block Size 4.14 READ BUFFER (3Ch) The READ BUFFER command, used in conjunction with WRITE BUFFER, serves as a diagnostic function for testing the tape drive's data buffer and the SCSI bus integrity. Byte Logical Unit Number (MSB)
  • Page 132: 4.14.1 Combined Header And Data Mode

    Chapter 4: SCSI Commands Table 4-54. READ BUFFER (3Ch) Command Descriptor Block — Field Descriptions Field Name Mode Buffer ID Offset Allocation Length 4.14.1 Combined Header and Data Mode In this mode, the tape drive returns a 4-byte header followed by the data bytes. The tape drive terminates the DATA IN phase when it has transferred Allocation Length bytes of header and data or when it has transferred all available data to the initiator, whichever is less.
  • Page 133: Available Length

    Available Length The Available Length field specifies the total number of data bytes available in the target's buffer. This number is not reduced to reflect the allocation length, nor is it reduced to reflect the actual number of bytes written using the WRITE BUFFER command. Following the READ BUFFER header, the target transfers data from its data buffer.
  • Page 134: Read Position (34H)

    Chapter 4: SCSI Commands 4.15 READ POSITION (34h) The READ POSITION command reads a position identifier or SCSI Logical Block Address. The LOCATE command uses this identifier to position the medium to this same logical position in a high- performance fashion. Byte Logical Unit Number 2 - 8...
  • Page 135: 4.15.1 Read Position Data Short Format

    4.15.1 READ POSITION Data Short Format Byte 2 - 3 (MSB) 4 - 7 (MSB) 8 - 11 (MSB) 13 - 15 (MSB) 16 - 19 Figure 4-64. READ POSITION (Short Format) — Data Format Table 4-56. READ POSITION (Short Format) — Field Descriptions Field Name 81-81276-01 Rev A01 Reserved...
  • Page 136: Receive Diagnostics Results (1Ch)

    Chapter 4: SCSI Commands Table 4-56. READ POSITION (Short Format) — Field Descriptions (Continued) Field Name First Block Location Last Block Location Number of Blocks in Buffer Number of Bytes in Buffer 4.16 RECEIVE DIAGNOSTICS RESULTS (1Ch) The RECEIVE DIAGNOSTIC RESULTS command tells the tape drive to send analysis data to the initiator after completing a SEND DIAGNOSTIC command.
  • Page 137: 4.16.1 Receive Diagnostic Results Data

    4.16.1 RECEIVE DIAGNOSTIC RESULTS Data This information indicates which of the main components of the subsystem failed testing. Byte Figure 4-66. RECEIVE DIAGNOSTICS RESULTS (1Ch) — Data Format 4.17 RELEASE UNIT (17h) The RELEASE UNIT command releases the tape drive if it is currently reserved by the requesting initiator.
  • Page 138: Request Sense (03H)

    Chapter 4: SCSI Commands Table 4-57. RELEASE UNIT (17h) Command Descriptor Block — Field Descriptions Field Name 3rdPty Medium Changer Considerations 4.18 REQUEST SENSE (03h) The REQUEST SENSE command tells the target to transfer sense data to the initiator. Byte Logical Unit Number 2 - 3 Figure 4-68.
  • Page 139: Table 4-58. Request Sense Command Descriptor Block - Field Descriptions

    information based on the (non-diagnostic) data in its buffer as well as the data on medium. Additionally, bytes 25 through 28 will contain the amount of medium to be written in 4 KB blocks. REQUEST SENSE does not cause the tape drive to flush its buffered data to medium. Therefore, if the host requires the exact physical positioning of the media, it should precede the REQUEST SENSE with a WRITE FILEMARKS command with length 0 (Immed =0), which forces the tape drive to flush any currently buffered data to medium.
  • Page 140: 4.18.1 Sense Information Format

    Chapter 4: SCSI Commands 4.18.1 Sense Information Format Byte Valid Filemark (MSB) 3 - 6 (MSB) 8 - 11 SKSV (MSB) 16 - 17 (MSB) 19 - 20 (MSB) 21 - 24 (MSB) 25 - 28 Figure 4-69. REQUEST SENSE — Data Format 4-98 Segment Number Rsv’d...
  • Page 141: Table 4-59. Request Sense Data - Field Descriptions

    Table 4-59. REQUEST SENSE Data — Field Descriptions Field Name Valid Error Code Segment Number Filemark Sense Key Information Bytes Additional Sense Length Command Specific Information Bytes Additional Sense Code (ASC) and ASC Qualifier (ASCQ) Sub-Assembly Code 81-81276-01 Rev A01 Description When set to 1, this field indicates that the information bytes contain valid information as defined in the SCSI specification.
  • Page 142: 4.18.2 Sense Keys

    Chapter 4: SCSI Commands Table 4-59. REQUEST SENSE Data — Field Descriptions (Continued) Field Name SKSV Field Pointer Internal Status Code Tape Motion Hours Power On Hours Tape Remaining 4.18.2 Sense Keys Table 4-60 describes the Sense Keys that accompany SENSE REQUEST data. Table 4-60.
  • Page 143: Table 4-61. Supported Sk, Asc, And Ascq (Hex) In Response To The Request Sense

    Table 4-60. Supported Sense Keys That Accompany REQUEST SENSE Data (Continued) Sense Key Illegal Request. The CDB or supplied parameter data had an unsupported or illegal operation specified. Unit Attention. Unit Attentions are created after a tape drive reset, if the media asynchronously becomes ready to this initiator, if another initiator changes Mode Parameters, and if the firmware is updated.
  • Page 144 Chapter 4: SCSI Commands Table 4-61. Supported SK, ASC, and ASCQ (Hex) in Response to the REQUEST SENSE Command (Continued) 01h RECOVERED ERROR 02h NOT READY 4-102 ASCQ Description Clean Requested (Non-Vendor Unique) Error Log Overflow Error Log Generated Rounded Parameter Repositioning Error EEPROM Copy 1 Area Bad EEPROM Copy 2 Area Bad...
  • Page 145 Table 4-61. Supported SK, ASC, and ASCQ (Hex) in Response to the REQUEST SENSE Command (Continued) 03h MEDIUM ERROR 04h HARDWARE ERROR 81-81276-01 Rev A01 ASCQ Description Medium Error Unit Not Ready, LOAD Command Needed WRITE Error (possible medium problem, cleaning medium needed) Unrecovered Read Error Unrecovered READ Error, Incomplete Block Read...
  • Page 146 Chapter 4: SCSI Commands Table 4-61. Supported SK, ASC, and ASCQ (Hex) in Response to the REQUEST SENSE Command (Continued) 04h HARDWARE ERROR (continued) 4-104 ASCQ Description Media Source Element Empty Diagnostic/POST Failure, ROM EDC Error Diagnostic/POST Failure, RAM Failure Diagnostic/POST Failure, Bad Drive Status Diagnostic/POST Failure, Loader Diagnostics Failure Diagnostic/POST Failure, POST Soft Failure...
  • Page 147 Table 4-61. Supported SK, ASC, and ASCQ (Hex) in Response to the REQUEST SENSE Command (Continued) 05h ILLEGAL REQUEST 81-81276-01 Rev A01 ASCQ Description Parameter List Length Error Illegal Opcode Illegal Command While In Recovery Mode Invalid Element Address (Media Changer) Invalid CDB Field (may occur if odd block counts are attempted in fixed mode) Invalid Mode on WRITE Buffer...
  • Page 148 Chapter 4: SCSI Commands Table 4-61. Supported SK, ASC, and ASCQ (Hex) in Response to the REQUEST SENSE Command (Continued) 05h ILLEGAL REQUEST (continued) 06h UNIT ATTENTION 07h DATA PROTECTED 08h BLANK CHECK 09h VENDOR UNIQUE 4-106 ASCQ Description Invalid Bits in ID Message Media Removal Prevented Not Allowed if not at BOT Not Ready To Ready Transition...
  • Page 149 Table 4-61. Supported SK, ASC, and ASCQ (Hex) in Response to the REQUEST SENSE Command (Continued) 0Bh ABORTED COMMAND 0Dh VOLUME OVERFLOW 0Eh MISCOMPARE Command is specific to medium changers. Contact a service representative. Bad firmware image or code download possible. 81-81276-01 Rev A01 ASCQ Description Commands Cleared by Another Initiator...
  • Page 150: Reserve Unit (16H)

    Chapter 4: SCSI Commands 4.19 RESERVE UNIT (16h) The RESERVE UNIT command reserves the specified tape drive for the exclusive use of the requesting initiator or for another specified SCSI device. The reservation remains in effect until one of the following conditions occurs: The initiator that made the reservation sends another RESERVE UNIT command.
  • Page 151: 4.19.1 Medium Changer Considerations

    Table 4-62. RESERVE UNIT (16h) Command Descriptor Block — Field Descriptions Field Name 3rd Pty Third Party Device ID 4.19.1 Medium Changer Considerations The optional Element Reservation feature defined for Medium Changer tape drives in SCSI-2 is not supported. The RESERVE command is defined the same as for the tape drive. The entire loader device can be reserved.
  • Page 152: Rewind (01H)

    Chapter 4: SCSI Commands 4.20 REWIND (01h) The REWIND command tells the tape drive to position the medium at its beginning. Before rewinding, the tape drive writes any write buffered data to the medium and appends an EOD marker. Byte Logical Unit Number 2 –...
  • Page 153: Send Diagnostic (1Dh)

    4.21 SEND DIAGNOSTIC (1Dh) The SEND DIAGNOSTIC command tells the tape drive to perform diagnostic tests on itself. Byte Logical Unit Number 3 - 4 Figure 4-72. SEND DIAGNOSTIC (1Dh) Command Descriptor Block — Data Format The tape drive does not support the Page Format field; it must remain 0. Two separate types of unit resident tests can be accessed: Electronics Self-Test (Level 1 test) •...
  • Page 154: Figure 4-73. Send Diagnostic (1Dh) Parameter List - Data Format

    Chapter 4: SCSI Commands Reads the records. Rewinds the medium. The execution time for the test is 6 minutes if calibration is not required. Specify this test by setting the Self-Test and UnitOfL bits and zeroing the DevOfL bit. This test can accept a parameter list specifying test variables.
  • Page 155: Table 4-65. Definition Of Pattern Numbers For The Send Diagnostic Command

    Table 4-65. Definition of Pattern Numbers for the SEND DIAGNOSTIC Command Pattern If the Maximum Number of Test Passes is 0, causes testing to loop forever. A BUS RESET or a selection from the host sending an ABORT or a BUS DEVICE RESET message terminates testing. If the Block Size field is 0, the tape drive uses random block sizes.
  • Page 156: Table 4-66. Sense Keys Used With Send Diagnostic (1Dh)

    Chapter 4: SCSI Commands If the specified test passes, the tape drive returns a GOOD status. Otherwise, it generates a CHECK CONDITION and the Sense Data contains information about the failure. Table 4-66. Sense Keys Used with SEND DIAGNOSTIC (1Dh) Sense Key Description Medium Error –...
  • Page 157: Space (11H)

    4.22 SPACE (11h) The SPACE command provides a variety of positioning functions that are determined by the Code and Count fields in the CDB. The command provides both forward (toward EOM/P) and reverse (toward BOM/P) positioning. Byte Logical Unit Number (MSB) 2 - 4 Figure 4-74.
  • Page 158: Test Unit Ready (00H)

    Chapter 4: SCSI Commands Table 4-68. SPACE (11h) Command Descriptor Block — Field Descriptions (Continued) Field Name Count When executing SPACE, the tape drive implements the following hierarchy: Blocks – lowest • Filemarks • • BOM/P or EOM/P – highest. •...
  • Page 159: Verify (13H)

    Due to power cycle, code update, and data cartridge loaded conditions, it is possible to get multiple check conditions on a TEST UNIT READY command. Byte Logical Unit Number 2 – 4 Figure 4-75. TEST UNIT READY (00h) Command Descriptor Block — Data Format 4.24 VERIFY (13h) The VERIFY command tells the tape drive to verify one or more blocks beginning with the next block on the medium.
  • Page 160: Write (0Ah)

    Chapter 4: SCSI Commands Table 4-69. VERIFY (13h) Command Descriptor Block — Field Descriptions (Continued) Field Name Fixed Verification Length 4.25 WRITE (0Ah) The WRITE command transfers one or more blocks from the host to the current logical position. When in Buffered Mode (see status on WRITE commands as soon as this data block has transferred to the data buffer.
  • Page 161: Figure 4-77. Write (0Ah) Command Descriptor Block - Data Format

    Byte Logical Unit Number 2 - 4 Figure 4-77. WRITE (0Ah) Command Descriptor Block — Data Format The tape drive flushes the write buffer to medium under the following conditions: The write hold-off time limit is exceeded. (See • Receipt of the following non-write commands: •...
  • Page 162 Chapter 4: SCSI Commands Table 4-70. WRITE (0Ah) Command Descriptor Block — Field Descriptions (Continued) Field Name Fixed Transfer Length Exception Conditions 4-120 Description The fixed bit specifies both the meaning of the Transfer Length field and whether fixed-length or variable-length blocks are to be transferred. Setting the Fixed bit to 0 selects Variable Block mode.
  • Page 163: Write Buffer (3Bh)

    4.26 WRITE BUFFER (3Bh) The WRITE BUFFER command, used with READ BUFFER, is a diagnostic function for testing the tape drive data buffer, DMA engine, SCSI bus interface hardware, and SCSI bus integrity. It also enables downloading and updating firmware. Byte Logical Unit Number (MSB)
  • Page 164: 4.26.1 Header And Data Mode

    Chapter 4: SCSI Commands Table 4-71. WRITE BUFFER (3Bh) Command Descriptor Block — Field Descriptions Field Name Buffer ID Buffer Offset 4.26.1 Header and Data Mode A 4-byte header consisting entirely of reserved bytes precedes the data to be transferred. The tape drive discards this header (does not store it into the buffer).
  • Page 165: 4.26.4 Download Microcode And Save Mode

    4.26.4 Download Microcode and Save Mode This mode causes one of the following actions: Download and save the entire image at once. • Download the image data and save it. • Start a save operation after all the image data has been downloaded using the Download-only •...
  • Page 166: Table 4-72. Write Filemarks (10H) Command Descriptor Block - Field Descriptions

    Chapter 4: SCSI Commands Table 4-72. WRITE FILEMARKS (10h) Command Descriptor Block — Field Descriptions Field Name WSmrk Immed Number of Filemarks 4-124 Description Logical Unit Number. The target ignores this field. Only an IDENTIFY message can change the LUN. Not supported.
  • Page 167: Supported Scsi-2 Medium Changer Device Commands

    On the Medium Changer LUN, only commands defined for this device type are allowed. lists the supported Opcodes/SCSI commands and the section in this manual that describes each command. Table 5-1. SCSI-2 Medium Changer Commands Opcode Command INITIALIZE ELEMENT STATUS INQUIRY MODE SELECT MODE SENSE...
  • Page 168: Initialize Element Status (07H)

    Chapter 5: Supported SCSI-2 Medium Changer Device Commands The rest of this chapter discusses commands that are unique to medium changers. INITIALIZE ELEMENT STATUS (07h) The INITIALIZE ELEMENT STATUS command causes the medium changer to initialize the element status. shows the data format for the command. Figure 5-1 Byte Logical Unit Number...
  • Page 169: Device Capabilities Page (1Fh)

    5.2.1 Device Capabilities Page (1Fh) The tape drive supports the Device Capabilities Page. Byte 8 – 11 Figure 5-2. Device Capabilities Page — Data Format Bit Field Values Elements that can store media: StorDT, StorST • Valid Source Destination pairs: ST •...
  • Page 170: Move Medium (A5H)

    Chapter 5: Supported SCSI-2 Medium Changer Device Commands MOVE MEDIUM (A5h) The MOVE MEDIUM command moves data cartridges from the tape drive to the magazine slot it came from or from any magazine slot to the tape drive. The Transport Element Address field must be 0 or 1. command.
  • Page 171: Figure 5-4. Read Element Status (B8H) Command Descriptor Block- Header Format

    Table 5-2. Element Type Code Definitions Code Description All element types reported (valid in CDB only) Medium Transport Element Storage Element (magazine slot) Import Export Element (not supported) Data Transfer Element (tape drive) 5h-Fh Reserved 81-81276-01 Rev A01...
  • Page 172: Element Status Header

    Chapter 5: Supported SCSI-2 Medium Changer Device Commands 5.4.1 Element Status Header Figure 5-5 shows the data format for the Element Status header. Byte (MSB) 0 – 1 (MSB) 2 – 3 (MSB) 5 – 7 Figure 5-5. Element Status Header — Data Format First Element Address Reported Number of Elements Reported Reserved...
  • Page 173: Medium Transport Element Status Page

    5.4.2 Medium Transport Element Status Page Figure 5-6 shows the format for the Medium Transport Element Status header; descriptor. Byte PVolTag (MSB) 2 – 3 (MSB) 5 – 7 Figure 5-6. Medium Transport Element Status Header — Data Format 81-81276-01 Rev A01 Element Type Code (1h = Medium Transport) AVolTag Transport Element Descriptor Length...
  • Page 174: Figure 5-7. Medium Transport Element Status Descriptor - Data Format

    Chapter 5: Supported SCSI-2 Medium Changer Device Commands Byte (MSB) 8 – 9 14 – 16 Svalid (MSB) 18 – 19 20 – 23 Figure 5-7. Medium Transport Element Status Descriptor — Data Format There is only one Medium Transport element. It can be addressed explicitly as element address 1, or implicitly as address 0.
  • Page 175: Storage Element Status Page

    5.4.3 Storage Element Status Page Figure 5-8 shows the format for the Storage Element Status header; Byte PVolTag (MSB) 2 – 3 (MSB) 5 – 7 Figure 5-8. Storage Element Status Header — Data Format 81-81276-01 Rev A01 Element Type Code (2h = Storage Transport)
  • Page 176: Figure 5-9. Storage Element Status Descriptor - Data Format

    Figure 5-9. Storage Element Status Descriptor — Data Format There are up to 14 Storage Elements, the number corresponding to the number of slots in a magazine. PvolTag and AVolTag are always 0. Access is always 1. Full is set to 1 if a data cartridge is in the corresponding magazine slot.
  • Page 177: Data Transfer Element Status Page

    5.4.4 Data Transfer Element Status Page Figure 5-10 shows the format for the Data Transfer Element Status header; Byte PVolTag (MSB) 2 – 3 (MSB) 5 – 7 Figure 5-10. Data Transfer Element Status Header — Data Format 81-81276-01 Rev A01 Element Type Code (4h = Data Transport) AVolTag Data Transfer Element Descriptor Length...
  • Page 178: Figure 5-11. Data Transfer Element Status Descriptor - Data Format

    Chapter 5: Supported SCSI-2 Medium Changer Device Commands Byte (MSB) 8 – 9 NotBus SValid (MSB) 18 – 19 20 – 23 Figure 5-11. Data Transfer Element Status Descriptor — Data Format Table 5-3. Data Transfer Element Status Header and Descriptor — Field Descriptions Field Name PvolTag AvolTag...
  • Page 179: Element Address Assignment Page (1Dh)

    Indicates which magazine slot the data cartridge came from. Length (12h) Medium Transport Element Address (01h) Number of Medium Transport Elements (1) Storage Element Address (100h) Number of Storage Elements (08h) Import/Export Element Address (00h) July 2004 DLT1/VS80 SCSI Interface Guide shows the data format for...
  • Page 180: Supported Scsi-2 Medium Changer Device Commands

    Medium Transport Element Reserved Data Transfer Element (tape drive) Reserved Medium Storage Element (Magazine slot 0) Medium Storage Element (Magazine slot 1) Medium Storage Element (Magazine slot 2) Medium Storage Element (Magazine slot 3) Medium Storage Element (Magazine slot 4)
  • Page 182 4001 Discovery Dr., Ste. 1100 Boulder, CO 80303 720.406.5700 July 2004 81-81276-01 Rev A01 *81-81276-01* 81-81276-01...

This manual is also suitable for:

Dlt vs80Dlt1/vs80 scsi

Table of Contents