background image

 
 

 

 
 

 

 

 

 

 

 

DLT

4000 Tape Drive 

Product Manual 

 

 

 

 

 

 

November 10, 2003 

81-60043-04 

Summary of Contents for DLTtape DLT 4000

Page 1: ...DLT 4000 Tape Drive Product Manual November 10 2003 81 60043 04 ...

Page 2: ...ce Center Quantum Asia Pacific Pte Ltd Quantum Customer Service 715 Sycamore Avenue 50 Tagore Lane b1 04 Quantum Ireland Ltd Milpitas California 95035 Singapore 2678 Finnabair Industrial Park Phone 888 827 3378 Phone 65 450 9333 Dundalk FAX 800 4DISKFAX FAX 65 452 2544 County Louth Ireland BBS 800 472 9799 Phone 353 42 55350 Fax 353 45 55355 Copyright 1995 2001 by Quantum Corporation All rights re...

Page 3: ...need for special devices such as ferrite beads on cables is required if such means of interference suppression was used in the qualification test for the device This information will vary from device to device and needs to be obtained from the EMC group or product manager Warning This is a Class A product In a domestic environment this product may cause radio interference in which case the user ma...

Page 4: ...er there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation betw...

Page 5: ...USER MANUAL STATEMENTS FOR CLASS B EQUIPMENT continued ...

Page 6: ......

Page 7: ...rding Type 1 9 1 3 12 DLTtape Recording Media Specifications 1 10 Chapter 2 Hardware Implementation 2 1 2 1 Safety Handling and Electrostatic Discharge ESD Protection 2 1 2 1 1 Safety Precautions 2 2 2 1 2 Handling 2 2 2 1 3 Electrostatic Discharge ESD Protection 2 3 2 2 Drive Setup 2 3 2 2 1 Set the Rackmount Drive SCSI ID 2 4 2 2 2 Configure the Rackmount Drive for TERMPWR Single Ended Only 2 6 ...

Page 8: ...itions 3 24 3 6 1 Attention Condition 3 24 3 6 2 Reset Condition 3 25 3 6 3 Queued Unit Attentions 3 26 Chapter 4 Messages 4 1 4 1 Message Format 4 1 4 2 Supported SCSI Messages 4 5 4 2 1 ABORT Message 06h 4 5 4 2 2 BUS DEVICE RESET Message 0Ch 4 5 4 2 3 COMMAND COMPLETE Message 00h 4 5 4 2 4 DISCONNECT Message 04h 4 6 4 2 5 IDENTIFY Message 80h FFh 4 7 4 2 6 INITIATOR DETECTED ERROR Message 05h 4...

Page 9: ...mmary in LOG SELECT Command Descriptor Block 5 35 5 7 2 Operation of LOG SELECT 5 35 5 7 3 LOG SELECT Page Format 5 36 5 7 4 Error Detection Summary in LOG SELECT Pages 5 39 5 8 LOG SENSE Command 4Dh 5 41 5 8 1 Error Detection Summary in LOG SENSE Command Descriptor Block 5 44 5 8 2 Supported Pages Log Page 00h 5 45 5 8 3 Read Page 03h Write Page 02h Error LOG SENSE Page 5 46 5 8 4 Last n Error Ev...

Page 10: ...and 1Dh 5 155 5 23 SPACE Command 11h 5 161 5 24 TEST UNIT READY Command 00h 5 163 5 25 VERIFY Command 13h 5 165 5 26 WRITE Command 0Ah 5 167 5 27 WRITE BUFFER Command 3Bh 5 169 5 27 1 Write Combined Header and Data Mode 000b 5 170 5 27 2 Write Data Mode 010b 5 170 5 27 3 Download Microcode Mode 100b 5 171 5 27 4 Download Microcode and Save Mode 101b 5 171 5 28 WRITE FILEMARKS Command 10h 5 173 App...

Page 11: ...e of Contents Quantum DLT 4000 Tape Drive xi D 3 Tape Cartridge Write Protect Switch D 8 D 4 Loading a Tape Cartridge D 10 D 5 Unloading a Tape Cartridge D 11 D 6 Using a Cleaning Tape Cartridge D 12 Index ...

Page 12: ...t 5 6 Figure 5 3 ERASE Command Descriptor Block Data Format 5 15 Figure 5 4 INQUIRY Command Descriptor Block Data Format 5 17 Figure 5 5 Standard Inquiry Data Page Data Format 5 19 Figure 5 6 INQUIRY Vendor Unique Bytes Definitions 5 22 Figure 5 7 Supported Vital Product Data Pages Page Data Format 5 24 Figure 5 8 Unit Serial Number Page Data Format 5 25 Figure 5 9 Firmware Build Information Page ...

Page 13: ...figuration Page Data Format 5 81 Figure 5 39 Medium Partition Page Format Descriptor Data Format 5 84 Figure 5 40 EEPROM Vendor Unique Page Data Format 5 86 Figure 5 41 EEPROM Vendor Unique Page Vendor ID Example Data Format 5 91 Figure 5 42 EEPROM Vendor Unique Page Forced Density Example Data Format 5 92 Figure 5 43 MODE SENSE 6 Command Descriptor Block Data Format 5 95 Figure 5 44 MODE SENSE 10...

Page 14: ...IC Command Descriptor Block Data Format 5 155 Figure 5 74 SEND DIAGNOSTIC Parameter List Data Format 5 157 Figure 5 75 SPACE Command Descriptor Block Data Format 5 161 Figure 5 76 TEST UNIT READY Command Descriptor Block Data Format 5 163 Figure 5 77 VERIFY Command Descriptor Block Data Format 5 165 Figure 5 78 WRITE Command Descriptor Block Data Format 5 167 Figure 5 79 WRITE BUFFER Command Descr...

Page 15: ...4 Pin Power Connector Pin Assignment 2 14 Table 2 5 LED Functionality 2 18 Table 2 6 Density LED Functionality 2 19 Table 2 7 Control Functionality 2 20 Table 2 8 LED Activity During Density Selection 2 23 Table 2 9 POST Media Ready Activity 2 24 Table 2 10 Tape Drive States Following Initialization 2 24 Table 2 11 Troubleshooting Chart 2 25 Table 3 1 Implemented ANSI SCSI 2 Commands 3 2 Table 3 2...

Page 16: ...st n Error Events LOG SENSE Header Field Descriptions 5 50 Table 5 23 Log Parameters for Last n Error Events LOG SENSE Page Field Descriptions 5 51 Table 5 24 Read Write Compression Ratio LOG SENSE Header Field Descriptions 5 52 Table 5 25 Log Parameters for Read Write Compression Ratio LOG SENSE Page Field Descriptions Parameter Codes 00h and 01h 5 53 Table 5 26 Log Parameters for Read Write Comp...

Page 17: ...LOW MEDIUM REMOVAL Command Descriptor Block Field Descriptions 5 120 Table 5 56 READ Command Descriptor Block Field Descriptions 5 122 Table 5 57 READ BLOCK LIMITS Data Field Descriptions 5 126 Table 5 58 READ BUFFER Command Descriptor Block Field Descriptions 5 128 Table 5 59 READ BUFFER Header Field Descriptions 5 129 Table 5 60 READ POSITION Command Descriptor Block Field Descriptions 5 131 Tab...

Page 18: ...iptions 5 170 Table 5 80 WRITE FILEMARKS Command Data Field Descriptions 5 174 Table A 1 Internal Status Codes A 1 Table A 2 Internal Status Bit Flags A 4 Table B 1 Bugcheck Packet Error Codes Bytes 9 10 B 2 Table B 2 Event Log Error Codes Bytes 9 10 B 3 Table B 3 Directory Failure Event Package Field Descriptions B 5 Table C 1 Block Size Used for Firmware Update Type C 2 Table C 2 Results of Firm...

Page 19: ...rrected Section E added to POST testing Table 3 2 corrected Description of tape cartridge corrected Notes added to Loading a Cartridge section Added a caution to Unloading a Cartridge section Chapter 4 rewritten POST description updated Figure 5 2 updated page 5 6 Table 5 1 updated page 5 11 Table 5 2 updated page 5 14 Table 7 1 added page 7 4 Table 7 1 consolidated page 7 8 Caution message added ...

Page 20: ...omplete table Chapter 5 and tape cartridge additions Appendix D 81 60043 03 September 18 2000 Revised Chapter 2 Pinout tables corrected for 50 pin single ended and differential SCSI connector signals Tables 2 2 and 2 3 Chapter 5 Corrections made to LOG SENSE command s DEVICE STATUS page Log Parameter Format and TSD ClnQ and ClnR bits Appendix A Changed field descriptions in Table A 2 81 60043 04 A...

Page 21: ...ual can be used by technically astute end users for installation and operation of the tape drive although that is a secondary audience PURPOSE This manual describes the rackmount and tabletop versions of the DLT 4000 tape drive It is intended to provide the information necessary to integrate the tape drive into a computer system or subsystem DOCUMENT ORGANIZATION This product manual contains five ...

Page 22: ...itiators and SCSI targets the tape drive in this case for interface management and for command elaboration and qualification Chapter 5 SCSI Commands This chapter describes in detail each command supported by the tape drive The SCSI command system enables an initiator to direct a tape drive to perform a wide range of operational and diagnostic functions This chapter also provides sense key informat...

Page 23: ...AT UNIT Messages Uppercase INVALID PRODUCT NUMBER Hexadecimal Notation Number followed by lowercase h 25h Binary Notation Number followed by lowercase b 101b Decimal Notation Number without suffix 512 Acronyms Uppercase POST Abbreviations Lowercase except where standard usage requires uppercase Mb megabits MB megabytes READER COMMENTS Quantum is committed to providing the best products and service...

Page 24: ...About This Manual Quantum DLT 4000 Tape Drive xxiv ...

Page 25: ...erver and network backup requirements Using data compression the DLT 4000 tape drive features a formatted capacity of 40 0 GB and a sustained user data transfer rate of 3 0 MB second native capacity is 20 0 GB native data transfer rate is 1 5 MB second The device is an extended length 5 25 inch form factor half inch cartridge tape drive The design includes a two channel read write head Lempel Ziv ...

Page 26: ...neral Description and Specifications 1 2 Quantum DLT 4000 Tape Drive Figure 1 1 Quantum DLT 4000 Tape Drive Rackmount Figure 1 2 Quantum DLT 4000 Tape Drive Tabletop Tabletop Version 1 Tabletop Version 2 ...

Page 27: ... DLT 4000 tape drive Specifications for the DLTtape tape media cartridges are also included 1 3 1 Physical Specifications The following table provides physical dimensions for the DLT 4000 Table 1 1 DLT 4000 Physical Dimensions Dimension Rackmount Tabletop Version 1 Tabletop Version 2 Height 3 25 in 8 26 cm without front bezel 3 40 in 8 64 cm with front bezel 5 77 in 14 66 cm 4 88 in 12 40 cm Width...

Page 28: ... GB User Data compressed 2 1 Note A compression factor of 2 1 can be attained depending on the data type and subject to the limitations of the SCSI bus design and the configuration of the system in which the tape drive is installed 1 3 4 Performance Data The following table provides performance data for the DLT 4000 tape drive Table 1 3 DLT 4000 Performance Data Feature Description Transfer Rate U...

Page 29: ...nload from BOT 17 seconds Nominal Tape Tension 3 0 1 oz when stationary 4 7 1 oz at operating speed Depending on data type and SCSI bus limitations system configuration Note that data is typical times may be longer if error recovery time is needed 1 3 5 Environmental Specifications The following table lists operating and non operating environmental specifications for the DLT 4000 tape drive Table ...

Page 30: ...1 octave per minute See Table 1 6 Table 1 5 DLT 4000 Non Operating Shock Specifications Description Rackmount and Tabletop Shock Unpackaged 40 G 10 ms square wave 140 G 2 ms half sine X Y Z axes twice in each axis total of 6 shocks Shock Packaged Drop 42 inches items 20 0 lbs 16 drops total Table 1 6 DLT 4000 Non Operating Vibration Specifications Description Rackmount and Tabletop Sine Unpackaged...

Page 31: ...nts for rackmount and tabletop versions of the DLT 4000 tape drive Note that the tabletop DLT 4000 requires ac power Table 1 7 DLT 4000 Power Requirements Requirement Rackmount Tabletop Electrical Rating Auto Ranging Not Applicable 100 to 240 VAC Power Requirements 25 W steady state 27 W maximum 50 W maximum Power Consumption 5 V 5 bus 2 0 A steady state 2 5 A maximum Not applicable 12 V 5 bus 0 8...

Page 32: ...vices CEmark Class B VCCi Class 2 CISPR 22 Class B FCC Class B Devices Table 1 9 Safety Certifications Rackmount and Tabletop UL CSA TÜV BG MARK IEC 1 3 9 Reliability Projected Mean time between failures MTBF for the tape drive is projected to be 200 000 hours at 100 duty cycle Head life is 10 000 tape motion hours Media durability is projected to be 1 000 000 passes of the tape medium across the ...

Page 33: ...icable Not applicable Not applicable Tabletop 4 6 B 5 1 B 30 0 dB 41 0 dB Current values for specific configurations are available from Quantum representatives 1B 10 dBA Table 1 11 Acoustic Noise Emissions for German Noise Declaration Law Schallemissionswerte VorläufigeWerteangaben nach ISO 9296 und ISO 7779 DIN EN27779 Schalleistungspegel Schalldruckpegel LwAd B LpAm dBA Zuschauerpositionen Gerfd...

Page 34: ...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 metal particle Length 1800 feet extended 1780 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 IV Width 0 5 in metal particle Length 1800 feet...

Page 35: ...drive for SCSI ID TERMPWR and parity checking Drive Installation Section 2 3 describes how to mount and install the tape drive into the system Drive Connections Section 2 4 identifies the connectors on the tape drive including the SCSI power and optional loader connectors Drive Controls and Light Emitting Diodes LED s Section 2 5 identifies the front panel controls and LED s and describes their fu...

Page 36: ...ollow these guidelines to avoid damage to the drive Always observe prescribed ESD precautions Keep the drive in its anti static bag until ready to install Always use a properly fitted wrist strap or other suitable ESD protection when handling the drive Hold drive only by its sides Do not touch any components on the PCBA Always handle the drive carefully and gently A drop of inch onto a bench or de...

Page 37: ...able ESD protection when handling the drive and observe proper ESD grounding techniques Hold the drive only by its sides Do not touch any components on the PCBA Leave the drive in its anti static bag until you are ready to install it in the system Place the drive on a properly grounded anti static work surface pad when it is out of its protective anti static bag Do not use the bag as a substitute ...

Page 38: ...he IDs through firmware If the firmware is set to SCSI ID 5 then no jumpers are installed on the SCSI ID jumper block This subsection discusses setting the SCSI ID on the rackmount drive via the jumper block Table 2 1 lists the SCSI ID address and jumper settings NOTES The default setting for the tape drive is SCSI ID 5 the host adapter is typically SCSI ID 7 A jumper must be installed across Pins...

Page 39: ...ape Drive 2 5 Table 2 1 SCSI ID Address Selections SCSI ID Jumper Across Pins 9 10 7 8 5 6 3 4 1 2 0 1 0 0 0 0 1 1 0 0 0 1 2 1 0 0 1 0 3 1 0 0 1 1 4 1 0 1 0 0 5 default 1 0 1 0 1 6 1 0 1 1 0 7 1 0 1 1 1 0 No Jumper installed 1 Jumper installed ...

Page 40: ...ry 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 Figure 2 2 DLT 4000 TERMPWR and Parity Check Jumper Locations Rackmount Version Shown Install Jumper on Pins 3 4 to enable TERMPWR Front Panel 1 2 TERMPWR J24 Parity Check J25 1 2 Install Jumper on Pins ...

Page 41: ...checking by a Installing a jumper across Pins 1 and 2 on the parity check connector as shown in Figure 2 2 or b Installing a jumper across Pins 7 and 8 on the SCSI ID jumper block shown in Figure 2 1 2 2 4 Configure the Tabletop Drive Figures 2 3 and 2 4 show the locations of the controls for the tabletop versions of the drive Note that these drives are normally configured to meet customer specifi...

Page 42: ... the ID number the bottom button decreases the ID number TERMPWR and or Parity Check The tabletop version of the drive can be internally configured to supply TERMPWR or parity checking Contact your service representative if you want to change either of these settings on the tabletop version of the drive 2 3 DRIVE INSTALLATION This section describes how to mount and secure the drive in the system F...

Page 43: ... Drive Mounting Locations Side and Bottom Views Side View Inches Centimeters Bottom View Inches Centimeters 9 60 24 38 3 40 8 64 1 88 4 76 3 13 7 94 0 82 2 08 3 25 8 26 Front Panel 9 00 22 86 9 60 24 38 1 88 4 78 3 13 7 94 0 10 0 25 5 50 13 97 5 70 14 48 5 84 14 83 Front Panel ...

Page 44: ...tape drive must be 8 x 6 32 UNC 2B screws There is no danger of these screws touching electronic components or otherwise damaging the tape drive 2 4 DRIVE CONNECTIONS The following warning applies to the bezel connector located under the front panel of the tape drive This connector is an internal connector so is not discussed in detail in this manual WARNING The bezel connector pinout on the DLT 4...

Page 45: ...connector and 4 pin power connector located on the back of the tape drive Pin assignments for the single ended and differential SCSI connectors are listed in Tables 2 2 and 2 3 pin assignments for the power connector are listed in Table 2 4 Align the appropriate SCSI and power cables to their matching connectors Carefully connect the cables to avoid bending or damaging the connector pins Figure 2 ...

Page 46: ...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 Ground Ground 35 36 BSY Ground 37 38 ACK Ground 39 40 RST Ground 41 42 MSG Ground 43 44 SEL Ground 45 46 C D Ground 47 48 REQ Ground 49 50 I O Note The minus sign next to ...

Page 47: ... 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 ACK RST 37 38 RST MSG 39 40 MSG SEL 41 42 SEL C D 43 44 C D REQ 45 46 REQ I O 47 48 i O Ground 49 50 Ground ...

Page 48: ...3 Ground 5 V return 4 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 Figure 2 7 Loader Connector Block Location Rackmount Version Shown 10 Pin Loader Connector J12 Front Panel SCSI ID Jumper Block J13 ...

Page 49: ...antum DLT 4000 Tape Drive 2 15 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 Figure 2 8 Tabletop Version 1 Back Panel Connectors SCSI ID Pushbutton ...

Page 50: ...Snap the wire cable clamps into place to secure the cables 4 Be sure to terminate the SCSI bus If the tabletop drive is the last or only device on the bus terminate the bus by connecting the SCSI terminator to the SCSI OUT connector on the back of the drive Depending on the terminator supplied snap the wire cable clamps into place or tighten the screws to secure the terminator If the tabletop driv...

Page 51: ...ed on the tape drive s front panel Figure 2 10 shows the locations of the controls and LED s on the front panel In addition to the controls and LED s the tape drive also has an audible beeper that signals when the drive s cartridge insert release handle can be safely used Use these controls and LED s to operate the tape drive and monitor the tape drive s activities Figure 2 10 DLT 4000 Front Panel...

Page 52: ...n on the front panel Off Density to be selected by the host automatic Refer to subsection 2 5 2 for Density Select information Write Protected Orange On Tape is Write Protected Off Tape is Write Enabled Tape In Use Amber Irregular Blinking Tape is moving the drive is calibrating reading writing or rewinding the tape Regular Blinking The tape is loading unloading or rewinding On A cartridge is load...

Page 53: ...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 Appendix D has more information on cleaning tape usage ...

Page 54: ...or to record in this density 6 0 GB has been selected for a WRITE from BOT 10 0 15 0 On Tape is recorded in 10 0 GB DLTtape III cartridge 15 0 GB DLTtape IIIxt cartridge format Blinking Tape is being forced by operator to record in this density 10 0 GB 15 0 GB has been selected for a WRITE from BOT 20 0 On Tape is recorded in 20 0 GB DLTtape IV cartridge format Blinking Tape is being forced by ope...

Page 55: ... side of the front panel are flashing pushing the Unload button causes the tape drive to reset and unload the tape if possible The Operate Handle LED will be lit steady if this is possible Cartridge Insert Release Handle Use the Cartridge Insert Release Handle to load or eject a tape cartridge only when the tape drive s Operate Handle LED is lit and after the beeper sounds its tone Lift the handle...

Page 56: ...6 0 GB 10 0 GB compression OFF or 20 0 GB compression ON Default density of a DLTtape IIIxt cartridge is 15 0 GB native compression OFF or 30 0 GB compression ON No other density is supported Default density of a DLTtape IV cartridge is 20 0 GB native compression OFF A density of 40 0 GB is user selectable No other density is supported When writing from BOT tape density may be changed by Using the...

Page 57: ...ntroller retains the selected density until 1 the density selection is changed or 2 the tape is unloaded Selecting Density via the Host over the SCSI Bus 1 Use the SCSI MODE SELECT command to indicate the desired density Chapter 5 2 Write data to the tape from BOT For Example A user loads a tape cartridge previously recorded at 2 6 GB density The user then presses the Density Select button to sele...

Page 58: ...d the actual tape density differs from the density selected via the button The LED that reflects the actual density lights steadily The LED that reflects the SELECTED density blinks The Density Override lights steadily For example if the actual tape density is 10 0 GB and the selected density is 6 0 GB the 10 0 LED lights steadily the 6 0 LED blinks and the Density Override LED lights steadily 2 6...

Page 59: ... the Density Override LED blinks a density may be selected The tape drive is ready for use and the media is positioned at BOT No tape cartridge present The Tape in Use LED Off The Operate Handle LED On Insert Release Handle is unlatched Tape drive beeper sounds tone to signal that the handle may be raised and a tape cartridge inserted A tape cartridge is present but the handle is up not recommende...

Page 60: ...ect Check SCSI adapter documentation SCSI signal cable may be loose Ensure SCSI cable is fully seated at each connector end SCSI terminator may be loose or not present on the bus Ensure correct secure termination of bus SCSI bus may not be terminated correctly If tape drive is last or only device on bus except for adapter make sure terminator is installed on tape drive If tape drive is not the las...

Page 61: ...k on The LED s stop blinking as the drive attempts to reinitialize The LED s light steadily again then extinguish if the test succeeds Be sure to isolate the tape that was loaded in the drive and perform the Tape Cartridge Inspection Procedure described in appendix D 2 When loading a tape cartridge the LED s on the right side of the tape drive front panel are blinking The tape drive has detected a...

Page 62: ...Hardware Implementation 2 28 Quantum DLT 4000 Tape Drive ...

Page 63: ... of devices 2 To be backward compatible with SCSI 1 devices that support bus parity and that meet conformance level 2 of SCSI 1 3 To move device dependent intelligence to the SCSI 2 devices Important features of SCSI 2 implementation include the following Efficient peer to peer I O bus with up to 16 devices Asynchronous transfer rates that depend only on device implementation and cable length Logi...

Page 64: ...rks and or setmarks shall have transferred to the tape medium LOCATE 2Bh Optional Causes the target to position the logical unit to the specified block address in a specified partition When complete the logical position is before the specified position Prior to performing the load unload the target ensures that all data filemarks and or setmarks shall have transferred to the tape medium LOG SELECT...

Page 65: ...uests that the logical unit s block length limits capability be returned READ BUFFER 3Ch Optional Used in conjunction with the WRITE BUFFER command as a diagnostic function for testing target memory and the integrity of the SCSI bus This command does not alter the medium READ POSITION 34 h Optional Reports the current position of the logical unit and any data blocks in the buffer RECEIVE DIAG RESU...

Page 66: ...h the READ BUFFER command as a diagnostic for testing target memory and the integrity of the SCSI bus Used to update drive firmware from the host via the SCSI bus WRITE FILEMARKS 10h Mandatory Requests that the target write the specified number of filemarks or setmarks to the current position on the logical unit 3 3 SIGNAL STATES The following paragraphs describe signal values and SCSI ID bits 3 3...

Page 67: ...ll The signal is driven by all SCSI devices that are actively arbitrating SCSI ID Each SCSI device that is actively arbitrating asserts its unique SCSI ID bit The other seven or fifteen data bits are released The parity bit DB P or P1 can be released or driven true but is never driven false during this phase I T The signal is driven by the initiator drive or both as specified in the SELECTION and ...

Page 68: ...knowledge A signal driven by the initiator as an acknowledgment of receipt of data from a target or as a signal to a target indicating when the target should read the data out lines ATN attention A signal driven by an initiator to indicate that it has a message to send BSY busy An OR tied signal that indicates that the bus is in use C D control data A signal driven by a target that indicates wheth...

Page 69: ... the direction of data movement on the DATA BUS with respect to an initiator True indicates input to the initiator Also used to distinguish between SELECTION and RESELECTION modes MSG message A signal driven by a target during the MESSAGE phase REQ request A signal driven by a target to indicate a request for an information transfer to or from the initiator Each byte of data transferred is accompa...

Page 70: ...ition of RST to true For condition 1 the maximum time for a SCSI device to clear the bus is 1200 ns 1 2 µs from BSY and SEL first becoming both false If a SCSI device requires more than a bus settle delay to detect BUS FREE it clears the bus within a bus clear delay minus the excess time Bus Free Delay 800 ns Maximum time a SCSI device waits from its detection of BUS FREE until its assertion of BS...

Page 71: ...ve while using standard slow synchronous data transfers Negation Period 90 ns Minimum time that a drive negates REQ while using synchronous data transfers also the minimum time than an initiator negates ACK while using synchronous data transfers 1 Power On to Selection 10 s1 Recommended maximum time from power application until a drive is able to respond with appropriate status and sense data to t...

Page 72: ...rd or 100 to 500ns minimum fast synchronous 1 Recommended Time 3 5 SCSI BUS PHASES The SCSI architecture includes eight distinct phases 1 BUS FREE phase 2 ARBITRATION phase 3 SELECTION phase 4 RESELECTION phase 5 COMMAND phase 6 DATA phases In Out 7 STATUS phase 8 MESSAGE phases In Out The last four phases are called the information transfer phases The SCSI bus can never be in more than one phase ...

Page 73: ... SCSI buses parity errors are extremely rare If any are detected they should be addressed by improving the configuration of the SCSI bus A well configured SCSI bus in a normal environment should be virtually free of bus parity errors Bus parity errors cause the tape drive to retry the operation go to the STATUS phase or go to BUS FREE and prepare Sense Data Retrying of parity errors during Data Ou...

Page 74: ...lay 2 SCSI devices release all SCSI bus signals within one bus clear delay If a SCSI device requires more than one bus settle delay to detect the BUS FREE phase then it releases all SCSI bus signals within one bus clear delay minus the excess time to detect the BUS FREE phase The total time to clear the SCSI bus cannot exceed one bus settle delay plus one bus clear delay 3 5 2 ARBITRATION Phase Th...

Page 75: ...nal and SCSI ID bit when arbitration is lost The losing SCSI device returns to Step 1 If no higher priority SCSI ID bit is true on the DATA BUS the SCSI device wins the arbitration and asserts the SEL signal The winning SCSI device waits at least one bus clear delay plus one bus settle delay after asserting the SEL signal before changing any signals 3 5 3 SELECTION Phase The SELECTION phase allows...

Page 76: ...signal within a selection abort time of its most recent detection of being selected this is required for correct operation of the selection time out procedure The drive does not respond to a selection if bad parity is detected Also if more than two SCSI ID bits are on the DATA BUS the drive does not respond to selection Note that the initiator will release the SEL signal and may change the DATA BU...

Page 77: ...ection 3 5 4 RESELECTION Phase RESELECTION is an optional phase that allows a drive to reconnect to an initiator to continue an operation that was previously started by the initiator but was suspended by the drive The initiator determines that it is reselected when the SEL and I O signals and its SCSI ID bit are true and the BSY signal is false for at least one bus settle delay 3 5 4 1 Reselection...

Page 78: ...o deskew delays 14 Releases the SEL signal 15 The drive can then change the I O signal and the DATA BUS The initiator 16 Detects the SEL signal is false 17 Releases the BSY signal The drive 18 Continues asserting the BSY signal until it relinquishes the SCSI bus 3 5 4 2 Reselection Time Out Two optional time out procedures are specified for clearing the SCSI bus if the initiator waits a minimum of...

Page 79: ... ANSI SCSI specification refers to mini libraries as medium changers In this chapter the term mini libraries is used to describe these devices 5 The DLT 4000 supports block size of 1byte to 16 Mbytes 6 Disconnects from the SCSI bus are done at regular intervals during information transfer phases to allow other devices to access the bus These disconnects are user configurable via the Disconnect Rec...

Page 80: ...s settle delay before the assertion of the REQ signal of the first handshake and remain valid after the negation of the ACK signal at the end of the handshake of the last transfer of the phase After the negation of the ACK signal of the last transfer of the phase the drive can prepare for a new phase by asserting or negating the C D I O and MSG signals These signals can be changed together or indi...

Page 81: ...to request a command from the initiator 0 1 1 STATUS Drive to initiator Allows the drive to send status information be sent from the drive to the initiator 1 1 0 MESSAGE OUT Initiator to drive Allows the drive to request that message s be sent from the initiator to the drive the drive invokes this phase in response to the attention condition created by the initiator The drive handshakes byte s unt...

Page 82: ...e REQ signal 2 Initiator drives the DB 7 0 P signals to their desired values 3 Initiator delays at least one deskew delay plus a cable skew delay 4 Initiator asserts the ACK signal 5 When ACK is true at the drive drive reads the DB 7 0 P signals 6 Drive negates the REQ signal 7 Initiator can change or release the DB 7 0 P signals 8 Initiator negates the ACK signal 9 Drive can continue the transfer...

Page 83: ...dicates its acceptance of the data by asserting an ACK pulse 6 The drive waits at least the greater or these periods before again asserting REQ c A transfer period from the last transition of the REQ signal to true or d A negation period from the last transition of the REQ signal to false 7 The initiator waits at least the greater of these periods before reasserting ACK a A transfer period from th...

Page 84: ...Q and ACK signals do not change The C D I O MSG and DATA BUS signals can change When changing the DATA BUS direction from out initiator driving to in drive driving the drive delays driving the DATA BUS by at least a data release delay plus one bus settle delay after asserting the I O signal The initiator releases the DATA BUS no later than a data release delay after the transition of the I O signa...

Page 85: ...eptable initiator The initiator should reissue the command at a later time INTERMEDIATE GOOD 10h This status is returned instead of GOOD for commands issued with the LINK bit set 1 Following the return of this status the drive proceeds to the COMMAND phase for the transfer of the next linked command RESERVATION CONFLICT 18h This status is returned by the drive whenever a SCSI device attempts to ac...

Page 86: ...e SCSI bus has two asynchronous conditions Attention and Reset 3 6 1 Attention Condition The attention condition informs a drive that an initiator has a message ready The drive gets the message by performing a MESSAGE OUT phase The attention condition requires the following timing The initiator creates the attention condition by asserting ATN at any time except during the ARBITRATION or BUS FREE p...

Page 87: ...tiator should only assert the ATN signal during a RESELECTION phase to transmit a BUS DEVICE RESET or DISCONNECT message The initiator keeps the ATN signal asserted if more than one byte is to be transferred The initiator can negate the ATN signal at any time except it does not negate the ATN signal while the ACK signal is asserted during a MESSAGE OUT phase Normally the initiator negates the ATN ...

Page 88: ...d LUN for each initiator Unit Attentions are created as a result of the following circumstances Power on Bus reset Bus device reset message When the media may have changed asynchronously When another initiator has changed the mode parameters When a firmware microcode update has completed Two 2 queued Unit Attentions are not unusual For example if a drive is powered up and a cartridge is loaded pow...

Page 89: ...o end the MESSAGE OUT phase by negating ATN when it sends certain messages that are identified in Table 4 2 When a connection to the drive is established i e the drive is selected with ATN asserted the first message byte passed by the initiator must be either an IDENTIFY ABORT or BUS DEVICE RESET message If not the drive discards the message saves no status information and goes to the BUS FREE pha...

Page 90: ...ETE 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 ...

Page 91: ...ECT 07h In NO OPERATION 08h Out RESTORE POINTERS 03h In SAVE DATA POINTER 02h In Extended message Figure 4 1 described in Section 4 2 14 Two byte messages consist of two consecutive bytes The value of the first byte as defined in Table 4 1 determines which message is to be transmitted The second byte is a parameter byte that is used as defined in the message description A value of 1 in the first b...

Page 92: ...gth 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 A value of 0 for the Extended Message Length indicates that 256 bytes follow Extended Message Code The drive supports some Extended Messages They are 01h SYNCHRONOUS DATA TRANSFER REQUEST 8...

Page 93: ...e drive to clear all I O processes on the drive The message causes the drive to 1 Flush the contents of cache to tape and go to the BUS FREE phase 2 Execute a hard reset leaving it as if a Bus Reset had occurred The drive creates a Unit Attention condition for all initiators after accepting and processing a Bus Device Reset message The additional sense code is set to POWER ON RESET or BUS DEVICE R...

Page 94: ...iator introduces the DISCONNECT message Table 4 4 summarizes the drive s response Table 4 4 Drive Response to DISCONNECT Message BUS Phase Drive Response SELECTION The drive discards the DISCONNECT message and goes to BUS FREE COMMAND The drive discards the DISCONNECT message and goes to BUS FREE The ATTENTION request is ignored while the Command Descriptor Block is fetched The drive does not swit...

Page 95: ...on Field Description Identify The Identify bit must be set to 1 This identifies the message as an IDENTIFY message DiscPriv Disconnect Privilege The DiscPriv can be 0 provided that no other I O process is currently active in the drive If not set to 1 and other I O processes are currently active in the drive the drive returns BUSY status LUNTAR The Logical Unit Target Routine LUNTAR field must be s...

Page 96: ...TED ERROR message and then goes to the BUS FREE phase COMMAND The drive discards any Command Descriptor Block bytes fetched from the initiator sets the Sense Key to ABORTED COMMAND sets the Additional Sense Code to INITIATOR DETECTED ERROR MESSAGE RECEIVED It sends the CHECK CONDITION status and the COMMAND COMPLETE message and then goes to the BUS FREE phase DATA The drive discards the INITIATOR ...

Page 97: ...message the initiator sets the ATN signal before it releases ACK for the REQ ACK handshake of the message that has the parity error This provides an interlock so that the target can determine which message has the parity error If the target receives this message under any other condition it proceeds directly to the BUS FREE state by releasing the BSY signal signifying a catastrophic error The targ...

Page 98: ... the absence of a SAVE DATA POINTER message or to the value at the point at which the last SAVE DATA POINTER message occurred for that logical unit When the RESTORE POINTERS message is received as a target the target switches to the message in phase and returns MESSAGE REJECT 4 2 13 SAVE DATA POINTER Message 02h The SAVE DATA POINTER message is sent from the drive to direct the initiator to copy t...

Page 99: ...ge Code 01h 3 Transfer Period Min 50 32h 4 Transfer REQ ACK Offset Max 15 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 ...

Page 100: ...Messages 4 12 Quantum DLT 4000 Tape Drive ...

Page 101: ...s 5 1 OVERVIEW OF COMMAND AND STATUS PROCESSING The Quantum DLT 4000 tape drive supports the SCSI commands listed in Table 5 1 The subsection of this chapter that details each of the SCSI commands is listed in the Section column Table 5 1 Supported SCSI Commands Command Operation Code Section ERASE 19h 5 3 INQUIRY 12h 5 4 LOAD UNLOAD 1Bh 5 5 LOCATE 2Bh 5 6 LOG SELECT 4Ch 5 7 LOG SENSE 4Dh 5 8 MODE...

Page 102: ...ration 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 28 ...

Page 103: ...rt bus reset 5 Linked commands are supported 6 Untagged queuing is supported 5 1 1 SCSI Pointers SCSI architecture provides a set of three pointers called saved pointers for each I O process The three pointers are Command Status and Data When an I O process becomes active the three saved pointers are copied to the initiator as current pointers There is only one set of current pointers in the initi...

Page 104: ...ock An initiator communicates with the drive by sending a 6 or 10 byte Command Descriptor Block that contains the parameters for the specific command The SCSI command s operation code is always the first byte in the Command Descriptor Block and a control field is the last byte For some commands the Command Descriptor Block is accompanied by a list of parameters sent during the DATA OUT phase Figur...

Page 105: ...s to a value of 0 which specifies that the Logical Block Address specifies the first logical block of a range of logical blocks to be operated on by the command Transfer Length The transfer length field normally specifies the number of blocks to be transferred between the initiator and the drive For several commands the transfer length indicates the number of bytes not blocks to be sent For these ...

Page 106: ...d Flag Link Figure 5 2 Command Descriptor Block Control Field Data Format Table 5 3 Command Descriptor Block Control Field Field Descriptions Field Description Vendor Specific Bits These bits must be 0 Flag Bit The Flag bit is used in conjunction with the Link bit to notify the initiator in an expedient manner that a command has been completed Link Bit A Link bit set to 1 indicates that the initia...

Page 107: ...h command unless the command is terminated by one of the following events ABORT message BUS DEVICE RESET message Hard reset condition Unexpected disconnect The status code is contained in bits 1 through 5 of the status byte Bits 0 6 and 7 are reserved Table 5 4 describes the status codes returned by the drive NOTE In contrast to the BUSY status condition the DRIVE NOT READY Sense Key is returned a...

Page 108: ...een reserved for another initiator with a RESERVE UNIT command this status is never returned for INQUIRY or REQUEST SENSE commands 28h QUEUE FULL The drive cannot service the command at the moment and its Command Descriptor Block has been discarded Returned for a tagged command when all of the drive s internal command buffers are in use for instance 5 1 4 DATA Phase Command Components Many of the ...

Page 109: ...o the drive by the initiator as part of the command The DATA IN column lists the information sent to the initiator by the drive Numbers in parentheses after an item indicate the item s length in bytes In some cases additional length information is communicated during the DATA phase Table 5 6 DATA Phase Command Contents Command Length in CDB Data Out To Drive Data In To Initiator ERASE 0 INQUIRY Al...

Page 110: ... Offset and Allocation Length READ POSITION Allocation Position Identifier or SCSI Logical Address RECEIVE DIAGNOSTIC RESULTS Allocation Diagnostic Page RELEASE UNIT 0 REPORT LUNS Allocation Supported LUNS List REQUEST SENSE Allocation Sense Data 18 RESERVE UNIT 0 Extent List Option not supported REWIND 0 SEND DIAGNOSTIC Parameter List Diagnostic Page SPACE 0 TEST UNIT READY 0 VERIFY Transfer Data...

Page 111: ...new Unit Attentions for that initiator logical unit combination existing ones will be left queued however A LOAD command does not generate a Unit Attention for the initiator that issued the command since the transition to Ready is synchronous 5 1 6 Behavior at Power On and SCSI Bus Reset The following apply to the DLT 4000 tape drive s behavior at power on and or SCSI bus reset When the Quantum DL...

Page 112: ...a cache to be disabled unbuffered mode In this mode every WRITE command causes data to be written to the tape medium before the STATUS byte and the COMMAND COMPLETE message are returned to the host NOTE Unbuffered mode is NOT recommended due to the poor performance that may result The contents of the write data cache are written to the tape medium under the following circumstances When two or more...

Page 113: ...ds are supported as follows Name of Field How Field is Supported in SCSI Commands Logical Unit Number LUN for tape drive is 0 Reserved Reserved bits fields bytes and code values are set aside for future standardization and must be set to 0 If the drive receives a command that contains non zero bits in a reserved field or a reserved code value the command is terminated with a CHECK CONDITION status...

Page 114: ...ample 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 6 5 4 3 2 1 0 0 6 Bytes 0 6 7 MSB Parameter List Length 8 LSB The shorthand version of presentation is used in this manual due to space constraints ...

Page 115: ...ly 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 Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 19h 1 Logical Unit Number Reserved Immed Long 1 2 Reserved 3 Reserved 4 Reserved 5 Unused Reserved Flag Link Figure 5 3 ERASE Command Descriptor Block Data Format ...

Page 116: ...ration 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 NOTE The ERASE command results in no operation for the tape drive unless the Long bit is set to 1 Issuing the ERASE command awa...

Page 117: ...quiry The drive can provide two categories of data in response to an INQUIRY command Standard Inquiry Data and Vital Product Data Standard Inquiry Data contains basic data about the drive and Vital Product Data comprises several pages of additional data Each Vital Product Data page requires a separate INQUIRY command from the initiator An INQUIRY command is not affected by nor does it clear a Unit...

Page 118: ...tatus is returned if this field specifies an unsupported page code Table 5 9 lists the page codes for the Vital Product Pages supported by the drive Allocation Length Specifies the number of bytes of inquiry information the drive is allowed to return to the initiator during the command s DATA IN phase Error status is not returned if the value in this field truncates the requested information Table...

Page 119: ...2 ISO Version ECMA Version ANSI Version 3 AENC TrmIOP Reserved Response Data Format 4 Additional Length 33h 5 Reserved 6 Rsvd MChngr Reserved 7 RelAdr Wbus32 Wbus16 Sync Linked Rsvd CmdQue SftRe 8 15 Vendor Identification Quantum 16 31 Product Identification DLT4000 32 35 Product Revision Level hhss 36 55 Vendor Unique Bytes Figure 5 5 Standard Inquiry Data Page Data Format ...

Page 120: ...nufacturers Organization Version level Set to 0 ANSI Version 2 ANSI SCSI Level 2 SCSI 2 is supported AENC 0 Asynchronous Event Notification is not supported TrmlOp 0 Terminate I O Process The tape drive does not support the TERMINATE I O PROCESS message Response Data Format 2 This Standard Inquiry Data is in SCSI 2 format Additional Length 33h Tape drive uses this field to indicate the number of a...

Page 121: ...ntification The value in this field is DLT4000 Product Revision Level This field contains 4 bytes of ASCII data that provides the drive s software revision levels The first two bytes are the version number of servo code The second two bytes are the version number of the SCSI read write code When a firmware update is performed on the DLT drive this part of the revision level will change to reflect ...

Page 122: ...ersion 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 Mechanical Version 50 Media Loader Present Flag 51 Library Present Flag 52 55 Module Revision Figure 5 6 INQUIRY Vendor Unique ...

Page 123: ...ield test and engineering versions of code have non zero minor firmware version numbers for tracking purposes Version These field display the various version numbers in binary not ASCII Firmware Personality Numeric indicator of firmware personality For example firmware personality of 4 indicates OEM family 15 indicates OML family and 18 indicates OMX family Firmware Subpersonality Set to 1 indicat...

Page 124: ...a Pages that are supported by the drive The pages that are supported are The Unit Serial Number Page 80h The Firmware Build Information Page C0h Bit Byte 7 6 5 4 3 2 1 0 0 Peripheral Qualifier Peripheral Device Type 1 Page Code 00h 2 Reserved 3 Page Length 3 or more bytes 4 00h this page 5 80h Unit Serial Number Page 6 C0h Firmware Build Information Page VU Figure 5 7 Supported Vital Product Data ...

Page 125: ...mber 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 If the drive serial number is valid then it is reported otherwise the module serial number is reported The serial number can be found on the bar code label The serial number is returned...

Page 126: ...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 and READ WRITE Firmware checksums are given as binary numbers and are for positive firmware and EEPROM identification Firmware Build Date Firmware Build Date...

Page 127: ...d the device operates in the sequential mode of operation described below Once a media loader specific command has been issued however the sequential mode of operation is disabled and the UNLOAD command becomes a NO OPERATION If the tape drive is in the default sequential mode of operation and an UNLOAD command is received by the subsystem the current cartridge is unloaded and automatically moved ...

Page 128: ...AUTOLDMC 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 Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 1Bh 1 Logical Unit Number Reserved Immed 2 Reserved 3 Reserved 4 Reserved EOT Re Ten Load 5 Unused Reserved Flag Link Figure 5 10 LOAD UNLOAD Command Descriptor Block Data Format ...

Page 129: ... positioned at the beginning of Partition 0 If the Load bit is set to 1 and the medium is already loaded no action is taken If the medium was unloaded but the cartridge was not removed a Load command causes the tape to be loaded to Beginning of Partition BOP again and made ready If the Load bit is set to 0 and the medium is loaded the drive writes any buffered data and filemarks to the tape and th...

Page 130: ...locks 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 Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 2Bh 1 Logical Unit Number Reserved BT CP Immed 2 Reserved 3 6 MSB Block Address LSB 7 Reserved 8 Partition 9 Unused Reserved Flag Link F...

Page 131: ... filemarks CP Change Partition Since multiple partitions are not supported this bit must be set to 0 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 Block Address The Block Address field defines the SCSI Logical Block Address to which the media will be positioned These addresses start at...

Page 132: ...iption 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 Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 4Ch 1 Logical Unit Number 0 Reserved PCR SP 2 PC Reserved 3 Reserved 4 Reserved 5 Reserved 6 Reserved 7 8 MSB Parameter List Length LSB 9 Unused Reserved Flag Link Fig...

Page 133: ...ield defines the type of parameter values to be selected PC Type of Parameter Values 00b Current Threshold Values 01b Current Cumulative Values 10b Default Threshold Values 11b Default Cumulative Values All of these types of values are changeable using LOG SELECT When the PC field is set to 00b or 01b and the Parameter List Length is set to 0 the command terminates with a CHECK CONDITION status Se...

Page 134: ...request sense data is set to ILLEGAL REQUEST INVALID FIELD IN CDB The conditions that constitute errors are PCR bit is set to 1 and parameter list is not set to 0 SP bit is set to 1 A parameter list length that would cause a parameter within a valid page to be truncated or otherwise incompletely initialized 5 7 2 Operation of LOG SELECT The LOG SELECT command allows the initiator to modify and ini...

Page 135: ...CT Page Format Each log page begins with a 4 byte header followed by n number of log parameter blocks one block for each parameter code Each block except for parameter code 05h is comprised of 8 bytes The parameter block for code 05h is 12 bytes Bit Byte 7 6 5 4 3 2 1 0 0 Reserved Page Code 1 Reserved 2 3 MSB Page Length LSB Figure 5 13 LOG SELECT Log Page Header Format Table 5 17 LOG SELECT Log P...

Page 136: ... Log Parameters Format Table 5 18 LOG SELECT Log Parameters Field Descriptions Field Name Description Parameter Code Parameter Codes supported for the READ WRITE error counter pages are as follows Parameter Code Descriptions 00h Errors corrected with substantial delays 01h Errors corrected with possible delays 02h Total rewrites or rereads 03h Total errors corrected 04h Total times correction algo...

Page 137: ...e code set to INVALID FIELD IN PARAMETER LIST ETC Enable Threshold Comparison When set to 1 drive performs a comparison with threshold values once the cumulative value is updated Comparison criteria are defined in Threshold Met Criteria TMC If the comparison is met and the RLEC bit of MODE SELECT SENSE Control Page is set to 1 then a UNIT ATTENTION is generated for all initiators The additional se...

Page 138: ...es of the parameter value Parameter Value This field indicates the actual value of this log parameter 5 7 4 Error Detection Summary in LOG SELECT Pages The host issues a LOG SENSE command to initialize host resident software that allows determination of The log pages used by the drive The parameter codes and length of each parameter The following conditions constitute errors in the parameter block...

Page 139: ...ut its own hardware parameters or about the installed tape medium It is a complementary command to LOG SELECT Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 4Dh 1 Logical Unit Number 0 Reserved PPC SP 0 2 PC Page Code 3 Reserved 4 Reserved 5 6 MSB Parameter Pointer LSB 7 8 MSB Allocation Length LSB 9 Unused Reserved Flag Link Figure 5 15 LOG SENSE Command Descriptor Block Data Format ...

Page 140: ...onal sense code set to INVALID FIELD IN CDB SP Save Parameters Not supported must be set to 0 If for some reason the Save Parameters bit is set the command terminates with a CHECK CONDITION status with a sense key of ILLEGAL REQUEST and an ASC of INVALID FIELD IN CDB PC Page Control This field defines the type of parameter values to be returned PC Type of Parameter Values 00b Threshold Values 01b ...

Page 141: ...le if a page supports parameters 0 through 5 and the Parameter Pointer contains 3 then only parameters 3 4 and 5 are returned to the initiator Similarly if a page supports parameters 1 3 and 6 and the Parameter Pointer contains 2 then only parameters 3 and 6 are returned to the initiator If the Parameter Pointer is larger than the highest numbered parameter on the page then the target terminates t...

Page 142: ...etected by the drive relating to the LOG SENSE command descriptor block The request sense data is set to ILLEGAL REQUEST INVALID FIELD IN CDB Error conditions occur when A page is not supported The parameter pointer is larger than the highest numbered parameter on the page The SP bit is set to 1 The Allocation Length is smaller than the data being returned by the target PPC bit is set to 1 ...

Page 143: ...ge 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 Bit Byte 7 6 5 4 3 2 1 0 0 Reserved Page Code 00h 1 Reserved 2 3 MSB Page Length 07h LSB 4 00h 5 02h 6 03h 7 07h 8 32h 9 33h 10 3Eh Figure 5 16 Supported Pages Page Data Format ...

Page 144: ... Error LOG SENSE Header Format Table 5 20 Read Write Error 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 Page Length The Page Length field specifies the total number of bytes contained in this log page not including the four bytes that make up the header For example if the PPC bit...

Page 145: ... Read Write Error LOG SENSE Page Table 5 21 Log Parameters for Read Write Error LOG SENSE Page Field Descriptions Field Name Description Parameter Code Parameter Codes supported for the READ WRITE error counter pages are as follows Parameter Code Description 00h Errors corrected with substantial delays 01h Errors corrected with possible delays 02h Total rewrites or rereads 03h Total errors correct...

Page 146: ...old Comparison When set to 1 indicates that comparison to threshold is performed ETC of 0 indicates that the comparison is not performed This bit is set to 1 by MODE SELECT Default is 0 TMC Threshold Met Criteria This field is valid only if host sets ETC to 1 It determines the basis for comparison and is specified by host using LOG SELECT If the result of comparison is true cumulative threshold an...

Page 147: ...reated as data counters Parameter Length This field specifies the number of bytes of the parameter value Parameter Value This field indicates the actual value of this log parameter 5 8 4 Last n Error Events Page 07h This page returns one parameter at a time that contains the ASCII text for the specified event log The Parameter Number field in the CDB specifies the log event to return The log event...

Page 148: ... 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 Page Length The Page Length field specifies the total number of bytes contained in this log page not including the four bytes that make up the header ...

Page 149: ...e Field Descriptions Field Name Description Parameter Code Parameter Code values are assigned from 0 to 27 decimal where 0 is the oldest event stored and the highest Parameter Code returned is the most recent event Hex ASCII String for Event n The text of the parameter includes a Packet that is a value from 0 to 255 This internal number is assigned when the packet is written to EEPROM A value of 0...

Page 150: ... 2 1 0 0 Reserved Page Code 32h 1 Reserved 2 3 MSB Additional Length LSB Figure 5 21 Read Write Compression Ratio LOG SENSE Header Format Table 5 24 Read Write Compression Ratio 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 Additional Length The Additional Length field specifies t...

Page 151: ...ld Name Description Parameter Code Parameter Codes supported for the READ WRITE COMPRESSION RATIO page are as follows for codes 00h and 01h only codes 02h through 09h are detailed separately Parameter Code Description 00h READ Compression Ratio x 100 01h WRITE Compression Ration x 100 DU Disable Update Always 0 DS Disable Save Not supported This bit always set to 1 TSD Target Save Disable Not supp...

Page 152: ...6 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 the READ WRITE COMPRESSION RATIO page codes 02h through 09h are as follows Parameter Code Description 02h Mbytes Transferred to Host 03h Bytes Transferred to Host 04h Mbytes Read from Tape 05h Bytes Read from Tape 06...

Page 153: ... via a MODE SELECT command Parameter Codes 02h and 03h Report the count of bytes transferred from the tape drive to the initiator Parameter Code 02h reports the number of full megabytes transferred Parameter Code 03h reports the number of bytes less than a full megabyte that have been transferred Multiplying the counter returned for Parameter Code 02h by 1 048 576 and then adding the value of the ...

Page 154: ... that have been transferred Multiplying the counter returned for Parameter Code 06h by 1 048 576 and then adding the value of the counter returned by Parameter Code 07h results in the actual total bytes transferred from the initiator to the buffer Parameter Codes 08h and 09h Report the count of bytes written to the tape drive Parameter Code 08h reports the number of full megabytes transferred Para...

Page 155: ...er 000Fh contains the most recent Only head cleaning recovered errors more serious recovered errors are recorded when Sense Key is 1 all sense data are recorded when Sense Key is 3 or 4 This page begins with a 4 byte header followed by the log parameter blocks Bit Byte 7 6 5 4 3 2 1 0 0 Reserved Page Code 33h 1 Reserved 2 3 MSB Page Length LSB Figure 5 24 Device Wellness LOG SENSE Header Format Ta...

Page 156: ... Byte 7 6 5 4 3 2 1 0 0 Parameter Code 1 Reserved 2 DU DS TSD ETC TMC Rsvd LP 3 7 MSB Time Stamp LSB 8 11 MSB 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 ...

Page 157: ... to 1 TSD Target Save Disable Not supported This bit always set to 0 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 Time Stamp Power on hours when CHECK CONDITION occurred note that this is the number of power on hours of the total number of hours during the lifetime of the drive...

Page 158: ...is always 00010000h 0001h Device Cleaning Related Status 0002h Number of loads over the life of the tape drive Bit Byte 7 6 5 4 3 2 1 0 0 Reserved Page Code 3Eh 1 Reserved 2 3 MSB Page Length LSB Figure 5 26 Device Status LOG SENSE Header Format Table 5 29 Device Status LOG SENSE Header Field Descriptions Field Name Description Page Code The Page Code echoes the page code that was specified in the...

Page 159: ...h 0002h are supported Code Description 0000h Specifies device type For sequential type devices such as tape drives the value is always 00010000h 0001h Specifies device cleaning related status See Figure 5 28 0002h Specifies the number of loads over the lifetime of the tape drive DU Disable Update Always 0 DS Disable Save Not supported This bit always set to 1 TSD Target Save Disable When 0 indicat...

Page 160: ...List Parameter Always set to 0 parameter codes treated as data counter Bit Byte 7 6 5 4 3 2 1 0 0 Reserved ClnR ClnQ ClnEx 1 3 MSB Reserved LSB Figure 5 28 Log Parameters Format for Device Status LOG SENSE Page Parameter 0001h Cleaning Related Table 5 31 Log Parameters for Device Status LOG SENSE Parameter 0001h Cleaning Related Field Descriptions Field Name Description ClnR Set to 1 if a cleaning...

Page 161: ...A OUT phase Information for the drive is carried on a number of pages each of which serves to set the tape drive s operating parameters The MODE SELECT pages supported and the section of this manual that details each page are Page Code Description Section 01h READ WRITE Error Recovery Page 5 9 2 02h Disconnect Reconnect Page 5 9 3 0Ah Control Mode Page 5 9 4 0Fh Data Compression Page 5 9 5 10h Dev...

Page 162: ...h 1 Logical Unit Number PF Reserved SP 0 2 3 Reserved 4 Parameter List Length 5 Unused 00 Reserved Flag Link Mode Select 10 Command Descriptor Block Data Format Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 55h 1 Logical Unit Number PF Reserved SP 0 2 6 Reserved 7 8 Parameter List Length 9 Unused 00 Reserved Flag Link Figure 5 29 MODE SELECT 6 and 10 Command Descriptor Blocks Data Format ...

Page 163: ...e implemented so this bit must be set to 1 It is an ILLEGAL REQUEST to have page parameters while the PF bit is 0 SP Save Parameters Must be 0 If set this bit instructs the drive to save all savable pages and this is not supported on the tape drive 5 9 1 Mode Parameter List The following figure shows the format of the Mode Parameter List that is passed by the initiator to the tape drive during the...

Page 164: ...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 Page s The Page Code s of the pages that are a part of this MODE SELECT command 5 9 1 1 Mode Parameter Header The figure and table that follow provide an illustration and description of the fields that make up the MODE SELECT command s Mode Parameter head...

Page 165: ... and block size that is a multiple of 4 Kbytes there is no capacity loss Likewise when using the 10 or 20 GB format with compression disabled and block size a multiple of 8 Kbytes there is no capacity loss When writing 10 or 20 GB format with compression enabled and Buffered Mode disabled some capacity loss can occur The block packing feature is essentially disabled by turning off Buffered Mode If...

Page 166: ... 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 Bit Byte 7 6 5 4 3 2 1 0 0 Density Code 1 3 MSB Number of Blocks LSB 4 Reserved 5 7 MSB Block Length LSB Figure 5 32 MODE SELECT Mode Parameter Block Descriptor Data Format ...

Page 167: ...0 GB DLTtape III only 15 0 GB DLTtape IIIxt only 81633 bpi 64 track pairs serial cartridge tape 20 0 GB DLTtape IV only The density codes above are the preferred codes used to define density Additionally the following codes may be used though use of the Data Compression Page is preferred 80h 62500 bpi 64 track pairs serial cartridge tape 10 0 GB DLTtape III 15 0 GB DLTtape IIIxt without compressio...

Page 168: ...nd VERIFY commands that specify a fixed bit of 1 i e fixed block mode which also causes the transfer length in the command descriptor block to be defined as a block count If fixed bit is not equal to 1 this field is ignored 5 9 1 3 Mode Page Descriptors Following the MODE SELECT command s Mode Parameter Block Descriptor are the MODE SELECT pages each of which sets a different device parameter Each...

Page 169: ...scriptions 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 ...

Page 170: ...covery Page controls the drive s response to error conditions that arise during the course of READ and WRITE command processing Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 0 Page Code 01h 1 Additional Page Length 0Ah 2 Rsvd Rsvd TB Rsvd EER 1 PER DTE 0 DCR 0 3 Read Retry Count 4 7 Reserved 8 Write Retry Count 9 11 Reserved Figure 5 34 Error Recovery Page Data Format ...

Page 171: ...ves an unsupported Page Code or a Page field with values not supported or changeable In such cases no parameters are changed as a result of the command TB Transfer Block Not supported EER Enable Early Recovery Set to 1 always enabled PER Post Error Default is 0 If set to 1 this bit enables reporting of CHECK CONDITION to report recovered READ WRITE errors DTE Disable Transfer on Error Must be 0 No...

Page 172: ...2 1 0 0 PS 0 0 Page Code 02h 1 Additional Page Length 0Eh 2 Buffer Full Ratio 3 Buffer Empty Ratio 4 5 MSB Bus Inactivity Limit LSB 6 7 MSB Disconnect Time Limit LSB 8 9 MSB Connect Time Limit LSB 10 11 MSB Maximum Burst Time LSB 12 Reserved DTDC 13 15 Reserved Figure 5 35 Disconnect Reconnect Page Data Format ...

Page 173: ...e returns a CHECK CONDITION status with sense key set to ILLEGAL REQUEST if it receives an unsupported Page Code or a Page field with values not supported or changeable In such cases no parameters are changed as a result of the command Buffer Full Ratio Not supported Any value is ignored Buffer Empty Ratio Not supported Any value is ignored Bus Inactivity Limit Not supported Any value is ignored D...

Page 174: ...Disconnect is controlled by the other fields in this page 01b Once the data transfer of a command has been started a target does not attempt to disconnect until all the data to be transferred has been transferred 10b Reserved 11b Once the data transfer of a command has started a target does not attempt to disconnect until the command is complete If DTDC is a non zero value and the maximum burst si...

Page 175: ...as tagged queuing extended contingent allegiance asynchronous event notification and error logging Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 Rsvd Page Code 0Ah 1 Page Length 06 2 Reserved RLEC 3 Queue Algorithm Modifier 0 Reserved Qerr 0 DQue 0 4 EECA 0 Reserved RAENP 0 UAAENP 0 EAENP 5 Reserved 6 7 MSB Ready AEN Holdoff Period 0 LSB Figure 5 36 Control Mode Page Format Descriptor Data Format ...

Page 176: ...rror Log Sense Page specifically the TMC bit of the READ WRITE Error Log SENSE Page Page 2 and 3 described earlier in this manual The RLEC bit indicates whether the drive should return CHECK CONDITION status with sense key set to UNIT ATTENTION when one of the READ and WRITE error counters of the log pages reach a specified threshold Thresholds can be modified using LOG SELECT Queue Algorithm Modi...

Page 177: ...ressed 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 Bit Byte 7 6 5 4 3 2 1 0 0 Reserved Page Code 0Fh 1 Page Length 0Eh 2 DCE DCC 1 Reserved 3 DDE 1 RED 00 Reserved 4 7 MSB Compression Algorithm 10 LSB 8 11 MSB Decompression Algorithm 10 LSB 12 15 Reserved F...

Page 178: ...e sending it to the initiator Data compression must always be enabled RED Report Exception on Decompression The tape drive does not report exceptions on decompression boundaries between compressed and uncompressed data The RED field must be 00h Compression Algorithm The Compression Algorithm field indicates which compression algorithm the tape drive will use to process data from the initiator when...

Page 179: ...Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 0 Page Code 10h 1 Additional Page Length 0Eh 2 Res d CAP 0 CAF 0 Active Format 0 3 Active Partition 0 4 Write Buffer Full Ratio 5 Read Buffer Empty Ratio 6 7 MSB Write Delay Time LSB 8 DBR 0 BIS RSmk 0 AVC 0 SOCF 0 RBO 0 REW 0 9 Gap Size 0 10 EOD Defined 0 EEG SEW 1 Reserved 11 13 MSB Buffer Size at Early Warning 0 LSB 14 Select Data Compression Algorithm 15 Reserve...

Page 180: ...nge Active Format Not supported must be 0 Active Format Not supported Must be 0 Active Partition Only partition 0 is supported Setting this field to any other value causes rejection by the drive with a CHECK CONDITION status sense key ILLEGAL REQUEST set Write Buffer Full Ratio The drive sets this field to 0 The drive uses an automatic adaptive mechanism to adjust its Full Ratio according to the a...

Page 181: ...rt Early Warning EOM on READ Gap Size Not used must be 0 EOD Defined End of Data Defined This field must be set to 00h EEG Enable End of Data Generation Set to 1 This field indicates that the drive will generate an EOD The drive generates an EOD mark before any change of direction following a WRITE type operation This bit is ignored however on MODE SELECT SEW Synchronize at Early Warning Must be s...

Page 182: ...titions Parameters Page that is used to specify the medium partitions Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 0 Page Code 11h 1 Additional Page Length 06 2 Maximum Additional Partitions 0 3 Additional Partitions Defined 0 4 FDP 0 SDP 0 IDP 0 PSUM 0 Reserved 5 Medium Format Recognition 01 6 7 Reserved Figure 5 39 Medium Partition Page Format Descriptor Data Format ...

Page 183: ...t to ILLEGAL REQUEST if it receives an unsupported Page Code or a Page field with values not supported or changeable In such cases no parameters are changed as a result of the command Maximum Additional Partitions Not supported Must be 0 Additional Partitions Defined Must be 0 This field specifies the number of additional partitions to be defined for the tape based on the settings of the SDP and I...

Page 184: ...OM Vendor Unique Page Data Format The ASCII string has a parameter name followed by one or more space characters a parameter value and an ASCII line feed or null character When the string is parsed the parameter value is interpreted as shown in the following table Note that the parameter name may be in upper or lower case The savable parameters are saved over resets and power cycles Table 5 43 EEP...

Page 185: ...l 0 8 Default fixed block size DEFSEW ASCII Binary 1 1 To set default SEW parameter DISLDRAUTODMC ASCII Binary 1 1 To partially disable sequential loading with loader if any media loader command has been received DISUNBUFMODE ASCII Binary 0 1 The drive disables unbuffered mode i e it ignores the MODE SELECT buffered mode selection to turn off buffered mode if set ENACLNGLTRPT ASCII Binary 1 1 To r...

Page 186: ... Binary 1 1 To make non DLT density code act as the default density same as density code 0 if set ENBINQMEDCHGR ASCII Binary 0 1 0 Disable media changer bit 1 Enable media changer bit in byte 6 of INQUIRY data set if drive is in a media changer device FORCECOMP ASCII Binary 0 1 0 automatic2 1 Always compress unless front panel selection disables it FORCEDENSITY1 ASCII Decimal 0 1 0 automatic2 1 DL...

Page 187: ...ted in sequential mode if set LOADERLUN ASCII Decimal 1 1 1 7 LUN to report media loader device on LONGXPORTPAGE ASCII Binary 1 1 To report 18 or 6 bytes medium transport element status descriptor if parameter is on or off NODEFERRCVDERR ASCII Binary 0 1 The drive reports deferred recovered error as current recovered error if set NODISCONFXDBLK ASCII Binary 1 1 To turn on off feature that prevents...

Page 188: ...not rewind on BUS RESET or BDR message CAUTION May have partial block data written to tape if reset occurs during WRITE 1 Rewind the tape medium to BOT on reset SCSIBUSDMATIMER ASCII Decimal 2 1 The number of seconds until the drive times out waiting for ACK once DMA transfer started When set to 0 the timer is set to infinite SCSIINQVS ASCII Binary 0 1 To return vendor unique inquiry string if set...

Page 189: ...ue page the following figure shows a page that will modify the VENDORID parameter to XXXYY 0 0 0 Page Code 3Eh 1 Page Length 0Fh 2 v 76h 3 e 65h 4 n 6Eh 5 d 64h 6 o 6Fh 7 r 72h 8 i 69h 9 d 64h 10 20h 11 X 58h 12 X 58h 13 X 58h 14 Y 59h 15 Y 59h 16 LF A0h or 00h Figure 5 41 EEPROM Vendor Unique Page Vendor ID Example Data Format ...

Page 190: ... an EEPROM vendor unique page that modifies the FORCEDENSITY parameter to 1 0 0 0 Page Code 3Eh 1 Page Length 0Fh 2 F 46h 3 O 4Fh 4 R 52h 5 C 43h 6 E 45h 7 D 44h 8 E 45h 9 N 4Eh 10 S 53h 11 I 49h 12 T 54h 13 Y 59h 14 20h 15 1 31h ASCII 16 LF A0h or 00h Figure 5 42 EEPROM Vendor Unique Page Forced Density Example Data Format ...

Page 191: ...k descriptor length Table 5 44 Changeable Mode Parameters within MODE SELECT Page Parameter Default Minimum Maximum Header Buffered Mode Device Specific Byte 1 0 1 Block Descriptor Length 08h 00h 08h Block Descriptor Block Length 2 0 GB and 6 0 GB Mode 10 0 GB and 20 0 GB Mode 0 0 0 0 40000h FFFFFFh READ WRITE Error Recovery 01h PER bit 0 0 1 Control Mode 0Ah RLEC 0 0 1 Data Compression 0Fh DCE 1 ...

Page 192: ...k for the 10 byte MODE SENSE 5Ah follows on the next page Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 1Ah 1 Logical Unit Number Rsvd DBD Reserved 2 PC Page Code 3 Reserved 4 Allocation Length 5 Unused Reserved Flag Link Figure 5 43 MODE SENSE 6 Command Descriptor Block Data Format The 10 byte MODE SENSE command is required to request the Vendor Unique EEPROM parameter page due to the large amount of...

Page 193: ...Ah continued Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 5Ah 1 Logical Unit Number Rsvd DBD Reserved 2 PC Page Code 3 Reserved 4 Reserved 5 Reserved 6 Reserved 7 8 MSB Allocation Length LSB 5 Unused Reserved Flag Link Figure 5 44 MODE SENSE 10 Command Descriptor Block Data Format ...

Page 194: ...t Changeable Values 10 Report Default Values 11 Report Saved Values Page Code This field allows the host to select any specific page or all of the pages supported by the drive Allocation Length This field specifies the number of bytes that the host has allocated for returned MODE SENSE data An allocation length of zero indicates that the drive will return no MODE SENSE data This is not considered ...

Page 195: ...ollowing figures Bit Byte 7 6 5 4 3 2 1 0 0 Mode Sense Data Length 1 Media Type 2 WP Buffered Mode Speed 0 3 Block Descriptor Length 08h Figure 5 45 MODE SENSE 6 Data Header Data Format Bit Byte 7 6 5 4 3 2 1 0 0 1 MSB Mode Sense Data Length LSB 2 Media Type 3 WP Buffered Mode Speed 0 4 5 Reserved 6 7 MSB Block Descriptor Length 08h LSB Figure 5 46 MODE SENSE 10 Data Header Data Format ...

Page 196: ...that the tape is write enabled If set to 1 it indicates that the tape is write protected Buffered Mode This mode implements Immediate Reporting on WRITE commands via the Buffered Mode If the field is 0 then the drive does not report a GOOD status on WRITE commands until the data blocks are actually written to tape If the field is 1 then the drive reports GOOD status on WRITE commands as soon as th...

Page 197: ...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 Bit Byte 7 6 5 4 3 2 1 0 0 Density Code 1 3 MSB Number of Blocks 000000h LSB 4 Reserved 5 7 MSB Block Length LSB Figure 5 47 MODE SENSE Block Descriptor Data Format ...

Page 198: ...es may be used though use of the Data Compression Page is preferred these codes are only returned if they were set using the MODE SELECT command 80h 62500 bpi 64 track pairs serial cartridge tape 10 0 GB DLTtape III 15 0 GB DLTtape IIIxt without compression 81h 62500 bpi 64 track pairs serial cartridge tape 20 0 GB DLTtape III 30 0 GB DLTtape IIIxt with compression 82h 81633 bpi 64 track pairs ser...

Page 199: ... the variable length page descriptor Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 Page Code 1 Additional Page Length 2 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 ...

Page 200: ...es 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 Page codes and pages that are supported are Page Code Description SENSE SELECT Section 00h No Requested Page SENSE 01h READ WRITE Error Recovery Page BOTH 5 10 3 1 02h Disconnect Reconnect Page BOTH 5 10 3 2 0Ah Control M...

Page 201: ...ts the Error Recovery Page for READ and WRITE operations The format for the page is illustrated in the following figure Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 0 Page Code 01h 1 Additional Page Length 0Ah 2 Rsvd Rsvd TB Rsvd EER PER DTE 0 DCR 0 3 READ Retry Count 4 7 Reserved 8 WRITE Retry Count 9 11 Reserved Figure 5 49 Read Write Error Recovery Page Data Format ...

Page 202: ...recovered function is not supported EER Enable Early Recovery This function is always enabled must be 1 PER Post Error This bit enables reporting of CHECK CONDITION to report recovered READ WRITE errors Default is 0 DTE Disable Transfer on Error Set to 0 This feature is not supported DCR Disable ECC Correction Bit Set to 0 This feature is not supported READ Retry Count This field reports the maxim...

Page 203: ...0 0 PS 0 Page Code 02h 1 Additional Page Length 0Eh 2 Buffer Full Ratio 0 3 Buffer Empty Ratio 0 4 5 MSB Bus Inactivity Limit 0 LSB 6 7 MSB Disconnect Time Limit 0 LSB 8 9 MSB Connect Time Limit 0 LSB 10 11 MSB Maximum Burst Size LSB 12 Reserved DTDC 13 15 Reserved Figure 5 50 Disconnect Reconnect Page Data Format ...

Page 204: ...length is returned on MODE SENSE and must subsequently be set to the same value when performing MODE SELECT Buffer Full Ratio Not supported Buffer Empty Ratio Not supported Bus Inactivity Limit Not supported Disconnect Time Limit Not supported Connect Time Limit Not supported Maximum Burst Size The value in this field specifies the maximum amount of data to be transferred without disconnecting A v...

Page 205: ...tape drive returns a CHECK CONDITION status when one of the WRITE and READ counters has reached a specified threshold Bit Byte 7 6 5 4 3 2 1 0 0 Reserved Page Code 0Ah 1 Page Length 06 2 Reserved RLEC 3 Queue Algorithm Modifier 0 Reserved Qerr 0 DQue 0 4 EECA 0 Reserved RAENP 0 UAAENP 0 EAENP 5 Reserved 6 7 MSB Ready AEN Holdoff Period 0 LSB Figure 5 51 Control Mode Page Data Format ...

Page 206: ...ON 06h when one of its WRITE and READ error counters reaches a specified threshold as follows 0 Do not return UNIT ATTENTION when a threshold has been met 1 Return UNIT ATTENTION when a threshold is met Queue Algorithm Modifier Must be 0 Qerr Queue Error Must be 0 Dque Disable Queuing Must be 0 EECA Enable Extended Contingent Allegiance Not supported must be 0 RAENP Ready AEN Permission Asynchrono...

Page 207: ... The Data Compression page specifies parameters for the control of data compression Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 Rsvd Page Code 0Fh 1 Page Length 0E 2 DCE DCC Reserved 3 DDE 0 RED 0 Reserved 4 7 MSB Compression Algorithm LSB 8 11 MSB Decompression Algorithm LSB 12 15 Reserved Figure 5 52 Data Compression Page Data Format ...

Page 208: ...tor according to the setting of the DCE bit byte 02 bit 7 DDE Data Decompression Enable The value returned for this bit indicates whether data decompression is enabled or not 0 Data Decompression is Disabled 1 Data Decompression is Enabled Note that when the tape drive reads compressed data from tape it automatically decompresses the data before sending it to the initiator The value for this bit t...

Page 209: ...Byte 7 6 5 4 3 2 1 0 0 PS 0 0 Page Code 10h 1 Additional Page Length 0Eh 2 Rsvd CAP 0 CAF 0 Active Format 0 3 Active Partition 0 4 WRITE Buffer Full Ratio 0 5 READ Buffer Empty Ratio 0 6 7 MSB WRITE Delay Time LSB 8 DBR 0 BIS 0 RSmk AVC 0 SOCF 0 RBO 0 REW 0 9 Gap Size 0 10 EOD Defined 0 EEG 1 SEW 1 Reserved 11 13 MSB Buffer Size at Early Warning 0 LSB 14 Select Data Compression Algorithm 15 Reserv...

Page 210: ...c adaptive mechanism to dynamically adjust its ratio according to the average data rates over the SCSI bus READ Buffer Empty Ratio Indicates how empty the buffer should be before restarting reading from the medium The tape drive sets this to 0 unused since it uses an automatic adaptive mechanism to dynamically adjust its ratio according to the average data rates over the SCSI bus WRITE Delay Time ...

Page 211: ...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 The drive generates an EOD mark before any change of direction following a WRITE type operation SEW Synchronize at Early Warning Set to 1 Buffer Size at Early Warning Not supported must be 0 Select Data Comp...

Page 212: ...edium Partition Page The format for the page is illustrated in the following figure Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 0 Page Code 11h 1 Additional Page Length 06h 2 Maximum Additional Partitions 0 3 Additional Partitions Defined 0 4 FDP 0 SDP 0 IDP 0 PSUM 0 Reserved 5 Medium Format Recognition 01h 6 7 Reserved Figure 5 54 Medium Partition Page Data Format ...

Page 213: ...rforming MODE SELECT Maximum Additional Partitions Not supported Must be 0 Additional Partitions Defined This field specifies the number of additional partitions to be defined for the tape based on the settings of the SDP and IDP bits The maximum allowed is the value returned in the Maximum Additional Partitions field Since only one partition is supported this field must be 0 FDP Fixed Data Partit...

Page 214: ... retrieval the data is returned as follows Send a 10 byte MODE SENSE command to get the Parameter List The data returned by the 10 byte MODE SENSE command for the EEPROM page is in the form of a MODE SENSE 10 data header followed by block and page descriptors The data in the page descriptor is organized in the form of a parameter header followed by the actual parameter s value The parameter is as ...

Page 215: ...D 1EH This command enables or disables the unloading of the tape cartridge Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 1Eh 1 Logical Unit Number Reserved 2 3 Reserved 4 Reserved Prevent 5 Unused Reserved Flag Link Figure 5 55 PREVENT ALLOW MEDIUM REMOVAL Command Descriptor Block Data Format ...

Page 216: ...d 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 When all initiators have cleared their prevent states the UNLOAD button and UNLOAD commands are enabled By default after power up a hard reset or Bus Device Reset message the prevent medium removal function i...

Page 217: ...rs one or more data blocks or bytes to the initiator starting with the next block on the tape Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 08h 1 Logical Unit Number Reserved SILI Fixed 2 4 MSB Transfer Length LSB 5 Unused Reserved Flag Link Figure 5 56 READ Command Descriptor Block Data Format ...

Page 218: ...actual number of blocks read No more than transfer length blocks are transferred to the initiator and the tape is logically positioned after the block EOM side Fixed This bit specifies whether fixed length or variable length blocks are to be transferred and gives meaning to the Transfer Length field of the READ command When set to 0 variable block mode is requested A single block is transferred wi...

Page 219: ...t may be set if the drive determines that the tape is positioned past the PSEN marker The information fields contain the residue count The Additional Sense Code Qualifier fields are set Upon termination the medium is physically positioned before EOD and after the last block on tape The meaning of EOD is different for a READ command than for a WRITE related command EOM is reported only when the phy...

Page 220: ...D 05H The READ BLOCK LIMITS command directs the tape drive to report it s block length limits Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 05h 1 Logical Unit Number Reserved 2 4 Reserved 5 Unused Reserved Flag Link Figure 5 57 READ BLOCK LIMITS Command Descriptor Block Data Format ...

Page 221: ... Maximum Block Length LSB 4 5 MSB Minimum Block Length 0001h LSB Figure 5 58 READ BLOCK LIMITS Data Data Format Table 5 57 READ BLOCK LIMITS Data Field Descriptions Field Name Description Maximum Block Length The value in this field indicates the maximum block size The tape drive supports a maximum block length of 16 777 215 16 MB 1 for 10 GB or 20 GB format A maximum block length of 256 K bytes i...

Page 222: ...function for testing the drive s data buffer for possible diagnostic data and for checking the integrity of the SCSI bus Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 3Ch 1 Logical Unit Number Reserved Mode 2 Buffer ID 3 5 MSB Buffer Offset LSB 6 8 MSB Allocation Length LSB 9 Unused Reserved Flag Link Figure 5 59 READ BUFFER Command Descriptor Block Data Format ...

Page 223: ...set Buffer Offset Not supported must be 0 If any other value appears in this field the tape drive returns a CHECK CONDITION status with ILLEGAL REQUEST sense key set Allocation Length This field specifies the maximum number of bytes that the initiator has allocated for returning data 5 14 1 Combined Header and Data Mode In this mode the tape drive returns a 4 byte header followed by data bytes The...

Page 224: ...s data buffer 5 14 2 Data Mode In this mode the DATA IN phase contains only buffer data 5 14 3 Descriptor Mode In this mode a maximum of four bytes of READ BUFFER descriptor information is returned The tape drive returns the descriptor information for the buffer specified by the Buffer ID In this mode the drive does not reject the valid Buffer IDs with a CHECK CONDITION status but returns all zero...

Page 225: ... 9 Unused Reserved Flag Link Figure 5 62 READ POSITION Command Descriptor Block Data Format Table 5 60 READ POSITION Command Descriptor Block Field Descriptions Field Name Description BT Block Type This bit indicates how the position is to be interpreted Since the tape drive uses the same logical block regardless of the setting of this bit the setting is ignored The logical block address values in...

Page 226: ...kes the following format Bit Byte 7 6 5 4 3 2 1 0 0 BOP EOP Reserved BPU 0 Reserved 1 Partition Number 2 3 Reserved 4 7 MSB First Block Location LSB 8 11 MSB Last Block Location LSB 12 Reserved 13 15 MSB Number of Blocks in Buffer LSB 15 19 MSB Number of Bytes in Buffer LSB Figure 5 63 READ POSITION Data Format ...

Page 227: ...ion Unknown This bit is never set the setting of the Block Type BT bit of READ POSITION CDB does not affect the block address values returned First Block Location The block address associated with the current logical position the next block to be transferred between the target and initiator if a READ or WRITE command is issued Last Block Location The block address associated with the current physi...

Page 228: ... 5 4 3 2 1 0 0 Operation Code 1Ch 1 Logical Unit Number Reserved 2 Reserved 3 4 MSB Allocation Length LSB 5 Unused Reserved Flag Link Figure 5 64 RECEIVE DIAGNOSTIC RESULTS Command Descriptor Block Data Format Table 5 62 RECEIVE DIAGNOSTIC RESULTS Command Data Field Descriptions Field Name Description Allocation Length Specifies the number of bytes of diagnostic page results the drive is allowed t...

Page 229: ...formation following a CHECK CONDITION on a SEND DIAGNOSTIC command Bit Byte 7 6 5 4 3 2 1 0 0 Controller Present Flag 1 Controller Error Flag 2 Drive Present Flag 3 Drive Error Flag 4 Media Loader Present Flag 5 Media Loader Error Flag Flag set 1 failure Flag not set 0 not present or no error Figure 5 65 RECEIVE DIAGNOSTIC RESULTS Data Format This information indicates which of the main components...

Page 230: ...t 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 Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 17h 1 Logical Unit Number 3rd Pty Third Party Device ID Rsvd 2 Reserved 3 Reserved 4 Reserved 5 Unused Reserved Flag Link Figure 5 66 RELEASE UNIT C...

Page 231: ...the third party reservation option and if the tape drive is the same SCSI device specified in the Third Party Device ID field Third Party Device ID Required if the 3rdPty bit is 1 This field specifies the SCSI ID of the initiator whose third party reservation is being released This field must be set if the initiator of the original third party RESERVE is the source of the RELEASE Media Changer Con...

Page 232: ...tion Code A0h 1 5 Reserved 6 9 MSB Allocation Length LSB 10 Reserved 11 Unused Reserved Flag Link Figure 5 67 REPORT LUNS Command Descriptor Block Data Format Table 5 64 REPORT LUNS Command Descriptor Block Field Description Field Description Allocation Length If the Allocation Length is not sufficient to contain the logical unit number values for all configured logical units the device server sti...

Page 233: ...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 If the allocation length in the CDB is too small to allow transfer of information about all of the logical units configured the LUN list length value is not adjusted to...

Page 234: ...ed 3 Reserved 4 Allocation Length 5 Unused Reserved Flag Link Figure 5 69 REQUEST SENSE Command Descriptor Block Data Format Table 5 65 REQUEST SENSE Command Data Field Descriptions Field Name Description Allocation Length This field specifies the maximum number of sense bytes to be returned The tape drive terminates the transfer when this number of bytes has been transferred or when all available...

Page 235: ...ditional Sense Code and Additional Sense Code Qualifier The positional information provided reflects the logical position of the tape drive The tape drive returns information based on the non diagnostic data in its buffer as well as the data on tape medium Additionally bytes 25 through 28 contain the amount of tape to be written in 4 KB blocks REQUEST SENSE does not cause the drive to flush its bu...

Page 236: ...6 MSB Information Bytes LSB 7 Additional Sense Length 8 11 MSB 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 16 17 MSB Field Pointer LSB 18 Internal Status Code VU 19 20 Tape Motion Hours 21 24 Power On Hours 25 28 Tape Remaining Figure 5 70 REQUEST SENSE Data Format ...

Page 237: ... to End of Partition or Beginning of Partition ILI Incorrect Length Indicator This bit indicates that the requested logical block length did not match the logical block length of the data on the tape medium Only READ or VERIFY may cause this bit to be set Sense Key In most cases Additional Sense Code and or Qualifier information is available The codes and qualifiers are covered in detail in Table ...

Page 238: ...y specific field is as defined by the International Standard C D Command Data When set to 1 this field indicates that the illegal parameter is contained in the Command Descriptor Block A C D set to 0 indicates that the illegal parameter is in the Parameter List from the initiator BPV Bit Pointer Valid When set to 1 this field indicates that the Bit Pointer field is valid and designates which bit o...

Page 239: ...ific information 5h ILLEGAL REQUEST The Command Descriptor Block or supplied parameter data had an unsupported or illegal operation specified Check bytes 15 16 and 17 6h UNIT ATTENTION Unit Attentions are created after a device reset if the medium asynchronously becomes ready to the initiator if another initiator changes Mode Parameters and or if the firmware is updated 7h DATA PROTECTED The curre...

Page 240: ...r 48 00 IDE Message Received 51 00 ERASE Failure 53 01 Unload Tape Failure 5B 02 Log Counter at Maximum 80 02 Cleaning Requested 80 03 Soft Error Exceeds Threshold 02h 04 00 Unit Not Ready Cause Nonreportable NOT READY 04 01 Unit Not Ready Calibration in Process 04 02 Unit Not Ready LOAD Command Needed 04 03 Unit Not Ready Manual Intervention Needed 30 02 Incompatible Format 30 03 Unit Not Ready I...

Page 241: ...Address 3B 08 Repositioning Error 3B 0D Media Destination Element Full 3B 0E Media Source Element Empty 40 80 Diagnostic POST Failure ROM EDC Error 40 81 Diagnostic POST Failure RAM Failure 40 82 Diagnostic POST Failure Bad Drive Status 40 83 Diagnostic POST Failure Loader Diagnostics Failure 40 84 Diagnostic POST Failure POST Soft Failure 44 00 Internal Target Failure 44 83 SCSI Chip Gross Error ...

Page 242: ...5 00 Illegal LUN 26 00 Parameter List Error Invalid Field 26 01 Parameter List Error Parameter Not Supported 26 02 Parameter List Error Parameter Value Invalid 30 00 Incompatible medium cannot read medium 39 00 Saving Parameters Not Supported 3B 0D Media Destination Element Full 3B 0E Media Source Element Empty 3D 00 Invalid Bits in ID Message 53 02 Media Removal Prevented 82 00 Not Allowed if not...

Page 243: ...Data Phase Error 4E 00 Overlapped Commands Attempted 83 00 Can not Retry Read Write Data Transfer 0Dh VOLUME OVERFLOW No Additional Sense Code or Sense Code Qualifier 0Eh MISCOMPARE No Additional Sense Code or Sense Code Qualifier Medium Changer specific command Filemark End of Medium EOM and Incorrect Length Indicator ILI Bits Filemark byte 2 bit 7 EOM byte 2 bit 6 and ILI byte 2 bit 5 are names ...

Page 244: ...rdPty The third party reservation option for RESERVE UNIT allows an initiator to reserve a logical unit for another SCSI device This option is intended for systems that use COPY and is implemented by the tape drive If set to 1 logical unit is reserved for the SCSI device whose ID appears in the Third Party Device ID field The tape drive ignores any attempt made by any other initiator to release th...

Page 245: ...or attempts to perform any command except INQUIRY REQUEST SENSE or RELEASE UNIT the command is rejected with a RESERVATION CONFLICT status That logical unit ignores a RELEASE UNIT command issued by another initiator An initiator that holds a current reservation may modify that reservation for example to switch third parties by issuing another RESERVE UNIT command to the tape drive Medium Changer C...

Page 246: ...marker Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 01h 1 Logical Unit Number Reserved Immed 2 4 Reserved 5 Unused Reserved Flag Link Figure 5 72 REWIND Command Descriptor Block Data Format Table 5 70 REWIND Command Data Field Descriptions Field Name Description Immed Immediate If this bit is set to 1 the tape drive first writes any remaining buffered data to tape medium and adds an EOD marker It the...

Page 247: ...nd Data Field Descriptions Field Name Description PF Page Format Not supported must be 0 Selftst Self Test This bit is used in conjunction with DevOfl and UnitOfl to specify the type of testing to be done An explanation is provided in the following paragraphs DevOfl Device Offline This bit is used in conjunction with Selftst and UnitOfl to specify the type of testing to be done An explanation is p...

Page 248: ...evel 1 test has an execution time of approximately five 5 seconds Specify the Electronics Self Test by setting the Selftst bit to 1 and both the DevOfl and UnitOfl bits to 0 Read Write Functionality Test Level 2 Test The default version of this test does the following 1 Writes 500 32 KB records on track 0 2 Rewinds the tape 3 Reads the records 4 Positions to the beginning of track 1 5 Writes 500 3...

Page 249: ... 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 Default Parameters 1 0 1 Self Test Level 2 with Default Parameters 1 1 0 Self Test Level 1 with Default Parameters 1 1 1 Self Test Level 2 with Default Parameters Bit Byte 7 6 5 4 3 2 1 0 0 1 MSB Pattern Number Table 5 72 LSB 2...

Page 250: ...the diagnostic to be run If Maximum Number of Test Passes 0 the test will loop continuously A BUS RESET or a selection from the host sending an ABORT or BUS DEVICE RESET message terminates testing Default 1 Block Size This field specifies the size of the blocks to be used If this field is 0 random block sizes are used Default 8400 bytes DLTtape III media 64 K DLTtape IV media Block Count This fiel...

Page 251: ...returned position does not match the expected position 4h Hardware Error The Additional Sense Code ASC and any Additional Sense Code Qualifier ASCQ provide more specific information 5h ILLEGAL REQUEST Illegal bit settings in the SEND DIAGOSTIC command Eh Miscompare A compare error occurred during a READ operation Additional Sense Codes and Additional Sense Code Qualifiers that apply to SEND DIAGNO...

Page 252: ... 7 6 5 4 3 2 1 0 0 Operation Code 11h 1 Logical Unit Number Reserved Code 2 4 MSB Count LSB 5 Unused Reserved Flag Link Figure 5 75 SPACE Command Descriptor Block Data Format Table 5 76 SPACE Command Data Field Descriptions Field Name Description Code The code can be one of the following Space Code Space by 000b Blocks 001b Filemarks 010b Sequential Filemarks 011b End of Data For 2 6 GB and 6 0 GB...

Page 253: ...ct that has been written to tape before EOD When executing SPACE the tape drive implements the following hierarchy Highest BOM P or EOM P EOD Filemarks Lowest Blocks A SPACE command in the form SPACE N blocks will halt with GOOD status after the Nth block or with CHECK CONDITION status on any occurrence of Filemark EOD BOM P or EOM P A command SPACE N Filemarks will halt on the Nth Filemark or on ...

Page 254: ...n a TEST UNIT READY command Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 00h 1 Logical Unit Number Reserved 2 4 Reserved 5 Unused Reserved Flag Link Figure 5 76 TEST UNIT READY Command Descriptor Block Data Format Medium Changer Considerations When directed at the Media Changer Media Loader LUN this command returns CHECK CONDITION Sense Key or NOT READY if the MODE SELECT key is in the SERVICE mode a...

Page 255: ...ve to verify one or more blocks beginning with the next block on the tape Both CRC and EDCs are validated Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 13h 1 Logical Unit Number Reserved Immed BC Fixed 2 4 MSB Verification Length LSB 5 Unused Reserved Flag Link Figure 5 77 VERIFY Command Descriptor Block Data Format ...

Page 256: ...r When set to 1 the command is rejected Fixed This bit specifies whether fixed length or variable length blocks are to be verified When set to 0 variable block mode is requested A single block is transferred with the Verification Length specifying the maximum number of bytes the initiator has allocated for verification When the Fixed bit is set to 1 the Verification Length specifies the number of ...

Page 257: ...eports 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 Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 0Ah 1 Logical Unit Number Reserved Fixed 2 4 MSB Transfer Length LSB 5 Unused Reserved Flag Link Figure 5 78 WRI...

Page 258: ...gth is the block length defined in the MODE SELECT command Upon termination the tape is logically positioned after these blocks Transfer Length This field contains the length of the data transfer in bytes or blocks depending on whether Fixed or Variable block mode is selected When the Transfer Length is 0 no data is transferred and the current position on the logical unit is not changed Exception ...

Page 259: ...DMA engine SCSI bus interface hardware and SCSI bus integrity It is also used for downloading and updating DLT microcode firmware Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 3Bh 1 Logical Unit Number Reserved Mode 2 Buffer ID 00h 3 5 MSB Buffer Offset 000000h LSB 6 8 MSB Parameter List Data Length LSB 5 Unused Reserved Flag Link Figure 5 79 WRITE BUFFER Command Descriptor Block Data Format ...

Page 260: ...an 0 the command is rejected The target detects and rejects commands that would overrun the buffer Buffer Offset See Sections 5 26 1 through 5 26 4 for the appropriate settings 5 27 1 Write Combined Header and Data Mode 000b The data to be transferred is preceded by a 4 byte header consisting entirely of reserved bytes This header is discarded not stored within the buffer The buffer offset field m...

Page 261: ...ning CAUTION During the actual reprogramming of the FLASH EEPROM if any type of powerfail occurs or if the reprogramming fails before completion the tape drive subsystem becomes unusable and the tape drive must be replaced 5 27 4 Download Microcode and Save Mode 101b This mode is used to download and save the entire image at once or to download the image and save it or to cause a save operation af...

Page 262: ...marks 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 Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 10h 1 Logical Unit Number Reserved WSMk 0 Immed 2 4 MSB Number of Filemarks LSB 5 Unused Reserved Flag Link Figure 5 80 WRITE FILEMARKS Command Descriptor Block Data Format ...

Page 263: ...d may be used to force the tape drive to write any buffered WRITE data to the tape medium If the tape drive is in buffered mode and WRITE FILEMARKS is received the requested filemarks are appended to the data and the WRITE buffer contents are flushed to tape medium A value of 0 in the Number of Filemarks field indicates that no filemarks are to be written to the tape medium but still flushes any W...

Page 264: ...SCSI Commands 5 164 Quantum DLT 4000 Tape Drive ...

Page 265: ...and a bit flags format The bit flags format is used when there is no internal status code to report and can be quickly distinguished by checking to see if bit 7 of byte 18 is set to 1 Table A 1 Internal Status Codes Decimal Hexadecimal Description 0 0 No Meaning 1 1 Reed Solomon Error Correction Code Recovery 2 2 READ or WRITE Block Retry Soft Retry 3 3 REPOSITION Command Aborted 4 4 Controller Ha...

Page 266: ...5 0F Drive State Not Valid for Command 16 10 Drive Error 17 11 Drive Communication Timeout Error 18 12 Drive Unloaded 19 13 Unable to WRITE No CRC 20 14 Block to Append To Not Found 21 15 Data Synchronization Error READ after WRITE Not Happening 22 16 Missing Block s in Current Entity 23 17 Drive Hardware WRITE Protected 24 18 Reposition Target Not Found 25 19 Log Gap Encountered Blank Tape or No ...

Page 267: ...errun 38 26 Medium Changer Response Length Error 39 27 Medium Changer Detected Error 40 28 Invalid Source Slot 41 29 Invalid Destination Slot 42 2A Source Slot Empty 43 2B Destination Slot Full 44 2C Medium Changer Motion Error 45 2D Medium Changer Drive Interface Error 46 2E Medium Changer Slot Interface Error 47 2F Medium Changer Mechanical Error 48 30 Medium Changer Hardware Error 49 31 Medium ...

Page 268: ...rnal Status Bits Table A 2 Internal Status Bit Flags Bit No Description 0 If set to 1 Cleaning Light is Illuminated otherwise Light is off 1 2 Tape Directory Status Bits Bit 2 Bit 1 0 0 Good Status 0 1 Unknown Status 1 0 Partial Directory will be rebuilt when tape is undergoing READ WRITE 1 1 No Directory will be rebuilt when tape is undergoing READ WRITE 3 6 Reserved 7 If set to 1 the Internal St...

Page 269: ...mation in the event logs does not indicate that a tape drive or tape medium has failed but is useful in isolating problems that may be occurring The logs are maintained in a circular buffer a new entry overwrites the oldest existing entry At any point in time the most recent 14 logs are kept The EEPROM information packets can be retrieved via the SCSI 2 s LOG SENSE command with Page Code 07 Last n...

Page 270: ... Spurious 8524 Timer Interrupt Possible Tape Drive Controller PCB fault EE03h Spurious Level 5 Interrupt GPSP Possible Tape Drive Controller PCB fault EE04h Spurious Drive Comm Interrupt Possible Tape Drive Controller PCB fault EE05h Spurious Loader Comm Interrupt Possible Tape Drive Controller PCB fault EE06h Spurious Diag Comm Interrupt Possible Tape Drive Controller PCB fault EE08h Watch Dog Ex...

Page 271: ...obotics 0xA404 Calibration Log1 Error Entry Possible Cleaning Required Media 0xA405 Calibration Log2 Error Entry 2nd Part of Error Code 0xA404 Calibration Information 0xA406 EDC Error Detected by SCSI Port Code Possible Media Tape Drive Controller PCB 0xA407 Directory Read Fail 0xA408 Directory Write Fail 0xA409 Unload Information Statistics 0xA40B Media Quality Log Possible Media 0xA40C Spurious ...

Page 272: ...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 Bit Byte 7 6 5 4 3 2 1 0 13 Saved Max Overwrites 14 Saved Max Rereads 15 Saved Max Rewrites 16 Dir Called Mode 17 18 Tape Format when called 19 20 New Tape Format 21 Flags 22 Primary Status 23 Secondary Status 24 Reserved 25 Missing Block Count 26 Total Expected LBNs 27 2...

Page 273: ...cates a directory READ on LOAD A value of 2 indicates a directory WRITE on UNLOAD A value of 3 indicates a directory WRITE on WRITE from BOT Tape Format Called New These fields contain the TMSCP values for the tape format both prior to and after the directory operation Flags A bit mapped field that provides additional status information Bit Mask Meaning 0x01h READ on LOAD operation complete 0x02h ...

Page 274: ...Appendix B EEPROM Resident Bugcheck and Event Logs B 6 Quantum DLT 4000 Tape System ...

Page 275: ... code is installed If a powerfail occurs during the firmware update process when the new image is actually being programmed into the FLASH EEPROMs the tape drive s PCBA will be rendered unusable When performing a firmware update take all possible precautions to prevent power failure to the tape drive C 2 CREATING A FIRMWARE UPDATE TAPE To update the tape drive s PCBA firmware you need a tape cartr...

Page 276: ...ly 1286 512 bytes in size When making the update tape copy the image file to the tape media using a block size as defined in Table C 1 that is dd ltf and so on The tape must be uncompressed C 3 FIRMWARE UPDATE PROCEDURE This section describes the procedure to update the firmware of the tape drive s PCBA The update requires a cartridge that holds the update firmware image Firmware updates from a ho...

Page 277: ...on then press the UNLOAD button again within four 4 seconds The second press should take less than one 1 second d The TAPE IN USE and the WRITE PROTECT indicators will blink This indicates that the tape drive recognizes that the firmware update mode has been selected If you are unsuccessful in selecting the firmware update mode if for example pressing the UNLOAD button the second time requires lon...

Page 278: ...pe is reloaded at the beginning of tape BOT If the firmware image is valid the tape drive s PCBA controller s FLASH EEPROM is updated with the new firmware image The WRITE PROTECT and TAPE IN USE indicators flash again during the controller firmware update C 4 INTERPRETING THE RESULTS OF A FIRMWARE UPDATE Following a firmware update procedure two possible results can occur The firmware update cart...

Page 279: ...mware update 1 The tape is NOT a valid firmware update tape 2 The tape does not contain a valid firmware image No firmware update is attempted The WRITE PROTECT and TAPE IN USE indicators do not blink The drive resets and the tape remains loaded to signal that the firmware update was unsuccessful The tape contains a valid image but there is a failure when attempting to reprogram FLASH EEPROM The c...

Page 280: ...Appendix C Updating the Firmware C 6 Quantum DLT 4000 Tape Drive ...

Page 281: ...ypes of DLTtape cartridge DLTtape III 1100 feet cartridge gray brown plastic DLTtape IIIxt 1800 feet cartridge white plastic DLTtape IV 1800 feet cartridge black plastic Ensure that your tape backup solution performs reliably by following both the general handling guidelines described in this subsection HANDLING GUIDELINES Always keep each tape cartridge in its protective plastic case when it is n...

Page 282: ...ds are not generally a problem since their strength decreases as inverse of the distance from the source cubed Unless very near within a few inches a magnet or an electric motor there is no problem The earth exerts a magnetic field everywhere of less than about 0 5 Oersteds The field from a tape that is read by a recording head is about 100 Oer To disturb the information on the tape would require ...

Page 283: ...beeper has sounded its tone Overriding the drive handle will cause damage to both the media and the tape drive Do not use graphite pencils water soluble felt pens or other debris producing writing instruments on your labels Never erase a label replace it Make sure you place the unused cartridge labels in the protective box so that you do not inadvertently pick them up along with the cartridge duri...

Page 284: ...ve the tape cartridge from its protective plastic case 2 Look at the tape cartridge to check for any obvious cracks or other physical damage Look for broken or missing parts 3 Gently shake the tape cartridge Listen for any rattling or sounds of any loose pieces inside the cartridge If you hear anything loose inside do not use the cartridge 4 Hold the tape cartridge so that the end of the cartridge...

Page 285: ...second reel lock The reel locks can break if the cartridge is dropped This may be the cause of any rattling sound you hear when you gently shake the tape cartridge If this reel lock tab is not visible do not use the cartridge Also located on the bottom of the tape cartridge is the spring loaded hub Verify that the hub is centered within the circular opening in the tape cartridge Gently press the h...

Page 286: ...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 Using your thumb gently lift up on the tab and swing the door open Figure D 3 Inside the door you will see the tape and cartridge leader loop The loop should stick up about an eighth of an inch when viewed from the edge the loop must be a cl...

Page 287: ...lems No tape cartridge that exhibits the problems shown in the examples in Figure D 4 should be used in a DLT tape system Example 1 Swallowed Tape Cartridge Leader Example 2 Torn or Broken Leader Loop Example 3 Tape is Loosely Wound Figure D 4 Three Examples of Tape Cartridges with Damage Visible during Visual Inspection ...

Page 288: ...n their environmental limits you will greatly reduce any chance that you will experience problems with your tape cartridges or cause damage to your DLT tape system Respect your media as much as you do your data D 3 TAPE CARTRIDGE WRITE PROTECT SWITCH Each tape cartridge has a write protect switch that can be used to prevent accidental erasure of data Before inserting the tape cartridge into the ta...

Page 289: ...ite Protect Switch Positions Write Protect Switch Position Orange Indicator Result Before Loading the Cartridge Enabled Slide switch to left Visible Data cannot be written to the tape Existing data on the tape cannot be overwritten Additional data cannot be appended to the media Disabled Slide switch to right Not visible Unless the cartridge is write protected via software Data can be written to t...

Page 290: ...he tape drive s cartridge Insert Release handle If the green Operate Handle LED is blinking close the handle and wait for the LED to light steadily then lift the handle and insert the cartridge 2 Insert the cartridge Push the cartridge fully into the tape drive CAUTION To prevent failures and or damage to the handle assist the handle to its closed position Do not flip it down or otherwise treat it...

Page 291: ...cartridge from the drive return the cartridge to its plastic case to protect the cartridge from damage Close the Insert Release handle 1 Press the Unload button or issue an appropriate system software command The amber Tape in Use LED blinks as the tape rewinds CAUTION Do NOT rush removal of the tape cartridge premature removal can cause tape leader failure Wait until the Operate Handle LED lights...

Page 292: ...in this chapter for loading a cartridge into the tape drive When cleaning completes the Use Cleaning Tape LED turns off Operate Handle lights and the drive s beeper sounds a tone to alert you that the cartridge can be removed from the tape drive A data tape cartridge causes Use Cleaning Tape LED to light even after a cleaning tape has been used The data cartridge may be damaged Back up the data fr...

Page 293: ... using D 12 COMMAND COMPLETE message 4 5 Command descriptor block 5 4 Commands SCSI 3 1 5 13 Configuration 2 3 Connectors 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 Data cache 5 12 DATA phase command components 5 8 Density LED functionality 2 19 selecting 2 21 Density codes MODE SELECT 5 69 MODE ...

Page 294: ...ons 2 10 rackmount 2 8 setup 2 3 Interface type 1 4 J Jumper Disable enable parity 2 7 2 8 SCSI ID rackmount 2 4 SCSI ID tabletop 2 8 TERMPWR rackmount 2 6 TERMPWR tabletop 2 8 L Last n error events page B 1 LEDs description 2 17 functionality 2 18 density functionality 2 19 LINKED COMMAND COMPLETE 4 9 LINKED COMMAND COMPLETE with flag message 4 9 Loading a cartridge D 10 LOAD UNLOAD command 5 27 ...

Page 295: ...5 139 REQUEST SENSE command 5 141 Supported ASC ASCQ codes 5 147 Supported Sense Keys 5 146 RESERVE UNIT command 5 151 RESTORE POINTERS message 4 10 REWIND command 5 153 S Safety requirements 2 1 SAVE DATA POINTER message 4 10 SCSI ANSI implemented commands 3 1 ARBITRATION 3 12 Attention 3 24 BUS FREE 3 10 Bus conditions 3 24 bus phases 3 10 bus signal definitions 3 6 bus timing values 3 8 informa...

Page 296: ...ions acoustic noise emissions 1 9 electromagnetic emissions 1 7 EMI and safety certifications 1 8 environmental 1 5 interface type 1 4 non operating shock 1 6 non operating vibration 1 6 performance data 1 4 physical 1 3 power 1 7 recording media 1 10 reliability projected 1 8 shock 1 6 storage capacity 1 4 tape drive recording type 1 9 vibration 1 6 Status error reporting 5 7 Storage capacity 1 4...

Page 297: ... 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 ...

Page 298: ...Index Index 6 Quantum DLT4000 Tape Drive ...

Page 299: ......

Page 300: ...81 60043 04 A02 81 60043 04 A02 501 Sycamore Drive Milpitas CA 95035 408 894 4000 www quantum com November 10 2003 81 60043 04 A02 ...

Reviews: