6RIWZDUH ,QWHUIDFH *XLGH 6RIWZDUH ,QWHUIDFH *XLGH 6RIWZDUH ,QWHUIDFH *XLGH 4XDQWXP '; '; '; DQG '; '; 6HULHV $
Quantum DX-Series Software Interface Guide, 81-81495-01 A01, November 2005, Made in USA. Quantum Corporation provides this publication “as is” without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability or fitness for a particular purpose. Quantum Corporation may revise this publication from time to time without notice. COPYRIGHT STATEMENT Copyright 2005 by Quantum Corporation. All rights reserved.
Contents Preface Chapter 1 xxi Theory of Operation 1 Enhanced Data Protection Overview.............................................................. 1 SCSI-2 Implementation Philosophy ................................................................ 2 Medium Changer Elements.............................................................................. 2 Medium Transport Element...................................................................... 3 Storage Elements and Data Transfer ELements ..........
Initialize Element Status (07h) ........................................................................13 Initialize Element Status with Range (E7h) ..................................................14 Inquiry (12h)......................................................................................................16 Inquiry Command Data Format .............................................................16 Standard Inquiry Data Format ................................................................
Log Detection Summary in LOG SELECT Command Descriptor Block............................................................................... 152 Operation of LOG SELECT ................................................................... 152 Log Select Page Format.......................................................................... 153 Error Detection Summary in LOG SELECT Pages ............................ 157 Log Sense (4Dh)...............................................................................
Reserve Unit (16h) ..........................................................................................254 Rewind (01h) ...................................................................................................257 Send Diagnostic (1Dh) ...................................................................................258 Space (11h).......................................................................................................265 Test Unit Ready (00h) ..................................
Index 317 Quantum DX-Series Software Interface Guide vii
viii Quantum DX-Series Software Interface Guide
Figures Figure 1 Read Element Status Data General Structure......................... 57 Figure 2 Request Volume Element Address Data................................. 82 Figure 3 Fibre Channel Topologies .......................................................
Figures x Quantum DX-Series Software Interface Guide
Tables Table 1 DX30 Storage Elements ............................................................... 3 Table 2 DX100 Storage Elements ............................................................. 3 Table 3 DX3000 Storage Elements ........................................................... 4 Table 4 DX5000 Storage Elements ........................................................... 4 Table 5 SCSI-2 Terms .................................................................................
Tables xii Table 18 Device Identification VPD Logical Unit ..................................24 Table 19 Device Identification VPD World Wide Name ......................25 Table 20 Log Sense Command..................................................................26 Table 21 Supported Log Page ...................................................................28 Table 22 Medium Changer Statistics Page..............................................28 Table 23 Log Parameter .......................
Tables Table 47 Alternate Volume Tag Information ......................................... 69 Table 48 Release Command...................................................................... 71 Table 49 Report LUNS Command ........................................................... 73 Table 50 LUN Reporting Parameter List ................................................ 74 Table 51 Request Sense Command.......................................................... 75 Table 52 Request Sense Data ......
Tables xiv Table 75 Status Codes ..............................................................................114 Table 76 DATA-Phase Command Contents .........................................116 Table 77 ERASE COMMAND Descriptor Block - Data Format ........122 Table 78 INQUIRY Command Descriptor Block - Data Format........124 Table 79 INQUIRY Command Descriptor Block Field Descriptions .....................................................................
Tables Table 100 LOAD UNLOAD Command Descriptor Block Field Descriptions..................................................................... 144 Table 101 LOCATE Command Descriptor Block - Data Format......... 147 Table 102 LOCATE Command Descriptor Block Field Descriptions..................................................................... 148 Table 103 LOG SELECT Command Descriptor Block - Data Format. 149 Table 104 LOG SELECT Command Descriptor Block Field Descriptions........................
Tables xvi Table 122 Log Parameters Format for Read / Write Compression Ratio LOG SENSE Page (Parameter Codes 02h through 09h)......169 Table 123 Log Parameters for Read / Write Compression Ratio LOG SENSE Page Field Descriptions (Parameter Codes 02h through 09h) ..............................................................................170 Table 124 Mode Select (6) Command Descriptor Block Data Format ...............................................................................
Tables Table 143 Data Compression Page Format Descriptor - Data Format 188 Table 144 Data Compression Page Descriptor - Field Descriptions ... 189 Table 145 Device Configuration Page - Data Format............................ 190 Table 146 Device Configuration Page - Field Descriptions.................. 192 Table 147 Medium Partition Page Format Descriptor - Data Format. 195 Table 148 Medium Partition Page Descriptor - Field Descriptions ....
Tables xviii Table 170 Device Configuration Page - Data Format ............................219 Table 171 Device Configuration Page - Field Descriptions ..................220 Table 172 Medium Partition Page - Data Format ..................................222 Table 173 Medium Partition Page - Field Descriptions ........................223 Table 174 TapeAlert Page Format Descriptor - Data Format...............224 Table 175 TapeAlert Page Format Descriptor - Field Descriptions.....
Tables Table 193 RECEIVE DIAGNOSTIC RESULTS Command Data Field Descriptions..................................................................... 241 Table 194 RECEIVE DIAGNOSTIC RESULTS - Data Format ............. 242 Table 195 RELEASE UNIT Command Descriptor Block Data Format............................................................................... 243 Table 196 RELEASE UNIT Command Data - Field Descriptions ....... 243 Table 197 Report Luns Command ..........................................
Tables xx Table 217 TEST UNIT READY Command Descriptor Block Data Format ...............................................................................268 Table 218 VERIFY Command Descriptor Block - Data Format ...........269 Table 219 VERIFY Command Data - Field Descriptions ......................269 Table 220 WRITE Command Descriptor Block - Data Format ............271 Table 221 WRITE Command Data - Field Descriptions........................
Preface This guide describes the procedures and issues involved in the development of hierarchical mass storage software applications and utilities to communicate with the Quantum DX-Series enhanced data protection system and this includes the following models: • DX30 • DX100 • DX3000 • DX5000 Audience This guide is designed for use by software engineers who have a basic understanding of SCSI principles and technology.
Preface Document Organization xxii This guide is organized as follows: • Chapter 1, “Theory of Operation,” explains medium changer elements, events, operational sequences, configuration, error recovery, system performance, and diagnostic support issues. • Chapter 2, “Emulated Software Interfaces,” describes SCSI-2 terminology in relation to the DX-Series enhanced data protection system. This includes required and optional SCSI-2 messages, and operational commands.
Preface Notational Conventions This manual uses the following conventions: 0 Caution: Note: Cautions indicate potential hazards to equipment and are included to prevent damage to equipment. Cautions may advise you that failure to take or avoid an action could result in corrupt data or loss of data. Notes emphasize important information related to the main topic. Warning: Warnings indicate potential hazards to personal safety and are included to prevent injury.
Preface Related Documents Manuals associated with DX-Series system: Document Number Title Description 6513501 DX30/DX100 User’s Guide Contains sections on installation, operation, and diagnostic software. 6513503 DX30/DX100 Field Service Manual Provides removal and replacement instructions for all field replaceable units. 81-81493 DX3000/DX5000 User’s Guide Contains sections on installation, operation, and diagnostic software.
Preface 0 Technical Publications To comment on existing documentation send e-mail to: doc-comments@quantum.com 0 Visit the Quantum home page at: http://www.quantum.
Preface xxvi Quantum DX-Series Software Interface Guide
Chapter 1 1 Theory of Operation This chapter discusses these topics: • SCSI-2 Implementation Philosophy • Medium Changer Elements • Events • Operational Sequences Enhanced Data Protection Overview 1 The Quantum DX-Series system takes advantage of high speed hard drives to greatly reduce the time required for backup/restore functions and also improve confidence in completing the backup in the time allowed.
Chapter 1 Theory of Operation SCSI-2 Implementation Philosophy SCSI-2 Implementation Philosophy 1 Using the SCSI-2 standard, the DX-Series system is designed so that the host can adapt to changes in the configuration. For example, the host can detect a change in the number of virtual tape drives configured in the DXSeries system. The DX-Series system uses the SCSI-2 medium changer command set.
Chapter 1 Theory of Operation Medium Changer Elements Medium Transport Element 1 The medium transport element consists of the following component: • Virtual gripper This mechanism can hold a single cartridge and is considered to be a single medium transport element. It moves media between elements within the DX-Series system.
Chapter 1 Theory of Operation Medium Changer Elements DX100 Storage Elements Table 3 DX3000 Storage Elements Table 4 DX5000 Storage Elements 4 Number of arrays 1 to 16 Total number of virtual cartridges 2560 (250GB drives), 5120 (400GB drives) DX3000 Storage Elements Virtual tape drives 1 to 32 Virtual tape cartridges 1 to 80 per LUN Number of RAID Sets 1 to 2 Total number of virtual cartridges 1 to 400 per LUN (800 max) DX5000 Storage Elements Virtual tape drives 1 to 64 Virtual tape car
Chapter 1 Theory of Operation Events Events 1 Events are system conditions created by failures or operator actions, such as changing the DX-Series system state to offline. Some events appear as states on the control panel. Events are recorded in sense data. Depending on the interface, the host can obtain the sense data either in response to a Request Sense command or as an unsolicited message. The DX-Series system does not support asynchronous event notification.
Chapter 1 Theory of Operation Operational Sequences Operational Sequences 1 Operational sequences are listed in order of precedence.
Chapter 1 Theory of Operation Operational Sequences DX-Series Unit Inventory 1 • Browser indicates that the DX-Series system is performing the on-line initialization sequence • DX-Series system responds to these commands: • Inquiry • Request Sense • Log Sense • Mode Sense • All other commands return a Logical Unit is Not Ready check condition (SK=2 ASC=04 ASCQ=00) • DX-Series system performs an inventory of its elements • When initialization completes, the web based GUI changes to System
Chapter 1 Theory of Operation Operational Sequences Off-Line 1 Changing the DX-Series system status to Off-line through the web GUI causes the DX-Series system to go off-line. When a DX-Series system is placed off-line, this sequence is performed: 1 The local controller for the DX-Series system completes any currently processing command. 2 When all commands are complete, the web GUI displays System Off-Line. 3 The DX-Series system generates a Unit Standby Button Was Pressed event (SK=6 ASC=80 ASCQ=09).
Chapter 2 2 Emulated Medium Changer SCSI Commands This chapter describes the specific Small Computer Systems Interface (SCSI-2) terminology in relation to the DX-Series system. Table 5 lists the SCSI-2 terms and their equivalent DX-Series terms.
Chapter 2 Emulated Medium Changer SCSI Commands • Support asynchronous SCSI • Is intended for use with: • iSCSI 10, 100, 1000Mbit/sec.
Chapter 2 Emulated Medium Changer SCSI Commands Supported Operational Commands Supported Operational Commands 2 The DX-Series system supports all commands that the SCSI-2 specification indicates are required by all devices.
Chapter 2 Emulated Medium Changer SCSI Commands Supported Operational Commands 12 Command Name OperCode Type Test Unit Ready 00h Mandatory Write Buffer 3Bh Optional Quantum DX-Series Software Interface Guide
Chapter 2 Emulated Medium Changer SCSI Commands Initialize Element Status (07h) Initialize Element Status (07h) 2 This command allows the host to request an inventory of the tape cartridges held in a DX-Series system. The inventory reads each tape’s bar code. Inventory information is returned to the host, only if requested, using the Read Element Status command. The DX-Series system does not accept any other commands from the host during the inventory process.
Chapter 2 Emulated Medium Changer SCSI Commands Initialize Element Status with Range (E7h) Initialize Element Status with Range (E7h) 2 The Initialize Element Status with Range command allows the host to request an inventory of a range of elements in the DX-Series system. The DX-Series system conducts the inventory and determines if each element within the range contains a tape cartridge. The inventory reads each tape’s bar code (unless commanded not to).
Chapter 2 Emulated Medium Changer SCSI Commands Initialize Element Status with Range (E7h) • • • Range • Range value of 1 specifies performing the inventory over the range specified by the Starting Element Address and Number of Elements fields • A value of 0 specifies performing the inventory on all elements in the DX-Series system, ignoring the Starting Element Address and Number of Elements fields Starting Element Address and Number of Elements • These fields select the range of elements to be in
Chapter 2 Emulated Medium Changer SCSI Commands Inquiry (12h) Inquiry (12h) 2 The host uses the Inquiry command to determine devices attached to the SCSI bus and request a description from each device. Inquiry Command Data Format 2 The description provided by the DX-Series system identifies the device type, manufacturer, and nature of the SCSI interface. The format for this command data block is shown in table 9.
Chapter 2 Emulated Medium Changer SCSI Commands Inquiry (12h) • Page Code The Page Code (Byte 2 in table 9) specifies which page of vital product data information the target shall return. The supported Page Code is (80h) to return the Serial Number Page (see table 11). Standard Inquiry Data Format 2 Table 10 Standard Inquiry Data The format for the Standard Inquiry Data block returned by the DX-Series system to the initiator is shown in table 10.
Chapter 2 Emulated Medium Changer SCSI Commands Inquiry (12h) • • • Peripheral Qualifier • 0 indicates the specified DX-Series system is currently connected • 3 indicates the specified DX-Series system cannot be supported Peripheral Device Type • 08h indicates medium changer device • 1Fh indicates unknown or no device type used in conjunction with Peripheral Qualifier 3 RMB A Removable Medium Bit of 1 indicates medium is removable.
Chapter 2 Emulated Medium Changer SCSI Commands Inquiry (12h) • WBus16 1 bit value indicates the DX-Series system supports 16-bit wide transfers. • Sync Synchronous transfer value of 0 indicates the device does not support synchronous data transfer. • Linked Linked command value of 0 indicates the device does not support linked commands for this DX-Series system. • CMDQue Command queuing value of 0 indicates the device does not support tagged command queuing for this DX-Series system.
Chapter 2 Emulated Medium Changer SCSI Commands Inquiry (12h) • Product ID The product ID is selectable. The default product ID is P1000 and the alternate product ID are DX30 and DX100.
Chapter 2 Emulated Medium Changer SCSI Commands Inquiry (12h) Bit/Byte 7 6 5 4 3 2 4 00h - (this page) 5 80h - Unit Serial Number Page 6 83h - Device Identification Page 1 0 2 Unit Serial Number Page (80h) The Unit Serial Number Page (Byte 2 in table 9) specifies which page of vital product data information the target shall return. The supported Page Code is (80h) to return the Serial Number Page (see table 12).
Chapter 2 Emulated Medium Changer SCSI Commands Inquiry (12h) Table 13 Device Identification VPD Page 83h Bit/Byte 0 7 6 5 4 3 Peripheral Qualifier (0) 2 1 0 Peripheral Device Type (8) 1 Page Code (83h) 2 Reserved (00h) 3 Page Length (n-3) Identification Descriptor list 4 Identification descriptor (first) . . .
Chapter 2 Emulated Medium Changer SCSI Commands Inquiry (12h) Bit/Byte 7 6 4 3 2 1 0 Identifier length (n-3) 3 4 5 (MSB) Identifier (LSB) n • Code set The code set field specifies the code set used for the identifier field, as described in table 15. This field is intended to be an aid to software that displays the identifier field.
Chapter 2 Emulated Medium Changer SCSI Commands Inquiry (12h) • Identifier Type. The identifier type is described in table 17 Table 17 Identifier Type Table 18 Device Identification VPD Logical Unit Value Description 00h Reserved 1h Vendor ID followed by the product identification field from the standard inquiry data and the serial number field from the Serial Number Inquiry Page.
Chapter 2 Emulated Medium Changer SCSI Commands Inquiry (12h) Table 19 Device Identification VPD World Wide Name Bit/Byte 0 1 7 6 5 4 3 Protocol Identifier (0) Rsvd (0) 2 1 0 Code Set (1) Association (0) Identifier Type (2) 2 Reserved (0) 3 Identifier Length (8) MSB 4-11 IEEE extended Unique Identifier LSB Quantum DX-Series Software Interface Guide 25
Chapter 2 Emulated Medium Changer SCSI Commands Log Sense (4Dh) Log Sense (4Dh) 2 The Log Sense command (see table 20) retrieves statistical information maintained by the logical unit. Data is returned from the logical unit in the Medium Changer Statistics Page (see table 22).
Chapter 2 Emulated Medium Changer SCSI Commands Log Sense (4Dh) • Logical Unit Number Logical Unit Number must be set to 0. Field indicates the logical unit to which the command is sent. • PPC Parameter Pointer Control field is not supported and must be set to 0. • SP Save Parameters field is not supported and must be set to 0. • PC Page Control field defines type of parameter values to be selected. Only cumulative values are supported, therefore this field must be set to 1.
Chapter 2 Emulated Medium Changer SCSI Commands Log Sense (4Dh) Table 21 Supported Log Page Bit/Byte 7 6 5 4 Reserved (0) 0 3 2 1 0 Page Code (00h) Reserved (00h) 1 (MSB) 2 Page Length (0002h) (LSB) 3 SUPPORTED PAGE LIST • 4 (00h) 5 (30h) Page Length Field specifies length in bytes of the supported page list. • Supported Page List List of all log page codes supported.
Chapter 2 Emulated Medium Changer SCSI Commands Log Sense (4Dh) Bit/Byte 7 6 5 4 3 2 1 0 . . Log Parameter (Last) x-7 - x • Page Length Field specifies length in bytes of the log parameter list. • Log Parameter Each log parameter begins with a 4-byte parameter header followed by 4 bytes of parameter value data. For the log parameter format, see table 23.
Chapter 2 Emulated Medium Changer SCSI Commands Log Sense (4Dh) • ETC Enable Threshold Comparison. Not supported, always 0. • TMC Threshold Met Criteria. Not supported, always 0. • LP List Parameter. Not supported, always 0. • Parameter Length All log parameter values supported in the Medium Changer Statistics page have a length of 4 bytes. • Parameter Value The cumulative count of parameter as described in table 24.
Chapter 2 Emulated Medium Changer SCSI Commands Log Sense (4Dh) Parameter Code Description Size (bytes) 8023 Reserved 4 8024 Reserved 4 8025 Reserved 4 8026 Reserved 4 8030 Reserved 4 8031 Reserved 4 8032 Reserved 4 8033 Reserved 4 8035 Reserved 4 8036 Reserved 4 8040 Reserved 4 8041 Reserved 4 8042 Reserved 4 8043 Reserved 4 8044 Reserved 4 8045 Reserved 4 8050 Reserved 4 8051 Reserved 4 8052 Reserved 4 Quantum DX-Series Software Interface Guide
Chapter 2 Emulated Medium Changer SCSI Commands Mode Select (15h) Mode Select (15h) 2 The Mode Select command provides a means for the host to specify parameters to the DX-Series system.
Chapter 2 Emulated Medium Changer SCSI Commands Mode Select (15h) The PLL field indicates the length of the parameter list. The list length should reflect the combined length of all data pages being sent with the Mode Select command. Mode Select Data pages are shown in table 26, table 27, and table 28. The format for Mode Select Vendor Unique Page 20h is shown in table 26.
Chapter 2 Emulated Medium Changer SCSI Commands Mode Select (15h) • • ADU-Auto Drive Unload • When this bit is set to 1, the DX-Series system unloads a tape drive as part of the Move Medium command (default condition) • When set to 0, the auto drive unload feature is disabled EXB-Exabyte Emulation • When this bit is set to 1, the DX-Series system emulates an Exabyte EXB-120 - this setting changes the SCSI command set’s behavior • When set to 0, the DX-Series system SCSI interface operates in the d
Chapter 2 Emulated Medium Changer SCSI Commands Mode Select (15h) • UInit Not supported. • Parity Not supported.
Chapter 2 Emulated Medium Changer SCSI Commands Mode Select (15h) Bit/Byte 7 4 (MSB) 6 5 4 3 2 1 0 Number of Medium Transport Elements (0001h) (LSB) 5 6 (MSB) First Storage Element Address (LSB) 7 8 (MSB) Number of Storage Elements (LSB) 9 10 (MSB) First Import Export Element Address (LSB) 11 12 (MSB) Number of Import Export Elements (LSB) 13 14 (MSB) First Data Transport Element Address (LSB) 15 16 (MSB) Number of Data Transport Elements (LSB) 17 18 Reserved (0000h) 19 • PS - Pa
Chapter 2 Emulated Medium Changer SCSI Commands Mode Select (15h) • First Storage Element Address Field specifies the first storage element contained in the medium changer. • Number of Storage Elements Field defines total number of storage elements contained in the medium changer. • First Import/Export Element Address Field specifies the first import/export element contained in the medium changer. The DX-Series system does not support First Import/ Export Element Address.
Chapter 2 Emulated Medium Changer SCSI Commands Mode Select (15h) 38 Parameter Default Minimum Maximum DLR(20h) 0 0 1 ADU(20h) 1 0 1 Quantum DX-Series Software Interface Guide
Chapter 2 Emulated Medium Changer SCSI Commands Mode Sense (1Ah) Mode Sense (1Ah) 2 The SCSI Mode Sense command provides a general method for a host to obtain current parameter settings of a target device. The host selects the set parameters to be returned by setting the Page Code field in the command block. This code selects the page of parameter information to be returned by the target.
Chapter 2 Emulated Medium Changer SCSI Commands Mode Sense (1Ah) Table 30 Mode Sense Command Bit/Byte 7 6 5 3 2 1 0 Operation Code (1Ah) 0 Logical Unit Number 1 Rsrvd (0) DBD PC 2 • 4 Reserved (00) Page Code 3 Reserved (00h) 4 Allocation Length 5 Reserved (00h) Logical Unit Number The Logical Unit Number field must be set to 0. This field indicates the logical unit to which the command is sent.
Chapter 2 Emulated Medium Changer SCSI Commands Mode Sense (1Ah) • • Otherwise, the current setting for each parameter is always the same as the setting that parameter had when the DX-Series system was turned on Page Codes The valid page codes are: • 00h — Vendor Unique Page, length 44h • 1Dh — Element Address Assignment Page, length 18h • 1Eh — Transport Geometry Parameters Page, length 08h • 1Fh — Device Capabilities Page, length 18h • 20h — Vendor Unique Page, length 08h • 3Fh — Return All
Chapter 2 Emulated Medium Changer SCSI Commands Mode Sense (1Ah) • Device-Specific Parameter Field is reserved for medium changer devices. • Block Descriptor Length Field is reserved for medium changer devices. The format for Mode Sense Vendor Unique Page 00h is shown in table 32.
Chapter 2 Emulated Medium Changer SCSI Commands Mode Sense (1Ah) • • NBL - No Bar Code Labels • Field is valid only if the AInit field value is 1-when the DX-Series system performs an inventory due to going on-line, and NBL field is 1, bar codes are not scanned and primary volume tags are set to empty • If this field is set to 0, when the DX-Series system performs an inventory due to going on-line, bar codes are scanned and their value placed in the corresponding primary volume tag NRDC - Not Ready D
Chapter 2 Emulated Medium Changer SCSI Commands Mode Sense (1Ah) Bit/Byte 7 8 (MSB) 6 5 4 3 2 1 0 Number of Storage Elements (LSB) 9 10 (MSB) First Import Export Element Address (LSB) 11 12 (MSB) Number of Import Export Elements (LSB) 13 14 (MSB) First Data Transport Element Address (LSB) 15 16 (MSB) Number of Data Transport Elements (LSB) 17 18 Reserved (0000h) 19 • PS-Parameters Savable This bit is always set to 1 indicating this page can be saved to nonvolatile memory.
Chapter 2 Emulated Medium Changer SCSI Commands Mode Sense (1Ah) • First Storage Element Address Field identifies the first storage element contained in the medium changer. • Number of Storage Elements Field defines total number of storage elements contained in the medium changer. • First Import/Export Element Address Field identifies the first import/export element contained in the medium changer. Tech Tip: • The DX-Series system does not support First Import/ Export Element Address.
Chapter 2 Emulated Medium Changer SCSI Commands Mode Sense (1Ah) Table 34 Mode Sense Data - Trans. Geometry Para. Page Bit/Byte 7 6 5 0 PS (0) Rsrvd (0) 4 3 2 1 0 Page Code (1Eh) Parameter Length (02h) 1 TRANSPORT GEOMETRY DESCRIPTOR Reserved (00h) 2 3 • Rotate (0) Member Number In Transport Element Set (00h) PS- Parameters Savable This bit of 0 indicates the target is not capable of saving the page in a nonvolatile vendor-specific location.
Chapter 2 Emulated Medium Changer SCSI Commands Mode Sense (1Ah) Table 35 Mode Sense Data - Device Capabilities Data Bit/Byte 7 6 0 PS (0) Rsrvd (0) 1 2 5 4 3 2 1 0 Page Code (1Fh) Parameter Length (12h) Reserved (0h) StorDTa StorIEb StorSTc StorMTd (0) (1) (1) (1) Reserved (0h) 3 4 Reserved (0h) MT→DT (1) 5 Reserved (0h) ST→MT ST→DT ST→IE (0) ST→ST (1) (1) (1) 6 Reserved (0h) IE→DT (0) IE→IE (0) IE→ST (0) IE→MT (0) 7 Reserved (0h) DT→DT DT→ST DT→IE (0) (1) (1) DT→MT (1) 8 -
Chapter 2 Emulated Medium Changer SCSI Commands Mode Sense (1Ah) The XX→YY fields indicate if a transfer from an element of type XX is possible to an element of type YY. A 1 in any of these fields indicates that all Move Medium commands where the source element is type XX and destination element is type YY are supported. A 0 in these fields indicates the move may or may not be valid depending on the particular element requested. The DX-Series system does not support the Exchange Medium command.
Chapter 2 Emulated Medium Changer SCSI Commands Mode Sense (1Ah) • • AC-Auto Clean • If this bit is set to 1 the current state of automatic drive cleaning is “enabled” • When it is set to 0, the feature is “disabled” DLR-Drive Load Retry This bit is ignored. Can be set to 1 or 0 for compatibility.
Chapter 2 Emulated Medium Changer SCSI Commands Move Medium (A5h) Move Medium (A5h) 2 The host uses the Move Medium command to move a tape cartridge from one element to another within a DX-Series system. The host specifies the source element and the destination element in the command block. The DX-Series system then moves the tape cartridge contained in the source element to the empty destination element.
Chapter 2 Emulated Medium Changer SCSI Commands Move Medium (A5h) Bit/Byte 7 4 (MSB) 6 5 4 3 2 1 0 Source Element Address (LSB) 5 6 (MSB) Destination Element Address (LSB) 7 8 Reserved (0000h) 9 10 11 • Reserved (00h) Invert (0) Reserved (00h) Logical Unit Number The Logical Unit Number must be set to 0. This field indicates the logical unit to which the command is sent.
Chapter 2 Emulated Medium Changer SCSI Commands Position To Element (2Bh) Position To Element (2Bh) 2 The Position To Element command is used by the host to position the medium transport element in front of another element within a DX-Series system. The host specifies the destination element in the command block. The DX-Series system then moves the transport element in front of the destination element.
Chapter 2 Emulated Medium Changer SCSI Commands Position To Element (2Bh) Bit/Byte 7 6 5 4 3 2 1 0 6 Reserved (00h) 7 8 Reserved (00h) 9 • Invert (0) Reserved (00h) Logical Unit Number The Logical Unit Number must be set to 0. This field indicates the logical unit to which the command is sent. • Transport Element Address The default medium transport element address of 0 or the medium transport element address specified by the mode sense data can be used.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) Read Element Status (B8h) 2 The host can determine the status of any DX-Series system element by issuing a Read Element Status command. The command can specify the element type: • Medium Transfer • Storage • Import/Export Tech Tip: The DX-Series system does not support import/ export.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) Bit/Byte 7 6 5 4 3 2 0 Reserved (00h) 6 (MSB) 7 Allocation Length 8 (LSB) 9 • 1 10 Reserved (00h) 11 Reserved (00h) Logical Unit Number The Logical Unit Number is 0. • • VolTag • The Volume Tag field (VolTag) indicates whether the volume tag information associated with each tape cartridge should be returned as part of the status information.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) • • 4 indicates data transfer elements Starting Element Address and Number of Elements These fields are used to select the range of elements to report. Within this range, no status information is reported for an undefined element address.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) Figure 1 Read Element Status Data General Structure Read Element Status Data Read Element Status Data Header Element Status Data Page (first or only) Element Status Data Page Header Element Descriptor (first or only) . . . Other Element Descriptors (if any) . . . Other Status Data Pages (if any) A single Read Element Status Data Header is returned along with one or more element status pages.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) Table 40 Read Element Status Data Bit/Byte 7 0 (MSB) 6 5 4 3 2 1 0 First Element Address Reported (LSB) 1 (MSB) 2 Number of Elements Reported (LSB) 3 Reserved (00h) 4 (MSB) 5 Byte Count of Report Available 6 (LSB) 7 8-X • One or More Element Status Page(s) First Element Address Reported Indicates element address of element with smallest element address found to meet the command description block request.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) The page header (bytes 0-7) defines the contents of the element descriptors for the elements of that type. The format of a status page is shown in table 41.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) • Byte Count of Descriptor Data Available Byte Count of Descriptor Data Available indicates the number of bytes (minus 7) of descriptor data (excluding this header) that are returned for the descriptors of the specified type if an adequate allocation length had been specified There are 4 types of element descriptor blocks, 1 for each element type.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) Bit/Byte 7 6 5 4 3 2 12 - 47 Primary Volume Tag Information (Field omitted if PVolTag = 0) 48 - 51 Reserved (00000000h) 1 0 52 Vendor Unique (0000h) 53 • Element Address This field indicates the address of the element being reported by that element descriptor.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) Table 43 Primary Volume Tag Information Bit/Byte 7 6 5 4 3 2 1 0 Volume Identification Field 12 - 43 44 Reserved (0000h) 45 46 Volume Sequence Number (0000h) 47 • Volume Identification Field A left justified sequence of ASCII characters representing the bar code scanned from the cartridge followed by blanks 20h. • Volume Sequence Number This field is reserved and set to 0.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) Bit/Byte 7 6 5 4 3 2 1 0 10 Source Storage Element Address 11 12 - 47 Primary Volume Tag Information (Field omitted if PVolTag = 0) 48 - 51 Reserved (00000000h) 52 Vendor Unique (0000h) 53 • Element Address This field indicates the address of the element being reported by that element descriptor.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) These fields are only valid if the Exception field is set to 1. SValid • • The SValid bit is set to 1 if the information in the Source Storage Element Address field is valid • If information is unknown (due to a door open or power on condition), the SValid bit is set to 0 Invert The Invert field is not supported and is set to 0.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) Bit/Byte 7 6 9 SValid Invert (0) 5 4 3 2 1 0 Reserved (00h) 10 Source Storage Element Address 11 12 - 47 Primary Volume Tag Information (Field omitted if PVolTag = 0) 48 - 51 Reserved (00000000h) 52 Vendor Unique (0000h) 53 • Import Element The Import Enable field indicates if the element can import a tape cartridge into the DX-Series system.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) • • • • Information on the abnormal state is available in the Additional Sense Code and Additional Sense Code Qualifier fields in that element descriptor.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) Table 46 Data Transfer Element Descriptor Bit/Byte 7 0 (MSB) 6 5 4 3 2 1 0 Element Address (LSB) 1 Reserved (0h) 2 Access Except 3 Reserved (00) 4 Additional Sense Code 5 Additional Sense Code Qualifier 6 Not Bus Rsrvd ID Valid LU Valid Rsrvd 7 SCSI Bus Address 8 Reserved (00h) 9 SValid Invert (0) Rrsvd (0) Full Logical Unit Number Reserved (00h) 10 Source Storage Element Address 11 12 - 47 Prim
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) • Access An access bit value of 1 indicates access to the element by a medium transport element is allowed.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) • SValid • • The SValid bit is set to 1 if information in the Source Storage Element Address field is valid • If information is unknown (due to a door open or power on condition) the SValid bit is set to 0 Invert The invert field is not supported and is set to 0. • Source Storage Element Address The Source Storage Element Address represents the address of the last storage element that held the cartridge.
Chapter 2 Emulated Medium Changer SCSI Commands Read Element Status (B8h) Bit/Byte 7 6 5 4 3 4 - 16 Drive Serial Number 17 - 35 Reserved • Drive Serial Number This field is 12 bytes.
Chapter 2 Emulated Medium Changer SCSI Commands Release (17h) Release (17h) 2 The Release command releases the DX-Series system or elements that match the specified release parameters. Note: Table 48 Release Command It is not an error to attempt to release the DX-Series system if it is not currently reserved by the requesting initiator. However, if the DX-Series system is reserved by another initiator, the DX-Series system is not released.
Chapter 2 Emulated Medium Changer SCSI Commands Release (17h) • • If the 3rdPty bit is 1, the unit or elements released were originally reserved by the same initiator using the 3rd party reservation option, and if the device is the same SCSI device that was specified in the 3rd party device ID (3rd Party ID) field Element ID The Element field specifies whether this command is a Unit Release.
Chapter 2 Emulated Medium Changer SCSI Commands Report LUNS (A0h) Report LUNS (A0h) 2 The Report LUNS command requests that the peripheral device logical unit numbers of known logical units in the target be sent to the applications client. The command only returns information about the logical units to which commands may be sent.
Chapter 2 Emulated Medium Changer SCSI Commands Report LUNS (A0h) Table 50 LUN Reporting Parameter List Bit/Byte 7 6 5 4 3 2 1 0 (MSB) LUN List Length (n-7) 0-3 (LSB) Reserved 4-7 (MSB) 8-15 LUN (first LUN) (LSB) . . . n-7 - n LUN (last LUN, if more than one) 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.
Chapter 2 Emulated Medium Changer SCSI Commands Request Sense (03h) Request Sense (03h) 2 The Request Sense command allows the host to receive sense data from the DX-Series system. The DX-Series system supports reporting of current errors only. A current error (error code 70h) is returned when the error was generated during the execution of a command indicating the check condition. The DX-Series system supports unit attention condition queuing as described in the SCSI-2 specification.
Chapter 2 Emulated Medium Changer SCSI Commands Request Sense (03h) Table 52 Request Sense Data Bit/Byte 7 0 Valid (0) 6 5 4 3 2 1 0 Error Code (70h) Segment Number (00h) 1 2 Filemark (0) 3 (MSB) EOM (0) ILI (0) Rsrvd (0) Sense Key 4 Information Bytes (00000000h) 5 (LSB) 6 Additional Sense Length (0Dh) 7 8 (MSB) 9 Command Specific Information Bytes (0h) 10 (LSB) 11 12 Additional Sense Code 13 Additional Sense Code Qualifier 14 Field Replaceable Unit Code (00h) 15 SKSV (0)
Chapter 2 Emulated Medium Changer SCSI Commands Request Sense (03h) Bit/Byte • 7 6 5 4 3 21 Reserved 22 Reserved 23 Reserved 2 1 0 Valid This field is set to 0 indicating that the field is not being used. • Segment Number, Filemark, EOM, and ILI These fields are not supported and are set to 0.
Chapter 2 Emulated Medium Changer SCSI Commands Request Sense (03h) • Command-Specific Information and Field Replaceable Unit Code These fields are not supported and are set to 0.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) Request Volume Element Address (B5h) Tech Tip: 2 The DX-Series system does not support Request Volume Element Address (B5h). The Request Volume Element Address command reports the element descriptors found by a Send Volume Tag command.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) • Logical Unit Number The Logical Unit Number is 0.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) • • Beginning with the first defined element with an address greater than or equal to the Starting Element Address, all defined, typematching elements are reported until reports for the indicated number of elements have been returned Allocation Length This field specifies how much memory the host has set aside to store the status information returned by the DX-Series system.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) Figure 2 Request Volume Element Address Data Request Volume Element Address Data Request Volume Element Address Data Header Element Status Data Page (first or only) Element Status Data Page Header Element Descriptor (first or only) . . . Other Element Descriptors (if any) . . . Other Status Data Pages (if any) A single Volume Element Address Header is returned along with 1 or more element status pages.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) Table 54 Volume Element Address Header Bit/Byte 7 6 0 (MSB) 5 4 3 2 1 0 First Element Address Reported (LSB) 1 2 (MSB) Number of Elements Reported (LSB) 3 4 5 Reserved (00h) Send Action Code (05h) (MSB) 6 Byte Count of Report Available (LSB) 7 8-X • One or More Element Status Page(s) First Element Address Reported This field indicates the element address of the element with the smallest element addre
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) The page header (bytes 0-7) contains information that defines the contents of the element descriptors for the elements of that type. The format of a status page is shown in table 55.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) The Byte Count of Descriptor Data Available indicates the number of bytes (minus 7) of descriptor data (excluding this header) that are returned for the descriptors of the specified type if an adequate allocation length had been specified. There are 4 different types of element descriptor blocks, one for each type of element.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) Bit/Byte 7 6 5 4 3 2 1 0 Reserved (00000000h) 48 - 51 52 Vendor Unique (0000h) 53 • Element Address This field indicates the address of the element being reported by that element descriptor.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) • Volume Sequence Number This field is reserved and set to 0.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) Bit/Byte 7 6 5 4 3 2 3 Reserved (00h) 4 Additional Sense Code 5 Additional Sense Code Qualifier 1 0 6 Reserved (000000h) 7 8 SValid 9 Invert (0) Reserved (00h) 10 Source Storage Element Address 11 12 - 47 Primary Volume Tag Information (if present) 48 - 51 Reserved (00000000h) 52 Vendor Unique (0000h) 53 • Element Address This field indicates the address of the element being reported by that ele
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) • • Full • The Full field is set to 1 whenever the element contains a tape cartridge • It is set to 0 otherwise Additional Sense Code and Additional Sense Code Qualifier These fields are only valid if the Exception field is set to 1.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) Table 60 Import/ Export Element Descriptor Bit/Byte 7 0 (MSB) 6 5 4 3 2 1 0 Element Address (LSB) 1 Reserved (0) 2 Import Export Import Access Except Enable Enable Export 3 Reserved (00h) 4 Additional Sense Code 5 Additional Sense Code Qualifier Full 6 Reserved (000000h) 7 8 SValid 9 Invert (0) Reserved (00h) 10 Source Storage Element Address 11 12 - 47 Primary Volume Tag Information (if prese
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) • Export Enable The Export Enable field indicates whether the element can export a tape cartridge from the DX-Series system. It is set to 1 (01h).
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) • • If the information is unknown the SValid bit is set to 0 Invert The Invert field is not supported and is set to 0. • Source Storage Element Address The Source Storage Element Address represents the address of the last storage element that held the cartridge. The SValid field indicates whether this information is valid.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) Bit/Byte 7 6 5 4 3 2 48 - 83 Alternate Volume Tag Information (Field omitted if AVolTag = 0) 84 - 87 Reserved (00000000h) 1 0 88 Vendor Unique (0000h) 89 • Element Address This field indicates the address of the element being reported by that element descriptor. • Access An access bit value of 1 indicates access to the element by a medium transport element is allowed.
Chapter 2 Emulated Medium Changer SCSI Commands Request Volume Element Address (B5h) • • SValid bit is set to 1 if information in the Source Storage Element Address field is valid • If information is unknown (due to a door open or power on condition), the SValid bit is set to 0 Invert The Invert field is not supported and is set to 0. • Source Storage Element Address The Source Storage Element Address represents the address of the last storage element that held the cartridge.
Chapter 2 Emulated Medium Changer SCSI Commands Reserve (16h) Reserve (16h) 2 This command reserves the specified DX-Series system or elements for exclusive use by the requesting initiator or another specified SCSI device.
Chapter 2 Emulated Medium Changer SCSI Commands Reserve (16h) unit. If, after honoring an Element Reservation, any other initiator issues a command other than Release to that element, the command is rejected with a Reservation Conflict status. A Release command issued by another initiator is ignored by the reserved element.
Chapter 2 Emulated Medium Changer SCSI Commands Reserve (16h) • • An initiator that holds a current reservation may modify that reservation (for example, to switch third-parties) by issuing another Reserve Unit to the DX-Series system Element and Reservation ID The field specifies if this command is a Unit Release.
Chapter 2 Emulated Medium Changer SCSI Commands Reserve (16h) If the Link bit is 1 and the Flag bit is 0, and the task completes successfully, the drive continues the task and returns a status of INTERMEDIATE and a LINKED COMMAND COMPLETE message. If the Link bit and the Flag bit within a Control word are both set to 1, and the drive completes a command with a status of INTERMEDIATE, the drive returns a LINKED COMMAND COMPLETE message (with Flag).
Chapter 2 Emulated Medium Changer SCSI Commands Rezero Unit (01h) Rezero Unit (01h) 2 The Rezero Unit command allows the host to home all DX-Series system mechanisms. The format of the Rezero Unit command is shown in table 64. Table 64 Rezero Unit Command Bit/Byte 7 6 5 3 2 1 0 Operation Code (01h) 0 1 4 Logical Unit Number Reserved (00h) 2 3 Reserved (000000h) 4 5 • Reserved (00h) Logical Unit Number The Logical Unit Number is 0.
Chapter 2 Emulated Medium Changer SCSI Commands Send Diagnostic (1Dh) Send Diagnostic (1Dh) 2 The DX-Series system includes a built-in self-test. This test is automatically performed when the DX-Series system is turned on. It can also be performed by issuing the Send Diagnostic command to the DXSeries system. • If the self-test passes, a Good status is returned • If the self-test fails, a check condition status is returned and the sense key is set to Hardware Error.
Chapter 2 Emulated Medium Changer SCSI Commands Send Diagnostic (1Dh) • Self Test, DevOfL and UnitOfL Table 66 illustrates how the “Seltst,” “DevOfl,” and “UnitOfl” bits determine which test to be performed.
Chapter 2 Emulated Medium Changer SCSI Commands Send Volume Tag (B6h) Send Volume Tag (B6h) 2 The Send Volume Tag command evaluates element descriptors found by a Send Volume Tag command. The type of element (medium transfer, storage, import/export or data transfer) can be specified in the command as well as the starting address for evaluation. The format of the Send Volume Tag command is shown in Table 67.
Chapter 2 Emulated Medium Changer SCSI Commands Send Volume Tag (B6h) • • 0 indicates all element types reported • 1 indicates medium transport element • 2 indicates storage element • 3 indicates import/export element • 4 indicates data transfer elements Starting Element Address The Starting Element Address field specifies the starting point of the Volume Tag evaluation.
Chapter 2 Emulated Medium Changer SCSI Commands Send Volume Tag (B6h) Bit/Byte 7 6 5 4 3 2 1 0 36 Reserved (0000h) 37 38 (MSB) Maximum Volume Sequence Number (0000h) 39 • (LSB) Volume ID Template Field The search template to be evaluated by the translate function. This may contain the ‘?’ and ‘*’ wildcards, where ‘?’ match any single character and ‘*’ match any number of characters. Any characters that follow the ‘*’ wildcard are ignored.
Chapter 2 Emulated Medium Changer SCSI Commands Test Unit Ready (00h) Test Unit Ready (00h) 2 The host uses the Test Unit Ready command to determine if a DX-Series system is ready.
Chapter 2 Emulated Medium Changer SCSI Commands Test Unit Ready (00h) 106 Quantum DX-Series Software Interface Guide
Chapter 3 3 Emulated DLT7000 SCSI Commands This chapter describes the SCSI protocol features implemented in the DLT7000 tape system. Note that the sections included in this chapter do not fully reiterate every ANSI SCSI message, option, and/or command code specification; the sections do describe the supported commands, messages, options, and error recovery procedures.
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing Overview of Command and Status Processing 3 The Quantum DLT7000 tape system supports the SCSI commands listed in table 70. The subsection of this chapter that details each of the SCSI commands is listed in the “Section” column.
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing Command Operation Code Rewind 01h Send DiagnostiC 1Dh Space 11H Test Unit Ready 00h Verify 13H Write 0Ah Write Buffer 3bH Write Filemarks 10h Note: Relative Addressing is not supported by the tape drive. Therefore, in all I/O commands, the RelAdr bit must be 0. RESERVE UNIT and RELEASE UNIT by Logical Unit Number are supported, as are third-party reservations. Extent reservations are not supported.
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing to the initiator as current pointers. There is only one set of current pointers in the initiator at one time. The current pointers point to the next command, data, or status byte to be transferred between the initiator's memory and the drive. The saved and current pointers reside in the initiator. The saved command pointer always points to the start of the Command Descriptor Block for the I/O process.
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing Note: Unless otherwise specified, all reserved bits indicated in the commands are 0. Table 72 Command Descriptor Block Field Descriptions Field Description Operation Code The operation code specifies the command being requested. The list of supported SCSI commands and their operation codes are contained in table 70. Logical Unit Number The Logical Unit Number contains the number of the device being addressed.
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing Field Description Allocation Length The Allocation Length field specifies the number of bytes that the initiator has allocated for returned data. The Allocation Length is used to limit the amount of data returned to the initiator. An Allocation Length of 0 indicates that no data is to be transferred from the drive to the initiator.
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing Table 74 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. Tech Tip: Flag bits are not supported by the DX-Series system.
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing • Unexpected disconnect The status code is contained in bits 1 through 5 of the status byte. Bits 0, 6, and 7 are reserved. Table 75 describes the status codes returned by the drive.
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing Status Code Definition Meaning 18h RESERVATION CONFLICT Another initiator has reserved the drive when it has been 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.
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing after an item indicate the item’s length in bytes. In some cases, additional length information is communicated during the DATA phase.
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing Command Length in CDB Data Out (To Drive) Data In (To Initiator) Read Position Allocation Position Identifier or SCSI Logical Address Receive Diagnostic Results Allocation Diagnostic Page Release Unit 0 Request Sense Allocation Reserve Unit 0 (Extent list option not supported) Rewind 0 Send Diagnostic Parameter List Space 0 Test Unit Ready 0 Verify Transfer Data Write Transfer Data Write Buffer
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing Unit Attention Condition 3 Queued Unit Attentions are implemented on the Quantum DLT7000 tape drive and are maintained separately for each valid LUN for each initiator.
Chapter 3 Emulated DLT7000 SCSI Commands Overview of Command and Status Processing The DLT7000 system tape drive recognizes multiple, successive SCSI bus resets and SCSI bus resets of arbitrarily long duration. The tape drive recovers within the time limits specified above following the last SCSI bus reset. The tape drive goes through a calibration process at power up and loading of medium.
Chapter 3 Emulated DLT7000 SCSI Commands SCSI Command Descriptions SCSI Command Descriptions 3 The SCSI commands are presented in alphabetical order. Each command starts on a new, odd-numbered page. Because information about a particular command may span multiple pages, the command name is repeated, in italics, at the top of every page that concerns that command. Blank pages in the chapter can be used for note-taking.
Chapter 3 Emulated DLT7000 SCSI Commands SCSI Command Descriptions the Parameter List Length field (bytes 7 and 8) of the Log Select command shown below: Bit/Byte 7 6 5 4 3 2 1 0 (Bytes 0-6) (MSB) Parameter List Length 7-8 (LSB) As shown, this sample indicates that the most significant bit (MSB) of the field is bit 7 of byte 7; the least significant bit is bit 0 of byte 8.
Chapter 3 Emulated DLT7000 SCSI Commands Erase (19h) Erase (19h) 3 The ERASE command causes data on the tape medium to be erased. Any WRITE data currently held in buffer memory and not yet written to tape is written to tape before the ERASE command is executed. ERASE command must be issued while at BOT. Note that the time for a complete erase of a DLTtape IV tape cartridge can be well over one hour.
Chapter 3 Emulated DLT7000 SCSI Commands Erase (19h) Field Description Immed Immediate. If the Immediate bit = 0, the target does not return status until the selected operation has completed. If set to 1, status is returned as soon as the operation has been initiated. Tech Tip: The immed bit is accepted, but ignored in processing. The erase will take place immediately. Long Must be set to 1. The Long bit controls the distance of tape to be erased.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Inquiry (12h) 3 The INQUIRY command allows the initiator to determine the kind of SCSI devices attached to its SCSI Bus. It causes a device that is attached to a SCSI Bus to return information about itself. The drive identifies itself as a Direct Access Storage Device that implements the SCSI-2 protocol. The drive does not need to access its tape medium to respond to the inquiry.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Table 79 INQUIRY Command Descriptor Block - Field Descriptions Field Description EVPD Enable Vital Product Data. If 0, the drive returns the Standard Inquiry Data page. If 1, the drive returns the Vital Product Data page specified in Page Code. Page Code Specifies which Vital Product Data page is to be returned by the drive. This field must be 0 if EVPD is 0.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Table 80 Vital Product Data - Page Codes Standard Inquiry Data Page 3 Table 81 Inquiry Command (12h) Page Code Description 00h Supported Vital Product Pages Page 80h Unit Serial Number Page 83h Device Identification Page C0h Code Build Information C1h Subsystem Components Revision Page Table 81 shows the format of the Standard Inquiry Data page returned by the drive.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Bit/Byte 7 6 5 4 3 2 1 0 Product Identification 16-31 (DLT7000) Product Revision Level 32-35 (hhss) Vendor Unique Bytes 35-55 Table 82 contains field descriptions for the data returned by the drive.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Field Name Value Description 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 additional bytes of INQUIRY Response Data available. Mchnger 0 Set to 1 if a Media Changer (Loader) is present and EEPROM parameter EnbIngMedChgr is set to 1.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Field Name Value Product Revision Level Description 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 that update (quotation marks will not appear).
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Bit/Byte 130 7 6 5 4 3 2 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 Quantum DX-Series Software Interface Guide 1 0
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Table 84 Vendor Unique Inquiry Data Page - Field Descriptions Field Name Description Product Family This field indicates the data density of each of the DLT tape drives as follows: Bit Drive Density 0 Not Specified 1 2.6 GB 2 6.0 GB 3 10.0 / 20.0 GB 5 20.0 / 40.0 GB 6 15.0 / 30.0 GB 7 35.0 / 70.0 GB Tech Tip: Only 35.0/70.0 GB is supported in the DX-Series system.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Field Name Description Library Present Set to 0 indicates no library present. Non-zero indicates library is present. Module Revision A four byte ASCII string representing the revision level of the tape drive’s module (the controller PCBA attached to the tape drive). The Supported Vital Product Data Pages page (see table 85) provides a Supported Vital Product Data Page 3 directory of the Vital Product Data Pages that are supported by the drive.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Table 85 Supported Vital Product Data Pages Page - Data Format Table 86 Unit Serial Number Page (80h) Data Format Bit/Byte 0 7 6 5 4 Peripheral Qualifier 3 2 1 Peripheral Device Type 1 Page Code (00h) 2 Reserved 3 Page Length (5) 4 00h - (this page) 5 80h - Unit Serial Number Page 6 83h - Device Identification Page 7 C0h - Firmware Build Information Page 8 C1h - Subsystem Components Revision Page Bit/Byte 0 7 6 5 Periphe
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Table 87 Unit Serial Number Page - Field Descriptions Table 88 Device Identification VPD Page 83h Field Name Description Serial Number The serial number given is the serial number of the module or the drive typically starting with “CX” indicating the site of manufacture. 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.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Each identification descriptor (see table 89) contains information identifying the logical unit, physical device, or access path used by the command and returned parameter data. The association field indicates the entity that the identification descriptor describes. If a physical or logical device returns the identification descriptor with the association field set to 0h, it shall return the same descriptor when it is accessed through any other path.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) The association field specifies the entity with which the identifier field is associated, as described in table 91. Table 91 Association Value Description 0h The identifier field is associated with the addressed physical or logical device 1h The identifier field is associated with the port that received the request 2h - 3h Reserved • Identifier Type.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Table 93 Device Identification VPD Logical Unit Bit/Byte 0 1 7 6 5 4 3 Protocol Identifier (0) Rsvd (0) 2 1 0 Code Set (2) Association (0) Identifier Type (1) 2 Reserved (0) 3 Identifier Length (n-3) MSB Vendor and Product ID Serial Number 4-n LSB Table 94 Device Identification VPD World Wide Name Bit/Byte 0 1 7 6 5 4 3 Protocol Identifier (0) Rsvd (0) 2 1 0 Code Set (1) Association (0) Identifier Type (2) 2 Reserved
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Table 95 Firmware Build Information Page (C0h) - Data Format Table 96 Firmware Build Information Page (C0h) - Field Descriptions Table 97 Subsystem Components Revision Page (C1h) - Data Format 138 Bit/Byte 0 7 6 5 4 Peripheral Qualifier 3 2 1 0 Peripheral Device Type 1 Page Code (C0h) 2 Reserved (00h) 3 Page Length (20h) 4-5 Servo Firmware Checksum 6-7 Servo EEPROM Checksum 8-11 Read/Write Firmware Checksum 12-35 Read/Write
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Bit/Byte 4 7 6 5 4 Product Family (7) 3 2 0 Released Firmware 5 Firmware Major Version # 6 Firmware Minor Version # 7 EEPROM Format Major Version # 8 EEPROM Format Minor Version # 9 Firmware Personality 10 Firmware Sub-Personality 11 Vendor Unique Subtype 12 Controller Hardware Version # 13 Drive EEPROM Version # 14 Drive Hardware Version # 15 Media Loader Firmware Version # 16 Media Loader Hardware Version # 17 Media
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Table 98 Subsystem Components Revision Page - Field Descriptions Field Name Description Product Family This field indicates the data density of each of the DLT tape drives as follows: Bit Drive Density 0 Not Specified 1 2.6 GB 2 6.0 GB 3 10.0 / 20.0 GB 5 20.0 / 40.0 GB 6 15.0 / 30.0 GB 7 35.0 / 70.0 GB Tech Tip: Only 35.0 / 70.0 GB is supported in the DXSeries system.
Chapter 3 Emulated DLT7000 SCSI Commands Inquiry (12h) Field Name Description Loader Present Set to 0 indicates no loader present. Non-zero indicates loader is present. Library Present Set to 0 indicates no library present. Non-zero indicates library is present. Module Revision A four byte ASCII string representing the revision level of the tape drive’s module (the controller PCBA attached to the tape drive).
Chapter 3 Emulated DLT7000 SCSI Commands Load Unload (1Bh) Load Unload (1Bh) 3 The LOAD UNLOAD command tells the target to load or unload the tape media in the tape cartridge. If no cartridge is in the tape drive, both LOAD and UNLOAD return a CHECK CONDITION status with a NOT READY sense key set.
Chapter 3 Emulated DLT7000 SCSI Commands Load Unload (1Bh) READY command, the drive returns a CHECK CONDITION STATUS with a NOT READY sense key set. Note: Operation of the UNLOAD version of this command is different if a media loader is present. Two modes of operation are possible if a media loader is configured. If none of the media loader-specific commands have been issued, the device operates in the sequential mode of operation described below.
Chapter 3 Emulated DLT7000 SCSI Commands Load Unload (1Bh) Table 99 LOAD UNLOAD Command Descriptor Block Data Format Bit/Byte 7 6 4 Logical Unit Number 2 1 0 Reserved 4 Immed (1) EOT (0) Re-Ten Load Servo Firmware Checksum 5 6 Reserved Reserved 2-3 Table 100 LOAD UNLOAD Command Descriptor Block Field Descriptions 3 Operation Code (1Bh) 0 1 5 Unused Reserved Flag (0) Link (0) Field Name Description Immed Immediate.
Chapter 3 Emulated DLT7000 SCSI Commands Load Unload (1Bh) Field Name Description Load Load. When a cartridge is inserted, the tape medium is automatically loaded and positioned by the drive at Beginning of Medium (BOM). Logically, the drive is 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. A “good” status is returned.
Chapter 3 Emulated DLT7000 SCSI Commands Load Unload (1Bh) Field Name Description 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. Flag bits are not supported by the DX-Series system. Link Bit A Link bit set to 1 indicates that the initiator requests continuation of a task (an I/O process) across two or more SCSI commands.
Chapter 3 Emulated DLT7000 SCSI Commands Locate (2Bh) Locate (2Bh) 3 The LOCATE command is used to do high-speed positioning to the specified block address. The READ POSITION command can be used to obtain the block address, when writing, when particular blocks of data (a data file, for example) are about to be written. The LOCATE command can then be used to position the tape back at the same logical position for high performance restore operations of particular blocks of data.
Chapter 3 Emulated DLT7000 SCSI Commands Locate (2Bh) Table 102 LOCATE Command Descriptor Block - Field Descriptions Field Name Description BT Block Type. The Block Type bit indicates how the Block Address field is interpreted. The first recorded object (block or filemark) is at address 0, and Block Addresses count both data blocks and filemarks. CP Change Partition. Since multiple partitions are not supported, this bit must be set to 0. Immed Immediate.
Chapter 3 Emulated DLT7000 SCSI Commands Log Select (4Ch) Log Select (4Ch) 3 The LOG SELECT command allows the host to manage statistical information maintained by the tape drive about its own hardware parameters or about the installed tape medium. The description should be read in conjunction with the description of the LOG SENSE command that follows it and provides the user with information about log page format, parameters, and supported pages.
Chapter 3 Emulated DLT7000 SCSI Commands Log Select (4Ch) Table 104 LOG SELECT Command Descriptor Block Field Descriptions 150 Field Name Description PCR Parameter Code Reset. If this bit is set to 1 and the parameter list length is set to 0, all accumulated values of page codes 2, 3, and 32 are set to 0 and all threshold values are set to default.
Chapter 3 Emulated DLT7000 SCSI Commands Log Select (4Ch) Field Name Description PC Page Control. This field 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.
Chapter 3 Emulated DLT7000 SCSI Commands Log Select (4Ch) Log Detection Summary in LOG SELECT Command Descriptor Block 3 Operation of LOG SELECT 3 Field Name Description Parameter List Length This field specifies the length, in bytes, of the LOG SELECT parameter list to be transferred from the initiator to the target during the DATA OUT phase. A parameter list length of 0 indicates that no data is to be transferred. This condition is not considered an error.
Chapter 3 Emulated DLT7000 SCSI Commands Log Select (4Ch) If multiple pages are sent during the DATA OUT phase, they must be sent in ascending order according to page code. Otherwise, the command terminates with a CHECK CONDITION status, sense key set to ILLEGAL REQUEST, and additional sense code set to INVALID FIELD IN PARAMETER LIST. The same status is returned if an unsupported Page Code appears in any header or if the specified page cannot be cleared.
Chapter 3 Emulated DLT7000 SCSI Commands Log Select (4Ch) Table 107 LOG SELECT Log Parameters Format Bit/Byte 7 6 5 4 3 2 1 0 (MSB) Parameter Code 0-1 (LSB) 2 DU DS TSD ETC TMC Rsv’d LP Parameter Length 3 (MSB) Parameter Code 4-7 (LSB) Note: Table 108 LOG SELECT Log Parameters Field Descriptions Byte 2 is also referred to the Parameter Control Byte.
Chapter 3 Emulated DLT7000 SCSI Commands Log Select (4Ch) Field Name Description DU Disable Update. This bit is not defined for LOG SELECT; the target ignores any value in DU. DS Disable Save. Not supported. Must be set to 1. TSD Target Save Disable. Not supported. Must be set to 1. 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).
Chapter 3 Emulated DLT7000 SCSI Commands Log Select (4Ch) Field Name Description TMC Threshold Met Criteria. Once the criteria specified in this field is met and the ETC bit is 1 and the RLEC bit in MODE SENSE / SELECT Control Page is set to 1, then UNIT ATTENTION is generated for all initiators.
Chapter 3 Emulated DLT7000 SCSI Commands Log Select (4Ch) Error Detection Summary in LOG SELECT Pages 3 Field Name Description 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.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Log Sense (4Dh) 3 The LOG SENSE command allows the host to retrieve statistical information maintained by the tape drive about its own hardware parameters or about the installed tape medium. It is a complementary command to LOG SELECT. Tech Tip: Log pages 2 and 3 are cleared when the unload command is received by a virtual drive in the DXSeries system.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Table 110 LOG SENSE Command Descriptor Block Field Descriptions Field Name Description PPC Parameter Pointer Control. This bit must be set to 0.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Table 111 LOG SENSE Command Descriptor Block Field Name Description Page Code The Page Code field identifies which log page is being requested by the initiator. If the page is not supported, then the command terminates with a CHECK CONDITION status, sense key set to ILLEGAL REQUEST, and additional sense code of INVALID FIELD IN CDB.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Field Name Description Parameter Pointer The Parameter Pointer field allows the host to specify at which parameter within a log page the requested data should begin. For example, 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.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Supported Pages Log Page (Page 00h) 3 Table 112 Supported Pages Page - Data Format 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 0 7 6 Reserved 5 4 3 2 1 0 Page Code (00h) Reserved 1 (MSB) 2-3 Page Length (08h) (LSB) Read Error Counter Page (Page 03h) 4 00h 5 2Eh 6 32h The Read Error Counter Page (03h) is not supported.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) READ/WRITE activity. The flags, of which there are 16, are set or cleared by the tape drive when the failure or corrective action occurs. Tech Tip: The tape alert page returns cleared error information in the DX-Series system.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Table 115 TapeAlert Page Log Parameters Format Bit/Byte 7 6 5 4 3 2 1 0 (MSB) 5n-1 to 5n Parameter Code (n) (LSB) 5n +1 DU DS TSD ETC TMC Rsv’d LP 5n +2 Parameter Length (1) 5n +3 Value of TapeAlert Flag (Flag is set when Bit 0-1; Bits 1-7 are Reserved Table 116 TapeAlert Page Log Parameter Field Descriptions Field Name Description Page Code This field contains the Flag code. Page Length This field is set to 1.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Table 117 TapeAlert Flags, Severity Levels, and Meanings Flag Severity Level* Meaning 1 Read Warning Warning Problems reading data. There is no loss of data, but the tape drive’s performance is reduced. 2 Write Warning Warning Problems writing data. There is no loss of data, but the capacity of the tape is reduced.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Flag Severity Level* Meaning 31 Hardware B Critical The tape drive may have a hardware fault. Contact a service representative. 32 Interface Warning The tape drive may have a hardware fault. Contact a service representative. 34 Download Fail Warning The attempted firmware download has failed. 40 Loader Hardware A Critical The mechanism that loads media to the tape drive is experiencing problems communicating with the tape drive.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Table 119 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 the number of bytes available and depends on the parameters requested.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Table 121 Log Parameters for Read / Write Compression Ratio LOG SENSE Page Field Descriptions (Parameter Codes 00h and 01h) Field Name Description Page 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.
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Table 122 Log Parameters Format for Read / Write Compression Ratio LOG SENSE Page (Parameter Codes 02h through 09h) Bit/Byte 7 6 5 4 3 2 1 0 (MSB) Parameter Code 0-1 (LSB) 2 DU(0) DS(1) TSD(1) ETC(0) TMC(0) Rsv’d LP(0) 04h 3 (MSB) 4 Counter Value (LSB) Quantum DX-Series Software Interface Guide 169
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Table 123 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 Descriptions 02h - Mbytes Transferred to Host 03h - Bytes Transferred to Host 04h - Mbytes Read from Tape 05h - Bytes Read from Tape 06h - Mbytes Transferred
Chapter 3 Emulated DLT7000 SCSI Commands Log Sense (4Dh) Field Name Description LP List Parameter. Always set to 0 (parameter codes treated as data counter). Counter Value Parameter Codes 06h and 07h -- Report the count of bytes transferred from the initiator to the buffer. Parameter Code 06h reports the number of full megabytes transferred; Parameter Code 07h reports the number of bytes less than a full megabyte that have been transferred.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Mode Select (6 /10) (15h / 55h) 3 The MODE SELECT command (available in either 6- or 10-byte format) enables the host to configure the tape drive. Implementing MODE SELECT and MODE SENSE requires “handshaking” between the host and the drive. Before configuring the drive, the host should issue a MODE SENSE command to the drive to obtain a report of the current configuration and determine what parameters are configurable.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) The tape drive always powers up with its default configurations set. This is also true if the drive receives a BUS DEVICE RESET message or a hard reset via the RST line on the SCSI bus. The Command Descriptor Block is illustrated in table 124.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Table 126 MODE SELECT (6)/(10) Command Descriptor Block - Field Descriptions Mode Parameter List 3 Table 127 MODE SELECT (6) Mode Parameter List - Data Format Table 128 MODE SELECT (10) Mode Parameter List - Data Format 174 Field Name Description PF Page Format.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Table 129 MODE SELECT Mode Parameter List - Field Descriptions Field Name Description Mode Parameter Header Page Format. The Page Format bit indicates that the data sent by the host after the MODE SELECT header and block descriptors complies with the definition of pages in the SCSI-2 specification. The SCSI-1 format will not be implemented so this bit must be set to 1.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Table 131 MODE SELECT (10) Mode Parameter Header Data Format Bit/Byte 6 5 4 3 0-1 Reserved 2 Media Type 3 176 7 Ignored 2 Buffered Mode 4-5 Reserved 6-7 Block Descriptor Length Quantum DX-Series Software Interface Guide 1 Speed 0
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Table 132 MODE SELECT Mode Parameter Header Field Descriptions Field Name Description Media Type This field is ignored by the MODE SELECT command. Buffered Mode Default = 1. The drive implements immediate reporting on WRITE commands through its buffered mode. With Buffered Mode set to 1, the drive reports GOOD status on WRITE commands as soon as the data block has been transferred to the buffer.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) 3 Mode Parameter Block Descriptor The figure and table that follow provide an illustration and description of the fields that make up the MODE SELECT command’s Mode Parameter Block Descriptor.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Field Name Description 19h 62500 bpi, 64 track pairs, serial cartridge tape - 10.0 GB (DLTtape III only) /15.0 GB (DLTtape IIIxt only) 1Ah 81633 bpi, 64 track pairs, serial cartridge tape - 20.0 GB (DLTtape IV only) 1Bh 85937 bpi, 52 quad pairs, serial cartridge tape - 35.0 GB The density codes above are the preferred codes used to define density.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Field Name Description Number of Blocks This MODE SENSE field is sent = 0, indicating that all of the remaining logical blocks on the tape will have the medium characteristics specified by the block descriptor. Block Length This field specifies the length, in bytes, of each logical block transferred over the SCSI bus. A block length of 0 indicates that the length is variable (specified in the I/O command).
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Table 136 MODE SELECT Page Descriptor - Field Descriptions READ / WRITE Error Recovery Page (01h) 3 Table 137 Error Recovery Page - Data Format 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).
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Table 138 Error Recovery Page - Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, this bit must be 0. Additional Page Length This field indicates the number bytes in the page. However, the value does not include bytes 0 and 1. The length is returned in MODE SENSE commands and must subsequently be set to the same value when performing MODE SELECT.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Disconnect/ Reconnect Page (02h) 3 Table 139 Disconnect / Reconnect Page Data Format The Disconnect / Reconnect Page controls the drive’s behavior on the SCSI bus and allows an initiator to tune bus performance.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Table 140 Disconnect / Reconnect Page Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, this bit must be 0. Additional Page Length This field indicates the number bytes in the page. However, the value does not include bytes 0 and 1. The length is returned in MODE SENSE commands and must subsequently be set to the same value when performing MODE SELECT.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Field Name Description DTDC Data Transfer Disconnect Control. This field defines further restrictions for when disconnect is permitted. 00b - Data transfer disconnect control is not used. 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.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Table 141 Control Mode Page Format Descriptor - Data Format Bit/Byte 7 6 0 PS(0) 0 5 4 3 2 Page Length (06) 2 Reserved 4 Queue Algorithm Modifier (0) EECA (0) 0 Page Code (0Ah) 1 3 1 RLEC Reserved Reserved Qerr (0) DQue (0) RAEN UAAE EAENP P (0) NP (0) (0) Reserved 5 (MSB) 6-7 Ready AEN Hold off Period (0) (LSB) Table 142 Control Mode Page Descriptor - Field Descriptions 186 Field Name Description PS
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Field Name Description RLEC Report Log Exception Condition. When set to 1, specifies that the target will report log exception conditions. When 0, specifies that the target will not report log exception conditions. The RLEC bit works in conjunction with the READ / WRITE Error Log Sense Page, specifically, the TMC bit of the READ / WRITE Error Log SENSE Page (Page 2 and 3), described earlier in this manual.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Data Compression Page (0Fh) 3 Table 143 Data Compression Page Format Descriptor Data Format The Data Compression Page specifies parameters for the control of data compression. This page allows the user to turn the tape drive’s compressed format on and off independently of the tape medium’s position. Additionally, it allows the user to enable or disable decompression of the tape drive compressed data during WRITE operations.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) . Table 144 Data Compression Page Descriptor - Field Descriptions Field Name Description PS The Page Code identifies the type of MODE SELECT page being transferred. A value of 0Fh identifies this as the Data Compression page. Page Length The Page Length field indicates the number of bytes in the Data Compression page that follow this byte. The valid value for this byte is 0Eh. DCE Data Compression Enable.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Field Name Description Compression Algorithm The Compression Algorithm field indicates which compression algorithm the tape drive will use to process data from the initiator when the DCE bit (byte 02, bit 7) is set to 1. The only value currently supported for this field is 10h. NOTE: Specifying a value other than 10h for this field causes the tape drive to return CHECK CONDITION status, sense key set to ILLEGAL REQUEST.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Bit/Byte 7 6 5 4 3 2 4 Write Buffer Full Ratio 5 Read Buffer Empty Ratio 1 0 (MSB) Write Delay Time 6-7 (LSB) 8 DBR (0) BIS RSmk (0) SOCF (0) RBO (0) REW (0) Gap Size (0) 9 10 AVC (0) EOD Defined (0) EEG SEW (1) Reserved (MSB) 11-13 Buffer Size at Early Warning (0) (LSB) 14 Select Data Compression Algorithm 15 Reserved Quantum DX-Series Software Interface Guide 191
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Table 146 Device Configuration Page Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, this bit must be 0. Additional Page Length This field indicates the number bytes in the page. However, the value does not include bytes 0 and 1. The length is returned in MODE SENSE commands and must subsequently be set to the same value when performing MODE SELECT.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Field Name Description Write Delay Time This field indicates the maximum time that the drive will wait with a partially full buffer before forcing the data to tape (100 ms increments). The buffer Full/Empty ratio, which is dynamic, can cause data to be written sooner than the Write Delay Time would indicate. The Write Delay Time defaults to 200 (C8h). This causes the buffer to be flushed in 20 seconds.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Field Name Description 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 set to 1. Buffer Size at Early Warning Not supported; must be 0. SEW Synchronize at Early Warning. Must be set to 1.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Table 147 Medium Partition Page Format Descriptor - Data Format Bit/Byte 7 6 0 PS (0) 0 4 3 2 1 0 Page Code (11h) 1 Additional Page Length (06) 2 Maximum Additional Partitions (0) 3 Additional Partitions Defined (0) 4 Table 148 Medium Partition Page Descriptor - Field Descriptions 5 FDP (0) SDP (0) IDP (0) PSUM (0) Reserved 5 Medium Format Recognition (01) 6-7 Reserved Field Name Description PS Paramete
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) TapeAlert Page (1Ch) 3 Table 149 TapeAlert Page Format Descriptor - Data Format Field Name Description 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 IDP bits. The maximum allowed is the value returned in the Maximum Additional Partitions field.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Bit/Byte 7 6 5 4 3 Reserved 3 2 1 0 MRIE (MSB) Interval Timer 4-7 (LSB) (MSB) 8-11 Report Count / Test Flag Number (LSB) Table 150 TapeAlert Page Format Descriptor - Field Descriptions Field Name Description PS Parameters Savable. For MODE SELECT, this bit must be 0. Additional Page Length This field indicates the number bytes in the page. However, the value does not include bytes 0 and 1.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) 198 Field Name Description DExcpt Disable Information Exception Operations. When this bit = 0, the reporting method specified by the contents of MRIE is selected. When this bit = 1 (its default setting), all information exception operations are disabled and the contents of the MRIE field are ignored. When in this mode, the TapeAlert Log page is polled by the software. To enable CHECK CONDITION mode, DExcpt should = 0.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Field Name Description MRIE Method for Reporting Informational Exceptions. The tape drive uses the contents of this field to report information about exception conditions. Three methods are available: Value - Method 00h - No reporting of Informational Exception Conditions. The device server does not report information exception conditions. 03h - Conditionally Generate Recovered Error.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Field Name Description Interval Timer Not supported. Report Count / Test Flag Number Not supported. Tech Tip: All parameter values and flags are accepted, but not acted on. EEPROM Vendor Unique Page (3Eh) 3 EEPROM Vendor Unique Page (3Eh) is not supported. Changeable Parameters within MODE SELECT 3 The table below lists the MODE SELECT command’s changeable parameters and their default, minimum, and maximum values.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Select (6 /10) (15h / 55h) Parameter Default Minimum Maximum 2.0 GB and 6.0 GB Mode 0 0 40000h 10.0 GB and 20.0 GB Mode 0 0 FFFFFEh 35.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Mode Sense (6/10) (1Ah / 5Ah) 3 The MODE SENSE command allows the drive to report its media type, and current, or changeable configuration parameters to the host. It is a complementary command to MODE SELECT. Tech Tip: The specific page information is accepted and retained, but not acted on during processing.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Table 153 MODE SENSE (10) Command Descriptor Block - Data Format Bit/Byte 7 6 2 4 3 2 1 0 Operation Code (5Ah) 0 1 5 Logical Unit Number Rsv’d PC DBD Reserved Page Code Reserved 3-6 (MSB) Allocation Length 7-8 (LSB) 9 Table 154 MODE SENSE Control Descriptor Block Field Descriptions Unused Reserved Flag (0) Link (0) Field Name Description DBD Disable Block Descriptors.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Field Name Description 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 an error, and GOOD status is returned.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Table 156 MODE SENSE (10) Data Header - Data Format Bit/Byte 7 6 5 4 3 2 1 0 (MSB) Mode Sense Data Length 0-1 (LSB) Media Type 2 3 WP Buffered Mode Speed (0) Reserved 4-5 (MSB) 6-7 Block Descriptor Length (08h) (LSB) Table 157 MODE SENSE Data Header Field Descriptions Field Name Description Mode Sense Data Length This field specifies the length (in bytes) of the MODE SENSE data that is available to be transferre
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Field Name Description 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 the data block has been transferred to the buffer. This is the default configuration of the drive.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Bit/Byte 7 6 5 4 3 2 1 0 (MSB) Number of Blocks (000000h) 1-3 (LSB) Reserved 4 (MSB) Block Length 5-7 (LSB) Table 159 MODE SENSE Block Descriptor - Field Descriptions Field Name Description Density Code The contents of this field match the density of the media, or 0 if the density is unknown: Density Code Description 00h 0Ah 16h 17h 18h 19h 1Ah 1Bh Use default density.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Field Name Description The density codes above are the preferred codes used to define density.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) MODE SENSE Mode Pages Table 160 MODE SENSE Page Descriptor - Data Format Field Name Description Number of Blocks This field is sent as 0, indicating that all of the remaining logical blocks on the tape have the medium characteristics specified by the block descriptor. Block Length This field specifies the length (in bytes) of each logical block transferred over the SCSI bus.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Table 161 MODE SENSE Page Descriptor - Field Descriptions Field Name Description PS Parameters Savable. When 0, the supported parameters cannot be saved (savable pages are not supported). When set to 1, it indicates that the page can be saved in nonvolatile memory by the drive. Additional Page Length This field indicates the number of bytes in the page. Note that this value does not include bytes 0 and 1.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) 3 READ / WRITE Error Recovery Page (01h) The tape drive supports the Error Recovery Page for READ and WRITE operations. The format for the page is illustrated in the following figure.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Table 163 Read / Write Error Recovery Page - Field Descriptions Field Name Description PS Parameters Savable. Must be 0, the supported parameters cannot be saved (savable pages are not supported). Additional Page Length This field indicates the number of bytes in the page. Note that this value does not include bytes 0 and 1.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) 3 DISCONNECT / RECONNECT Page (02h) The tape drive supports the DISCONNECT / RECONNECT Page. The format for the page is illustrated in the following figure.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Table 165 Disconnect / Reconnect Page Field Descriptions 214 Field Name Description PS Parameters Savable. When 0, the supported parameters cannot be saved (savable pages are not supported). When set to 1, it indicates that the page can be saved in nonvolatile memory by the drive. Additional Page Length This field indicates the number of bytes in the page. Note that this value does not include bytes 0 and 1.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) 3 Control Mode Page (0Ah) The Control Mode Page allows the user to determine whether the tape drive returns a CHECK CONDITION status when one of the WRITE and READ counters has reached a specified threshold.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Table 167 Control Mode Page - Field Descriptions Field Name Description Page Length The value in this field indicates the number of bytes in the Control Mode Page being transferred. The value for this byte is 06h. RLEC Report Log Exception Condition.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) 3 Data Compression Page (0Fh) The Data Compression page specifies parameters for the control of data compression.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Field Name Description DCC Data Compression Capable. The value returned for this bit indicates whether this tape drive supports data compression: 0 = Data Compression is disabled 1 = Data Compression is enabled DDE Data Decompression Enable. The value returned for this bit indicates whether data decompression is enabled or not.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Table 170 Device Configuration Page Data Format Bit/Byte 0 7 5 4 3 PS (0) Rsv’d 2 1 0 Page Code (10h) Additional Page Length (0Eh) 1 2 6 Rsv’d CAP (0)CAF (0) Active Format (0) 3 Active Partition (0) 4 WRITE Buffer Full Ratio (0) 5 READ Buffer Empty Ratio (0) (MSB) WRITE Delay Time 6-7 (LSB) 8 DBR (0) BIS (0) RSmk SOCF (0) RBO (0) REW (0) Gap Size (0) 9 10 AVC (0) EOD Defined (0) EEG (1) SEW (1) Reserved
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Table 171 Device Configuration Page Field Descriptions 220 Field Name Description PS Parameters Savable. Not supported; must be 0. Additional Page Length This field indicates the number of bytes in the page. Note that this value does not include bytes 0 and 1. The length is returned on MODE SENSE and must subsequently be set to the same value when performing MODE SELECT. CAP Change Active Partition. Not supported.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Field Name Description WRITE Delay Time Indicates the maximum time (in 100 ms increments) the drive waits with a partially fully buffer before forcing the data to tape. Note that the buffer full/ empty ratio, which is dynamic, can cause data to be written sooner than the WRITE delay time value indicates. The WRITE delay time defaults to 200 ms (C8h). This causes the buffer to be flushed in 20 seconds.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Field Name Description Buffer Size at Early Warning Not supported; must be 0. Select Data Compression Algorithm If set to 1, data compression is enabled. If 0, data compression is disabled. 3 Medium Partition Page (11h) The tape drive supports the Medium Partition Page. The format for the page is illustrated in the following figure.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Table 173 Medium Partition Page - Field Descriptions Field Name Description PS Parameters Savable. Not supported; must be 0. Additional Page Length This field indicates the number of bytes in the page. Note that this value does not include bytes 0 and 1. The length is returned on MODE SENSE and must subsequently be set to the same value when performing MODE SELECT. Maximum Additional Partitions Not supported. Must be 0.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Table 174 TapeAlert Page Format Descriptor - Data Format Bit/Byte 7 6 0 PS (0) 0 4 3 2 1 0 Page Code (1Ch) Additional Page Length (0A) 1 2 5 Perf Reserved DExcpt Test Reserved 3 Rsvd LogErr MRIE (MSB) Interval Timer 4-7 (LSB) (MSB) 8-11 Report Count / Test Flag Number (LSB) Table 175 TapeAlert Page Format Descriptor - Field Descriptions Field Name Description PS Parameters Savable.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Field Name Description Perf Performance bit. Not supported. DExcpt Disable Information Exception Operations. When this bit = 0, the reporting method specified by the contents of MRIE is selected. When this bit = 1, all information exception operations are disabled and the contents of the MRIE field are ignored. When in this mode, the TapeAlert Log page is polled by the software. To enable CHECK CONDITION mode, DExcpt should = 0.
Chapter 3 Emulated DLT7000 SCSI Commands Mode Sense (6/10) (1Ah / 5Ah) Field Name Description 06h Only Report Informational Exception Condition on Request. The device server preserves information exception data. To access the data, a poll can be taken by issuing an unsolicited REQUEST SENSE command. The Sense Key is set to NO SENSE with an additional sense code of 5D 00 (TapeAlert Event). The additional sense code of 5D 00 for values 03h and 06h signals that a TapeAlert has occurred.
Chapter 3 Emulated DLT7000 SCSI Commands Prevent / Allow Medium Removal (1Eh) Prevent / Allow Medium Removal (1Eh) 3 This command enables or disables the unloading of the tape cartridge.
Chapter 3 Emulated DLT7000 SCSI Commands Prevent / Allow Medium Removal (1Eh) Table 177 PREVENT / ALLOW MEDIUM REMOVAL Command Descriptor Block Field Descriptions Field Name Description Prevent 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.
Chapter 3 Emulated DLT7000 SCSI Commands Read (08h) Read (08h) 3 This command transfers one or more data blocks or bytes to the initiator starting with the next block on the tape.
Chapter 3 Emulated DLT7000 SCSI Commands Read (08h) Table 179 READ Command Descriptor Block - Field Descriptions Field Name Description SILI Suppress Incorrect Length Indicator. If the SILI bit is set to 1 and the Fixed bit is set to 1, the target terminates the command with CHECK CONDITION status, sense key set to ILLEGAL REQUEST, and additional sense code of INVALID FIELD IN CDB.
Chapter 3 Emulated DLT7000 SCSI Commands Read (08h) Filemark, End-of-Data, and End-of-Medium/Partition Handling 3 If the tape drive reads a Filemark, it returns a CHECK CONDITION status. Within the sense data, the Filemark and Valid bits are set and the Sense Key field is set to NO SENSE. The information fields contain the residue count. The Additional Sense Code and Additional Sense Code Qualifier fields are set to FILEMARK DETECTED.
Chapter 3 Emulated DLT7000 SCSI Commands Read Block Limits (05h) Read Block Limits (05h) 3 The READ BLOCK LIMITS command directs the tape drive to report it’s block length limits. Table 180 READ BLOCK LIMITS Command Descriptor Block - Data Format Bit/Byte 7 6 5 Logical Unit Number 2 1 0 Reserved Reserved 2-4 5 3 Operation Code (05h) 0 1 4 Unused Reserved Flag (0) Link (0) The READ BLOCK LIMITS data shown below is sent during the DATA IN phase of the command.
Chapter 3 Emulated DLT7000 SCSI Commands Read Block Limits (05h) The Granularity field is described in the table below. Table 182 READ BLOCK LIMITS Data Field Descriptions Field Name Description Granularity (SCSI-3 Only) This field indicates the supported block size granularity.
Chapter 3 Emulated DLT7000 SCSI Commands Read Buffer (3Ch) Read Buffer (3Ch) 3 The READ BUFFER command is used in conjunction with WRITE BUFFER as a diagnostic function for testing the drive’s data buffer for possible diagnostic data and for checking the integrity of the SCSI bus. In addition, by using buffers 1 and 2, the READ BUFFER command allows the contents of the tape system’s local RAM/EEPROM, and DRAM to be transferred over the SCSI bus.
Chapter 3 Emulated DLT7000 SCSI Commands Read Buffer (3Ch) Table 184 READ BUFFER Command Descriptor Block Field Descriptions Field Name Description Mode The tape drive supports the following values within this field. If any nonsupported value is set, the drive terminates the command with a CHECK CONDITION status, ILLEGAL REQUEST sense key set. ModeDescription 000b Combined Header and Data 010b Data 011b Descriptor Buffer ID Must be 0, 1, or 2.
Chapter 3 Emulated DLT7000 SCSI Commands Read Buffer (3Ch) Once the size of the buffer is known, Mode 2 (Data Only, see Section 5.14.2) can be used to transfer the data across the SCSI Bus. Combined Header and Data Mode 3 Table 185 READ BUFFER Header Data Format. In this mode, the tape drive returns a 4-byte header followed by data bytes.
Chapter 3 Emulated DLT7000 SCSI Commands Read Buffer (3Ch) Table 186 READ BUFFER Header Field Descriptions Data Mode 3 Descriptor Mode 3 Field Name Description Available Length This field specifies the total number of data bytes available in the target’s buffer. This number is not reduced to reflect the allocation length, nor is it reduced to reflect the actual number bytes written using the WRITE BUFFER command. Following the READ BUFFER header, the target transfers data from its data buffer.
Chapter 3 Emulated DLT7000 SCSI Commands Read Position (34h) Read Position (34h) 3 The READ POSITION command is used to read a position identifier or SCSI Logical Block Address (LBA). The LOCATE command uses this identifier to position back to this same logical position in a highperformance fashion.
Chapter 3 Emulated DLT7000 SCSI Commands Read Position (34h) Table 190 READ POSITION - Data Format Bit/Byte 7 6 0 BOP EOP 5 4 3 Reserved 2 BPU (0) 1 Partition Number 2-3 Reserved 1 0 Reserved (MSB) First Block Location 4-7 (LSB) (MSB) Last Block Location 8-11 (LSB) Reserved 12 (MSB) Number of Blocks in Buffer 13-15 (LSB) (MSB) 15-19 Number of Bytes in Buffer (LSB) Quantum DX-Series Software Interface Guide 239
Chapter 3 Emulated DLT7000 SCSI Commands Read Position (34h) Table 191 READ POSITION Data Field Descriptions 240 Field Name Description BOP Beginning of Partition. When set to 1, indicates that the logical unit is at the beginning of partition in the current partition. When 0, indicates that the current logical position is not at the beginning of partition. Since the tape drive does not support more than one partition, the value of this field will be 1 when at BOT. EOP End of Partition.
Chapter 3 Emulated DLT7000 SCSI Commands Receive Diagnostic Results (1Ch) Receive Diagnostic Results (1Ch) 3 The RECEIVE DIAGNOSTIC RESULTS command fetches the results of the last SEND DIAGNOSTIC command sent to the tape drive.
Chapter 3 Emulated DLT7000 SCSI Commands Receive Diagnostic Results (1Ch) Table 194 RECEIVE DIAGNOSTIC RESULTS - Data Format Bit/Byte 7 6 5 4 3 2 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 Note: 1 0 Flag set = 1 = failure Flag not set = 0 = not present or no error This information indicates which of the main components of the tape drive subsystem may have failed diagnostic testing.
Chapter 3 Emulated DLT7000 SCSI Commands Release Unit (17h) Release Unit (17h) 3 The RELEASE UNIT command releases the drive if it is currently reserved by the requesting initiator. It is not an error to release the tape drive if it is not currently reserved by the requesting initiator. If the tape drive is reserved by another initiator, however, it is not released; the tape drive is only released from the initiator that issued the RELEASE command.
Chapter 3 Emulated DLT7000 SCSI Commands Release Unit (17h) Field Name Description Reservation ID If the value is 1, the command releases all elements reserved by the requesting initiator that were reserved with the same Reservation ID value as this release attempt and that meet 3rd party release requirements, if applicable. 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.
Chapter 3 Emulated DLT7000 SCSI Commands Report LUNS (A0h) Report LUNS (A0h) 3 The REPORT LUNS command requests that the peripheral device logical unit numbers of known logical units in the target be sent to the applications client. The command only returns information about the logical units to which commands may be sent.
Chapter 3 Emulated DLT7000 SCSI Commands Report LUNS (A0h) Table 198 LUN Reporting Parameter List Bit/Byte 7 6 5 4 3 2 1 0 (MSB) LUN List Length (n-7) 0-3 (LSB) Reserved 4-7 (MSB) 8-15 LUN (first LUN) (LSB) n-7 - n LUN (last LUN, if more than one) 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.
Chapter 3 Emulated DLT7000 SCSI Commands Request Sense (03h) Request Sense (03h) 3 The REQUEST SENSE command causes the tape drive to transfer detailed sense data to the initiator.
Chapter 3 Emulated DLT7000 SCSI Commands Request Sense (03h) 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 buffered data to tape.
Chapter 3 Emulated DLT7000 SCSI Commands Request Sense (03h) Bit/Byte 7 6 5 4 3 2 1 0 (MSB) Field Pointer 16-17 (LSB) Table 202 REQUEST SENSE Data - Field Descriptions 18 Internal Status Code (VU) 19-20 Tape Motion Hours 21-24 Power On Hours 25-28 Tape Remaining 29 Reserved Field Name Description Valid When set to 1, this field indicates that the information bytes contain valid information as defined in the ANSI SCSI-2 specification.
Chapter 3 Emulated DLT7000 SCSI Commands Request Sense (03h) 250 Field Name Description EOM End of Medium. This bit indicates that an End of Medium condition (End of Partition or Beginning of Partition) exists. The warning is also given by setting the Sense Key to NO SENSE and the Additional Sense Qualifier to End of Partition or Beginning of Partition. ILI Incorrect Length Indicator.
Chapter 3 Emulated DLT7000 SCSI Commands Request Sense (03h) Field Name Description Additional Sense Code This field (and the field for Additional Sense Code Qualifier) provide additional information about the Sense Key and cause of a CHECK CONDITION status. Additional Sense Codes are discussed in detail later in this chapter. Additional Sense Code Qualifier This field (and the field for Additional Sense Code) provides additional information about the Sense Key and cause of a CHECK CONDITION status.
Chapter 3 Emulated DLT7000 SCSI Commands Request Sense (03h) Table 203 Supported Sense Keys 252 Field Name Description Tape Motion Hours This field reports the number of tape motion (i.e., head wear) hours. Format is given as a hexadecimal word (2 bytes). Power On Hours This field reports the total number of hours that drive power has been applied since its last power on cycle (not total power on hours over the device’s lifetime). Format is given as a hexadecimal longword (4 bytes).
Chapter 3 Emulated DLT7000 SCSI Commands Request Sense (03h) Field Name Description 4h HARDWARE ERROR. The Additional Sense Code / Additional Sense Code Qualifier fields may present more specific 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.
Chapter 3 Emulated DLT7000 SCSI Commands Reserve Unit (16h) Reserve Unit (16h) 3 The RESERVE UNIT command reserves the specified tape drive for exclusive use by the requesting initiator or for another specified SCSI device.
Chapter 3 Emulated DLT7000 SCSI Commands Reserve Unit (16h) Field Name Description 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. Flag bits are not supported by the DX-Series system. Link Bit A Link bit set to 1 indicates that the initiator requests continuation of a task (an I/O process) across two or more SCSI commands.
Chapter 3 Emulated DLT7000 SCSI Commands Reserve Unit (16h) If, after honoring the reservation, any other initiator 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.
Chapter 3 Emulated DLT7000 SCSI Commands Rewind (01h) Rewind (01h) 3 The REWIND command directs the tape drive to position the tape at the beginning of the currently active partition (for DLT drives, this is BOM). Before rewinding, the tape drive writes any write data that is in the buffer to the tape medium and appends an End of Data marker.
Chapter 3 Emulated DLT7000 SCSI Commands Send Diagnostic (1Dh) Send Diagnostic (1Dh) 3 The SEND DIAGNOSTIC command directs the tape drive to perform its self-diagnostic tests.
Chapter 3 Emulated DLT7000 SCSI Commands Send Diagnostic (1Dh) Tech Tip: This command will accept any correctly formatted command and return a good status. Two levels of unit-resident diagnostic tests can be accessed: Electronics Self-Test (Level 1 Test) To invoke this level of diagnostic test, a major portion of the controller hardware and software must be functioning properly.
Chapter 3 Emulated DLT7000 SCSI Commands Send Diagnostic (1Dh) The following table illustrates the possible settings of the Selftst, DevOfl, and UnitOfl bits and the effects of each setting on the resulting self-test: Table 210 SEND DIAGNOSTIC CDB Bits Selftst, DevOfl, and UnitOfl 260 Selftst DevOfl UnitOfl Self-Test Effect 0 0 0 Illegal Combination 0 0 1 Self-Test Level 3 with User Parameters 0 1 0 Illegal Combination 0 1 1 Self-Test Level 2 with Default Parameters 1 0 0 Self-Tes
Chapter 3 Emulated DLT7000 SCSI Commands Send Diagnostic (1Dh) Table 211 SEND DIAGNOSTIC Parameter List - Data Format Bit/Byte 7 6 5 4 3 2 1 0 (MSB) Pattern Number (See Table 5-77) 0-1 (LSB) (MSB) Maximum Number of Test Passes 2-3 (LSB) (MSB) Block Size 4-7 (LSB) (MSB) 8-11 Block Count (LSB) Quantum DX-Series Software Interface Guide 261
Chapter 3 Emulated DLT7000 SCSI Commands Send Diagnostic (1Dh) Table 212 SEND DIAGNOSTIC Parameter List - Field Descriptions Field Name Description Pattern Number Indicates the type of data pattern to be used during the diagnostic tests. Pattern Name Data in Hex 0 Rotate 1 All 0s 2 2F Rotate through the other 9 patterns; change for each tape file.
Chapter 3 Emulated DLT7000 SCSI Commands Send Diagnostic (1Dh) Field Name Description 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 field specifies how many blocks to WRITE / READ to and from starting on track 0, then moving to track 1. Default = 500.
Chapter 3 Emulated DLT7000 SCSI Commands Send Diagnostic (1Dh) Table 213 Sense Keys Used for SEND DIAGNOSTIC Sense Key Description 3h Medium Error. A positioning error has occurred in which the returned position does not match the expected position. Additional Sense Code for possible additional information. 4h Hardware Error. The Additional Sense Code and any Additional Sense Code Qualifier provide more specific information. 5h ILLEGAL REQUEST. Illegal bit settings in the SEND DIAGOSTIC command.
Chapter 3 Emulated DLT7000 SCSI Commands Space (11h) Space (11h) 3 The SPACE command provides a variety of positioning functions that are determined by Code and Count fields in the Command Descriptor Block. Both forward (toward End of Medium/End of Partition) and reverse (toward Beginning of Medium/Beginning of Partition) positioning are provided.
Chapter 3 Emulated DLT7000 SCSI Commands Space (11h) Table 216 SPACE Command Data - Field Descriptions Field Name Description Code The code can be one of the following: Space CodeSpace by: 000b Blocks 001b Filemarks 010b Sequential Filemarks 011b End of Data For 2.6 GB and 6.0 GB format, the tape drive supports count values 0, 1, and 2 only. For 10.0 GB and newer formats, compressed or noncompressed, the count value can be from 0 to FFFFFFh.
Chapter 3 Emulated DLT7000 SCSI Commands Space (11h) Highest BOM/P or EOM/P EOD Filemarks Lowest Blocks Note that a “space sequential filemarks” is a space to the first occurrence of n filemarks written sequentially. 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.
Chapter 3 Emulated DLT7000 SCSI Commands Test Unit Ready (00h) Test Unit Ready (00h) 3 The TEST UNIT READY command checks the tape drive to ensure that the unit is ready for commands involving tape movement. If the drive has a tape loaded, the command returns a GOOD status. Otherwise, CHECK CONDITION is reported. Due to power cycle, code update, and tape loaded conditions, it is possible to get multiple check conditions on a TEST UNIT READY command.
Chapter 3 Emulated DLT7000 SCSI Commands Verify (13h) Verify (13h) 3 The VERIFY command directs the tape drive to verify one or more blocks beginning with the next block on the tape. Both CRC and EDCs are validated.
Chapter 3 Emulated DLT7000 SCSI Commands Verify (13h) Field Name Description Fixed This bit specifies whether fixed-length or variablelength 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 blocks to be verified.
Chapter 3 Emulated DLT7000 SCSI Commands Write (0Ah) Write (0Ah) 3 The WRITE command transfers one or more blocks from the host to the current logical position. When in Buffered Mode (the DLT tape drive default mode), the tape drive reports GOOD status on WRITE commands as soon as this data block has been transferred to the data buffer. Any check conditions will be experienced as deferred errors. Refer to the MODE SELECT command subsection for more information on Buffered Mode.
Chapter 3 Emulated DLT7000 SCSI Commands Write (0Ah) Table 221 WRITE Command Data - Field Descriptions Field Name Description Fixed The fixed bit specifies both the meaning of the Transfer Length field and whether fixed-length or variable-length blocks are to be transferred. When the Fixed bit is 0, Variable-length block mode is selected. A single block is transferred from the initiator and is written to the logical unit beginning at the current logical tape position.
Chapter 3 Emulated DLT7000 SCSI Commands Write (0Ah) If the tape drive encounters the physical End of Medium (EOM) when attempting WRITE, a CHECK CONDITION status is returned. Within the sense data, the EOM and Valid bits are set, and the Sense Key field is set to Volume Overflow. The Information fields contain the residue count and the Additional Sense code and Additional Sense Code Qualifier fields are set to EOM/P Detected. The tape is physically positioned at EOM/P.
Chapter 3 Emulated DLT7000 SCSI Commands Write Buffer (3Bh) Write Buffer (3Bh) 3 The WRITE BUFFER command is used with READ BUFFER as a diagnostic function for testing the device data buffer, DMA engine, SCSI bus interface hardware, and SCSI bus integrity. It is also used for downloading and updating DLT microcode (firmware).
Chapter 3 Emulated DLT7000 SCSI Commands Write Buffer (3Bh) Table 223 WRITE BUFFER Command Data - Field Descriptions Field Name Description Mode The tape drive supports the following values within the field. If any other value is set, the drive terminates the command with CHECK CONDITION status and an ILLEGAL REQUEST sense key set.
Chapter 3 Emulated DLT7000 SCSI Commands Write Buffer (3Bh) Download Microcode Mode (100b) 3 Using buffer offsets, the host can download the firmware image into the target’s buffer in pieces. These commands do not cause the new image to become active. A Download and Save Mode WRITE BUFFER command must be issued for the image to become active. The tape drive must be empty of tape medium to allow downloading of an image. This is a safeguard against accidentally starting a firmware update.
Chapter 3 Emulated DLT7000 SCSI Commands Write Filemarks (10h) Write Filemarks (10h) 3 The WRITE FILEMARKS command directs the tape drive to write the specified number of Filemarks beginning at the current logical position on tape. If the Immediate bit is not set, any data or Filemarks in the WRITE cache buffer are written to tape.
Chapter 3 Emulated DLT7000 SCSI Commands Write Filemarks (10h) Field Name Description Immed Immediate. When this bit is set to 1, the tape drive returns status as soon as the Command Descriptor Block (CDB) has been validated, unless the Filemark count is 0, or greater than 1 (since either condition causes the WRITE buffer to be flushed to tape medium). When set to 0, this bit indicates the status will not be returned until the operation is complete.
Appendix A Sense Key Values A The following table lists sense key information that can be sent from the media changer or tape drive to the host computer. Table 226 Sense Data Values (Hexadecimal) Sense Key Message Name/Description 0h NO SENSE. Check the Filemark/EOM/ILI bits and the Additional Sense Code/ Additional Sense Code Qualifier bytes. 1h RECOVERED ERROR.
Appendix A Sense Key Values Sense Key Message Name/Description 3h MEDIUM ERROR. An unrecoverable AWRITE, READ, or positioning error has occurred. Detailed device-specific information may be available. 4h HARDWARE ERROR. The Additional Sense Code/Additional Sense Code Qualifier fields may present more specific 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.
Appendix B B Media Changer Sense Code Values The following table lists message information that can be sent from the media changer to the host computer.
Appendix B Media Changer Sense Code Values Table 227 Sense Data Values (Hexadecimal ASC ASCQ Message Name/Description 00 00 NO ADDITIONAL SENSE INFORMATION No recovery necessary. 04 00 LU IS NOT READY, CAUSE NOT REPORTABLE Check DX-Series system unit power. Retry command. 04 01 LOGICAL UNIT IN PROCESS OF BECOMING READY Wait for DX-Series system unit to complete initialization. 04 02 LOGICAL UNIT INIT REQUIRED Element status or calibration unknown.
Appendix B Media Changer Sense Code Values ASC ASCQ Message Name/Description 20 00 INVALID COMMAND OPERATION CODE Verify the host command format. 21 01 INVALID ELEMENT ADDRESS Check Mode Sense data for correct element addresses. 24 00 INVALID FIELD IN COMMAND DATA BLOCK Ensure all reserve fields are set to zero. 25 00 LOGICAL UNIT IS NOT SUPPORTED Verify the logical unit field specified in the command contains a legitimate logical unit number. Check cabling to logical unit.
Appendix B Media Changer Sense Code Values ASC ASCQ Message Name/Description 29 03 BUS DEVICE RESET OCCURRED 29 04 INTERNAL DEVICE RESET OCCURRED 2A 01 MODE PARAMETERS CHANGED Mode parameters may have changed due to another host issuing a Mode Select command. 39 00 SAVING PARAMETERS NOT SUPPORTED Verify Save Parameter field in the Mode Sense command complies with the command format described in this guide.
Appendix B Media Changer Sense Code Values ASC ASCQ Message Name/Description 3B 0E MEDIUM SOURCE ELEMENT EMPTY Source element address does not contain a cartridge. Issue a Read Element Status command and retry move command. If the problem recurs, issue an Initialize Element Status command followed by a Read Element Status command and retry the move command. 3F 0E REPORTED LUNS DATA HAS CHANGED 45 00 SELECT OR RE-SELECT FAILURE DX-Series system timed out trying to reselect host.
Appendix B Media Changer Sense Code Values ASC ASCQ Message Name/Description 54 00 SCSI TO HOST SYSTEM INTERFACE FAILURE Possible SCSI bus time-out or premature disconnect. Check cable connections and cable length. 80 00 DOOR WAS OPENED INVENTORY MAY HAVE BEEN CORRUPTED Close door and retry command. 80 01 TRANSFER FULL - COMMAND CAN NOT BE EXECUTED Gripper has cartridge in it. Move cartridge to empty storage element using Move Medium command. Retry command.
Appendix B Media Changer Sense Code Values ASC ASCQ Message Name/Description 80 22 ELEMENT CONTENTS UNKNOWN The contents of an element address are unknown. Issue a Read Element Status for the element address. If contents are still unknown issue an Initialize Element Status command. 88 00 WARNING SAFE TEMPERATURE EXCEEDED This is only a warning that the temperature in the DX-Series system exceeds the normal operational temperature (96.8oF).
Appendix B Media Changer Sense Code Values ASC ASCQ Message Name/Description F1 02 UNRECOGNIZED COMMAND Internal firmware error. Report this occurrence and previous command (if known) to Technical Support. F1 03 COMMAND REGISTER ERROR Internal firmware error. Report this occurrence and previous command (if known) to Technical Support.
Appendix C DLT7000 Sense Code Values C Table 228 lists message information that can be sent from the DLT7000 tape drive to the host computer.
Appendix C DLT7000 Sense Code Values Table 228 DLT7000 Tape Drive Sense Data Values (Hexadecimal) ASC ASCQ Description 00 00 No Additional Sense Code 00 01 Unexpected FM Encountered 00 02 End of Medium (EOM) Encountered 00 03 SetMark Encountered 00 04 Beginning of Medium (BOM) Encountered 00 05 EOD Encountered 00 17 Clean Requested (Non-Vendor Unique) 0A 00 Error Log Overflow 0A 80 Error Log Generated 0C 00 WRITE Error (possible tape medium problem, cleaning tape needed) 2
Appendix C DLT7000 Sense Code Values ASC ASCQ Description 14 00 Recorded Entity Not Found (logical DLT block not found) 15 02 Position Error Detected by Read of Medium 1A 00 Parameter List Length Error 20 00 Illegal Opcode 20 81 Illegal Command While In Recovery Mode 21 01 Invalid Element Address 24 00 Invalid CDB Field (may occur if odd block counts are attempted in fixed mode) 24 81 Invalid Mode on WRITE Buffer 24 82 Media in Drive 24 84 Insufficient Resources 24 86 Inv
Appendix C DLT7000 Sense Code Values ASC ASCQ Description 29 00 Reset Occurred 2A 01 Mode Parameters Changed 2A 02 Log Parameters Changed 2F 00 Commands Cleared by Another Initiator 30 00 Incompatible medium (cannot read medium) 30 02 Incompatible Format 30 03 Unit Not Ready, Incompatible Media (Cleaning Cartridge) Installed 292 37 00 Rounded Parameter 39 00 Saving Parameters Not Supported 3A 00 Media Not Present 3A 80 Media Not Present, VU Cartridge Missing 3B 00 Seq
Appendix C DLT7000 Sense Code Values ASC ASCQ Description 44 82 Command Complete Sequence Failure 44 83 SCSI Chip, Gross Error/ Illegal – Command Status 44 84 Unexpected/Unexplained Residue Count in Transfer Register 44 85 Immediate Data Transfer Timeout 44 86 Insufficient CDB Bytes 44 87 Disconnect Sequence Failed 44 88 Bus DMA Transfer Timeout 44 89 Command Cleared from Queue Without Other 44 8A Over Temperature Condition 44 C1 EEROM Copy 1 Area Bad 44 C2 EEROM Copy 2 A
Appendix C DLT7000 Sense Code Values ASC ASCQ Description 53 00 Media Load/Eject Failure 53 01 Unload Tape Failure 53 02 Media Removal Prevented 5A 01 Operator Media Removal Request 5B 01 Log Threshold Condition Met 5B 02 Log Counter at Maximum 5D 00 Tape Alert Failure Prediction Threshold Exceeded 5D FF False Exception Condition 80 00 Calibration Error (use cleaning tape) 80 01 Cleaning Required (use cleaning tape) 80 02 Cleaning Requested (use cleaning tape) 81 00 Di
Appendix C DLT7000 Sense Code Values 0Dh VOLUME OVERFLOW (No Additional Sense Code or Sense Code Qualifier) 0Eh MISCOMPARE (No Additional Sense Code or Sense Code Qualifier) 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 of fields in the SCSI-2 REQUEST SENSE command.
Appendix C DLT7000 Sense Code Values 296 Quantum DX-Series Software Interface Guide
Appendix D Fibre Channel Topology D Fibre Channel is a serial data transfer architecture for use with computers and mass storage devices that is rapidly emerging to challenge SCSI as the interface of choice for host-to-storage applications.
Appendix D Fibre Channel Topology Figure 3 Fibre Channel Topologies • Point-to-Point (Fibre Channel device is connected directly to the Fibre Channel host) • Arbitrated Loop (multiple Fibre Channel devices are connected to a switch or hub in a Fibre Channel network or fabric) Fibre Channel device Fibre Channel host Point-to-Point Fibre Channel device Fibre Channel device Fibre Channel device Fiber Channel switch or hub Fibre Channel device Fibre Channel device Fibre Channel device Arbitrated
Appendix D Fibre Channel Topology Arbitrated Loop devices still use the three byte address identifiers, but also use an Arbitrated Loop Physical Address (AL_PA). AL_PAs are one byte values dynamically assigned each time the Loop is initialized. Once the Loop is initialized and (hopefully) each L_Port has selected an AL_PA, public NL_Ports will attempt Fabric Login.
Appendix D Fibre Channel Topology 300 Quantum DX-Series Software Interface Guide
Appendix E E DX-Series Software Deviations The DX-Series system emulates an ATL P1000 library media changer and a DLT 7000 tape drive. This section documents the software deviations in both the media changer (ATL P1000) and the DLT 7000 tape drive SCSI command sets. Media Changer SCSI Command Deviations 5 • Media Changer SCSI Command Deviations • DLT 7000 SCSI Command Deviations This section documents where the DX-Series system deviates from a normal ATL P1000 media changer.
Appendix E DX-Series Software Deviations • DX3000 - 800 • DX5000 - 1600 The ATL P1000 library can be configured with a maximum of 40 storage elements. • Data Transport Element - The DX-Series system supports the following maximum transport elements: • DX30 - 30 • DX100 - 55 • DX3000 - 32 • DX5000 - 64 The ATL P1000 library can be configured with a maximum of 4 data transport elements.
Appendix E DX-Series Software Deviations Log Sense 5 Log sense page 30h, parameter data is all zeroes (example: emulated library statistics are not maintained). See Log Sense (4Dh) on page 26 for more information. Mode Select 6/10 5 Implemented per specification. See Mode Select (15h) on page 32 for more information.
Appendix E DX-Series Software Deviations Move Medium 5 Implemented per specification. See Move Medium (A5h) on page 50 for more information. Position to Element 5 Implemented per specification. See Position To Element (2Bh) on page 52 for more information. Prevent/Allow Medium Removal 5 The DX-Series system returns a check condition, unsupported command, whereas the ATL P1000 supports this command. Read Element Status 5 Implemented per specification.
Appendix E DX-Series Software Deviations 5 Report LUNS Implemented per specification. See Report LUNS (A0h) on page 73 for more information. 5 Request Sense The DX-Series system sense data size is 24 bytes whereas the ATL P1000 is 21 bytes. The extra 3 bytes are located at the end and are reserved. All Sense Codes related to mechanical failures have been removed from the list since they will never occur. See Request Sense (03h) on page 75 for more information.
Appendix E DX-Series Software Deviations Send Diagnostic 5 The DX-Series system does not perform any actual diagnostics indicated by the command. It will always return a good status for the diagnostics requested. See Send Diagnostic (1Dh) on page 100 for more information. Send Volume Tag 5 The DX-Series system returns a check condition, unsupported command, whereas the ATL P1000 supports this command. See Send Volume Tag (B6h) on page 102 for more information.
Appendix E DX-Series Software Deviations • Tape Drive Density Setting - Block Descriptor, Density Code field, all density codes are excepted. Only density codes 80h – 85h may effect the compression setting (Data Compression Page, field DCE). 5 Erase Implemented per specification. Note: The DX-Series system will perform this operation in less than 5 seconds, whereas a DLT 7000 may take upwards of over an hour to perform. See Erase (19h) on page 122 for more information.
Appendix E DX-Series Software Deviations Log Select 5 Implemented per specification. See Log Select (4Ch) on page 149 for more information. Log Sense 5 Write Error Counter Page 02h, is not supported. Enable Threshold Comparison (ETC) not supported. Read Error Counter Page 03h, cumulative values, parameter codes 2,3,5,6,8000h are always 0. Enable Threshold Comparison (ETC) not supported. Device Wellness Page 33h, parameter code data are always 0.
Appendix E DX-Series Software Deviations 5 Mode Sense 6 / 10 EEPROM Vendor Unique Page 3Eh, is not supported. See Mode Sense (6/10) (1Ah / 5Ah) on page 202 for more information. Prevent/Allow Medium Removal 5 Implemented per specification. See Prevent / Allow Medium Removal (1Eh) on page 227 for more information. Read 5 Implemented per specification. See Read (08h) on page 229 for more information. Read Block Limits 5 Implemented per specification.
Appendix E DX-Series Software Deviations Receive Diagnostics 5 Implemented per specification. See Receive Diagnostic Results (1Ch) on page 241 for more information. Release Unit 5 Implemented per specification. See Release Unit (17h) on page 243 for more information. Report LUNS 5 Implemented per specification. See Report LUNS (A0h) on page 245 for more information. Request Sense 5 All Sense Codes related to mechanical failures have been removed from the list since they will never occur.
Appendix E DX-Series Software Deviations See Rewind (01h) on page 257 for more information. Send Diagnostic 5 The DX-Series system does not perform any actual diagnostics indicated by the command. It does validate the command but does not validate any of the parameter list data. It will always return a good status for the diagnostics requested. See Send Diagnostic (1Dh) on page 258 for more information. 5 Space Implemented per specification.
Appendix E DX-Series Software Deviations Test Unit Ready 5 Implemented per specification. See Test Unit Ready (00h) on page 268 for more information. Verify 5 Implemented per specification See Verify (13h) on page 269 for more information. Write 5 Implemented per specification. See Write (0Ah) on page 271 for more information. Write Buffer 5 The DX-Series system returns a check condition, unsupported command, whereas the DLT 7000 supports this command.
Glossary A abort message This SCSI-2 message allows the host to abort a process and stop the DX-Series system’s operation at its next “safe” position. B bar code label The identification label on cartridges. bus device reset message This SCSI-2 message causes the DX-Series system to clear all I/O processes. The Unit Attention condition is set to indicate that the device has been reset. C calibration The software measurements and configuration required for successful operation of the DX-Series system.
Glossary DX-Series system A backup device based on hard drives. E element A discrete physical entity that can hold a single tape cartridge and is represented by a unique 16-bit element address. SCSI elements include storage bins, tape drives, load port bins, and the gripper. F FCC Class A Standard established by the U.S. Federal Communications Commission governing electromagnetic emissions. G gripper assembly The assembly that grips cartridges.
Glossary M medium changer element A member of the tape DX-Series address space. Each element is a discrete physical entity that can hold a single tape cartridge. medium transport element Mechanism used to move media between elements within the DX-Series. message parity error This SCSI-2 message is sent to the DX-Series to indicate that it received a message byte with a parity error.
Glossary request sense command Allows the host to receive sense data from the DX-Series. request volume element address command Reports the element descriptors found by a Send Volume Tag command. reserve command Reserves the specified DX-Series or elements for exclusive use by the requesting initiator or another specified SCSI device. rezero unit command Allows the host to home all DX-Series mechanisms. RS-232 A serial communications cabling and protocol standard for ninepin connectors.
Index position to element 52 A read element status 54 release 71 Auto drive unload feature, enabling 34 request sense 75 Automatic drive cleaning feature,enabling 33 request volume element address 79 reserve 95 rezero unit 99 B send diagnostic 100 send volume tag 102 Bus device reset message test unit ready 105 reserve command 95 D C Devices attached to scsi bus, (inquiry command) 16–17 Commands initialize element status 13 initialize element status with range 14 Drive serialization, enabli
Mode select command 32–37 Events power cycle 5 command format 32 request sense command 5 element address assignment page 35 enabling drive serialization 33 vendor unique page 33 Mode sense command 39 I command format 39 Initialize element status command 13 data header table 41 Initialize element status with range command 14–15 device capabilities data format 46 INQUIRY Command 124 transport geometry parameters page 45 INQUIRY command 16–17 vendor unique page format 48 Move medium command 50–51
alternate volume tag info 69 S command format 54 data format 58 data transfer element descriptor 67 SCSI Commands DATA-phase command components 115 general structure 57 INQUIRY 124 import/export element descriptor 64 medium transport element descriptor 60 primary volume tag info 62 Status/error reporting 113 SCSI II specification xxiv SCSI-2 terms 9 status page format 59 storage element descriptor 62 Release command 71–72 Send diagnostic command 100 Send volume tag command 102–104 Sense data values
320 Quantum DX-Series Software Interface Guide