DLT™4000 Tape Drive Product Manual November 10, 2003 81-60043-04
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.2 Selecting Density......................................................................... 2-21 2.6 Power On Self Test (POST).................................................................... 2-23 2.7 Troubleshooting................................................................................... 2-25 Chapter 3: 3.1 3.2 3.3 SCSI Description..................................................................................... SCSI Overview .........................................
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.
Table of Contents 5.10 MODE SENSE (6) / (10) Command (1Ah / 5Ah)....................................... 5-95 5.10.1 MODE SENSE Data Headers......................................................... 5-98 5.10.2 MODE SENSE Block Descriptors....................................................5-100 5.10.3 MODE SENSE Mode Pages...........................................................5-102 5.11 PREVENT / ALLOW MEDIUM REMOVAL Command (1Eh)..........................5-119 5.12 READ Command (08h)....................
Table of Contents D.3 D.4 D.5 D.6 Tape Cartridge Write-Protect Switch ..................................................... D-8 Loading a Tape Cartridge ..................................................................... D-10 Unloading a Tape Cartridge.................................................................. D-11 Using a Cleaning Tape Cartridge ...........................................................
Table of Contents Figures Figure 1-1. Figure 1-2. Figure 2-1. Figure 2-2. Quantum DLT 4000 Tape Drive (Rackmount)............................................ Quantum DLT 4000 Tape Drive (Tabletop) ............................................... DLT 4000 SCSI ID Jumper Location (Rackmount Version Shown)............... DLT 4000 TERMPWR and Parity Check Jumper Locations (Rackmount Version Shown) .................................................................. Figure 2-3.
Table of Contents Figure 5-23 Log Parameters Format for Read / Write Compression Ratio LOG SENSE Page (Parameter Codes 02h through 09h)............................................... 5-54 Figure 5-24. Device Wellness LOG SENSE Header Format ........................................... 5-57 Figure 5-25. Log Parameters Format for Device Wellness LOG SENSE Page (Parameters 0000h – 000Fh) ................................................................... 5-58 Figure 5-26. Device Status LOG SENSE Header Format..
Table of Contents Figure Figure Figure Figure 5-61. READ BUFFER Descriptor - Data Format...................................................5-129 5-62. READ POSITION Command Descriptor Block - Data Format ......................5-131 5-63. READ POSITION - Data Format................................................................5-132 5-64. RECEIVE DIAGNOSTICS RESULTS Command Descriptor Block – 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 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 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. Table 4-5. Table 4-6. Table 5-1. Table 5-2. DLT 4000 Physical Dimensions..................................
Table of Contents 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 5-24. Table 5-25. Table 5-26. Table 5-27. Table 5-28. Table 5-29. Table 5-30. Table 5-31. Table 5-32. Table 5-33. Table 5-34. Table 5-35. Table 5-36. Table 5-37. Table 5-38. Table 5-39.
Table of Contents Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table 5-40. 5-41. 5-42. 5-43. 5-44. 5-45. 5-46. 5-47. 5-48. 5-49. 5-50. 5-51. 5-52. 5-53. 5-54. 5-55. Table 5-56. Table 5-57. Table 5-58. Table 5-59. Table 5-60. Table 5-61. Table 5-62. Table 5-63. Table 5-64. Table 5-65. Table 5-66. Table 5-67. Table 5-68. Table 5-69. Table 5-70. Table 5-71. Table 5-72. Table 5-73. Table 5-74. Data Compression Page Descriptor – Field Descriptions .................
Table of Contents Table 5-75. Table 5-76. Table 5-77. Table 5-78. Table 5-79. Table 5-80. 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 ASC / ASCQ for SEND DIAGNOSTIC .........................................................5-159 SPACE Command Data - Field Descriptions..............................................5-161 VERIFY Command Data - Field Descriptions..............................................
REVISION HISTORY This Revision History provides a concise 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-108336-01 May 5, 1995 Original issue 81-108336-02 81- 60043- 01 Caution added for unloading a tape cartridge March 10, 1996 Part number 81-108336-02 obsoleted Manual-wide, trademark copyrights, and other changes.
Revision History Manual Number - Revision Level Date of Release Summary of Changes 81-60043-02 April 08, 1999 Entire manual rewritten to conform to corporate standard for product manuals. Manual updated to include new version of the DLT4000 tape drive (Chapters 1 and 2); 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-60043-03 September 18, 2000 Revised.
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 the Quantum DLT4000 tape drive and 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 products’ compliance with the ANSI SCSI-2 specification. The drive’s many optional features are described here and throughout the manual.
About This Manual 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 xxiv Quantum DLT 4000 Tape Drive
Chapter 1 GENERAL DESCRIPTION AND SPECIFICATIONS This chapter provides a description and gives specifications for the Quantum DLT™4000 Tape Drive. 1.1 PRODUCT DESCRIPTION The Quantum DLT 4000 tape drive is a high-performance, high-capacity, streaming cartridge tape product designed for efficient data back-up for midrange and high-end computing systems.
General Description and Specifications Figure 1-1 Quantum DLT 4000 Tape Drive (Rackmount) Tabletop Version 1 Tabletop Version 2 Figure 1-2 Quantum DLT 4000 Tape Drive (Tabletop) 1-2 Quantum DLT 4000 Tape Drive
General Description and Specifications 1.2 PRODUCT FEATURES The DLT 4000 tape drive offers the following product features: 1.3 • 20.0 GB Native, 40.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 4000 tape drives are available with narrow SCSI-2 fast single-ended or differential high voltage interfaces. 1.3.3 Storage Capacity The following table provides the ranges of capacity (native and compressed) for the tape drive, depending on which DLTtape cartridge is used. Table 1–2 DLTtape Cartridge (Length of Medium) DLTtape IV DLT 4000 Storage Capacity Native Storage Capacity Compressed Storage Capacity 20.0 GB User Data 40.
General Description and Specifications Table 1–3 DLT 4000 Performance Data (continued) Feature Description Tracks 128; 64 pairs Linear Bit Density 81,600 bpi per track READ / WRITE Tape Speed 98 inches/second Rewind Tape Speed 150 inches/second Linear Search Tape Speed 150 inches/second Average Rewind Time 70 seconds Maximum Rewind Time 140 seconds Average Access Time (from BOT) 45 seconds Maximum Access Time (from BOT) 90 seconds Load to BOT (typical) 48 seconds - previously written
General Description and Specifications Table 1–4 DLT 4000 Environmental Specifications (continued) Specification Operating Limits Non-Operating Limits (Power On; No Tape Loaded) Altitude Normal pressure from -500 feet to 30,000 feet Airflow Velocity 125 linear feet per minute measured directly in front of the front bezel Shock 5 G peak, half-sine; 11 ms duration; 10 G each direction of each axis, 35 sec between shocks, 60 shocks total; 3 axes See Table 1-5 Vibration 5 to 500 Hz @ 0.
General Description and Specifications Table 1–6 DLT 4000 Non-Operating Vibration Specifications (continued) Description Rackmount and Tabletop Power Spectral Density (Horizontal) 5 to 10 Hz 0.0011 G 2/Hz @ 5, to 0.007 @ 10 10 to 50 Hz Flat @ 0.007 G 2/Hz 50 to 200 Hz 0.007 G 2/Hz @ 50 with 8 dB/octave rolloff Each of the X, Y, and Z axes for one hour (3 hours total) 1.3.
General Description and Specifications 1.3.8 EMI and Safety Certifications Table 1−8 provides the certifications held by the rackmount and tabletop versions of the tape drive. Table 1−9 provides the safety certification held by the tape drives.
General Description and Specifications 1.3.10 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.12 DLTtape Recording Media Specifications The following table provides specifications for tape media. 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. @ 20°C & 40% RH (non-condensing) Usage: 1,000,000 passes (typical office/computer environment) DLTtape IIIxt Width: 0.5 in.
Chapter 2 HARDWARE IMPLEMENTATION This chapter describes how to install the internal 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 2.2.1 Set the Rackmount Drive SCSI ID Each device on the SCSI bus must have a unique SCSI ID address assigned to it. For specific recommendations for assigning SCSI IDs, refer to the system or SCSI controller documentation. Rackmount drives can be configured for SCSI ID addresses that range from 0 to 7 (default=5) in one of two ways: a) jumper the 10-pin SCSI ID jumper block shown in Figure 2-1, or b) set the IDs through firmware.
Hardware Implementation Table 2-1 SCSI ID Address Selections SCSI ID 0 1 2 3 4 5 (default) 6 7 Jumper Across Pins: 9-10 7-8 5-6 3-4 1-2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 = No Jumper installed 1 = Jumper installed Quantum DLT 4000 Tape Drive 2-5
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.3 Configure The Rackmount Drive for Parity Checking The default setting for DLT 4000 tape drives is to have parity checking enabled. If the system to which you are configuring the rackmount tape drive does not generate SCSI parity, there are two ways that parity checking can be disabled.
Hardware Implementation SCSI ID Pushbutton Power Switch SCSI Signal Connector (IN) SCSI Signal Connector (Out/Termination) Power Connector Figure 2–4 Tabletop (Version 2) Back Panel Controls SCSI ID - The SCSI ID default for the tabletop drive is set to 5; the drive can be configured for SCSI ID addresses that range from 0 to 7 using the SCSI ID pushbutton. Press the button above or below the ID number display to set the desired SCSI ID.
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 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. Because of the variety of mounting possibilities for tape drive, the instructions presented here are general in nature. They should be used only as a guide for mounting the drive in your system. Mount the drive in the system by performing the following steps: 2.4 1.
Hardware Implementation The three external connectors on the DLT 4000 tape drive that are discussed in this manual are the SCSI, power and optional loader connectors. Tabletop connectors are described in subsection 2.4.3. 2.4.1 SCSI and Power Connectors (Rackmount) Figure 2-6 shows the pin orientation for the 50-pin SCSI connector and 4-pin power connector located on the back of the tape drive.
Hardware Implementation Table 2–2 Single-Ended SCSI Pin Assignment Signal Name Pin Number Pin Number Signal Name Ground 1 2 -DB(0) Ground 3 4 -DB(1) Ground 5 6 -DB(2) Ground 7 8 -DB(3) Ground 9 10 -DB(4) Ground 11 12 -DB(5) Ground 13 14 -DB(6) Ground 15 16 -DB(7) Ground 17 18 -DB(P) Ground 19 20 Ground Ground 21 22 Ground Reserved 23 24 Reserved Open 25 26 TERMPWR Reserved 27 28 Reserved Ground 29 30 Ground Ground 31 32 -ATN Ground 33 34
Hardware Implementation Table 2–3 Differential SCSI Pin Assignment Signal Name Pin Number Pin Number Signal Name Open 1 2 Ground DB(0) 3 4 -DB(0) DB(1) 5 6 -DB(1) DB(2) 7 8 -DB(2) DB(3) 9 10 -DB(3) DB(4) 11 12 -DB(4) DB(5) 13 14 -DB(5) DB(6) 15 16 -DB(6) DB(7) 17 18 -DB(7) DB(P) 19 20 -DB(P) DIFFSENS 21 22 Ground Ground 23 24 Ground TERMPWR 25 26 TERMPWR Ground 27 28 Ground ATN 29 30 -ATN Ground 31 32 Ground BSY 33 34 -BSY ACK 35 36
Hardware Implementation Table 2–4 4-Pin Power Connector Pin Assignment Pin Number Signal Name 1 2 3 4 +12 VDC Ground (+12 V return) Ground (+5 V return) +5 VDC 2.4.2 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-7 shows the location of the connector.
Hardware Implementation 2.4.3 Tabletop Drive Connectors Figures 2-8 and 2-9 show the locations of the connectors for the tabletop version of the drive.
Hardware Implementation SCSI ID Pushbutton Power Switch SCSI Signal Connector (IN) SCSI Signal Connector (Out/Termination) Power Connector Figure 2–9 Tabletop (Version 2) Back Panel Connectors Align the appropriate SCSI and power cables to their matching connectors. Carefully connect the cables and avoid bending or damaging the connector pins. 1. Make sure the power switch is in the off (0) position. 2. Connect one end of the SCSI cable to the SCSI IN connector on the back panel of the drive.
Hardware Implementation 2.5 DRIVE CONTROLS AND LIGHT EMITTING DIODES (LEDS) This section identifies the front panel controls and LED’s and describes their functionality. It also explains density selection. 2.5.1 Front Panel Controls and LED’s This section describes the front panel controls and Light Emitting Diodes (LED’s) used to operate the tape drive; all controls and LED’s are located on the tape drive’s front panel. Figure 2-10 shows the locations of the controls and LED’s on the front panel.
Hardware Implementation Table 2–5 LED Functionality LED LED Color Description Density 2.6, 6.0, 10.0/15.0, 20.0 Amber Refer to Table 2-6 and subsection 2.5.2. Compress Amber On = Compression mode enabled (compression only valid for 10, 15, or 20 GB densities only). Off = Compression mode disabled. Blinking = Compress mode manually overridden by operator. Density Override Amber On = Operator selected a density from the density Select Button on the front panel.
Hardware Implementation Use Cleaning Tape Amber 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. Off = Cleaning is complete or cleaning is unnecessary.
Hardware Implementation Table 2–5 LED Functionality (continued) 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. Table 2–6 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.
Hardware Implementation Table 2-7 Control Functionality Control Description Density Select Button Refer to subsection 2.5.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 tape drive rewinds the tape medium back into the cartridge.
Hardware Implementation 2.5.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–8 LED Activity During Density Selection 2.6 If… Then… The density Select Button is not used The lighted LED’s show the actual density when the tape is being read from and written to. The LED’s 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’s that reflect the actual density and the Density Override both are lit.
Hardware Implementation Table 2–9 POST/Media Ready Activity Stage Activity 1 The LED’s along the right-hand side of the front panel light in sequence from top to bottom. All LED’s remain lit for a few seconds. 2 The LED’s along the left-hand side of the front panel light together for about three seconds, then turn off. POST is complete after this stage. 3 The green Operate Handle, orange Write Protected, and amber User Cleaning Tape LED’s turn off.
Hardware Implementation 2.7 TROUBLESHOOTING Table 2-11 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 LED’s. If, after attempting the recommended actions listed in Table 2-11, the problem still exists or recurs, a hardware failure may be the cause. Contact your service representative. Table 2–11 Troubleshooting Chart If… Then… You Should… System does not recognize the tape drive.
Hardware Implementation Table 2–11 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 drives 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.
Hardware Implementation 2-28 Quantum DLT 4000 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 eight devices (narrow SCSI).
SCSI Description 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. INQUIRY 12h Mandatory Requests that drive information be sent to the initiator. The initiator may also request additional information about the drive. LOAD UNLOAD 1Bh Optional Requests that the target enable or disable the logical unit for further operations.
SCSI Description Table 3–1 Implemented ANSI SCSI-2 Commands (continued) Command Code Class Description MODE SELECT (6) 15h Optional Provides a means for the initiator to specify device parameters. MODE SENSE (6) 1Ah Optional Provides a means for a drive to report parameters to the initiator. PREVENT ALLOW 1Eh Optional Requests that the target enable or disable the removal of the medium in the logical unit. Medium cannot be removed if any initiator has medium removal prevented.
SCSI Description Table 3–1 Implemented ANSI SCSI-2 Commands (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 None None None None None None ARBITRATION All Winner None None S ID S ID SELECTION I&T Init None Init Init Init RESELECTION I&T Targ Targ Init Targ Targ COMMAND Targ None Targ Init Init None DATA IN Targ None Targ Init Targ Targ DATA OUT Targ None Targ Init Init Init STATUS Targ None Targ Init Targ None MESSAGE IN T
SCSI Description 3.3.2 SCSI ID Bits SCSI permits a maximum of eight SCSI devices on a SCSI bus (16 devices are permitted when using wide SCSI). Each SCSI device has a unique SCSI ID assigned to it. This SCSI ID provides an address for identifying the device on the bus. On the drive, the SCSI ID is assigned by configuring jumpers or connecting remote switches to the option connector. Chapter 2, Hardware Implementation has full instructions for setting the SCSI ID. 3.
SCSI Description Table 3–3 SCSI-2 Bus Signal Definitions (continued) Signal Definition DB(15–8,P1) (data bus) Eight data-bit signals, plus one parity-bit signal, that forms an extension to the DATA BUS. They are used for 16-bit (wide) interfaces. DB(15) is the most significant bit and has the higher priority (but below bit DB(0) during ARBITRATION. Bit number, significance, and priority decrease downward to DB(8). Data Parity DB (P1) is odd.
SCSI Description Table 3–4 SCSI Bus Timing Values Timing Description Value Description Arbitration Delay 2.4 µs Minimum time a SCSI device waits from asserting BSY for arbitration until the DATA BUS can be examined to see if arbitration has been won; there is no maximum time. Assertion Period 90 ns Minimum time a drive asserts REQ while using synchronous data transfers; also, the minimum time that an initiator asserts ACK while using synchronous data transfers.
SCSI Description Table 3–4 SCSI Bus Timing Values (continued) Timing Description Value Description Data Release Delay 400 ns Maximum time for an initiator to release the DATA BUS signals following the transition of the I/O signal from false to true. Deskew Delay 45 ns Minimum time required to wait for all signals (especially data signals) to stabilize at their correct, final value after changing.
SCSI Description Table 3–4 SCSI Bus Timing Values (continued) Timing Description Value Description Selection Time-Out Delay 250 ms1 Recommended minimum time a SCSI device should wait for a BSY response during SELECTION or RESELECTION before starting the time-out procedure. Transfer Period (set during an SDTR message.) 1 3.5 Minimum time allowed between the leading edges of successive REQ pulses and of successive ACK pulses while using standard or fast synchronous data transfers.
SCSI Description During normal operation, the BUS FREE phase is entered when the drive releases the BSY signal. However, the BUS FREE phase can be entered following the release of the SEL signal after a SELECTION or RESELECTION phase timeout. BUS FREE might be entered unexpectedly.
SCSI Description Messages Received by Drive: • ABORT • BUS DEVICE RESET • RELEASE RECOVERY 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.
SCSI Description 4. The SCSI device waits at least an arbitration delay to determine arbitration results. 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.
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. 1. The initiator 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 The initiator: 8. Determines that it is selected when the following occur for at least one bus settle delay: SEL, I/O, and the initiator’s SCSI ID bit are true and BSY is false. 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.
SCSI Description SCSI devices that respond to the RESELECTION phase must ensure that the reselection is still valid within a selection abort time of asserting the BSY signal. 3.5.5 Information Transfer Phases NOTES 1. The tape drive supports narrow asynchronous and synchronous data transfers. 2. Both differential and single-ended versions of the tape drive are available. 3.
SCSI Description The COMMAND, DATA, STATUS, and MESSAGE phases are known as the Information Transfer Phases because they are used to transfer data or control information. The C/D, I/O, and MSG signals are used to distinguish between the different information transfer phases (Table 3−5). The drive asserts these three signals and so controls all information transfer phase changes. The drive can also cause a BUS FREE phase by releasing the MSG, C/D, I/O, and BSY signals.
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 (7–0, P) 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 (7–0, P) 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 (7–0, P) signals. 7.
SCSI Description REQ signal until after the leading edge of the next ACK pulse is received. For successful completion of the data phase, the number of ACK and REQ pulses must be equal. The initiator sends one ACK signal pulse for each REQ pulse received. The ACK signal can be asserted as soon as the leading edge of the corresponding REQ pulse has been received. Drive-to-Initiator Transfer Procedure 1. The drive sets the DB (7–0, P) signals to the desired values.
SCSI Description 6. Drive reads the DB (7-0, P) signals within one hold time of the transition of the ACK signal to true. 7. The drive waits at least the greater of these periods before again asserting the REQ signal: a) A transfer period from the last transition of the REQ signal to true, or b) A negation period from the last transition of the REQ signal to false. 8.
SCSI Description Table 3–6 Status Bytes Status Bytes Returned from Tape Drive Definition GOOD (00h) This status indicates that the drive successfully completed the command. CHECK CONDITION (02h) A contingent allegiance condition occurred. The REQUEST SENSE command should be sent following this status to determine the nature of the event. BUSY (08h) Target is busy. This status is returned whenever the device is unable to accept a command from an otherwise acceptable 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 commands are returned with Check Condition status, Sense Key of Not Ready, until the medium has been made ready. • 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).
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 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 4000 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 (Synchronous Data Transfer Request, or SDTR) * 01h In Out 80h – FFh In Out IDENTIFY INITIATOR DETECTED ERROR 05h Out 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 POINTER 02h
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 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.7 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.11 NO OPERATION Message (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 Bit Byte 7 6 5 4 3 0 Extended Message Identifier (01h) (Figure 4-1) 1 Length (03h) 2 Message Code (01h) 3 Transfer Period: Min. = 50 (32h) 4 Transfer REQ/ACK Offset: Max. = 15 2 1 0 Figure 4–3 Synchronous Data Transfer Request Message - Data Format 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.
Messages 4-12 Quantum DLT 4000 Tape Drive
Chapter 5 SCSI COMMANDS This chapter describes the SCSI protocol features implemented in the DLT 4000 tape drive. 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 4000 tape drive supports the SCSI commands listed in Table 5-1.
SCSI Commands Table 5-1 Supported SCSI Commands (continued) Command 5-2 Operation Code Section RECEIVE DIAGNOSTIC RESULTS 1Ch 5.16 RELEASE UNIT 17h 5.17 REPORT LUNS A0h 5.18 REQUEST SENSE 03h 5.19 RESERVE UNIT 16h 5.20 REWIND 01h 5.21 SEND DIAGNOSTIC 1Dh 5.22 SPACE 11h 5.23 TEST UNIT READY 00h 5.24 VERIFY 13h 5.25 WRITE 0Ah 5.26 WRITE BUFFER 3Bh 5.27 WRITE FILEMARKS 10h 5.
SCSI Commands NOTES 1. Relative Addressing is not supported by the tape drive. Therefore, in all I/O commands, the RelAdr bit must be 0. 2. RESERVE UNIT and RELEASE UNIT by Logical Unit Number are supported, as are third-party reservations. Extent reservations are not supported. 3. The RECEIVE DIAGNOSTIC RESULTS and SEND DIAGNOSTIC DATA commands implement vendor-unique pages to test the drive during the manufacturing process.
SCSI Commands In response to the SAVE DATA POINTER message, the initiator stores the value of the current data pointer into the saved data pointer for that I/O process. The drive can restore the current pointer from the saved pointer value for the active I/O process by sending a RESTORE POINTERS message to the initiator. The initiator then copies the set of saved pointers into the set of current pointers.
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 Table 5–2 Command Descriptor Block - Field Descriptions (continued) Field Description Control Field The Control Field is the last byte of every command descriptor block. Its format is shown in Figure 5–2 and it contains the Flag and Link bits. Use of these bits is initiator-dependent. Setting the Link bit = 1 provides an automatic link to the next command, bypassing the usual ARBITRATION, SELECTION, and MESSAGE OUT phases that would normally occur between commands.
SCSI Commands 5.1.3 Status/Error Reporting SCSI message-level errors are communicated by messages that are defined specifically for that purpose (for example, MESSAGE PARITY ERROR, MESSAGE REJECT). Message-level errors are also handled by drive-managed retries. Refer to Chapter 4 for more detailed message-handling information. SCSI command-level errors are communicated by a status code that is returned by the drive during the STATUS phase.
SCSI Commands Table 5–4 Status Codes Status Code Definition Meaning 00h GOOD The drive successfully completed the command. 02h CHECK CONDITION A Contingent Allegiance condition occurred. 08h BUSY The drive cannot service the command at the moment, and its Command Descriptor Block has been discarded. The initiator can retry the command at a later time. 10h INTERMEDIATE GOOD This status is returned instead of a GOOD status for commands issued with the LINK bit set.
SCSI Commands Table 5–5 Length Field Name Units Field Name Units Implied Allocation Length Bytes of data the drive is allowed to send to the initiator Parameter List Length Bytes of data the initiator has available for the drive Transfer Length Logical number of data blocks or data bytes the initiator wants transferred or verified Byte Transfer Length Bytes of data the initiator wants transferred The DATA OUT column in Table 5–6 lists the information passed to the drive by the initiator as part of
SCSI Commands Table 5–6 DATA-Phase Command Contents (continued) Command Length in CDB Data Out (To Drive) Data In (To Initiator) PREVENT ALLOW MEDIUM REMOVAL 0 --- --- READ (6) Transfer --- Data READ BLOCK LIMITS Allocation --- Block Length Limits READ BUFFER Allocation --- Buffer Offset and Allocation Length READ POSITION Allocation --- Position Identifier or SCSI Logical Address RECEIVE DIAGNOSTIC RESULTS Allocation --- Diagnostic Page RELEASE UNIT 0 --- --- REPORT LUNS Al
SCSI Commands 5.1.5 Unit Attention Condition Queued Unit Attentions are implemented on the Quantum DLT 4000 tape drive and are maintained separately for each valid LUN for each initiator.
SCSI Commands The DLT 4000 tape drive recognizes multiple, successive SCSI bus resets and SCSI bus resets of arbitrarily long duration. The tape drive recovers within the time limits specified above following the last SCSI bus reset. 5.1.7 Data Cache and Tape Write Interaction The Quantum DLT 4000 drive contains a data cache that buffers blocks (records) until they are written to tape. This section describes when those blocks are written, or “flushed” to tape.
SCSI Commands 5.2 SCSI COMMAND DESCRIPTIONS The SCSI commands are presented in alphabetical order. Each command starts on a new, odd-numbered page. Because information about a particular command may span multiple pages, the command name is repeated, in Italics, at the top of every page that concerns that command. Blank pages in the chapter can be used for note-taking.
SCSI Commands Bit Byte 7 6 5 0-6 4 3 2 1 0 (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 (LSB) is bit 0 of byte 8. This is an alternate, “shorthand” presentation for: Bit Byte 7 0-6 6 5 4 3 2 1 0 (Bytes 0 – 6) (MSB) 7 Parameter List Length 8 (LSB) The shorthand version of presentation is used in this manual due to space constraints.
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.
SCSI Commands ERASE Command (19h) (continued) Table 5–7 ERASE Command Descriptor Block - Field Descriptions Field Description Immed Immediate. If the Immediate bit = 0, the target does not return status until the selected operation has completed. If set to 1, status is returned as soon as the operation has been initiated. Long Must be set to 1. The Long bit controls the distance of tape to be erased. Filler and End of Data (EOD) blocks are written if needed, then the entire rest of the tape is erased.
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–8 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 Rsvd MChngr 7 RelAdr Wbus32 Reserved Wbus16 Sync Linked 8 - 15 Vendor Identification “Quantum ” 16 - 31 Product Identification “DLT4000 ” 32 - 35 Product Revision Level = “hhss” 36 - 55 Vendor Uniq
SCSI Commands INQUIRY Command (12h) (continued) Table 5–10 contains field descriptions for the data returned by the drive. Table 5–10 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–10 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 (4) 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–11 Vendor Unique Inquiry Data Page - Field Descriptions Field Name Description Product Family This field indicates the drive’s data density as follows: Released Firmware Bit Drive Density 0 Not Specified 1 2.6 GB 2 6.0 GB 3 10.0 / 20.0 GB 4 20.0 / 40.0 GB 5 15.0 / 30.0 GB This flag differentiates between released and test versions of firmware. When set to 1, indicates released code (Vxxx); 0 indicates field test code (Txxx).
SCSI Commands INQUIRY Command (12h) (continued) 5.4.3 Supported Vital Product Data Page (00h) 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 Byte 0 7 6 5 4 3 Peripheral Qualifier 2 1 0 Peripheral Device Type 1 Page Code (80h) 2 Reserved 3 Page Length (0Ah) 4 - 13 Serial Number Figure 5–8 Unit Serial Number Page - Data Format Table 5–12 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.
SCSI Commands INQUIRY Command (12h) (continued) Bit Byte 7 0 6 5 4 3 Peripheral Qualifier 2 1 0 Peripheral Device Type 1 Page Code (C0h) 2 Reserved 3 Page Length (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 - Data Format Table 5–13 Firmware Build Information Page - Field Descriptions Field Name Description …Checksum Servo Firmware, Servo EEPROM, a
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) Table 5–16 LOG SELECT Command Descriptor Block - Field Descriptions (continued) Field Name Description Parameter List Length This field specifies the length, in bytes, of the LOG SELECT parameter list to be transferred from the initiator to the target during the DATA OUT phase. A parameter list length of 0 indicates that no data is to be transferred. This condition is not considered an error. 5.7.
SCSI Commands LOG SELECT Command (4Ch) (continued) If multiple pages are sent during the DATA OUT phase, they must be sent in ascending order according to page code. Otherwise, the command terminates with a CHECK CONDITION status, sense key set to ILLEGAL REQUEST, and additional sense code set to INVALID FIELD IN PARAMETER LIST. The same status is returned if an unsupported Page Code appears in any header or if the specified page cannot be cleared. 5.7.
SCSI Commands LOG SELECT Command (4Ch) (continued) Bit Byte 7 6 5 4 3 2 1 0 (MSB) 0 -1 Parameter Code (LSB) 2 DU DS TSD ETC 3 TMC Rsvd 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. DS and Target Save Disable (TSD) must be set to 1.
SCSI Commands LOG SELECT Command (4Ch) (continued) Table 5–18 LOG SELECT Log Parameters Field Descriptions (continued) Field Name Description TMC (cont.) 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 Byte 7 6 5 4 3 2 1 0 (MSB) 0 -1 Parameter Code (LSB) 2 DU DS TSD 3 ETC TMC Rsvd 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 DU Disable Update. This field with a value 0 indicates that the target will update all log parameter values. This field set to 1 indicates that the target will not update the log parameter values except in response to LOG SELECT.
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 (cont.) 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) Bit Byte 7 0 6 5 4 3 Reserved 1 2 1 0 Page Code (07h) Reserved (MSB) 2-3 Page Length (LSB) Figure 5–19 Last n Error Events LOG SENSE Header Format Table 5–22 Last n Error Events LOG SENSE Header Field Descriptions 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 Byte 7 6 5 4 3 2 1 0 (MSB) 0 -1 Parameter Code (LSB) 2 DU DS 3 TSD ETC TMC Rsvd LP Parameter Length (MSB) 4-n Hex ASCII String for Event n (LSB) Figure 5–20 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 stor
SCSI Commands LOG SENSE Command (4Dh) (continued) 5.8.5 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 Rsvd LP 02h (MSB) 4-n Compression Ratio x 100 (LSB) Figure 5–22 Log Parameters Format for Read / Write Compression Ratio LOG SENSE Page (Parameter Codes 00h and 01h) Table 5–25 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 f
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 3 ETC TMC Rsvd LP 04h (MSB) 4-7 Counter Value (LSB) Figure 5–23 Log Parameters Format for Read / Write Compression Ratio LOG SENSE Page (Parameter Codes 02h through 09h) Table 5–26 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 for
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–26 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–26 Log Parameters for Read / Write Compression Ratio LOG SENSE Page Field Descriptions (Parameter Codes 02h through 09h) (continued) Field Name Description Counter Value (cont.) Parameter Codes 06h and 07h -- Report the count of bytes transferred from the initiator to the buffer. Parameter Code 06h reports the number of full megabytes transferred; Parameter Code 07h reports the number of bytes less than a full megabyte that have been transferred.
SCSI Commands LOG SENSE Command (4Dh) (continued) 5.8.6 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 0 4 3 2 1 0 Rsvd LP Parameter Code 1 Reserved 2 DU DS TSD ETC TMC (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–25 Log Parameters Format for Device Wellness LOG SENSE Page (Parameters 0000h – 000Fh) 5-56 Quantum DLT 4000 Tape Drive
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–28 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.7 Device Status Page (3Eh) The Device Status Page describes the current status of the tape drive. Three parameters are defined in this page; each is four bytes in length. Bit Byte Parameter Code Description 0000h Device Type (for sequential devices such as tape drives, this value is always 00010000h) 0001h Device Cleaning-Related Status 0002h Number of “loads” over the life of the tape drive.
SCSI Commands LOG SENSE Command (4Dh) (continued) Bit Byte 7 6 5 4 0-1 2 3 2 1 0 Rsvd LP Parameter Code DU DS TSD 3 ETC TMC Parameter Length (04h) (MSB) 4-7 Parameter Value (LSB) Figure 5–27 Log Parameters Format for Device Status LOG SENSE Page 0000h, 0001h, or 0002h) (Parameters Table 5–30 Log Parameters for Device Status LOG SENSE Page Field Descriptions Field Name Description Parameter Code Parameter Codes 0000h through 0002h are supported.
SCSI Commands LOG SENSE Command (4Dh) (continued) Table 5–30 Log Parameters for Device Status LOG SENSE Page Field Descriptions (continued) Field Name Description ETC Enable Threshold Comparison. Threshold checking is not supported on this page. Always set to 0. TMC Threshold Met Criteria. Always 0. LP List Parameter. Always set to 0 (parameter codes treated as data counter).
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) / (10) Command (15h) / (55h) (continued) 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 0 1 5 4 3 Operation Code (55h) Logical Unit Number PF Reserved 2-6 Reserved 7-8 Parameter List Length 9 2 Un
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–32 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–33 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 (Figure 5-31 and Table 5-34). Mode Parameter Block Descriptor 8 bytes in length, allows the initiator to set the drive’s Logical Block Size and number of Descriptor Logical Block Addresses (Figure 5-32 and Table 5-35).
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–34 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–35 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 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–35 MODE SELECT Mode Parameter Block Descriptor - Field Descriptions (continued) Field Name Description Block Length This field specifies the length, in bytes, of each logical block transferred over the SCSI bus. A block length of 0 indicates that the length is variable (specified in the I/O command).
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–36 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.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) 5.9.2 READ / WRITE Error Recovery Page (01h) The READ / WRITE Error Recovery Page controls the drive’s response to error conditions that arise during the course of READ and WRITE command processing.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–37 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) Bit Byte 0 7 6 PS (0) 0 5 4 3 2 1 0 Page Code (02h) 1 Additional Page Length (0Eh) 2 Buffer Full Ratio 3 Buffer Empty Ratio (MSB) 4-5 Bus Inactivity Limit (LSB) (MSB) 6-7 Disconnect Time Limit (LSB) (MSB) 8-9 Connect Time Limit (LSB) (MSB) 10 - 11 Maximum Burst Time (LSB) 12 13 - 15 Reserved DTDC Reserved Figure 5–35 Disconnect / Reconnect Page - Data Format 5-72 Quantum DLT 4000 Tape Drive
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–38 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–38 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–39 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–40 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–41 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–41 Device Configuration Page - Field Descriptions (continued) Field Name Description Write Delay Time (cont.) Values between 0 and 15 on a MODE SELECT are rounded down to 0. This causes the data to go straight to the medium without delay. 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.
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–42 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 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–43 EEPROM Vendor Unique Page Parameters (continued) Name CACHETMS Value Rep. Default Length (Bytes) ASCII Decimal 0 1 Usage 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–43 EEPROM Vendor Unique Page Parameters (continued) Name Value Rep. Default Length (Bytes) ENAPARERRRETRY ASCII Binary 0 1 To turn on/off parity error retry feature ENAREPDECOMP ASCII Binary 0 1 If set and the drive is in READ mode, the decompression algorithm field in Data Compression mode will be reset if the last block requested by the host was decompressed, otherwise it is cleared.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–43 EEPROM Vendor Unique Page Parameters (continued) Name Value Rep. Default Length (Bytes) FORCEEEREBUILD ASCII Binary 0 1 To force all the EEPROM parameters to reset to default, if set. FORCEREADSILI ASCII Binary 0 1 To make variable READ command handled as if the SILI bit is set if set.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) Table 5–43 EEPROM Vendor Unique Page Parameters (continued) Name Value Rep. Default Length (Bytes) Usage REPBUSYINPROG ASCII Binary 0 1 When set, report busy status if the drive is in the process of becoming ready. REPORTRCVDPERRS ASCII Binary 1 1 To report recovered error if parity error has been retried successfully, if set.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) As an example of an EEPROM vendor unique page, the following figure shows a page that will modify the VENDORID parameter to “XXXYY.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) The following example illustrates an EEPROM vendor unique page that modifies the FORCEDENSITY parameter to 1.
SCSI Commands MODE SELECT (6) / (10) Command (15h) / (55h) (continued) 5.9.9 Changeable Parameters within MODE SELECT The following table lists the MODE SELECT command’s changeable parameters and their default, minimum, and maximum values. Descriptions of the various parameters are provided in the discussions of the different mode 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 as follows. 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 Byte 7 6 0 5 4 3 2 1 0 Operation Code (5Ah) 1 Logical Unit Number 2 Rsvd PC DBD Reserved Page Code 3 Reserved 4 Reserved 5 Reserved 6 Reserved (MSB) 7-8 Allocation Length (LSB) 5 Unused Reserved Flag Link Figure 5–44 MODE SENSE (10) Command Descriptor Block - Data Format Quantum DLT 4000 Tape Drive 5-93
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–45 MODE SENSE Command 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. PD 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–46 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 Descriptors 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-47.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–47 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 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) 5.10.3 MODE SENSE Mode Pages The following illustration depicts the variable length page descriptor. Bit Byte 0 1 2 7 6 PS 0 5 4 3 2 1 0 Page Code Additional Page Length Page Defined or Vendor-Unique Parameter Bytes Figure 5–48 MODE SENSE Page Descriptor - Data Format Descriptions of the MODE SENSE page descriptor fields are provided in the following table. Detailed descriptions of each of the MODE SENSE Pages follow.
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–48 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–49 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) Bit Byte 0 7 6 PS 0 5 4 3 2 1 0 Page Code (02h) 1 Additional Page Length (0Eh) 2 Buffer Full Ratio (0) 3 Buffer Empty Ratio (0) (MSB) 4-5 Bus Inactivity Limit (0) (LSB) (MSB) 6-7 Disconnect Time Limit (0) (LSB) (MSB) 8-9 Connect Time Limit (0) (LSB) (MSB) 10 - 11 Maximum Burst Size (LSB) 12 13 - 15 Reserved DTDC Reserved Figure 5–50 Disconnect / Reconnect Page - Data Format Quantum DLT 4000 Tape Drive 5-103
SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) (continued) Table 5–50 Disconnect / Reconnect Error Recovery 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–51 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–52 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–53 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–53 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–54 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 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 PREVENT / ALLOW MEDIUM REMOVAL Command (1Eh) (continued) Table 5–55 PREVENT / ALLOW MEDIUM REMOVAL Command Descriptor Block Field Descriptions Field Name Description Prevent When set to 1, the UNLOAD button on the drive’s front panel is effectively disabled, and the UNLOAD command does not unload the tape medium or the cartridge. The PREVENT / ALLOW status in the device is maintained separately by each initiator. When set to 0, the prevent state corresponding to that initiator is cleared.
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) (continued) Table 5–56 READ Command Descriptor Block - Field Descriptions Field Name Description SILI Suppress Incorrect Length Indicator. If the SILI bit is set to 1 and the Fixed bit is set to 1, the target terminates the command with CHECK CONDITION status, sense key set to ILLEGAL REQUEST, and additional sense code of INVALID FIELD IN CDB.
SCSI Commands READ Command (08h) (continued) Filemark, End-of-Data, and End-of-Medium/Partition Handling If the tape drive reads a Filemark, it returns a CHECK CONDITION status. Within the sense data, the Filemark and Valid bits are set and the Sense Key field is set to NO SENSE. The information fields contain the residue count. The Additional Sense Code and Additional Sense Code Qualifier fields are set to FILEMARK DETECTED. Upon termination, the medium is logically positioned after the Filemark (EOM).
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.
SCSI Commands READ BLOCK LIMITS Command (05h) (continued) The READ BLOCK LIMITS data shown as follows is sent during the DATA IN phase of the command. The command does not reflect the currently selected block size, only the available limits. MODE SENSE is the command that returns the current block size.
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.
SCSI Commands READ BUFFER Command (3Ch) (continued) Table 5–58 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. Mode Description 000b Combined Header and Data (subsection 5.14.1) 010b Data (subsection 5.14.2) 011b Descriptor (subsection 5.14.
SCSI Commands READ BUFFER Command (3Ch) (continued) Table 5–59 READ BUFFER Header - Field Descriptions Field Name Description Available Length This field specifies the total number of data bytes available in the target’s buffer. This number is not reduced to reflect the allocation length, nor is it reduced to reflect the actual number bytes written using the WRITE BUFFER command. Following the READ BUFFER header, the target transfers data from its data buffer. 5.14.
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–63 READ POSITION - Data Format 5-126 Quantum DLT 4000 Tape Drive
SCSI Commands READ POSITION Command (34h) (continued) Table 5–61 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. 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) Table 5–63 RELEASE UNIT Command Data - Field Descriptions Field Name Description 3rdPty The third party release option for RELEASE UNIT allows an initiator to release a logical unit that was previously reserved using the third-party reservation option. If this bit is 0, then the third-party release option is not requested.
SCSI Commands 5.18 REPORT LUNS COMMAND (A0h) The REPORT LUNS command requests that the peripheral device logical unit numbers of known logical units in the target be sent to the applications client. The command only returns information about the logical units to which commands may be sent.
SCSI Commands REPORT LUNS Command (0Ah) (continued) Bit 7 6 5 4 3 2 1 0 Byte (MSB) 0-3 LUN List Length (n – 7) (LSB) 4-7 Reserved (MSB) 8 - 15 LUN (first LUN) (LSB) • • • • • • n-7 – n LUN (last LUN, if more than one) Figure 5–68 LUN Reporting Parameter List — Data Format The LUN List Length field contains the length in bytes of the LUN list that can be transferred. The LUN list length equals the number of logical unit numbers reported multiplied by eight.
SCSI Commands 5.19 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 Byte 7 0 Valid 6 5 3 2 1 0 Error Code 1 2 4 Segment Number (0) Filemark EOM ILI Reserved Sense Key (MSB) 3-6 Information Bytes (LSB) 7 Additional Sense Length (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–66 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–66 REQUEST SENSE Data - Field Descriptions (continued) Field Name Description Command Specific Information Bytes Command Specific Information Bytes are handled as device-specific and can be logged by the operating system on error conditions. On tape medium errors, such an entry usually contains the current SCSI Logical Block Address.
SCSI Commands REQUEST SENSE Command (03h) (continued) Table 5–67 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) Table 5–68 Supported ASC / ASCQ in Hex Sense Key 00 NO SENSE 5D 5D ASCQ 00 01 02 03 04 05 00 FF 01 RECOVERED ERROR 00 0A 0A 37 3B 44 44 47 48 51 53 5B 80 80 17 00 80 00 08 C1 C2 00 00 00 01 02 02 03 Clean Requested (Non-Vendor Unique) Error Log Overflow Error Log Generated Rounded Parameter Repositioning Error EEROM Copy 1 Area Bad EEROM Copy 2 Area Bad SCSI Parity Error IDE Message Received ERASE Failure Unload Tape Failure Log Counter at Maximum
SCSI Commands REQUEST SENSE Command (03h) (continued) Table 5–68 Supported ASC / ASCQ in Hex (continued) Sense Key ASC ASCQ Description MEDIUM ERROR (cont.
SCSI Commands REQUEST SENSE Command (03h) (continued) Table 5–68 Supported ASC / ASCQ in Hex (continued) Sense Key ASC ASCQ 05h ILLEGAL REQUEST 1A 20 20 21 24 24 24 24 24 24 24 24 24 24 24 24 25 26 26 26 30 39 3B 3B 3D 53 82 00 00 81 01 00 81 82 84 86 87 89 8B 8C 8D 8E 8F 00 00 01 02 00 00 0D 0E 00 02 00 Description Parameter List Length Error Illegal Opcode Illegal Command While In Recovery Mode Invalid Element Address (Media Changer) Invalid CDB Field Invalid Mode on WRITE Buffer Media in Drive Ins
SCSI Commands REQUEST SENSE Command (03h) (continued) Table 5–68 Supported ASC / ASCQ in Hex (continued) Sense Key ASC ASCQ 0Bh COMMAND ABORTED 2F 43 44 44 44 44 00 00 80 82 83 84 44 44 45 47 48 49 4B 4E 83 87 89 00 00 00 00 00 00 00 Description Commands Cleared by Another Initiator Message Error Unexpected Selection Interrupt Command Complete Sequence Failure SCSI Chip, Gross Error/ Illegal – Command Status Unexpected/Unexplained Residue Count in Transfer Register Disconnect Sequence Failed Comman
SCSI Commands 5.20 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.21 REWIND COMMAND (01H) The REWIND command directs the tape drive to position the tape at the beginning of the currently active partition (for DLTtape 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.22 SEND DIAGNOSTIC COMMAND (1DH) The SEND DIAGNOSTIC command directs the tape drive to perform its selfdiagnostic tests. Bit Byte 7 6 0 5 4 3 2 1 0 Selftst DevOfl UnitOfl Flag Link Operation Code (1Dh) 1 Logical Unit Number 2-4 PF (0) Rsvd Reserved 5 Unused Reserved Figure 5–73 SEND DIAGNOSTIC Command Descriptor Block - Data Format Table 5–71 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 types 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–72 SEND DIAGNOSTIC CDB Bits Selftst, DevOfl, and UnitOfl Bit Byte Selftst DevOfl UnitOfl 0 0 0 Illegal Combination 0 0 1 Self-Test Level 2 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–73 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 Name Data in Hex 0 Rotate 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.23 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–76 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.25 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–77 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.26 WRITE COMMAND (0AH) The WRITE command transfers one or more blocks from the host to the current logical position. When in the 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–78 WRITE Command Data - Field Descriptions Field Name Description Fixed The fixed bit specifies both the meaning of the Transfer Length field and whether fixed-length or variable-length blocks are to be transferred. When the Fixed bit is 0, Variable-length block mode is selected. A single block is transferred from the initiator and is written to the logical unit beginning at the current logical tape position.
SCSI Commands 5.27 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–79 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 010b 100b 101b WRITE combined header and data (Section 5.27.1) WRITE data (Section 5.27.2) Download Microcode (Section 5.27.
SCSI Commands WRITE BUFFER Command (3Bh) (continued) 5.27.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.28 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) Table 5–80 WRITE FILEMARKS Command Data - Field Descriptions Field Name Description WSmk Write Setmark. Must be 0. This tape drive does not support Setmarks. Immed Immediate. When this bit is set to 1, the tape drive returns status as soon as the Command Descriptor Block (CDB) has been validated, unless the Filemark count is 0, or greater than 1 (since either condition causes the WRITE buffer to be flushed to tape medium).
SCSI Commands 5-164 Quantum DLT 4000 Tape Drive
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 9 9 10 0A Missing Data Block – READ only 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
Appendix A: Definition of Vendor Unique Sense Data Information Table A–1 Internal Status Codes (continued) Decimal Hexadecimal Description 31 1F Hard WRITE Error – GPSP3 Underrun 32 20 Hard WRITE Error – READ Sync Timeout 33 21 Hard WRITE Error – Overshoot Append 34 22 Hard WRITE Error – CRC Error 35 23 EDC Error Found by GPSP3 – 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 Mediu
Appendix A: Definition of Vendor Unique Sense Data Information Table A–1 Internal Status Codes (continued) Decimal Hexadecimal 55 37 Calibration Failure 56 38 Bad Tape Format Bit 7 Bit 6 Bit 5 Description Bit 4 Bit 3 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 The most important information within the packet is the error code. The more common bugcheck codes are listed in Table B—1. A full listing of all possible codes is not provided: they are typically associated with firmware or product development and are not expected once the product is released.
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. Table B–2 Event Log Error Codes (Bytes 9 – 10) Error Code [ Meaning and Possible Cause 0xA400 Hard READ Error Log - Possible Media, Cleaning Required. 0xA401 Hard WRITE Error Log - Possible Media, Cleaning Required.
Appendix B: EEPROM-Resident Bugcheck and Event Logs Directory Failure Event Log Packets Directory failure event logs are written when a directory read or directory write request fails for any reason. Figure B-1 shows the data format and 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 B: EEPROM-Resident Bugcheck and Event Logs Table B–3 Directory Failure Event Package – Field Descriptions Field Description Saved Overwrites / Rereads / Rewrites These fields serve as temporary counters and have no use in interpreting the directory failure packets. Directory Called Mode A code that specifies the original reason for the directory call. A value of 1 indicates a directory READ (on LOAD). A value of 2 indicates a directory WRITE (on UNLOAD).
Appendix B: EEPROM-Resident Bugcheck and Event Logs B-6 Quantum DLT 4000 Tape System
Appendix C UPDATING THE FIRMWARE This appendix 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 Version 2 of the DLT 4000 tape drive requires firmware code release V130 or higher. The drive will not function properly if a lower version of firmware code is installed.
Appendix C: Updating the Firmware Table C-1 Block Size Used for Firmware Update Tape Tape Format Density Upgrade Tape Block DLTtape III 2.6 GB 6.0 GB 10.0 GB 4 Kbytes Multiple 4 Kbytes Multiple 4 Kbytes Multiple DLTtape IIIxt 15.0 GB 4 Kbytes Only DLTtape IV 20.0 GB 4 Kbytes Only On UN*X systems, use the FTP utility to transfer the binary firmware image.
Appendix C: Updating the Firmware Make sure you have a DLTtape that bears the firmware image and personality of the required revision level copied to it. 1. Put the tape drive into the firmware update mode. To do this: a) Remove any cartridge in the target tape drive and close the handle (down position). b) Press the UNLOAD button on the drive front panel and hold the button until the WRITE PROTECT indicator begins blinking (approximately six seconds).
Appendix C: Updating the Firmware At this point, the firmware update mode is automatically cleared. One of the following conditions will occur: • If the firmware image is valid and the drive code is up-to-date, the drive code does not go through an update. • If the firmware image is valid and the drive code is NOT up-to-date, the code in the drive is updated. This will take 2 - 3 minutes While the drive code is being updated, the WRITE PROTECT and TAPE IN USE indicators flash alternately.
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 4000 Tape Drive
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 ASC/ASCQ codes, REQUEST SENSE, 5-147 SEND DIAGNOSTIC, 5-159 ABORT message, 4-5 Acoustic noise emissions, 1-9 Altitude specification, 1-6 ATTENTION condition, 3-24 loader (rackmount), 2-14 power cord (rackmount), 2-11 SCSI (rackmount), 2-11 tabletop, 2-15 Controls description, 2-17 front panel, 2-17 functionality, 2-20 D B Beeper, 2-17, 2-21 Bugcheck packets, B-1 BUS DEVICE RESET message, 4-5 BUS FREE, 3-10 BUS PARITY ERRORS, 3-11 Bus termination, 2-6, 2-8, 2-16, 2-26, 2-27 C Data cache, 5-12 DATA
Index EMI and safety certifications, 1-8 Environmental specifications, 1-5 ERASE command, 5-15 ESD protection, 2-3 SCSI ID, tabletop, 2-8 TERMPWR rackmount, 2-6 TERMPWR tabletop, 2-8 L F Firmware update, creating a tape, C-1 interpreting results, C-4 procedure, C-2 Front panel Cartridge insert/release handle, 2-17 controls, 2-20 LEDs, 2-18 G Guidelines for installation, 2-2 for tape cartridge handling, D-1 Last n error events page, B-1 LEDs description, 2-17 functionality, 2-18 density functionality, 2-
Index P RESTORE POINTERS message, 4-10 REWIND command, 5-153 Parity checking rackmount, 2-7 tabletop, 2-8 Performance data, 1-4 Physical specifications, 1-3 Pin assignments power, 2-14 SCSI differential, 2-13 SCSI single-ended, 2-12 POST description, 2-24 tape drive states following, 2-24 ready activity, 2-24 Power connections rackmount, 2-11 tabletop, 2-15 Power-on self test See POST Power requirements, 1-7 PREVENT/ALLOW MEDIUM REMOVAL command, 5-119 Product description, 1-1 R READ command, 5-121 READ BL
Index READ BLOCK LIMITS (05h), 5-125 READ BUFFER (3Ch), 5-127 READ POSITION (34h), 5-131 RECEIVE DIAGNOSTIC RESULTS (1Ch), 5-135 RELEASE UNIT (17h), 5-137 REPORT LUNS (A0h), 5-139 REQUEST SENSE (03h), 5-141 RESERVE UNIT (16h), 5-151 REWIND (01h), 5-153 SEND DIAGNOSTIC (1Dh), 5-155 SPACE (11h), 5-161 TEST UNIT READY (00h), 5-163 VERIFY (13h), 5-165 WRITE (0Ah), 5-167 WRITE BUFFER (3Bh), 5-169 WRITE FILEMARKS (10h), 5-173 SCSI ID rackmount, 2-4 tabletop, 2-8 SEND DIAGNOSTIC command, 5-155 Supported ASC/ASCQ
Index V Vendor unique page parameters for EEPROM, 5-86 Vendor unique sense data request sense status codes, A-1 VERIFY command, 5-165 Vibration requirements non-operating, 1-6 operating, 1-6 W WRITE BUFFER command, 5-169 WRITE command, 5-167 WRITE FILEMARKS command, 5-173 Quantum DLT4000 Tape Drive Index-5
Index Index-6 Quantum DLT4000 Tape Drive
81-60043-04 A02 81-60043-04 A02 501 Sycamore Drive Milpitas, CA 95035 (408) 894-4000 www.quantum.