DLT™7000 Tape System Product Manual November 10, 2003 81-60000-06
Quantum reserves the right to make changes and improvements to its products, without incurring any obligation to incorporate such changes or improvements in units previously sold or shipped. Quantum reserves the right to make changes to this product manual without incurring any obligation to notify recipients of earlier versions of the product manual. You can request Quantum publications from your Quantum Sales Representative or order them directly from Quantum.
USER MANUAL STATEMENTS FOR CLASS A EQUIPMENT (INTEGRATIBLE TAPE SYSTEM) This equipment generates, uses, and may emit radio frequency energy. The equipment has been type tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of FCC rules, which are designed to provide reasonable protection against such radio frequency interference.
USER MANUAL STATEMENTS FOR CLASS A EQUIPMENT (continued) USER MANUAL STATEMENTS FOR CLASS B EQUIPMENT (TABLETOP VERSION) 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.
USER MANUAL STATEMENTS FOR CLASS B EQUIPMENT (continued)
TABLE OF CONTENTS Revision History........................................................................................................ About This Manual .................................................................................................. xix xxi Chapter 1: General Description and Specifications 1.1 Product Description............................................................................... 1.2 Product Features.........................................................................
Table of Contents 2.5 Power On Self Test (POST)..................................................................... 2-23 2.6 Troubleshooting ................................................................................... 2-25 Chapter 3: 3.1 3.2 3.3 SCSI DESCRIPTION SCSI Overview ....................................................................................... SCSI Commands .................................................................................... Signal States.........................
Table of Contents Chapter 5: SCSI COMMANDS 5.1 Overview of Command and Status Processing ........................................ 5.1.1 SCSI Pointers................................................................................. 5.1.2 Command Descriptor Block ............................................................ 5.1.3 Status/Error Reporting................................................................... 5.1.4 DATA-Phase Command Components.............................................. 5.1.
Table of Contents 5.9.10 Changeable Parameters within MODE SELECT.............................5-104 5.10 MODE SENSE (6) / (10) Command (1Ah / 5Ah) ......................................5-105 5.10.1 MODE SENSE Data Headers.........................................................5-108 5.10.2 MODE SENSE Block Descriptor.....................................................5-110 5.10.3 MODE SENSE Mode Pages...........................................................5-112 5.
Table of Contents C.4 Interpreting the Results of a Firmware Update ....................................... C-4 Appendix D: The Tape Cartridge ............................................................................. D-1 D.1 Tape Cartridge Handling Guidelines....................................................... D-1 D.2 Tape Cartridge Inspection Procedure..................................................... D-4 D.3 Tape Cartridge Write-Protect Switch....................................................
Table of Contents Figures Figure 2–1 DLT 7000 SCSI ID Jumper Location (Rackmount Version Shown) ............... Figure 2–2 DLT 7000 TERMPWR and Parity Check Jumper Locations (Rackmount Version Shown) .................................................................. Figure 2–3 Rackmount Drive Mounting Locations – Side and Bottom Views............... Figure 2–4 SCSI and Power Cable Connectors (Rackmount Version Shown)............... Figure 2–5 Loader Connector Block Location (Rackmount Version Shown) ......
Table of Contents Figure 5–25 Log Parameters Format for Read/Write Compression Ratio LOG SENSE Page (Parameter Codes 00h and 01h).................................. 5-60 Figure 5–26 Log Parameters Format for Read/ Write Compression Ratio LOG SENSE Page (Parameter Codes 02h through 09h)........................... 5-61 Figure 5–27 Device Wellness LOG SENSE Header Format............................................
Table of Contents Figure 5–60 PREVENT / ALLOW MEDIUM REMOVAL Command Descriptor Block — Data Format...........................................................5-131 Figure 5–61 READ Command Descriptor Block — Data Format ..................................5-133 Figure 5–62 READ BLOCK LIMITS Command Descriptor Block — Data Format .............5-137 Figure 5–63 READ BLOCK LIMITS Data — Data Format ..............................................
Table of Contents TABLES Table 1–1 Table 1–2 Table 1–3 Table 1–4 Table 1–5 Table 1–6 Table 1–7 Table 1–8 Table 1–9 Table 1–10 Table 1–11 Table 1–12 Table 1–13 Table 1-14 Table 1-15 Table 1-16 Table 1-17 Table 2–1 Table 2–2 Table 2–3 Table 2–4 Table 2–5 Table 2–6 Table 2–7 Table 2–8 Table 2–9 Table 2–10 Table 2–11 Table 2–12 Table 3–1 Table 3–2 Table 3–3 Table 3–4 Table 3–5 Table 3–6 Table 3-7 Table 4–1 Table 4–2 Table 4–3 Table 4–4 DLT 7000 Physical Dimensions..............................................
Table of Contents Table 4–5 Table 4–6 Table 4–7 Table 5–1 Table 5–2 Table 5–3 Table 5–4 Table 5–5 Table 5–6 Table 5–7 Table 5–8 Table 5–9 Table 5–10 Table 5–11 Table 5–12 Table 5–13 Table 5–14 Table 5–15 Table 5–16 Table 5–17 Table 5–18 Table 5–19 Table 5–20 Table 5–21 Table 5–22 Table 5–23 Table Table Table Table 5–24 5–25 5–26 5–27 Table 5–28 Table 5–29 Table 5–30 Table 5–31 Table 5–32 IDENTIFY Message — Field Description ....................................................
Table of Contents Descriptions.......................................................................................... 5-67 Table 5–34 Log Parameters for Device Status LOG SENSE Parameter 0001h (Cleaning Related) Field Descriptions............................................ 5-68 Table 5–35 MODE SELECT (6)/(10) Command Descriptor Block — Field Descriptions.... 5-71 Table 5–36 MODE SELECT Mode Parameter List — Field Descriptions.........................
Table of Contents Table 5–73 Table 5–74 Table 5–75 Table 5–76 Table 5–77 Table 5–78 Table 5–79 Table 5–80 Table 5–81 Table 5–82 Table 5–83 Table 5–84 Table A–1 Table A–2 Table B–1 Table B–2 Table B–3 Table C–1 Table C–2 Table D-1 Table D-2 xviii RESERVE UNIT Command Data — Field Descriptions.................................5-163 REWIND Command Data — Field Descriptions..........................................5-165 SEND DIAGNOSTIC Command Data — Field Descriptions..........................
REVISION HISTORY This Revision History provides a publications record of this manual. It lists the manual’s revision levels, release dates, and a summary of changes for each release. Manual Number - Revision Level Date of Release Summary of Changes 81-111331-01 March 1, 1996 Original issue March 18, 1996 PO/ST failure packets description updated in Appendix D. May 10, 1996 Added tape block size table to Chapter 4. Added WIDE DATA REQUEST message description and table to Chapter 5.
Revision History Manual Number - Revision Level Date of Release Summary of Changes 81-60000-04 June 9, 1999 Entire manual rewritten to conform to corporate standard for product manuals. Manual updated to include SCSI command updates (Chapter 5); consolidation of Request Sense ASC/ASCQ codes into one complete table (Chapter 5) and tape cartridge additions (Appendix D). 81-60000-05 September 18, 2000 Manual updated.
ABOUT THIS MANUAL “About this Manual” outlines the scope and contents of this manual. It contains information about the intended audience, purpose of the manual, document organization, and document conventions. AUDIENCE This manual is written for original equipment manufacturers (OEMs) that are integrating this Quantum DLT family tape drive into a system or subsystem.
About This Manual Chapter 2 Hardware Implementation This chapter contains configuration and installation information for the tape drive, descriptions of the drive controls and LEDs, and information on running the self-test. Chapter 3 SCSI Description This chapter provides a detailed description of the logical interfaces of the tape drive. It describes the product’s compliance with the ANSI SCSI-2 specification. The drive’s many optional features are described here and throughout the manual.
About This Manual Appendix C Updating the Firmware Appendix C provides a step-by-step procedure for updating a tape system’s PCBA controller-resident firmware. Appendix D The Tape Cartridge Appendix D provides tape cartridge handling and inspection procedures, information on the write-protect switch, how to load and unload a tape cartridge, and how to use a cleaning tape cartridge.
About This Manual READER COMMENTS Quantum is committed to providing the best products and service. We encourage your comments, suggestions, and corrections for this manual.
Chapter 1 GENERAL DESCRIPTION AND SPECIFICATIONS This chapter provides a description and gives specifications for the Quantum DLT™7000 Tape System. 1.1 PRODUCT DESCRIPTION The Quantum DLT 7000 tape system is a high-performance, high-capacity, streaming cartridge tape system designed for efficient data back-up for midrange and high-end computing systems.
General Description and Specifications 1.2 PRODUCT FEATURES The DLT 7000 tape drive offers the following product features: 1.3 • 35.0 GB Native, 70.0 GB Compressed Capacity (Formatted capacity assuming a 2:1 data compression ratio. Note that actual compression ratio depends on the type of data, SCSI bus limitations, and system configuration.
General Description and Specifications 1.3.2 Interface Type DLT 7000 tape drives are available with narrow SCSI-2 Fast/Wide (16-bit) single-ended or differential interfaces. 1.3.3 Storage Capacity The following table provides the ranges of capacity (native and compressed) for the tape system, depending on which DLTtape cartridge is used.
General Description and Specifications 1.3.5 Performance Data The following table provides performance data for the DLT 7000 tape system. Table 1−3 DLT 7000 Performance Data Feature Transfer Rate, User Native Transfer Rate, Raw Native Rate, Compressed Description Transfer 5.2 MB/second MB/second MB/second * 6.8 Up to 10.
General Description and Specifications 1.3.6 Environmental Specifications The following tables provide the operating, non-operating, storage and shipping environmental specifications for the DLT 7000 tape system.
General Description and Specifications Table 1−6 DLT 7000 Operating Shock and Vibration Specifications Specification Description Shock Pulse Shape: ½ sine pulse Peak Acceleration: 10 G Duration: 10 ms Application: X,Y,Z axes, once in each axis Type: Sine Sweep Frequency Range: 5 to 500 Hz Upward and downward sweep Acceleration level: 0.25 G Between 22 and 500 Hz 0.
General Description and Specifications Table 1−7 DLT 7000 Non-Operating Shock and Vibration Specifications Shock (Unpackaged) Pulse Shape: Square wave ½ sine pulse Peak Acceleration: 40 G (180 in/sec velocity changing) 140 G Duration: 10 ms 2 ms Application: X,Y,Z axes, twice in each axis (once in each direction) Shock (Unpackaged, Overstress) Test Type: Bench handling; pivot drop Description: Pivot edge to a height of 4 inches above table and release Application: Four shocks total; once eac
General Description and Specifications 1.3.7 Power Requirements The following table provides the applicable power requirements for both versions of the tape drive. Note that the tabletop version requires ac power. Table 1−8 DLT 7000 Power Requirements Requirement Integratible Version Tabletop Version Electrical Rating (Auto Ranging) Not applicable 100 to 240 VAC Power Requirements 37 W, steady state; 60 W, maximum 60 W, maximum Power Consumption: V (±5%) bus * +12 V (±5%) bus * +5 4.
General Description and Specifications 1.3.8 Current Requirements The following table lists current requirements for the tape drive in a variety of operating conditions. Table 1−9 DLT 7000 Current Requirements Volts Typical Maximum (Includes Ripple) Drive Operating in WRITE Mode Start/Stop 5 Volt Rail 3.6 Amps 3.8 Amps 12 Volt Rail 1.6 Amps 2.0 Amps Drive Operating in Calibration, Unloading, Track Changing, and Code Update 5 Volt Rail 3.1 Amps 3.2 Amps 12 Volt Rail 1.3 Amps 2.
General Description and Specifications 1.3.9 Acoustic Noise Emissions The following tables provide the tape drive’s acoustic noise emission levels, both as noise power and sound pressure. Information about acoustic emissions is also provided in German to fulfill an international requirement.
General Description and Specifications 1.3.11 DLTtape Recording Media Specifications Table 1-13 provides specifications for tape media. Table 1-14 provides operating and storage environment limits for the tape cartridges. Table 1−12 DLTtape Media Specifications DLTtape Media Type Specifications DLTtape III Width: 0.5 in., metal particle Length: 1200 feet (standard 1167 ft. tape) Cartridge Dimensions: 4.1 in x 4.1 in x 1.0 in Shelf Life: 30 years min.
General Description and Specifications 1.3.12 Electromagnetic Emissions The integratible version of the drive complies with FCC Class A in a standard enclosure; the tabletop version complies with the FCC Class B limits. 1.3.13 Electromagnetic Interference (EMI) Susceptibility The following table provides regulations and certifications held by the tape drives. Table 1–14 EMI Regulations and Certifications Type Regulation/Certification For EMI Emissions CSA 108.
General Description and Specifications 1.3.15 Radiated Emissions Limits of radiated interference field strength, in the frequency range from 30 MHz to 30 GHz at a test distance of 3 and 10 meters, for Class B equipment are listed in the following table. Table 1-16 Radiated Emissions Frequency Range Quasi-peak limits dB (µV/m) Quasi-peak Average 30 to 230 MHz 30 40 230 to 1000 MHz 37 46 Above 1000 MHz N/A 54 * The limit decreases with the logarithm of the frequency. 1.3.
General Description and Specifications 1-14 Quantum DLT 7000 Tape System
Chapter 2 HARDWARE IMPLEMENTATION This chapter describes how to install the integratible tape drive or “brick” into a rackmount system. This includes configuration jumper settings, connector pin assignments, installation instructions, power and signal cabling descriptions, and operating instructions. This chapter also includes information on configuring and connecting the tabletop version of the drive into a system.
Hardware Implementation 2.1.1 Safety Precautions For your safety, follow all safety procedures described here and in other sections of the manual. 2.1.2 • Remove power from the computer system (or expansion unit) before installing or removing the tape drive to prevent the possibility of electrical shock or damage to the tape drive. Unplug the unit that contains or is to contain the drive from ac power to provide an added measure of safety. • Read, understand, and observe any and all label warnings.
Hardware Implementation 2.1.3 Electrostatic Discharge (ESD) Protection Various electrical components on/within the tape drives are sensitive to static electricity and Electrostatic Discharge (ESD). Even a static buildup or discharge that is too slight to feel can be sufficient to destroy or degrade a component's operation.
Hardware Implementation Drive configuration for DLT 7000 tape drive includes the following: • Set the SCSI ID for the drive (default = SCSI ID 5) • Configure the drive to provide TERMPWR • Set parity checking for the drive (default = parity checking enabled) If you want to change any of the settings, go to the applicable subsection; otherwise, proceed directly to the tape drive’s installation procedures in section 2.2.4. 2.2.
Hardware Implementation Front Panel SCSI ID Jumper Block 9 1 10 2 Loader Connector (default SCSI ID 5 shown) Figure 2-1 DLT 7000 SCSI ID Jumper Location (Rackmount Version Shown) Table 2-1 SCSI ID Address Selections SCSI ID 0 1 2 3 4 5 (default) 6 7 8 9 10 11 12 13 14 15 Jumper Across Pins: 9-10 7-8 5-6 3-4 1-2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 = No Jumper insta
Hardware Implementation 2.2.2 Configure the Rackmount Drive for TERMPWR (Single-Ended Only) A SCSI bus must be terminated at each end of the bus. At least one device must supply terminator power (TERMPWR). Quantum recommends that every device on the SCSI bus be configured to supply TERMPWR to ensure that there is a sufficient level of voltage along the SCSI bus. Install a jumper across Pins 3 and 4 (Figure 2-2) to enable TERMPWR.
Hardware Implementation 2.2.4 Installing the Rackmount Tape Drive Installing the tape drive requires securing the drive in its bay or chassis and connecting SCSI bus and power cables. 2.2.4.1 Securing the Rackmount Tape Drive This section describes how to mount and secure the drive in the system. In some systems, it may be more convenient to connect the SCSI bus and power cables to the drive before securing it in the system.
Hardware Implementation 9.60 (24.38) 9.00 (22.86) 3.25 (8.26) 3.40 (8.64) 3.13 (7.94) 0.82 (2.08) 1.88 (4.76) Front Panel Side View - Inches (Centimeters) 9.60 (24.38) 5.50 (13.97) 5.84 (14.83) 5.70 (14.48) 0.10 (0.25) 3.13 (7.94) 1.88 (4.
Hardware Implementation 2.2.4.2 Connecting the Rackmount Drive Cables The three external connectors on the DLT 7000 tape drive that are discussed in this manual are the SCSI, power and optional loader connectors. Tabletop connectors are described in subsection 2.3. SCSI and Power Connectors (Rackmount) Figure 2-4 shows the pin orientation for the 68-pin SCSI connector and 4-pin power connector located on the back of the tape drive.
Hardware Implementation Table 2–2 68-Pin Single-Ended Version SCSI Connector Signal Names Signal Name Pin Number Pin Number Signal Name Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground TERMPWR TERMPWR Reserved Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
Hardware Implementation Table 2–3 68-Pin Differential Version SCSI Connector Signal Names Signal Name Pin Number Pin Number Signal Name +DB(12) +DB(13) +DB(14) +DB(15) +DB(P1) Ground +DB(0) +DB(1) +DB(2) +DB(3) +DB(4) +DB(5) +DB(6) +DB(7) +DB(P) DIFFSENS TERMPWR TERMPWR Reserved +ATN Ground +BSY +ACK +RST +MSG +SEL +C/D +REQ +I/O Ground +DB(8) +DB(9) +DB(10) +DB(11) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Hardware Implementation Table 2–4 4-Pin Power Connector Pin Assignments Pin Number Signal Name 1 2 3 4 +12 VDC Ground (+12 V return) Ground (+5 V return) +5 VDC Optional Loader Connector (Rackmount) The loader connector provides signals to be used when the tape drive is part of a loader/library configuration. Figure 2-5 shows the location of the connector; pin assignments for the loader connector are listed in Table 2-5.
Hardware Implementation 2.3 CONFIGURING AND INSTALLING A TABLETOP DRIVE This section provides instructions for configuring and installing the tabletop version of the tape drive. 2.3.1 Configuring the Tabletop Drive Figure 2-6 shows the location of the controls and connectors for the tabletop version of the drive. Note that this drive is normally configured to meet customer specifications before leaving the factory so should not require any internal configuration changes on-site.
Hardware Implementation 2.3.2 Installing the Tabletop Drive Installing the tape drive consists of connecting SCSI bus and power cables. Figure 2-6 shows the location of the two SCSI bus connectors and power connector on the back of the tabletop drive. SCSI Cables The SCSI bus cable leading from the host adapter can be connected to either of the connectors. If the tape unit is the last device on the bus, then a terminator should be installed on the open connector.
Hardware Implementation The ac power cord used with the tabletop tape unit must meet the following criteria: • The power cord should be a minimum of 18/3 AWG, 60°C, Type SJT or SVT. • UL and CSA Certified cordage rated for use at 250 VAC with a current rating that is at least 125% of the current rating of the product. • The ac plug must be terminated in a grounding-type male plug designed for use in your country or region.
Hardware Implementation Note that the power supply of the tabletop unit has an auto-sensing feature; no adjustment or switch setting changes are required for different ac sources. Refer to Figure 2-6. Connect one end of the power cord to the power connector on the back of the drive. Connect the other end of the cord to the ac outlet. 2.4 DRIVE CONTROLS AND LIGHT EMITTING DIODES (LEDS) This section identifies the front panel controls and LEDs and describes their functionality.
Hardware Implementation Table 2–6 LED Functionality LED Operate Handle LED Color Green Description On = Insert/Release handle can be operated. Off = Do not operate Insert/Release handle. Blinking = Close the Insert/Release handle and wait for Operate Handle LED to light steadily. Density 2.6, 6.0, 10.0/15.0, 20.0 Amber Refer to Table 2-7 and subsection 2.4.2. Compress Amber On = Compression mode enabled (compression only valid for 10, 15, or 20 or 35 GB densities only).
Hardware Implementation Table 2–6 LED Functionality (continued) LED Use Cleaning Tape LED Color Amber Description On = Tape drive needs cleaning or tape is bad. Remains on after cleaning tape unloads = Cleaning tape attempted to clean the drive head, but the tape expired so cleaning was not done. After cleaning, LED lights again when (data) tape cartridge is reloaded = Problem tape cartridge. Try another cartridge. If problem persists, contact service representative.
Hardware Implementation Table 2–7 Density LED Functionality Density LED (Amber) Description 2.6 On = Tape is recorded in 2.6 GB format. Blinking = Tape is being forced by operator to record in this density; 2.6 GB has been selected for a WRITE from BOT. 6.0 On = Tape is recorded in 6.0 GB format. Blinking = Tape is being forced by operator to record in this density; 6.0 GB has been selected for a WRITE from BOT. 10.0 / 15.0 On = Tape is recorded in 10.0 GB (DLTtape III cartridge) / 15.
Hardware Implementation Table 2-8 Control Functionality Control Description Density Select Button Refer to subsection 2.4.2. Unload Button Use the Unload button to unload the tape cartridge. When you push the Unload button, the tape drive waits until any active writing of data to tape is completed, then begins its unload sequence. The drive rewinds the tape medium back into the cartridge and writes the current or updated tape directory to the tape.
Hardware Implementation 2.4.2 Selecting Density This subsection describes the drive’s density select features. CAUTION If a prerecorded tape is reused and a WRITE from the beginning of tape (BOT) executes (No Append Write), any data already recorded on the tape will be lost. This includes density changes, since they occur only when writing from BOT. NOTES On all READ and all WRITE APPEND operations, the data density that already exists on the tape cartridge remains the density.
Hardware Implementation Selecting Density on the Tape Drive To select density on the tape drive: 1. Load the tape cartridge into the tape drive. The amber Tape in Use LED blinks while the tape loads and calibrates. 2. After calibration is complete, the Tape In Use LED remains steadily lit. The appropriate tape density LED along the left edge of the drive’s front panel lights to indicate the tape’s prerecorded density (if any), such as 2.6 GB or 6.0 GB. 3.
Hardware Implementation Table 2–9 LED Activity During Density Selection If… Then… The density Select Button is not used The lighted LEDs show the actual density when the tape is being read from and written to. The LEDs light steadily; Density Override LED remains off. The density Select Button is used and the actual tape density is the same as the density selected via the button The LED that reflects the actual density and the Density Override both are lit. For example, if the actual density is 10.
Hardware Implementation Table 2–10 POST/Media Ready Activity Stage Activity 1 The LEDs along the right-hand side of the front panel light in sequence from top to bottom. All LEDs remain lit for a few seconds. 2 The LEDs along the left-hand side of the front panel light together for about three seconds then turns off. POST is complete after this stage. 3 The green Operate Handle, orange Write Protected, and amber Use Cleaning Tape LEDs turn off.
Hardware Implementation 2.6 TROUBLESHOOTING Table 2-12 lists troubleshooting tips in the event that your tape drive fails its power-on self test or if it signals a problem via its front panel LEDs. If, after attempting the recommended actions listed in Table 2-12, the problem still exists or recurs, a hardware failure may be the cause. Contact your service representative. Table 2–12 Troubleshooting Chart If… Then… You Should… System does not recognize the tape drive.
Hardware Implementation Table 2–12 Troubleshooting Chart (Continued) If… Then… You Should… System does not recognize the tape drive (cont.) A device may not have been turned on and a valid SCSI ID may not have been configured prior to the system powering on and loading BIOS. Turn drive power on first, and then turn on power to the system. Do this so that the drive is properly recognized by the system. The tape drive does not power up. No power is reaching the tape drive.
Chapter 3 SCSI DESCRIPTION This chapter provides a detailed description of the logical interfaces of the tape drive. The drive is fully compliant with the ANSI SCSI-2 standard for tape drive devices and implements many optional features. 3.1 SCSI OVERVIEW The Small Computer System Interface (SCSI) is a specification for a peripheral bus and command set that is an ANSI standard. The standard defines an I/O bus that supports up to 16 devices (wide SCSI). ANSI defines three primary objectives of SCSI-2: 1.
SCSI Description 3.2 SCSI COMMANDS ANSI classifies SCSI commands as mandatory, optional, or vendor-specific. The mandatory and optional commands implemented for the drives are summarized in Table 3–1 and described fully in Chapter 5, SCSI Commands. Table 3–1 Implemented ANSI SCSI-2 Commands 3-2 Command Code Class Description ERASE 19h Mandatory Causes all of the tape medium to be erased, beginning at the current position on the logical unit.
SCSI Description Table 3–1 Implemented ANSI SCSI-2 Command (continued) Command Code Class Description MODE SELECT (6) 15h Optional Provides a means for the initiator to specify device parameters. MODE SENSE (6)/(10) 1Ah/ 5Ah Optional Provides a means for a drive to report parameters to the initiator. PREVENT ALLOW MEDIUM REMOVAL 1Eh Optional Requests that the target enable or disable the removal of the medium in the logical unit.
SCSI Description Table 3–1 Implemented ANSI SCSI-2 Command (continued) Command Code Class Description SPACE 11h Mandatory Provides a selection of positioning functions (both forward and backward) that are determined by the code and count. TEST UNIT READY 00h Mandatory Provides a means to check if the logical unit is ready. VERIFY 2Fh Optional Requests the drive to verify the data written to the medium.
SCSI Description Table 3–2 Signal Sources Signals Bus Phase BSY SEL C/D I/O MSG REQ ACK ATN DB(7–0) DB(P) DB(15-8) DB(P1) BUS FREE ARBITRATION SELECTION RESELECTION COMMAND DATA IN DATA OUT STATUS MESSAGE IN MESSAGE OUT None All I&T I&T Targ Targ Targ Targ Targ Targ None Winner Init Targ None None None None None None None None None Targ Targ Targ Targ Targ Targ Targ None None Init Init Init Init Init Init Init Init None S ID Init Targ Init Targ Init Targ Targ Init None S ID Init Targ None Targ
SCSI Description 3.4 SCSI SIGNALS The following paragraphs define SCSI signals and bus timing values. 3.4.1 SCSI Signal Definitions Table 3–3 defines the SCSI bus signals. Table 3–3 SCSI-2 Bus Signal Definitions 3-6 Signal Definition ACK (acknowledge) A signal driven by the initiator as an acknowledgment of receipt of data from a target or as a signal to a target indicating when the target should read the data (out) lines.
SCSI Description Table 3–3 SCSI-2 Bus Signal Definitions (continued) Signal Definition I/O (input/output) A signal driven by a target that controls the direction of data movement on the DATA BUS with respect to an initiator. True indicates input to the initiator. Also used to distinguish between SELECTION and RESELECTION modes. MSG (message) A signal driven by a target during the MESSAGE phase.
SCSI Description Table 3–4 SCSI Bus Timing Values (continued) Timing Description Value Description Bus Clear Delay 800 ns Maximum time for a SCSI device to stop driving all bus signals after: 1. BUS FREE is detected. 2. SEL is received from another SCSI device during ARBITRATION. 3. Transition of RST to true. For condition 1, the maximum time for a SCSI device to clear the bus is 1200 ns (1.2 µs) from BSY and SEL first becoming both false.
SCSI Description Table 3–4 SCSI Bus Timing Values (continued) Timing Description Value Description Hold Time 45 ns Minimum time added between the assertion of REQ or ACK and changing the data lines to provide hold time in the initiator or drive while using standard (slow) synchronous data transfers. Negation Period 90 ns Minimum time that a drive negates REQ while using synchronous data transfers; also, the minimum time than an initiator negates ACK while using synchronous data transfers.
SCSI Description 3.5 SCSI BUS PHASES The SCSI architecture includes eight distinct phases: BUS FREE phase ARBITRATION phase SELECTION phase RESELECTION phase COMMAND phase DATA phases (In/Out) STATUS phase MESSAGE phases (In/Out) The last four phases are called the “information transfer phases”. The SCSI bus can never be in more than one phase at any given time. In the following descriptions, signals that are not mentioned are not asserted. 3.5.
SCSI Description CAUTION Any occurrence of a bus parity error (i.e., a single-bit error) should be considered serious: it implies the possibility of undetected double-bit error may exist on the bus. This may cause undetected data corruption. On properly configured SCSI buses, parity errors are extremely rare. If any are detected they should be addressed by improving the configuration of the SCSI bus. A well-configured SCSI bus in a normal environment should be virtually free of bus parity errors.
SCSI Description If an initiator detects the release of the BSY signal by the drive at any other time, the drive is indicating an error condition to the initiator. The drive can perform this transition to the BUS FREE phase independently of the state of the ATN signal. The initiator manages this condition as an unsuccessful I/O process termination. The drive terminates the I/O process by clearing all pending data and status information for the affected nexus.
SCSI Description NOTE Step 4 requires that every device complete the arbitration phase to the point of SEL being asserted (for a SELECTION or RESELECTION phase) to avoid hanging the bus. • If a higher priority SCSI ID bit is true on the DATA BUS, the SCSI device loses the arbitration. • The losing SCSI device releases the BSY signal and its SCSI ID bit within one bus clear delay after the SEL signal asserted by the arbitration winner becomes true.
SCSI Description 3.5.3.1 Selection Sequence The initiator: 1. Sets the DATA BUS to the OR of its SCSI ID bit and the drive’s SCSI ID bit. 2. Asserts the ATN signal (signaling that a MESSAGE OUT phase is to follow the SELECTION phase). 3. Waits at least two deskew delays. 4. Releases the BSY signal. 5. Waits at least one bus settle delay. 6. Looks for a response from the drive. The drive: 7.
SCSI Description The initiator asserts the RST signal and follows these steps: a) Continues asserting the SEL and ATN signals and releases the DATA BUS. b) If it has not detected the BSY signal to be true after at least a selection abort time plus two deskew delays, the drive releases the SEL and ATN signals, allowing the SCSI bus to go to the BUS FREE phase.
SCSI Description 9. Examines the DATA BUS to determine the SCSI ID of the reselecting drive. 10. Asserts the BSY signal within a selection abort time of its most recent detection of being reselected. The initiator does not respond to a RESELECTION phase if bad parity is detected or if more than two SCSI ID bits are on the DATA BUS. The drive: 11. Detects the BSY signal is true. 12. Asserts the BSY signal. 13. Waits at least two deskew delays. 14. Releases the SEL signal. 15.
SCSI Description 3.5.5 Information Transfer Phases NOTES 1. The tape drive supports wide asynchronous and synchronous data transfers. 2. Both differential and single-ended versions of the tape drive are available. 3. Odd parity is generated during all information transfer phases during which the device writes data to the SCSI bus, and parity is checked during all transfer phases in which data is read from the bus by the tape drive. Parity checking can be disabled (Chapter 2). 4.
SCSI Description The information transfer phases use one or more REQ/ACK handshakes to control the information transfer. Each REQ/ACK handshake allows the transfer of one byte of information. During the information transfer phases, the BSY signal remains true and the SEL signal remains false.
SCSI Description Table 3–5 Information Transfer Phases Signal MSG C/D I/O 0 0 0 Phase Name Direction of Transfer/ Definition DATA OUT Initiator to drive. Allows the drive to request that data be sent from the initiator to the drive. 0 0 1 DATA IN Drive to initiator. Allows the drive to send data to the initiator. 0 1 0 COMMAND Initiator to drive. Allows the drive to request a command from the initiator. 0 1 1 STATUS Drive to initiator.
SCSI Description 3.5.5.1 Asynchronous Data Transfer Drive to Initiator Transfer Procedure 1. The drive drives the DB (0-15, P, & P1) signals to their desired values. 2. Drive delays at least one deskew delay plus a cable skew delay. 3. Drive asserts the REQ signal. 4. Initiator reads the DB (0-15, P, & P1) signals. 5. Initiator indicates its acceptance of the data by asserting the ACK signal. 6. When ACK is true at the drive, drive can change or release the DB (0-15, P, & P1) signals. 7.
SCSI Description 3.5.5.2 Synchronous Data Transfer Synchronous Data Transfer is optional and is only used in DATA phases and only if a synchronous data transfer agreement is established. The REQ/ACK offset specifies the maximum number of REQ pulses that can be sent by the drive in advance of the number of ACK pulses received from the initiator, establishing a pacing mechanism.
SCSI Description Initiator-to-Drive Transfer Procedure Initiator transfers one byte for each REQ pulse received. 1. Drive asserts the REQ signal. 2. After receiving the leading edge of the REQ signal, initiator drives the DB (0-15, P, & P1) signals to their desired values. The DB (0-15, P, & P1) signals are held valid for at least one deskew delay plus one cable skew delay plus one hold time delay after the assertion of the ACK signal. 3.
SCSI Description • When switching the DATA BUS from in to out, the drive releases the DATA BUS no later than a deskew delay after negating the I/O signal. • The ATN and RST signals can change as defined under the descriptions for the attention condition (Section 3.6.1) and reset condition (Section 3.6.2). 3.5.5.4 STATUS Phase The tape drive enters the status phase just once per command unless a retry is requested by the initiator.
SCSI Description NOTES In contrast to the BUSY status condition, the DRIVE NOT READY Sense Key is returned as part of the Sense data following a REQUEST SENSE command and indicates that a media access command has been issued but that the media is not ready to be accessed. For example, the tape cartridge is not installed, the tape medium has been unloaded, the tape drive is currently initializing the tape medium to prepare it for access, etc.).
SCSI Description Table 3–7 Drive MESSAGE OUT Phase Response ATN Signal True in Phase... The Drive Enters MESSAGE OUT… COMMAND After transferring part or all of the command descriptor block bytes. DATA At the drive’s earliest convenience (often on a logical block boundary). The initiator continues REQ/ACK handshakes until it detects the phase change. STATUS After the status byte has been acknowledged by the initiator. MESSAGE IN Before it sends another message.
SCSI Description • The tape medium is rewound to Beginning of Partition (BOP, i.e., Beginning of Tape [BOT]). Note that the tape drive does not implement the hard reset alternative for bus RESET processing. The tape drive recognizes multiple bus resets in succession as well as bus resets of arbitrarily long duration (powering on conditions). It recovers within the time limits specified above following the last bus reset. 3.6.
Chapter 4 MESSAGES The SCSI message system allows communication between an initiator and the drive for interface management and command qualification. Messages can be originated by either the initiator or the drive. This section contains a detailed description of the messages supported by the disk drives. 4.1 MESSAGE FORMAT A message can be one or more bytes in length. One or more messages can be sent during a single MESSAGE phase, but a message cannot be split over MESSAGE phases.
Messages Table 4–1 Message Format Message Code Message 00h One-byte message (COMMAND COMPLETE) 01h Extended message 02h – 1Fh One-byte message 20h – 2Fh Two-byte message 40h – 7Fh Reserved 80h – FFh One-byte message (IDENTIFY) The DLT 7000 tape drive supports the messages listed in Table 4–2. The message code and the direction of the message flow is also included in the table (In = target to initiator, Out = initiator to target).
Messages Table 4–2 Supported Messages Message Message Code Direction ABORT 06h Out BUS DEVICE RESET 0Ch Out COMMAND COMPLETE 00h In DISCONNECT 04h In Out EXTENDED MESSAGE (SDTR and wide Data Transfer Request) * 01h In Out 80h – FFh In Out IGNORE WIDE RESIDUE 23h In INITIATOR DETECTED ERROR 05h LINKED COMMAND COMPLETE 0Ah In LINKED COMMAND COMPLETE (with flag) 0Bh In MESSAGE PARITY ERROR 09h MESSAGE REJECT 07h NO OPERATION 08h RESTORE POINTERS 03h In SAVE DATA POINT
Messages Bit Byte 7 6 5 4 3 0 Extended Message (01h) 1 Extended Message Length 2 Extended Message Code 3 to n-1 Extended Message Arguments 2 1 0 Figure 4–1 Extended Message - Data Format Table 4–3 Extended Message - Field Description Field Description Extended Message Length This field specifies the length, in bytes, of the Extended Message Code plus the Extended Message Arguments that follow. Therefore, the total length of the message is equal to the Extended Message Length plus 2.
Messages 4.2 SUPPORTED SCSI MESSAGES Following are descriptions of each of the messages supported by the drive. 4.2.1 ABORT Message (06h) This message is sent from the initiator to the target to clear the current I/O process on the selected unit. Buffered (cached) write operations are completed if possible. The target goes directly to the BUS FREE phase after successful receipt of this message. Current settings of MODE SELECT parameters and reservations are not affected.
Messages 4.2.4 DISCONNECT Message (04h) The DISCONNECT message is sent from the drive to inform the initiator that the present connection is going to be broken (the drive plans to disconnect by releasing the BSY signal) and a later reconnect will be required to complete the current I/O process. The message does not cause the initiator to save the data pointer. After sending the message, the drive goes to the BUS FREE phase by releasing the BSY signal.
Messages 4.2.5 IDENTIFY Message (80h - FFh) The IDENTIFY message is sent by either the initiator or the drive to establish or re-establish the physical connection path between an initiator and target for a particular logical unit under the conditions listed below. Figure 4–2 shows the format of the IDENTIFY message and Table 4–5 describes the data field contents.
Messages 4.2.6 IGNORE WIDE RESIDUE Message (23h) The IGNORE WIDE RESIDUE message is sent by the target 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. This message is sent immediately following that DATA IN phase and prior to any other messages.
Messages 4.2.7 INITIATOR DETECTED ERROR Message (05h) The INITIATOR DETECTED ERROR message is sent from an initiator to inform the drive that an error has occurred that does not preclude the drive from retrying the operation (a bus parity error, for example). The source of the error may either be related to previous activities on the SCSI bus or may be only driverelated.
Messages 4.2.8 LINKED COMMAND COMPLETE Message (0Ah) This message is sent from a target to an initiator to indicate that the execution of a linked command (with the FLAG bit set to zero) is complete and that status has been sent. The initiator then sets the pointers to the initial state for the next command. If received by a target, this message is handled as an illegal message; the drive enters the MESSAGE IN phase and returns MESSAGE REJECT. 4.2.
Messages 4.2.12 NO OPERATION (08h) If a target requests a message, the initiator sends a NO OPERATION message if it does not currently have any other valid message to send. The message is accepted when the drive is acting as a target and may be sent when it is an initiator. If a NO OPERATION message is received during a selection, the drive proceeds to the COMMAND phase (provided ATN does not continue as asserted); the NO OPERATION message is ignored by the tape drive. 4.2.
Messages NOTE The tape drive supports initiating synchronous transfer negotiations with the host, but this feature is disabled by default. To enable it, set the MODE SELECT VU ERROM parameter EnaInitSyncNeg. Bit Byte 7 6 5 4 3 2 0 Extended Message Identifier (01h) (see Figure 4-1) 1 Length (03h) 2 Message Code (01h) 3 Transfer Period: Min. = 25 (19h) (equals 100 ns) 4 Transfer REQ/ACK Offset: Max.
Messages 4.2.16 WIDE DATA TRANSFER REQUEST Message (01h) The following figure illustrates the message formats. Bit Byte 7 6 5 4 3 0 Extended Message Identifier (01h) (see Figure 4-1) 1 Extended Message Length (02h) 2 WIDE DATA TRANSFER REQUEST 3 Transfer Width Exponent 2 1 0 Figure 4–5 Wide Data Transfer Request Message - Data Format A WIDE DATA TRANSFER REQUEST Message exchange is initiated by a SCSI device whenever a previously arranged transfer width agreement may have become invalid.
Messages The transfer width is two the transfer width exponent bytes wide. The transfer width that is established applies to all logical units. Valid transfer widths for the DLT 7000 tape drive are 8 bits (m = 00h) and 16 bits (m = 01h). Values of m greater than 01h is reserved.
Chapter 5 SCSI COMMANDS This chapter describes the SCSI protocol features implemented in the DLT 7000 tape system. Note that the sections included in this chapter do not fully reiterate every ANSI SCSI message, option, and/or command code specification; the sections do describe the supported commands, messages, options, and error recovery procedures. 5.1 OVERVIEW OF COMMAND AND STATUS PROCESSING The Quantum DLT 7000 tape system supports the SCSI commands listed in Table 5–1.
SCSI Commands Table 5–1 Supported SCSI Commands (continued) Command Operation Code Section RELEASE UNIT 17h 5.17 REQUEST SENSE 03h 5.18 RESERVE UNIT 16h 5.19 REWIND 01h 5.20 SEND DIAGNOSTIC 1Dh 5.21 SPACE 11h 5.22 TEST UNIT READY 00h 5.23 VERIFY 13h 5.24 WRITE 0Ah 5.25 WRITE BUFFER 3Bh 5.26 WRITE FILEMARKS 10h 5.27 NOTES Relative Addressing is not supported by the tape drive. Therefore, in all I/O commands, the RelAdr bit must be 0.
SCSI Commands 5.1.1 SCSI Pointers SCSI architecture provides a set of three pointers (called saved pointers) for each I/O process. The three pointers are: Command, Status, and Data. When an I/O process becomes active, the three saved pointers are copied to the initiator as current pointers. There is only one set of current pointers in the initiator at one time. The current pointers point to the next command, data, or status byte to be transferred between the initiator's memory and the drive.
SCSI Commands 5.1.2 Command Descriptor Block An initiator communicates with the drive by sending a 6- or 10-byte Command Descriptor Block that contains the parameters for the specific command. The SCSI command's operation code is always the first byte in the Command Descriptor Block and a control field is the last byte. For some commands, the Command Descriptor Block is accompanied by a list of parameters sent during the DATA OUT phase.
SCSI Commands Table 5–2 Command Descriptor Block - Field Descriptions Field Description Operation Code The operation code specifies the command being requested. The list of supported SCSI commands and their operation codes are contained in Table 5–1. Logical Unit Number The Logical Unit Number contains the number of the device being addressed. It must be set to 0. The Logical Unit Number is ignored if the Command Descriptor Block is preceded by an IDENTIFY Message.
SCSI Commands Bit Byte 7 5 6 5 Vendor Specific 4 3 2 Reserved 1 0 Flag Link Figure 5–2 Command Descriptor Block Control Field - Data Format Table 5–3 Command Descriptor Block Control Field - Field Descriptions Field Description Vendor Specific Bits These bits must be 0. Flag Bit The Flag bit is used in conjunction with the Link bit to notify the initiator in an expedient manner that a command has been completed.
SCSI Commands The status code is contained in bits 1 through 5 of the status byte. Bits 0, 6, and 7 are reserved. Table 5–4 describes the status codes returned by the drive. NOTE In contrast to the BUSY status condition, the DRIVE NOT READY Sense Key is returned as part of the Sense data following a REQUEST SENSE command and indicates that a media access command has been issued and the medium is not ready to be accessed.
SCSI Commands 5.1.4 DATA-Phase Command Components Many of the SCSI commands cause data to be transferred between the initiator and the drive. The content and characteristics of this data are commanddependent. Table 5–5 lists the information transmitted for all of the commands. The "Length in CDB" column of Table 5–5 identifies the Command Descriptor Block field used by the drive to determine how much command-related data are to be transferred.
SCSI Commands Table 5–5 DATA-Phase Command Contents Command Data Out (To Drive) Data In (To Initiator) Allocation --- Standard Inquiry or a Vital Product Data page LOAD UNLOAD 0 --- --- LOCATE 0 --- --- LOG SELECT Parameter List (must be 0) --- --- LOG SENSE Allocation --- Log Page MODE SELECT (6) / (10) Parameter List Mode Parameter Header (4) Block Descriptor (8) Page(s) --- MODE SENSE (6) / (10) Allocation --- Mode Parameter Header (4) Block Descriptor (8) Page(s) 0 --- --
SCSI Commands Table 5–5 DATA-Phase Command Contents (Continued) Command Length in CDB REWIND Data Out Drive) (To Data In (To Initiator) 0 --- --- Parameter List Diagnostic Page --- SPACE 0 --- --- TEST UNIT READY 0 --- --- VERIFY Transfer Data --- WRITE Transfer Data --- Parameter List Microcode Image Data --- --- --- --- SEND DIAGNOSTIC WRITE BUFFER WRITE FILEMARKS 5.1.
SCSI Commands 5.1.6 Behavior at Power-On and SCSI Bus Reset The following apply to the DLT 7000 system tape drive’s behavior at power-on and/or SCSI bus reset: • When the Quantum DLT 7000 system is powered up, all device SCSI lines are set to high impedance. • The design of the DLT 7000 system tape drive does not allow it to generate any spurious signals on the SCSI bus at power-on.
SCSI Commands 5.2 • When a WRITE 0 FILEMARKS command is issued. • When data has been in the cache longer than the maximum time specified by the value of the Mode Parameter “Write Delay Time” (the default is 30 seconds). • When a non-write type media access command is received (for example, SPACE, READ, UNLOAD, LOCATE, ERASE). SCSI COMMAND DESCRIPTIONS The SCSI commands are presented in alphabetical order. Each command starts on a new, odd-numbered page.
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 and 8) of the Log Select command shown below: Bit 7 6 5 4 3 2 1 0 Byte (Bytes 0 - 6) (MSB) 7-8 Parameter List Length (LSB) As shown, 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.
SCSI Commands 5.3 ERASE COMMAND (19h) The ERASE command causes data on the tape medium to be erased. Any WRITE data currently held in buffer memory and not yet written to tape is written to tape before the ERASE command is executed. ERASE command must be issued while at BOT. Note that the time for a complete erase of a DLTtape IV tape cartridge can be well over one hour.
SCSI Commands 5.4 INQUIRY COMMAND (12h) The INQUIRY command allows the initiator to determine the kind of SCSI devices attached to its SCSI Bus. It causes a device that is attached to a SCSI Bus to return information about itself. The drive identifies itself as a Direct Access Storage Device that implements the SCSI-2 protocol. The drive does not need to access its tape medium to respond to the inquiry.
SCSI Commands INQUIRY Command (12h) (continued) Table 5–7 INQUIRY Command Descriptor Block - Field Descriptions Field Description EVPD Enable Vital Product Data. If 0, the drive returns the Standard Inquiry Data page. If 1, the drive returns the Vital Product Data page specified in Page Code. Page Code Specifies which Vital Product Data page is to be returned by the drive. This field must be 0 if EVPD is 0.
SCSI Commands INQUIRY Command (12h) (continued) Bit Byte 7 6 0 1 2 3 5 4 3 Peripheral Qualifier 1 0 Peripheral Device Type RMB Device Type Modifier ISO Version AENC 2 TrmIOP ECMA Version ANSI Version Reserved Response Data Format 4 Additional Length = 33h 5 Reserved 6 Rsv’d MChngr 7 RelAdr Wbus32 Reserved Wbus16 Sync Linked 8 - 15 Vendor Identification (QUANTUM ) 16 - 31 Product Identification (DLT 7000 ) 32 - 35 Product Revision Level (hhss) 36 - 55 Vendor Uniq
SCSI Commands INQUIRY Command (12h) (continued) Table 5–9 contains field descriptions for the data returned by the drive. Table 5–9 Standard Inquiry Data Page - Field Descriptions Field Name Value Description Peripheral Qualifier 0 Non-zero if initiator selects an invalid logical unit (see below) Peripheral Device Type 1 1 indicates that this is a sequential access device (see below). Note that the Peripheral Device Type entry for a medium changer is 8. RMB 1 Removable Medium Bit. Set to 1.
SCSI Commands INQUIRY Command (12h) (continued) Table 5–9 Standard Inquiry Data Page - Field Descriptions (continued) Field Name Value Description Sync 1 The drive supports Synchronous Data Transfers. Linked 1 Linked Commands are supported. CmdQue 0 The drive does not support Tagged Command Queuing. SftRe 0 The drive implements the hard reset option in response to assertion of the SCSI Bus reset line.
SCSI Commands INQUIRY Command (12h) (continued) Bit Byte 36 7 6 5 4 3 Product Family (7) 2 Released Firmware 37 Firmware Major Version # 38 Firmware Minor Version # 39 EEPROM Format Major Version # 40 EEPROM Format Minor Version # 41 Firmware Personality 42 Firmware Sub-Personality 43 Firmware Subtype 44 Controller Hardware Version # 45 Drive EEPROM Version # 46 Drive Hardware Version # 47 Media Loader Firmware Version # 48 Media Loader Hardware Version # 49 Media Loader M
SCSI Commands INQUIRY Command (12h) (continued) Table 5–10 Vendor Unique Inquiry Data Page - Field Descriptions Field Name Description Product Family This field indicates the data density of each of the DLT tape drives as follows: Bit Released Firmware Drive Density 0 Not Specified 1 2.6 GB 2 6.0 GB 3 10.0 / 20.0 GB 5 20.0 / 40.0 GB 6 15.0 / 30.0 GB 7 35.0 / 70.0 GB This flag differentiates between released and test versions of firmware.
SCSI Commands INQUIRY Command (12h) (continued) 5.4.3 Supported Vital Product Data Page The Supported Vital Product Data Pages page (Figure 5–7) provides a directory of the Vital Product Data Pages that are supported by the drive.
SCSI Commands INQUIRY Command (12h) (continued) Bit 7 6 5 4 3 2 1 0 Byte 0 Peripheral Qualifier Peripheral Device Type 1 Page Code (80h) 2 Reserved 3 Page Length (0Ah) 4 - 13 Serial Number Figure 5–8 Unit Serial Number Page (80h) - Data Format Table 5–11 Unit Serial Number Page - Field Descriptions Field Name Description Serial Number The serial number given is the serial number of the module or the drive typically starting with “CX” indicating the site of manufacture.
SCSI Commands INQUIRY Command (12h) (continued) Bit Byte 7 0 6 5 4 3 Peripheral Qualifier 2 1 Peripheral Device Type 1 Page Code (C0h) 2 Reserved 3 Page Length (20h) 4-5 Servo Firmware Checksum 6-7 Servo EEPROM Checksum 8 - 11 Read/Write Firmware Checksum 12 - 35 Read/Write Firmware Build Data Figure 5–9 Firmware Build Information Page (VU) (C0h)- Data Format Table 5–12 Firmware Build Information Page (VU) - Field Descriptions 5-24 Field Name Description … Checksum Servo Firmw
SCSI Commands INQUIRY Command (12h) (continued) Bit Byte 0 7 6 5 4 3 Peripheral Qualifier Page Code (C1h) 2 Reserved 3 0 Page Length (14h) Product Family (8) Released Firmware 5 Firmware Major Version # 6 Firmware Minor Version # 7 EEPROM Format Major Version # 8 EEPROM Format Minor Version # 9 Firmware Personality 10 Firmware Sub-Personality 11 Vendor Unique Subtype 12 Controller Hardware Version # 13 Drive EEPROM Version # 14 Drive Hardware Version # 15 Media Loader Firm
SCSI Commands INQUIRY Command (12h) (continued) Table 5–13 Subsystem Components Revision Page - Field Descriptions Field Name Description Product Family This field indicates the data density of each of the DLT tape drives as follows: Bit Released Firmware Drive Density 0 Not Specified 1 2.6 GB 2 6.0 GB 3 10.0 / 20.0 GB 5 20.0 / 40.0 GB 6 15.0 / 30.0 GB 7 35.0 / 70.0 GB This flag differentiates between released and test versions of firmware.
SCSI Commands 5.5 LOAD UNLOAD COMMAND (1Bh) The LOAD UNLOAD command tells the target to load or unload the tape media in the tape cartridge. If no cartridge is in the tape drive, both LOAD and UNLOAD return a CHECK CONDITION status with a NOT READY sense key set.
SCSI Commands LOAD UNLOAD Command (1Bh) (continued) NOTES The sequential loading feature of the loader can be enabled/disabled by modifying the ENALDRAUTOLD and DISLDRAUTOLDMC parameters of EEPROM (mode page 3Eh of the MODE SELECT command). A media loader does not affect the tape drive’s processing of the LOAD portion of the LOAD UNLOAD command.
SCSI Commands LOAD UNLOAD Command (1Bh) (continued) Table 5–14 LOAD UNLOAD Command Descriptor Block - Field Descriptions Field Name Description Immed Immediate. If this bit is set to 1, status is returned as soon as the operation is started. If set to 0, status is returned after the operation has completed. Re-Ten Re-tension. Re-tension operations are not needed on the tape drive. This bit is ignored (i.e., “good” status, if bit is set to 1). Load Load.
SCSI Commands 5.6 LOCATE COMMAND (2Bh) The LOCATE command is used to do high-speed positioning to the specified block address. The READ POSITION command can be used to obtain the block address, when writing, when particular blocks of data (a data file, for example) are about to be written. The LOCATE command can then be used to position the tape back at the same logical position for high performance restore operations of particular blocks of data.
SCSI Commands LOCATE Command (2Bh) (continued) Table 5–15 LOCATE Command Descriptor Block - Field Descriptions Field Name Description BT Block Type. The Block Type bit indicates how the Block Address field is interpreted. The first recorded object (block or filemark) is at address 0, and Block Addresses count both data blocks and filemarks. CP Change Partition. Since multiple partitions are not supported, this bit must be set to 0. Immed Immediate.
SCSI Commands 5.7 LOG SELECT COMMAND (4Ch) The LOG SELECT command allows the host to manage statistical information maintained by the tape drive about its own hardware parameters or about the installed tape medium. The description should be read in conjunction with the description of the LOG SENSE command that follows it and provides the user with information about log page format, parameters, and supported pages.
SCSI Commands LOG SELECT Command (4Ch) (continued) Table 5–16 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 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.
SCSI Commands LOG SELECT Command (4Ch) (continued) 5.7.1 Log Detection Summary in LOG SELECT Command Descriptor Block The following conditions constitute errors that are detected by the drive in relation to the CDB. The request sense data is set to ILLEGAL REQUEST, INVALID FIELD IN CDB. The conditions that constitute errors are: 5.7.2 • PCR bit is set to 1 and parameter list is not set to 0.
SCSI Commands LOG SELECT Command (4Ch) (continued) 5.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 comprised of 8 bytes. The parameter block for code 05h is 12 bytes.
SCSI Commands LOG SELECT Command (4Ch) (continued) Bit 7 6 5 4 3 2 1 0 Byte (MSB) 0 -1 Parameter Code (LSB) 2 DU DS TSD ETC 3 TMC Rsv’d LP Parameter Length (MSB) 4-7 Parameter Value (LSB) NOTE: Byte 2 is also referred to the Parameter Control Byte.
SCSI Commands LOG SELECT Command (4Ch) (continued) Table 5–18 LOG SELECT Log Parameters Field Descriptions (continued) Field Name Description Parameter Code (continued) Note: Parameter codes 00h, 01h, and 04h always have a value of 0. Parameter value for 05h is 8 bytes; the parameter length is set to 8. DU Disable Update. This bit is not defined for LOG SELECT; the target ignores any value in DU. DS Disable Save. Not supported. Must be set to 1. TSD Target Save Disable. Not supported.
SCSI Commands LOG SELECT Command (4Ch) (continued) Table 5–18 LOG SELECT Log Parameters Field Descriptions (continued) Field Name Description TMC (continued) The Current Cumulative Values are the values computed since the last reset of the device (either via power-cycle, BUS DEVICE RESET, or SCSI RESET). The Default Cumulative Values are the values to which each parameter is initialized at a reset condition. Default values are zero. By default, Current Threshold Values = Default Threshold Values.
SCSI Commands 5.8 LOG SENSE COMMAND (4Dh) The LOG SENSE command allows the host to retrieve statistical information maintained by the tape drive about its own hardware parameters or about the installed tape medium. It is a complementary command to LOG SELECT.
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–19 LOG SENSE Command Descriptor Block - Field Descriptions Field Name Description PPC Parameter Pointer Control. This bit must be set to 0. A PPC of 0 indicates that the parameter data requested from the device starts with the parameter code specified in the Parameter Pointer field (Bytes 5 - 6) and return the number of bytes specified in the Allocation Length field (Bytes 7 - 8) in ascending order of parameter codes from the specified log page.
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–19 LOG SENSE Command Descriptor Block - Field Descriptions (continued) Field Name Description Page Code The Page Code field identifies which log page is being requested by the initiator. If the page is not supported, then the command terminates with a CHECK CONDITION status, sense key set to ILLEGAL REQUEST, and additional sense code of INVALID FIELD IN CDB.
SCSI Commands LOG SENSE Command (4Dh) (continued) 5.8.1 Error Detection Summary in LOG SENSE Command Descriptor Block The following conditions constitute errors detected by the drive relating to the LOG SENSE command descriptor block. The request sense data is set to ILLEGAL REQUEST, INVALID FIELD IN CDB.
SCSI Commands LOG SENSE Command (4Dh) (continued) 5.8.2 Supported Pages Log Page (Page 00h) When page 00h is requested, the 4-byte page header is returned, followed by the pages supported in ascending order, one byte for each.
SCSI Commands LOG SENSE Command (4Dh) (continued) 5.8.3 Read (Page 03h) / Write (Page 02h) Error LOG SENSE Page Each Log page begins with a 4-byte header followed by a number of log parameter blocks. Each block consists of 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.
SCSI Commands LOG SENSE Command (4Dh) (continued) Bit 7 6 5 4 3 2 1 0 Byte (MSB) 0 -1 Parameter Code (LSB) 2 DU DS TSD 3 ETC TMC Rsv’d LP Parameter Length (MSB) 4 - 11 Parameter Value (LSB) NOTE: Byte 2 is also referred to the Parameter Control Byte.
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–21 Log Parameters for Read /Write Error LOG SENSE Page Field Descriptions (continued) Field Name Description Parameter Code (continued) 8000h - Vendor Unique 9000h - Vendor Unique Note: Parameter codes 00h, 01h, and 04h always return a value of 0. Parameter value for 05h is 8 bytes; the parameter length is set to 8. DU Disable Update. This field with a value 0 indicates that the target will update all log parameter values.
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–21 Log Parameters for Read / Write Error LOG SENSE Page Field Descriptions (continued) Field Name Description TMC (continued) The criteria for comparison are: Code - Basis of Comparison 00b - Every update of the cumulative value 01b - Cumulative value equal to threshold value 10b - Cumulative value not equal to threshold value 11b - Cumulative value greater than threshold value LP List Parameter.
SCSI Commands LOG SENSE Command (4Dh) (continued) 5.8.4 Last n Error Events 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; only a limited number of events are stored at a given time (up to 48).
SCSI Commands LOG SENSE Command (4Dh) (continued) Bit 7 6 5 4 3 2 1 0 Byte (MSB) 0 -1 Parameter Code (LSB) 2 DU DS 3 TSD ETC TMC Rsv’d LP Parameter Length (MSB) 4-n Hex ASCII String for Event n (LSB) Figure 5–21 Log Parameters Format for Last n Error Events LOG SENSE Page Table 5–23 Log Parameters for Last n Error Events LOG SENSE Page Field Descriptions Field Name Description Parameter Code Parameter Code values are assigned from 0 to 27 (decimal), where 0 is the oldest event sto
SCSI Commands LOG SENSE Command (4Dh) (continued) 5.8.5 TapeAlert Page (2Eh) This page returns results of the tape drive’s on-going self diagnosis, so that the tape drive’s behavior can be monitored and high reliability ensured.
SCSI Commands LOG SENSE Command (4Dh) (continued) Bit Byte 7 5n –1 to 5n 6 5 4 3 2 1 0 (MSB) Parameter Code (n) (LSB) 5n + 1 DU DS TSD ETC TMC Rsv’d 5n + 2 Parameter Length (1) 5n + 3 Value of TapeAlert Flag (Flag is set when Bit 0 = 1; Bits 1 – 7 are Reserved) LP Figure 5–23 TapeAlert Page Log Parameters Format Table 5–25 TapeAlert Page Log Parameter Field Descriptions Field Name Description Parameter Code This field contains the Flag code.
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–26 TapeAlert Flags, Severity Levels, and Meanings Flag Severity Level * Meaning 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.
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–26 TapeAlert Flags, Severity Levels, and Meanings (continued) Flag Severity Level * Meaning 22 Expired Cleaning Media Critical The cleaning cartridge that was used has expired. Wait for all tape drive operations to complete, then use a valid cleaning cartridge for cleaning. 31 Hardware B Critical The tape drive may have a hardware fault. Contact a service representative.
SCSI Commands LOG SENSE Command (4Dh) (continued) 5.8.6 Read / Write Compression 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.
SCSI Commands LOG SENSE Command (4Dh) (continued) Bit Byte 7 6 5 4 3 2 1 0 (MSB) 0 -1 Parameter Code (LSB) 2 DU DS TSD ETC 3 TMC Rsv’d LP 02h (MSB) 4-n Compression Ratio x 100 (LSB) Figure 5–25 Log Parameters Format for Read / Write Compression Ratio LOG SENSE Page (Parameter Codes 00h and 01h) Table 5–28 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
SCSI Commands LOG SENSE Command (4Dh) (continued) Bit Byte 7 6 5 4 3 2 1 0 (MSB) 0 -1 Parameter Code (LSB) 2 DU DS TSD ETC 3 TMC Rsv’d LP 04h (MSB) 4-7 Counter Value (LSB) Figure 5–26 Log Parameters Format for Read / Write Compression Ratio LOG SENSE Page (Parameter Codes 02h through 09h) Table 5–29 Log Parameters for Read / Write Compression Ratio LOG SENSE Page Field Descriptions (Parameter Codes 02h through 09h) Field Name Description Parameter Code Parameter Codes supported fo
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–29 Log Parameters for Read / Write Compression Ratio LOG SENSE Page Field Descriptions (Parameter Codes 02h through 09h) (continued) Field Name Description DU Disable Update. Always 0. DS Disable Save. Not supported. This bit always set to 1. TSD Target Save Disable. Not supported. This bit always set to 1. ETC Enable Threshold Comparison. Threshold checking is not supported on this page. Always set to 0. TMC Threshold Met Criteria.
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–29 Log Parameters for Read / Write Compression Ratio LOG SENSE Page Field Descriptions (Parameter Codes 02h through 09h) (continued) Field Name Description Counter Value (continued) Parameter Codes 06h and 07h -- Report the count of bytes transferred from the initiator to the buffer.
SCSI Commands LOG SENSE Command (4Dh) (continued) 5.8.7 Device Wellness Page (33h) The Device Wellness Page returns information about any check conditions related to Sense Keys 1, 3, 4, and 9 logged by the tape drive. Up to 16 entries (parameter code 0000h to 000Fh) can be contained in the page; each entry records a check condition (Sense Key = 1), a medium error (Sense Key = 3), or hardware error (Sense Key = 4).
SCSI Commands LOG SENSE Command (4Dh) (continued) Bit Byte 7 6 5 4 3 0 Parameter Code 1 Reserved 2 DU DS TSD ETC 2 TMC 1 0 Rsv’d LP (MSB) 3-7 Time Stamp (LSB) (MSB) 8 - 11 Media ID (LSB) 12 Sense Key 13 Additional Sense Key 15 Additional Error Information Figure 5–28 Log Parameters Format for Device Wellness LOG SENSE Page (Parameters 0000h – 000Fh) 5-60 Quantum DLT 7000 Tape System
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–31 Log Parameters for Device Wellness LOG SENSE Page Field Descriptions Field Name Description Parameter Code Parameter Codes 0000h through 000Fh are supported. This provides 16 log entries for error information capture. DU Disable Update. Always 0. DS Disable Save. Not supported. This bit always set to 1. TSD Target Save Disable. Not supported. This bit always set to 0. ETC Enable Threshold Comparison.
SCSI Commands LOG SENSE Command (4Dh) (continued) 5.8.8 Device Status Page (3Eh) The Device Status Page describes the current status of the tape drive. Bit Byte 7 0 6 5 4 3 Reserved 2 1 0 Page Code (3Eh) 1 Reserved (MSB) 2-3 Page Length (LSB) Figure 5–29 Device Status LOG SENSE Header Format Table 5–32 Device Status LOG SENSE Header Field Descriptions 5-62 Field Name Description Page Code The Page Code echoes the page code that was specified in the LOG SENSE command descriptor block.
SCSI Commands LOG SENSE Command (4Dh) (continued) Bit 7 6 5 4 3 2 1 0 Rsv’d LP Byte 0-1 2 Parameter Code DU DS TSD 3 ETC TMC Parameter Length (04h) (MSB) 4-7 Parameter Value (LSB) Figure 5–30 Log Parameters Format for Device Status LOG SENSE Page 0000h, 0001h, or 0002h) (Parameters Table 5–33 Log Parameters for Device Status LOG SENSE Page Field Descriptions Field Name Description Parameter Code Parameter Codes 0000h through 0004h are supported.
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–33 Log Parameters for Device Status LOG SENSE Page Field Descriptions (continued) Field Name Description DU Disable Update. Always 0. DS Disable Save. Not supported. This bit always set to 1. TSD Target Save Disable. When = 0, indicates that the target provides a targetdefined method for saving log parameters.
SCSI Commands 5.9 MODE SELECT (6) / (10) COMMAND (15h / 55h) The MODE SELECT command (available in either 6- or 10-byte format) enables the host to configure the tape drive. Implementing MODE SELECT and MODE SENSE requires “handshaking” between the host and the 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 what parameters are configurable.
SCSI Commands Mode Select (6) Command Descriptor Block - Data Format Bit Byte 7 6 5 0 4 3 1 0 Operation Code (15h) 1 Logical Unit Number PF Reserved 2-3 Reserved 4 Parameter List Length 5 2 Unused (00) Reserved SP (0) Flag Link 1 0 Mode Select (10) Command Descriptor Block - Data Format Bit Byte 7 6 5 0 1 4 3 Operation Code (55h) Logical Unit Number PF Reserved 2-6 Reserved 7–8 Parameter List Length 9 2 Unused (00) Reserved SP (0) Flag Link Figure 5–32 MODE S
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–35 MODE SELECT (6)/(10) Command Descriptor Block - Field Descriptions Field Name Description PF Page Format. The Page Format bit indicates that the data sent by the host after the MODE SELECT header and block descriptors complies with the definition of pages in the SCSI-2 specification. The SCSI-1 format will not be implemented so this bit must be set to 1.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–36 MODE SELECT Mode Parameter List - Field Descriptions Field Name Description Mode Parameter Header 4 bytes in length, contains information about the remainder of the Parameter List and is always present (see Figure 5-34 and Table 5-37).
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–37 MODE SELECT Mode Parameter Header - Field Descriptions Field Name Description Media Type This field is ignored by the MODE SELECT command. Buffered Mode Default = 1. 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.
SCSI Commands MODE SELECT (6) /(10) Command (15h) /(55h) (continued) 5.9.1.2 Mode Parameter Block Descriptor The figure and table that follow provide an illustration and description of the fields that make up the MODE SELECT command’s Mode Parameter Block Descriptor.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–38 MODE SELECT Mode Parameter Block Descriptor - Field Descriptions Field Name Description Density Code This field should match the current tape medium density; it is set to 0 if the density is unknown. Density Code 00h 0Ah 16h 17h 18h 19h 1Ah 1Bh Description Use default density. 6667 bpi MFM serial cartridge tape X3B5/86-199 (read only). 10000 bpi MFM serial cartridge tape X3.193-1990 (read only).
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–38 MODE SELECT Mode Parameter Block Descriptor - Field Descriptions (continued) Field Name Description Number of Blocks This MODE SENSE field is sent = 0, indicating that all of the remaining logical blocks on the tape will have the medium characteristics specified by the block descriptor. Block Length This field specifies the length, in bytes, of each logical block transferred over the SCSI bus.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–39 MODE SELECT Page Descriptor - Field Descriptions Field Name Description PS Parameters Savable. For the MODE SELECT (6) (10) commands, this field is reserved (0). Additional Page Length Indicates number of bytes in that page (not including bytes 0 and 1). Page-Defined or Vendor Unique Parameter List Information in this field depends on the mode page. Refer to Sections 5.9.2 through 5.9.9. 5.9.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–40 Error Recovery Page - Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, this bit must be 0. Additional Page Length This field indicates the number bytes in the page. However, the value does not include bytes 0 and 1. The length is returned in MODE SENSE commands and must subsequently be set to the same value when performing MODE SELECT.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) 5.9.3 Disconnect / Reconnect Page (02h) The Disconnect / Reconnect Page controls the drive’s behavior on the SCSI bus and allows an initiator to tune bus performance.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–41 Disconnect / Reconnect Page - Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, this bit must be 0. Additional Page Length This field indicates the number bytes in the page. However, the value does not include bytes 0 and 1. The length is returned in MODE SENSE commands and must subsequently be set to the same value when performing MODE SELECT.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–41 Disconnect / Reconnect Page - Field Descriptions (continued) Field Name Description DTDC Data Transfer Disconnect Control. This field defines further restrictions for when disconnect is permitted. DTDC Description 00b Data transfer disconnect control is not used. Disconnect is controlled by the other fields in this page.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) 5.9.4 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.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–42 Control Mode Page Descriptor - Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, this bit must be 0. Page Length The Page Length field indicates the number of bytes in the Control Mode Page that follow this byte. The valid value for this byte is 06h. RLEC Report Log Exception Condition. When set to 1, specifies that the target will report log exception conditions.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) 5.9.5 Data Compression Page (0Fh) The Data Compression page specifies parameters for the control of data compression. This page allows the user to turn the tape drive’s compressed format on and off independently of the tape medium’s position. Additionally, it allows the user to enable or disable decompression of the tape drive compressed data during WRITE operations.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–43 Data Compression Page Descriptor - Field Descriptions Field Name Description Page Code The Page Code identifies the type of MODE SELECT page being transferred. A value of 0Fh identifies this as the Data Compression page. Page Length The Page Length field indicates the number of bytes in the Data Compression page that follow this byte. The valid value for this byte is 0Eh. DCE Data Compression Enable.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) 5.9.6 Device Configuration Page (10h) The Device Configuration Page controls the drive’s behavior on the SCSI bus and allows an initiator to tune bus performance.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–44 Device Configuration Page - Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, this bit must be 0. Additional Page Length This field indicates the number bytes in the page. However, the value does not include bytes 0 and 1. The length is returned in MODE SENSE commands and must subsequently be set to the same value when performing MODE SELECT.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–44 Device Configuration Page - Field Descriptions (continued) Field Name Description DBR Data Buffer Recovery. Not supported, must be 0. BIS Block Identifiers Supported. This field is supported. Set to 1. RSmk Report Setmark. Not supported, must be 0. AVC Automatic Velocity Control. Not supported; must be 0. SOCF Stop on Consecutive Filemarks. Not supported; must be 0. RBO Recover Buffer Order.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) 5.9.7 Medium Partition Page (11h) The drive supports the Medium Partitions Parameters Page that is used to specify the medium partitions.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–45 Medium Partition Page Descriptor - Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, this bit must be 0. Additional Page Length This field indicates the number bytes in the page. However, the value does not include bytes 0 and 1. The length is returned in MODE SENSE commands and must subsequently be set to the same value when performing MODE SELECT.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) 5.9.8 TapeAlert Page (1Ch) The drive supports the TapeAlert Page that is used to set/change the supported TapeAlert configuration options (use the MODE SENSE command to read the settings of the TapeAlert page).
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–46 TapeAlert Page Format Descriptor - Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, this bit must be 0. Additional Page Length This field indicates the number bytes in the page. However, the value does not include bytes 0 and 1. The length is returned in MODE SENSE commands and must subsequently be set to the same value when performing MODE SELECT.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–46 TapeAlert Page Format Descriptor - Field Descriptions (continued) Field Name Description MRIE Method for Reporting Informational Exceptions. The tape drive uses the contents of this field to report information about exception conditions. Three methods are available: Value - Method 00h - No reporting of Informational Exception Conditions. The device server does not report information exception conditions.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) 5.9.9 EEPROM Vendor Unique Page (3Eh) The drive supports a vendor unique page that enables a user to modify savable parameters. Only one savable parameter may be changed per Mode Select command.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–47 EEPROM Vendor Unique Page Parameters Name Value Rep. Default Length (Bytes) Usage VENDORID ASCII QUANTUM 8 Vendor Identification field in INQUIRY Data PRODUCTID ASCII DLT 7000 16 Product Identification field in INQUIRY Data CACHETMS ASCII Decimal 0 1 0,1 = Do not cache filemarks unless IMMED bit is set (if set) 2 = Cache if not two in a row unless IMMED bit is 1. 3 = Always cache filemarks.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–47 EEPROM Vendor Unique Page Parameters (continued) Name Value Rep. Default Length (Bytes) ENACLNGLTRPT ASCII Binary 1 1 To report error status if cleaning indicator is on. ENAGRANULARITY ASCII Binary 1 1 Enables granularity field in READ BLOCK LIMITS command. ENAINITSYNCNEG ASCII Binary 0 1 To enable target-initiated synchronous negotiation, if set.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–47 EEPROM Vendor Unique Page Parameters (continued) Name Value Rep. Default Length (Bytes) ENBINQMEDCHGR ASCII Binary 0 1 ASCII Binary 0 FORCEDENSITY 1 ASCII Decimal 0 1 0 = automatic 2 1 = DLT 260 2 = DLT 600 3 = DLT 2000 4 = DLT 4000 5 = DLT 2000XT 6 = DLT 7000 FORCEEEREBUILD ASCII Binary 0 1 To force all the EEPROM parameters to reset to default, if set.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–47 EEPROM Vendor Unique Page Parameters (continued) Name Value Rep.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–47 EEPROM Vendor Unique Page Parameters (continued) Name Value Rep. Default Length (Bytes) Usage MAXBURSTSIZE ASCII Binary 0080h 2 The value in this field 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 4K bytes.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–47 EEPROM Vendor Unique Page Parameters (continued) Name Value Rep. Default Length (Bytes) PROTECTDIRONWP ASCII Binary 0 1 To protect tape directory if the cartridge write-protect switch is in its write protect position. ASCII Decimal 0 1 Sets the value of the allowed maximum marginal channel (0 or 1 allowed).
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–47 EEPROM Vendor Unique Page Parameters (continued) Name Value Rep. Default Length (Bytes) ASCII Decimal 10 1 The number of reselection retries the drive makes before giving up. Each reselection retry occurs every 1 second. When set to 0, the drive does infinite reselection retries. SCSIRESRELNOP ASCII Binary 0 1 SCSI Reserve / Release Unit commands are no operation (if set).
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) As an example of an EEPROM vendor unique page, the figure below shows a page that will modify the VENDORID parameter to “XXXYY.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) An example follows that illustrates an EEPROM vendor unique page that modifies the FORCEDENSITY parameter to 4.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) 5.9.10 Changeable Parameters within MODE SELECT The table below 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 pages within MODE SELECT. Note that parameter rounding is supported for all parameters except for the block descriptor length.
SCSI Commands 5.10 MODE SENSE (6) / (10) COMMAND (1Ah / 5Ah) The MODE SENSE command allows the drive to report its media type, and current, or changeable configuration parameters to the host. It is a complementary command to MODE SELECT. The command descriptor block for the 6-byte MODE SENSE (1Ah) is shown below. An illustration of the command descriptor block for the 10-byte MODE SENSE (5Ah) follows on the next page.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Bit 7 6 5 4 3 2 1 0 Byte 0 Operation Code (5Ah) 1 Logical Unit Number 2 Rsv’d DBD PC 3-6 Reserved Page Code Reserved (MSB) 7-8 Allocation Length (LSB) 9 Unused Reserved Flag Figure 5–48 MODE SENSE (10) Command Descriptor Block - Data Format 5-102 Quantum DLT 7000 Tape System Link
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–49 MODE SENSE Control Descriptor Block - Field Descriptions Field Name Description DBD Disable Block Descriptors. If 0, device returns the block descriptor data. If set to 1, block descriptor information is not returned. PC Page Control. The Page Control field indicates the type of page parameter values to be returned to the host.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) 5.10.1 MODE SENSE Data Headers The MODE SENSE (6) and MODE SENSE (10) headers are illustrated in the following figures.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–50 MODE SENSE Data Header - Field Descriptions Field Name Description Mode Sense Data Length This field specifies the length (in bytes) of the MODE SENSE data that is available to be transferred during the DATA IN phase. Note that the Mode Sense Data Length does not include itself.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) 5.10.2 MODE SENSE Block Descriptor The following figure describes the MODE SENSE block descriptor that follows the MODE SENSE header. Descriptions of the MODE SENSE blocks are provided in Table 5-51.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–51 MODE SENSE Block Descriptor - Field Descriptions Field Name Description Density Code The contents of this field match the density of the media, or 0 if the density is unknown: Density Code 00h 0Ah 16h 17h 18h 19h 1Ah 1Bh Description Use default density. 6667 bpi MFM serial cartridge tape X3B5/86-199 (read only). 10000 bpi MFM serial cartridge tape X3.193-1990 (read only). 42500 bpi MFM serial cartridge tape X3B5/91- 2.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–51 MODE SENSE Block Descriptor - Field Descriptions (continued) Field Name Description Number of Blocks This field is sent as 0, indicating that all of the remaining logical blocks on the tape have the medium characteristics specified by the block descriptor. Block Length This field specifies the length (in bytes) of each logical block transferred over the SCSI bus.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–52 MODE SENSE Page Descriptor - Field Descriptions Field Name Description PS Parameters Savable. When 0, the supported parameters cannot be saved (savable pages are not supported). When set to 1, it indicates that the page can be saved in nonvolatile memory by the drive. Additional Page Length This field indicates the number of bytes in the page. Note that this value does not include bytes 0 and 1.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) 5.10.3.1 READ / WRITE Error Recovery Page (01h) The tape drive supports the Error Recovery Page for READ and WRITE operations. The format for the page is illustrated in the following figure.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–53 Read / Write Error Recovery Page - Field Descriptions Field Name Description PS Parameters Savable. Must be 0, the supported parameters cannot be saved (savable pages are not supported). Additional Page Length This field indicates the number of bytes in the page. Note that this value does not include bytes 0 and 1.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) 5.10.3.2 DISCONNECT / RECONNECT Page (02h) The tape drive supports the DISCONNECT / RECONNECT Page. The format for the page is illustrated in the following figure.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–54 Disconnect / Reconnect Page - Field Descriptions Field Name Description PS Parameters Savable. When 0, the supported parameters cannot be saved (savable pages are not supported). When set to 1, it indicates that the page can be saved in nonvolatile memory by the drive. Additional Page Length This field indicates the number of bytes in the page. Note that this value does not include bytes 0 and 1.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) 5.10.3.3 Control Mode Page (0Ah) The Control Mode Page allows the user to determine whether the tape drive returns a CHECK CONDITION status when one of the WRITE and READ counters has reached a specified threshold.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–55 Control Mode Page - Field Descriptions Field Name Description Page Length The value in this field indicates the number of bytes in the Control Mode Page being transferred. The value for this byte is 06h. RLEC Report Log Exception Condition.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) 5.10.3.4 Data Compression Page (0Fh) The Data Compression page specifies parameters for the control of data compression.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–56 Data Compression Page - Field Descriptions Field Name Description PS Parameters Savable. Not supported; must be 0. Page Length The value in this field indicates the number of bytes in the Control Mode Page being transferred. The value for this byte is 0Eh. DCE Data Compression Enable.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) 5.10.3.5 Device Configuration Page (10h) The tape drive supports the Device Configuration Page. The format for the page is illustrated in the following figure.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–57 Device Configuration Page - Field Descriptions Field Name Description PS Parameters Savable. Not supported; must be 0. Additional Page Length This field indicates the number of bytes in the page. Note that this value does not include bytes 0 and 1. The length is returned on MODE SENSE and must subsequently be set to the same value when performing MODE SELECT. CAP Change Active Partition. Not supported.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–57 Device Configuration Page - Field Descriptions (continued) Field Name Description SOCF Stop on Consecutive Filemarks. Set to 0. RBO Recover Buffer Order. Set to 0. REW Report Early Warning. Set to 0 (do not report early warning EOM on reads). Gap Size Not supported. Set to 0. EOD Defined End of Data. Set to 00h. EEG Enable EOD Generation Bit. Set to 1 to indicate that the drive generates an EOD.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) 5.10.3.6 Medium Partition Page (11h) The tape drive supports the Medium Partition Page. The format for the page is illustrated in the following figure.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–58 Medium Partition Page - Field Descriptions Field Name Description PS Parameters Savable. Not supported; must be 0. Additional Page Length This field indicates the number of bytes in the page. Note that this value does not include bytes 0 and 1. The length is returned on MODE SENSE and must subsequently be set to the same value when performing MODE SELECT. Maximum Additional Partitions Not supported. Must be 0.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) 5.10.3.7 TapeAlert Page (1Ch) The TapeAlert configuration settings can be read via the MODE SENSE command’s TapeAlert Page.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–59 TapeAlert Page Format Descriptor - Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, this bit must be 0. Additional Page Length This field indicates the number bytes in the page. However, the value does not include bytes 0 and 1. The length is returned in MODE SENSE commands and must subsequently be set to the same value when performing MODE SELECT.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–59 TapeAlert Page Format Descriptor - Field Descriptions (continued) Field Name Description MRIE Method for Reporting Informational Exceptions. The tape drive uses the contents of this field to report information about exception conditions. Three methods are available: Value Method 00h No reporting of Informational Exception Conditions. The device server does not report information exception conditions.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) 5.10.3.8 EEPROM Vendor Unique Page (3Eh) The tape drive supports the EEPROM vendor unique page (3Eh). All the EEPROM parameters that are set via the MODE SELECT EEPROM Vendor Unique page are returned. NOTE Because of the length of the parameter list, use MODE SENSE (10) instead of MODE SENSE (6) to retrieve EEPROM parameters. Because of the length of the list of EEPROM parameters, a 10-byte MODE SENSE command is required.
SCSI Commands 5.11 PREVENT / ALLOW MEDIUM REMOVAL COMMAND (1Eh) This command enables or disables the unloading of the tape cartridge.
SCSI Commands 5.12 READ COMMAND (08h) This command transfers one or more data blocks or bytes to the initiator starting with the next block on the tape.
SCSI Commands READ Command (08h) Table 5–61 READ Command Descriptor Block - Field Descriptions (continued) Field Name Description Fixed This bit specifies whether fixed-length or variable-length blocks are to be transferred, and gives meaning to the Transfer Length field of the READ command. When set to 0, variable-block mode is requested. A single block is transferred with the Transfer Length specifying the maximum number of bytes the initiator has allocated for the returned data.
SCSI Commands READ Command (08h) The meaning of EOD is different for a READ command than for a WRITE-related command. EOM is reported only when the physical EOM or End-of-Partition (EOP) is encountered. The drive returns a CHECK CONDITION status. The EOM and Valid bits are set and the Sense Key is set to MEDIUM ERROR. The information fields contain the residue count and the Additional Sense Code and Additional Sense Code Qualifier fields are set to EOM/P DETECTED.
SCSI Commands 5.13 READ BLOCK LIMITS COMMAND (05h) The READ BLOCK LIMITS command directs the tape drive to report it’s block length limits. Bit Byte 7 6 5 0 4 3 2 1 0 Flag Link Operation Code (05h) 1 Logical Unit Number Reserved 2-4 Reserved 5 Unused Reserved Figure 5–62 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.
SCSI Commands READ BLOCK LIMITS Command (05h) (continued) In SCSI-3 configurations, Byte 0 appears as shown below: 0 Reserved Granularity The Granularity field is described in the table below. Table 5–62 READ BLOCK LIMITS Data - Field Descriptions Field Name Description Granularity (SCSI-3 Only) This field indicates the supported block size granularity.
SCSI Commands 5.14 READ BUFFER COMMAND (3Ch) The READ BUFFER command is used in conjunction with WRITE BUFFER as a diagnostic function for testing the drive’s data buffer for possible diagnostic data and for checking the integrity of the SCSI bus. In addition, by using buffers 1 and 2, the READ BUFFER command allows the contents of the tape system’s local RAM/EEPROM, and DRAM to be transferred over the SCSI bus. Buffers 1 and 2 provide a diagnostic capability for the system’s firmware.
SCSI Commands READ BUFFER Command (3Ch) (continued) Table 5–63 READ BUFFER Command Descriptor Block - Field Descriptions Field Name Description Mode The tape drive supports the following values within this field. If any non-supported value is set, the drive terminates the command with a CHECK CONDITION status, ILLEGAL REQUEST sense key set. Buffer ID Mode Description 000b Combined Header and Data (see 5.14.1) 010b Data (see 5.14.2) 011b Descriptor (see 5.14.3) Must be 0, 1, or 2.
SCSI Commands READ BUFFER Command (3Ch) (continued) 5.14.1 Combined Header and Data Mode In this mode, the tape drive returns a 4-byte header followed by data bytes. The drive terminates the DATA IN phase when the Allocation Length bytes of header and data have been transferred or when all available data has been transferred to the initiator, whichever is less. The 4-byte READ BUFFER header is followed by data bytes from the target data buffer. The figure below illustrates the format of the header.
SCSI Commands READ BUFFER Command (3Ch) (continued) 5.14.3 Descriptor Mode In this mode, a maximum of four bytes of READ BUFFER descriptor information is returned. The tape drive returns the descriptor information for the buffer specified by the Buffer ID. In this mode, the drive does not reject the valid Buffer IDs with a CHECK CONDITION status, but returns all zeros in the READ BUFFER descriptor.
SCSI Commands 5.15 READ POSITION COMMAND (34h) The READ POSITION command is used to read a position identifier or SCSI Logical Block Address (LBA). The LOCATE command uses this identifier to position back to this same logical position in a high-performance fashion.
SCSI Commands READ POSITION Command (34h) (continued) Data from READ POSITION takes the following format: Bit Byte 0 7 6 BOP EOP 5 4 3 Reserved 1 Partition Number 2-3 Reserved 2 BPU (0) 1 0 Reserved (MSB) 4-7 First Block Location (LSB) (MSB) 8 - 11 Last Block Location (LSB) 12 Reserved (MSB) 13 - 15 Number of Blocks in Buffer (LSB) (MSB) 15 - 19 Number of Bytes in Buffer (LSB) Figure 5–68 READ POSITION - Data Format 5-138 Quantum DLT 7000 Tape System
SCSI Commands READ POSITION Command (34h) (continued) Table 5–66 READ POSITION Data - Field Descriptions Field Name Description BOP Beginning of Partition. When set to 1, indicates that the logical unit is at the beginning of partition in the current partition. When 0, indicates that the current logical position is not at the beginning of partition. Since the tape drive does not support more than one partition, the value of this field will be 1 when at BOT. EOP End of Partition.
SCSI Commands 5.16 RECEIVE DIAGNOSTIC RESULTS COMMAND (1Ch) The RECEIVE DIAGNOSTIC RESULTS command fetches the results of the last SEND DIAGNOSTIC command sent to the tape drive.
SCSI Commands RECEIVE DIAGNOSTIC RESULTS Command (1Ch) (continued) The following data is returned by the drive as a result of the RECEIVE DIAGNOSTIC command. Note that a REQUEST SENSE command should be used to obtain more detailed information following a CHECK CONDITION on a SEND DIAGNOSTIC command.
SCSI Commands 5.17 RELEASE UNIT COMMAND (17h) The RELEASE UNIT command releases the drive if it is currently reserved by the requesting initiator. It is not an error to release the tape drive if it is not currently reserved by the requesting initiator. If the tape drive is reserved by another initiator, however, it is not released; the tape drive is only released from the initiator that issued the RELEASE command.
SCSI Commands RELEASE UNIT Command (17h) (continued) Media Changer Considerations The optional Element reservation feature defined for Medium Changer devices in the SCSI-2 ANSI specification is not supported. The RELEASE command is defined the same as for the tape drive. The whole loader unit can be released. RESERVE / RELEASE of the Loader and Drive LUNs are handled independently.
SCSI Commands 5.18 REQUEST SENSE COMMAND (03h) The REQUEST SENSE command causes the tape drive to transfer detailed sense data to the initiator.
SCSI Commands REQUEST SENSE Command (03h) (continued) The REQUEST SENSE command causes the tape drive to transfer detailed sense data to the initiator. The sense data is valid for a CHECK CONDITION or RESERVATION CONFLICT status returned on the previous command. The sense data bytes are preserved by the tape drive until retrieved by a REQUEST SENSE command, or until the receipt of any other command from the same initiator, though some commands, such as INQUIRY, do not change sense data.
SCSI Commands REQUEST SENSE Command (03h) (continued) Bit 7 6 5 4 3 2 1 0 Byte 0 Valid Error Code 1 2 Segment Number (0) Filemark EOM ILI Reserved Sense Key (MSB) 3-6 Information Bytes 7 Additional Sense Length (LSB) (MSB) 8 - 11 Command-Specific Information Bytes (LSB) 12 Additional Sense Code (ASC) 13 Additional Sense Code Qualifier (ASCQ) 14 Sub-Assembly Code (0) 15 SKSV C/D Reserved BPV Bit Counter (MSB) 16 - 17 Field Pointer 18 Internal Status Code (VU) 19 - 2
SCSI Commands REQUEST SENSE Command (03h) (continued) Table 5–70 REQUEST SENSE Data - Field Descriptions Field Name Description Valid When set to 1, this field indicates that the information bytes contain valid information as defined in the ANSI SCSI-2 specification. Error Code A value of 70h indicates a current error – the report is associated with the most recently received command.
SCSI Commands REQUEST SENSE Command (03h) (continued) Table 5–70 REQUEST SENSE Data — Field Descriptions (continued) Field Name Description Additional Sense Code This field (and the field for Additional Sense Code Qualifier) provide additional information about the Sense Key and cause of a CHECK CONDITION status. Additional Sense Codes are discussed in detail later in this chapter.
SCSI Commands REQUEST SENSE Command (03h) (continued) Table 5–71 Supported Sense Keys Sense Key Description 0h NO SENSE. Check the Filemark/EOM/ILI bits and the Additional Sense Code/Additional Sense Code Qualifier bytes. 1h RECOVERED ERROR. This can be caused by rounding of Mode Parameters on a MODE SELECT, or may report that READ/WRITE error rates are reaching subsystem specification limits for optimal operation.
SCSI Commands REQUEST SENSE Command (03h) (continued) The following table provides the additional sense codes (ASCs) and additional sense code qualifiers (ASCQs) that may be reported. Additional information, explanations, or suggestions for action are included in some of the descriptions.
SCSI Commands REQUEST SENSE Command (03h) (continued) Table 5–72 Supported ASC / ASCQ in Hex (continued) Sense Key MEDIUM ERROR (cont.
SCSI Commands REQUEST SENSE Command (03h) (continued) Table 5–72 Supported ASC / ASCQ in Hex (continued) Sense Key 04h HARDWARE ERROR (cont.
SCSI Commands REQUEST SENSE Command (03h) (continued) Table 5–72 Supported ASC / ASCQ in Hex (continued) Sense Key 06h UNIT ATTENTION ASC 28 29 2A 2A 3F 5B ASCQ 00 00 01 02 01 01 Description Not Ready To Ready Transition Reset Occurred Mode Parameters Changed Log Parameters Changed Microcode has been Changed Log Threshold Condition Met 07h DATA PROTECTED 27 27 80 82 Hardware WRITE Protect Data Safety WRITE Protect (if Use Cleaning Tape LED is lit, use a cleaning tape) 08h BLANK CHECK 00 08 05 00
SCSI Commands REQUEST SENSE Command (03h) (continued) Table 5–72 Supported ASC / ASCQ in Hex (continued) Sense Key ASC ASCQ 0Bh COMMAND ABORTED (cont.
SCSI Commands 5.19 RESERVE UNIT COMMAND (16h) The RESERVE UNIT command reserves the specified tape drive for exclusive use by the requesting initiator or for another specified SCSI device.
SCSI Commands RESERVE UNIT Command (16h) (continued) A reservation via the RESERVE UNIT command remains in effect until one of the following conditions is met: • The initiator that made the reservation sends another RESERVE UNIT command. • The tape drive is released via a RELEASE UNIT command from the same initiator. • A BUS DEVICE RESET message is received from any initiator. • A hard reset occurs.
SCSI Commands 5.20 REWIND COMMAND (01h) The REWIND command directs the tape drive to position the tape at the beginning of the currently active partition (for DLT drives, this is BOM). Before rewinding, the tape drive writes any write data that is in the buffer to the tape medium and appends an End of Data marker.
SCSI Commands 5.21 SEND DIAGNOSTIC COMMAND (1Dh) The SEND DIAGNOSTIC command directs the tape drive to perform its selfdiagnostic tests. Bit Byte 7 6 5 0 4 3 2 1 0 Selftst DevOfl UnitOfl Flag Link Operation Code (1Dh) 1 Logical Unit Number 2-4 PF (0) Rsv’d Reserved 5 Unused Reserved Figure 5–76 SEND DIAGNOSTIC Command Descriptor Block - Data Format Table 5–75 SEND DIAGNOSTIC Command Data - Field Descriptions Field Name Description PF Page Format. Not supported; must be 0.
SCSI Commands SEND DIAGNOSTIC Command (1Dh) (continued) Two levels of unit-resident diagnostic tests can be accessed: Electronics Self-Test (Level 1 Test) To invoke this level of diagnostic test, a major portion of the controller hardware and software must be functioning properly. The test is based on the premise that full power-up testing is not necessary, therefore, it is an extension of the powerup self tests that are run.
SCSI Commands SEND DIAGNOSTIC Command (1Dh) (continued) The following table illustrates the possible settings of the Selftst, DevOfl, and UnitOfl bits and the effects of each setting on the resulting self-test: Table 5–76 SEND DIAGNOSTIC CDB Bits Selftst, DevOfl, and UnitOfl Bit Byte Selftst DevOfl UnitOfl 0 0 0 Illegal Combination 0 0 1 Self-Test Level 3 with User Parameters 0 1 0 Illegal Combination 0 1 1 Self-Test Level 2 with Default Parameters 1 0 0 Self-Test Level 1 with Defau
SCSI Commands SEND DIAGNOSTIC Command (1Dh) (continued) Table 5–77 SEND DIAGNOSTIC Parameter List - Field Descriptions Field Name Description Pattern Number Indicates the type of data pattern to be used during the diagnostic tests. Pattern 0 Maximum Number of Test Passes Name Rotate Data in Hex Rotate through the other 9 patterns; change for each tape file.
SCSI Commands SEND DIAGNOSTIC Command (1Dh) (continued) NOTE Because of data generation and verification, this test only streams the tape for short periods of time. If Block Count is set very high, the test can take many minutes or even many hours to complete. If the specified diagnostic test passes, a GOOD status is returned. Otherwise, a CHECK CONDITION is generated and the Sense Data contains information about the failure.
SCSI Commands 5.22 SPACE COMMAND (11h) The SPACE command provides a variety of positioning functions that are determined by Code and Count fields in the Command Descriptor Block. Both forward (toward End of Medium/End of Partition) and reverse (toward Beginning of Medium/Beginning of Partition) positioning are provided.
SCSI Commands SPACE Command (11h) (continued) Table 5–80 SPACE Command Data - Field Descriptions (continued) Field Name Description Count When spacing over blocks or marks, the Count field is interpreted as follows: A positive value N causes forward motion over N blocks or marks. The tape is logically positioned after the Nth block or mark on the EOM or EOP side. A value of 0 causes no change in logical position.
SCSI Commands 5.23 TEST UNIT READY COMMAND (00h) The TEST UNIT READY command checks the tape drive to ensure that the unit is ready for commands involving tape movement. If the drive has a tape loaded, the command returns a GOOD status. Otherwise, CHECK CONDITION is reported. Due to power cycle, code update, and tape loaded conditions, it is possible to get multiple check conditions on a TEST UNIT READY command.
SCSI Commands 5.24 VERIFY COMMAND (13h) The VERIFY command directs the tape drive to verify one or more blocks beginning with the next block on the tape. Both CRC and EDCs are validated.
SCSI Commands VERIFY Command (13h) (continued) Table 5–81 VERIFY Command Data - Field Descriptions Field Name Description Immed Immediate. When set to 1, the VERIFY command completes before any tape medium movement is done (that is, when the processing has been initiated. BC Byte Check. When set to 0, the tape drive performs an internal CRC/ECC check of data. No data is transferred to the initiator. When set to 1, the command is rejected.
SCSI Commands 5.25 WRITE COMMAND (0Ah) The WRITE command transfers one or more blocks from the host to the current logical position. When in Buffered Mode (the DLT tape drive default mode), the tape drive reports GOOD status on WRITE commands as soon as this data block has been transferred to the data buffer. Any check conditions will be experienced as deferred errors. Refer to the MODE SELECT command subsection for more information on Buffered Mode.
SCSI Commands WRITE Command (0Ah) (continued) Table 5–82 WRITE Command Data — Field Descriptions (continued) Field Name Description Fixed (cont.) When the Fixed bit is 1, the Transfer Length field specifies the number of blocks to be transferred to the host beginning at the current tape position. This form of WRITE is valid only if the logical unit is currently operating in the Fixed Block mode – when it has been instructed to use fixed-length blocks with MODE SELECT.
SCSI Commands 5.26 WRITE BUFFER COMMAND (3Bh) The WRITE BUFFER command is used with READ BUFFER as a diagnostic function for testing the device data buffer, DMA engine, SCSI bus interface hardware, and SCSI bus integrity. It is also used for downloading and updating DLT microcode (firmware).
SCSI Commands WRITE BUFFER Command (3Bh) (continued) Table 5–83 WRITE BUFFER Command Data - Field Descriptions Field Name Description Mode The tape drive supports the following values within the field. If any other value is set, the drive terminates the command with CHECK CONDITION status and an ILLEGAL REQUEST sense key set. Mode Description 000b WRITE combined header and data (Section 5.26.1) 010b WRITE data (Section 5.26.2) 100b Download Microcode (Section 5.26.
SCSI Commands WRITE BUFFER Command (3Bh) (continued) 5.26.3 Download Microcode Mode (100b) Using buffer offsets, the host can download the firmware image into the target’s buffer in pieces. These commands do not cause the new image to become active. A Download and Save Mode WRITE BUFFER command must be issued for the image to become active. The tape drive must be empty of tape medium to allow downloading of an image. This is a safeguard against accidentally starting a firmware update.
SCSI Commands 5.27 WRITE FILEMARKS COMMAND (10h) The WRITE FILEMARKS command directs the tape drive to write the specified number of Filemarks beginning at the current logical position on tape. If the Immediate bit is not set, any data or Filemarks in the WRITE cache buffer are written to tape.
SCSI Commands WRITE FILEMARKS Command (10h) (continued) The WRITE FILEMARKS command may be used to force the tape drive to write any buffered WRITE data to the tape medium. If the tape drive is in buffered mode, and WRITE FILEMARKS is received, the requested filemarks are appended to the data and the WRITE buffer contents are flushed to tape medium.
Appendix A DEFINITION OF VENDOR UNIQUE SENSE DATA INFORMATION This appendix lists the internal status codes with their descriptions. The internal status code is located at byte offset 18 of the REQUEST SENSE data and may be available for certain types of failures. NOTE Byte 18 of the REQUEST SENSE data has two formats: a byte code and a bit flags format.
Appendix A: Definition of Vendor Unique Sense Data Information Table A–1 Internal Status Codes (continued) A-2 Decimal Hexadecimal Description 11 0B Gap Within Object (Missing Block in Record) 12 0C Record on Tape Larger Than Requested 13 0D Compare Error 14 0E Successive Blocks Missing Across Objects 15 0F Drive State Not Valid for Command 16 10 Drive Error 17 11 Drive Communication Timeout Error 18 12 Drive Unloaded 19 13 Unable to WRITE – No CRC 20 14 Block to Append To
Appendix A: Definition of Vendor Unique Sense Data Information Table A–1 Internal Status Codes (continued) Decimal Hexadecimal Description 35 23 EDC Error Found by “FEZ” ASIC – FECC RAM OK 36 24 Timeout on Command to Medium Changer 37 25 Medium Changer UART Error (Overrun) 38 26 Medium Changer Response Length Error 39 27 Medium Changer Detected Error 40 28 Invalid Source Slot 41 29 Invalid Destination Slot 42 2A Source Slot Empty 43 2B Destination Slot Full 44 2C Medium Chang
Appendix A: Definition of Vendor Unique Sense Data Information Bit 7 Bit 6 (Rsv’d) Bit 5 (Rsv’d) Bit 4 (Rsv’d) Bit 3 (Rsv’d) Bit 2 Bit 1 Figure A-1 Internal Status Bits Table A–2 Internal Status Bit Flags Bit No. 0 1-2 Description If set to 1, Cleaning Light is Illuminated, otherwise Light is off.
Appendix B EEPROM-RESIDENT BUGCHECK AND EVENT LOGS This appendix provides an explanation of the event logs (information packets) stored in semipermanent, non-volatile memory of the tape drive. These packets can be retrieved via the SCSI LOG SENSE command with Page Code 07h. B.1 EEPROM PACKETS (LAST N EVENTS) The tape drive keeps certain event logs in semi-permanent, non-volatile memory (EEPROM, in this case) located on the tape drive’s controller PCB.
Appendix B: EEPROM-Resident Bugcheck and Event Logs B.2 BUGCHECK PACKETS Bugchecks are the result of some software-detected errors. For example, a hardware failure or an internal system consistency failure may cause a bugcheck. These events cause bugcheck packets to be written to EEPROM. The most important information within the packet is the error code. The more common bugcheck codes are listed in Table B-1.
Appendix B: EEPROM-Resident Bugcheck and Event Logs B.2.2 Event Log Packets Event log packets are non-fatal and can occur to log information about significant events. Refer to Table B-2 for a listing of the existing error codes that are found within event log packets. Note that these logs are informational only.
Appendix B: EEPROM-Resident Bugcheck and Event Logs B.2.3 Directory Failure Event Log Packets Directory failure event logs are written when a directory read or directory write request fails for any reason. Table B-3 provides the description of important fields within the packet. Note that the byte count begins at Byte 13, the location of the 1st event log byte within the event log packet.
Appendix C UPDATING THE FIRMWARE This chapter explains how to update the tape drive’s PCBA-resident firmware. C.1 OVERVIEW Using the tape drive’s front panel and a tape with the updated firmware image, you can update the tape drive’s PCBA-resident firmware. CAUTION If a powerfail occurs during the firmware update process (when the new image is actually being programmed into the FLASH EEPROMs), the tape drive’s PCBA will be rendered unusable.
Appendix C: Updating the Firmware NOTES On UN*X systems, use the FTP utility to transfer the binary firmware image. Be sure to specify “type image” before using the “get” or “put” commands, otherwise extra characters may be added to the file, causing it to be invalid. The image file should be exactly 1286 * 512 bytes in size. When making the update tape, copy the image file to the tape media using an appropriate block size as shown in Table C-1, that is, dd, ltf, and so on. The tape must be uncompressed.
Appendix C: Updating the Firmware NOTE If the WRITE PROTECT indicator does not blink, check that: 1. The Power-On Self Test passed. 2. The drive is unloaded. 3. The drive handle is in its down position. c) Release the UNLOAD button, then press the UNLOAD button again within four (4) seconds. The second press should take less than one (1) second. d) The TAPE IN USE and the WRITE PROTECT indicators will blink. This indicates that the tape drive recognizes that the firmware update mode has been selected.
Appendix C: Updating the Firmware If the firmware image is valid, the tape drive’s PCBA controller’s FLASH EEPROM is updated with the new firmware image. The WRITE PROTECT and TAPE IN USE indicators flash again during the controller firmware update. C.4 INTERPRETING THE RESULTS OF A FIRMWARE UPDATE Following a firmware update procedure, two possible results can occur: • The firmware update cartridge is unloaded. This signals a successful update.
Appendix C: Updating the Firmware Table C-2 Results of Firmware Update If... Then... The image is valid 1. The FLASH EEPROM containing the current firmware is erased. 2. The new image is programmed into FLASH EEPROM (approximately 2 minutes). Then: The tape drive resets The tape drive runs POST The tape drive unloads the tape cartridge and the cartridge can be removed. This indicates a successful firmware update. 1. The tape is NOT a valid firmware update tape 2.
Appendix C: Updating the Firmware C-6 Quantum DLT 7000 Tape System
Appendix D THE TAPE CARTRIDGE This appendix covers: • Tape Cartridge Handling Guidelines (subsection D.1) • Tape Cartridge Inspection Procedure (subsection D.2) • Tape Cartridge Write-Protect Switch (subsection D.3) • Loading a Tape Cartridge (subsection D.4) • Unloading a Tape Cartridge (subsection D.5) • Using a Cleaning Tape Cartridge (subsection D.6) D.
Appendix D: The Tape Cartridge • D-2 Always observe the proper environmental conditions for the storage of tape cartridges. Refer to the cartridge reference card supplied with each cartridge.
Appendix D: The Tape Cartridge • Do not expose the tape cartridge to moisture or direct sunlight. • Do not insert any cartridge that has been dropped into the DLTtape drive without at least a thorough visual inspection as described in this paper. A dropped cartridge may have dislodged, loosened, or damaged internal components. • Avoid unnecessary opening of the cartridge door; this may expose the tape to contamination or physical damage.
Appendix D: The Tape Cartridge D.2 TAPE CARTRIDGE INSPECTION PROCEDURE Ensure that your tape backup solution performs reliably by following the Visual Mechanical Inspection (VMI) procedures described in this subsection. These steps will help you identify any potential tape cartridge problems, and will prevent accidental loss of data or damage to your DLTtape system.
Appendix D: The Tape Cartridge 5. Look at the bottom of the tape cartridge, holding it as shown in Figure D-2. Spring-Loaded Hub Reel Lock Opening Figure D-2 Location of Reel Lock Opening and Spring-Loaded Hub on Bottom of DLTtape Cartridge Check the opening indicated in Figure D-2 and ensure that the small plastic tab is partially visible. This is the second reel lock. The reel locks can break if the cartridge is dropped.
Appendix D: The Tape Cartridge 6. Ensure that the tape leader within the tape cartridge is in the correct position. To do this, you must open the tape cartridge door. Refer to Figure D-3. Leader Loop Figure D-3 Opening the Door on a DLTtape Cartridge Showing Tape Leader Loop in its Correct Position Open the door by holding the DLTtape cartridge as shown in Figure D-3. On the right side corner of the tape cartridge there is a small tab in a cut-out portion of the cartridge.
Appendix D: The Tape Cartridge 7. Figure D-4 shows three different tape cartridge loop problems. No tape cartridge that exhibits the problems shown in the examples in Figure D-4 should be used in a DLT tape system.
Appendix D: The Tape Cartridge 8. Finally, check for proper operation of the tape cartridge’s write-protect switch (Figure D-5). This sliding switch, located on the end of the tape cartridge used for the tape label, should snap smartly back and forth, and the orange tab should be visible when the tape cartridge is set to provide write protection (data on the tape cannot be written over).
Appendix D: The Tape Cartridge • Move the write-protect switch to the right to disable write protection (existing data on the tape can be overwritten, and/or additional data can be appended to the media unless the cartridge is write-protected via software). When write-protect is disabled, no orange rectangle is visible.
Appendix D: The Tape Cartridge D.4 LOADING A TAPE CARTRIDGE Complete this subsection to load a tape cartridge into the front panel (Chapter 2, Figure 2-10) of the tape drive. Because this subsection of the manual refers to some of the front panel LEDs and controls, it may be useful to review information in chapter 2.5 that describe them. 1. Only when the green Operate Handle LED is steadily lit and when the audible beep sounds, lift the tape drive’s cartridge Insert/Release handle.
Appendix D: The Tape Cartridge D.5 UNLOADING A TAPE CARTRIDGE Complete this subsection to unload a tape cartridge. Because this subsection of the manual refers to some of the front panel LEDs and controls (Chapter 2, Figure 2-10) of the tape drive. Because this subsection of the manual refers to some of the front panel LEDs and controls, it may be useful to review information in chapter 2.5 that describe them. CAUTION Remove the tape cartridge from the tape drive BEFORE turning off host power.
Appendix D: The Tape Cartridge D.6 USING A CLEANING TAPE CARTRIDGE This subsection contains information on how and when to use a cleaning tape cartridge. Because this subsection of the manual refers to some of the front panel LEDs and controls (Chapter 2, Figure 2-10) of the tape drive. Because this subsection of the manual refers to some of the front panel LEDs and controls, it may be useful to review information in chapter 2.5 that describe them.
Index A Conducted emissions, 1-12 Configuration, 2-3, 2-13 Connectors loader (rackmount), 2-12 power cord (rackmount), 2-9 SCSI (rackmount), 2-9 tabletop, 2-13 Controls description, 2-16 front panel, 2-16 functionality, 2-20 ASC/ASCQ codes, REQUEST SENSE, 5-157 SEND DIAGNOSTIC, 5-171 ABORT message, 4-5 Acoustic noise emissions, 1-10 Altitude specification, 1-5 ATTENTION condition, 3-24 B Beeper, 2-16, 2-20 Bugcheck packets, B-2 BUS DEVICE RESET message, 4-5 BUS FREE, 3-10 BUS PARITY ERRORS, 3-11 Bus termi
Index E EEPROM Event log error codes, B-3 Packets (last n error events), B-1 Resident bugcheck packets, B-2 Vendor Unique Page Parameters, 5-95 Electromagnetic emissions, 1-12 EMI regulations and certifications, 1-12 Environmental specifications, 1-5 ERASE command, 5-15 ESD protection, 2-3 F Firmware update, creating a tape, C-1 interpreting results, C-4 procedure, C-2 Front panel Cartridge insert/release handle, 2-16, 2-20 controls, 2-16, 2-20 LEDs, 2-17 INITIATOR DETECTED ERROR message, 4-9 INQUIRY comma
Index N Non-operating shock, 1-5 Non-operating vibration, 1-6 NO OPERATION message, 4-11 O Operation codes, 5-1 P Parity checking rackmount, 2-6 tabletop, 2-13 Performance data, 1-4 Physical specifications, 1-3 Pin assignments loader, 2-12 power, 2-12 SCSI differential, 2-11 SCSI single-ended, 2-10 POST description, 2-23 tape drive states following, 2-24 ready activity, 2-24 Power connections rackmount, 2-9 tabletop, 2-14 Power-on self test See POST Power requirements, 1-8 PREVENT/ALLOW MEDIUM REMOVAL comma
Index ERASE (19h), 5-15 INQUIRY (12h), 5-17 LOAD UNLOAD (1Bh), 5-29 LOCATE (2Bh), 5-33 LOG SELECT (4Ch), 5-35 LOG SENSE (4Dh), 5-43 MODE SELECT (15h/55h), 5-69 MODE SENSE (1Ah/5Ah), 5-105 PREVENT/ALLOW MEDIUM REMOVAL (1Eh), 5-131 READ (08h), 5-133 READ BLOCK LIMITS (05h), 5-137 READ BUFFER (3Ch), 5-139 READ POSITION (34h), 5-143 RECEIVE DIAGNOSTIC RESULTS (1Ch), 5-147 RELEASE UNIT (17h), 5-149 REQUEST SENSE (03h), 5-151 RESERVE UNIT (16h), 5-163 REWIND (01h), 5-165 SEND DIAGNOSTIC (1Dh), 5-167 SPACE (11h),
Index U Unit attention condition, 5-10 Unloading a cartridge, D-11 Updating firmware, C-1 V Vendor unique page parameters for EEPROM, 5-95 Vendor unique sense data request sense status codes, A-1 VERIFY command, 5-177 Vibration requirements non-operating, 1-7 operating, 1-6 W WRITE BUFFER command, 5-181 WRITE command, 5-179 WRITE FILEMARKS command, 5-185 Quantum DLT 7000 Tape Drive Index-5
Index Index-6 Quantum DLT 7000 Tape Drive
*81-60000-06 A012 81-60000-06 A02 501 Sycamore Drive Milpitas, CA 95035 (408) 894-4000 www.quantum.