,QWHUIDFH 5HIHUHQFH *XLGH ,QWHUIDFH 5HIHUHQFH *XLGH ,QWHUIDFH 5HIHUHQFH *XLGH '/7 6 7DSH 'ULYH '/7 6 $
DLT-S4 Interface Reference Guide, 81-81281-04 A01, January 2008, 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 2007 by Quantum Corporation. All rights reserved.
Contents Preface Chapter 1 xxviii Introduction 1 Background Information About SCSI ............................................................. 1 Parallel SCSI Characteristics ..................................................................... 2 Fibre Channel Characteristics ................................................................... 3 Serial Attached SCSI Characteristics........................................................
Contents Chapter 3 Transport Layer Implementation Details 9 Parallel SCSI ...................................................................................................... 10 SCSI Bus Reset Condition ........................................................................10 Supported Messages ................................................................................. 11 Supported Task Management for Information Units .......................... 13 Synchronous Data Transfer Request ............
Contents LOAD UNLOAD Command (1Bh) ............................................................... 54 LOCATE Command (2Bh).............................................................................. 56 LOG SELECT Command (4Ch) ..................................................................... 57 Overview—LOG SELECT Command Descriptor Block Errors .......... 59 Operation of LOG SELECT ..................................................................... 59 LOG SELECT Log Page Format ...................
Contents MODE SENSE Block Descriptor........................................................... 162 Read / Write Error Recovery Page (01h) ............................................ 164 Disconnect / Reconnect Page (02h)...................................................... 165 Control Mode Page (0Ah)...................................................................... 171 Data Compression Page (0Fh)............................................................... 173 Device Configuration Page (10h).......
Contents A Comparison of MAM and EMAM ................................................... 261 READ BLOCK LIMITS Command (05h) .................................................... 262 READ BUFFER Command (3Ch) ................................................................ 264 Retrieving Diagnostic Data ................................................................... 265 Read Data from the Saved Buffer (A1h).......................................266 Read Data from the Live Buffer (A2h)..................
Contents WRITE ATTRIBUTE Command (8Dh) ....................................................... 337 Error Summary for the WRITE ATTRIBUTE Command.................. 339 WRITE BUFFER Command (3Bh) ............................................................... 341 Write Combined Header and Data Mode (00h) ................................. 342 Write Data Mode (02h)........................................................................... 342 Download Microcode Mode (04h) ......................................
Figures DLT-S4 Interface Reference Guide Figure 1 Synchronous Data Transfer Request Message — Data Format................................................................................. 13 Figure 2 Parallel Protocol Request Message — Data Format .............. 15 Figure 3 Features of the Parallel Protocol Request Message ............... 16 Figure 4 Wide Data Transfer Request Message — Data Format ........ 17 Figure 5 ERASE Command Descriptor Block — Data Format............
DLT-S4 Interface Reference Guide Figure 17 Manufacturer-Assigned Serial Number Page — Data Format................................................................................. 50 Figure 18 Firmware Build Information Page — Data Format............... 51 Figure 19 Subsystem Components Revision Page — Data Format...... 52 Figure 20 LOAD UNLOAD Command Descriptor Block — Data Format ..........................................................................................
DLT-S4 Interface Reference Guide Figure 39 SAS Phy Log Descriptor ............................................................ 81 Figure 40 TapeAlert LOG SENSE Page — Header Format .................... 84 Figure 41 TapeAlert LOG SENSE Page — Parameters Format.............. 84 Figure 42 Device Wellness LOG SENSE Page — Header Format ......... 89 Figure 43 Log Parameters Format for Device Wellness LOG SENSE Page (Parameter Codes 0000h – 000Fh) .....................
DLT-S4 Interface Reference Guide Figure 59 Fibre Channel — Disconnect / Reconnect MODE SELECT Page — Data Format................................................. 109 Figure 60 SAS — Disconnect / Reconnect MODE SELECT Page — Data Format............................................................................... 111 Figure 61 Control Mode MODE SELECT Page — Data Format ........... 113 Figure 62 Data Compression MODE SELECT Page — Data Format ...
Figure 80 MODE SENSE (6) Command Descriptor Block — Data Format............................................................................... 157 Figure 81 MODE SENSE (10) Command Descriptor Block — Data Format............................................................................... 158 Figure 82 MODE SENSE (6) Data Header — Data Format ................. 160 Figure 83 MODE SENSE (10) Data Header — Data Format ............... 160 Figure 84 MODE SENSE Block Descriptor — Data Format ...........
Figure 101 Parallel SCSI — SPI Negotiated Settings Mode Subpage — Data Format ......................................................... 192 Figure 102 Parallel SCSI — SPI Report Transfer Capabilities Mode Subpage — Data Format .............................................. 194 Figure 103 TapeAlert MODE SENSE Page — Data Format .................. 196 Figure 104 TapeAlert MODE SENSE Page — Field Descriptions ........ 197 Figure 105 Medium Configuration Mode Page.......................................
Figure 121 READ ATTRIBUTE with VOLUME LIST Service Action — Parameter List Format ............................................................. 241 Figure 122 READ ATTRIBUTE with PARTITION LIST Service Action — Parameter List Format ........................................... 243 Figure 123 EMAM Attribute — Data Format .......................................... 244 Figure 124 DEVICE VENDOR/SERIAL NUMBER Attribute — Data Format ..............................................................................
Figure 142 REPORT DENSITY SUPPORT Command Descriptor Block — Data Format............................................................... 282 Figure 143 REPORT DENSITY SUPPORT Header — Data Format ........ 283 Figure 144 DENSITY SUPPORT Descriptor — Data Format ................ 284 Figure 145 Medium Type Descriptor — Data Format............................ 287 Figure 146 REPORT DEVICE IDENTIFIER Command Descriptor Block — Data Format...............................................................
Figure 164 SET DEVICE IDENTIFIER Command Descriptor Block — Data Format............................................................... 327 Figure 165 SET DEVICE IDENTIFIER Parameter List — Data Format ... 328 Figure 166 SET TIMESTAMP Command — Data Format........................ 329 Figure 167 SET TIMESTAMP Command Parameter List — Data Format............................................................................... 330 Figure 168 TEST UNIT READY Command Descriptor Block — Data Format..................
Tables DLT-S4 Interface Reference Guide Table 1 Task Management by Transport Layer ..................................... 6 Table 2 Supported Message In List........................................................ 11 Table 3 Supported Message Out List .................................................... 12 Table 4 Transfer Periods and Transfer Rates ....................................... 14 Table 5 Supported Basic Link Service Commands..............................
Tables DLT-S4 Interface Reference Guide Table 16 INQUIRY Command Descriptor Block — Field Table 17 Standard INQUIRY Data Page — Field Descriptions.............. 36 Table 18 INQUIRY Command Variance by Protocol ........................... 38 Table 19 Vendor-Specific Inquiry Data Page — Field Descriptions................................................................................. 40 Table 20 Unit Serial Number Page — Field Descriptions ....................
Tables DLT-S4 Interface Reference Guide Table 38 General Purpose Non-Volatile LOG SELECT Page — Field Descriptions.................................................................. 65 Table 39 LOG SENSE Command Descriptor Block — Field Descriptions................................................................................. 67 Table 40 Supported Pages LOG SENSE Page — Field Descriptions ... 69 Table 41 Read / Write Error LOG SENSE Header — Field Descriptions.....................................
Tables DLT-S4 Interface Reference Guide Table 57 General Purpose Non-Volatile LOG SENSE Header — Field Descriptions.................................................................. 92 Table 58 General Purpose Non-Volatile LOG SENSE Page — Field Descriptions.................................................................. 93 Table 59 Device Status LOG SENSE Header — Field Descriptions..... 94 Table 60 Log Parameters for Device Status LOG SENSE Page — Field Descriptions.............................
Tables DLT-S4 Interface Reference Guide Table 75 Fibre Channel — Logical Unit Control MODE SELECT Page — Field Descriptions ...................................... 125 Table 76 SAS — Logical Unit Control MODE SELECT Page — Field Descriptions..................................................................... 126 Table 77 Parallel SCSI — Port Control MODE SELECT Page — Field Descriptions.....................................................................
Tables DLT-S4 Interface Reference Guide Table 95 Fibre Channel — Disconnect / Reconnect MODE SENSE Page — Field Descriptions......................................... 168 Table 96 SAS — Disconnect / Reconnect MODE SENSE Page — Field Descriptions ...................................................... 170 Table 97 Control Mode MODE SENSE Page — Field Descriptions...............................................................................
Tables DLT-S4 Interface Reference Guide Table 113 EEPROM MODE SENSE Page Command Descriptor Block — Field Descriptions..................................................... 207 Table 114 PERSISTENT RESERVE IN Command — Field Descriptions............................................................................... 209 Table 115 Read Keys Parameters— Field Descriptions ........................ 212 Table 116 Read Reservation Parameters — Field Descriptions...........
Tables DLT-S4 Interface Reference Guide Table 131 READ ATTRIBUTE Command Service Action Codes ........... 238 Table 132 READ ATTRIBUTE with ATTRIBUTE VALUES Table 133 READ ATTRIBUTE with ATTRIBUTE LIST Service Table 134 READ ATTRIBUTE with VOLUME LIST Service Action Table 135 READ ATTRIBUTE with PARTITION LIST Service Table 136 EMAM Attribute Parameter Data — Field Descriptions...............................................................................
Tables DLT-S4 Interface Reference Guide Table 150 READ POSITION Command Descriptor Block — Table 151 READ POSITION (Short Form) Data — Field Table 152 READ POSITION (Long Form) Data — Field Table 153 RECEIVE DIAGNOSTIC RESULTS Command Data — Table 154 RELEASE (10) Command — Field Descriptions .................. 279 Table 155 RELEASE UNIT Command — Field Descriptions ................
Tables DLT-S4 Interface Reference Guide Table 170 REPORT TIMESTAMP Command Parameter Data — Table 171 REQUEST SENSE Command Data — Field Descriptions... 305 Table 172 REQUEST SENSE Data — Field Descriptions....................... 307 Table 173 Supported Sense Keys for REQUEST SENSE Command.... 309 Table 174 Supported ASC / ASCQ (Hex) for REQUEST SENSE Command ..................................................................................
Tables DLT-S4 Interface Reference Guide Table 192 WRITE ATTRIBUTE Parameter Command Data — Table 193 WRITE ATTRIBUTE Command Parameter Data — Table 194 WRITE BUFFER Command Descriptor Block — Table 195 WRITE FILEMARKS Command — Field Descriptions ......... 345 Field Descriptions..................................................................... 338 Field Descriptions..................................................................... 339 Field Descriptions.......................................
Preface This document describes the Parallel SCSI, Fibre Channel, and Serial Attached SCSI (SAS) interfaces for the DLT-S4 tape drive. Audience This document was written for software engineers developing application software and hierarchical mass storage software for DLT-S4 tape drives. It has been designed for use by software engineers who have a basic understanding of SCSI principles and technology.
Preface Document Organization 0 Notational Conventions This document is organized as follows: • Chapter 1, Introduction, provides an overview of Parallel SCSI, Fibre Channel, and SAS. • Chapter 2, Task Management, introduces task management by function • Chapter 3, Transport Layer Implementation Details, explains the details of the transport layer as it relates to the functioning of the DLT-S4 tape drive.
Preface (SK=S ASC=AA ASCQ=QQ) where: S — hexadecimal sense key value AA — hexadecimal additional sense code QQ — hexadecimal additional sense code qualifier Related Documents The following documents are related to the DLT-S4 tape drive: Document No.
Preface See the appropriate product manuals for information about the tape drive and cartridges. 0 SCSI Standards Copies of the approved version of the SCSI standards may be obtained from: Global Engineering Documents 15 Inverness Way, East Englewood, CO 80112 (800) 854-7179 or (303) 397-2740 Contacts Quantum company contacts are listed below.
Preface Getting More Information or Help More information about this product is available on the Service and Support website at www.quantum.com/support. The Service and Support Website contains a collection of information, including answers to frequently asked questions (FAQs). You can also access software, firmware, and drivers through this site.
Preface 0 DLT-S4 Interface Reference Guide xxxiv
Chapter 1 1 Introduction This chapter covers basic SCSI background information as it relates to DLT-S4 drive characteristics and interfaces. Background Information About SCSI 1 SCSI is one of the industry’s most widely adopted I/O interfaces; it is widely used in computing platforms from personal computers to mainframes to peripheral devices of all types. DLT-S4 tape drives conform to the SCSI-3 standard.
Chapter 1 Introduction Background Information About SCSI Format of data written to tape: Parallel SCSI Characteristics 1 • Logical addressing (rather than physical addressing) is used for all data blocks. • Tape drives support block sizes from 4 bytes to 16,777,212 bytes. • Fixed block sizes must be in multiple of 4 bytes. • The DLT-S4 can read DLT-S4, SDLT 600, and SDLT 320 formatted tapes and can write to DLT-S4 formatted tapes.
Chapter 1 Introduction Background Information About SCSI Fibre Channel Characteristics The features of the DLT-S4 Fibre Channel implementation include: 1 • • Automatic speed negotiation, with transfer rates of: • 100 megabytes per second (1 Gb/second) • 200 megabytes per second (2 Gb/second) • 400 megabytes per second (4 Gb/second) Automatic topology negotiation (the tape drive operates as an NL_Port or N_Port): • Arbitrated Loop: private loop, NL_Port to NL_Port(s) • Arbitrated Loop: public
Chapter 1 Introduction Background Information About SCSI Serial Attached SCSI Characteristics 1 The important features of the DLT-S4 SAS implementation include the following: • DLT-S4 Interface Reference Guide Automatic speed negotiations, with transfer rates of: • 150 megabytes per second (1.5 Gb/second) • 300 megabytes per second (3.0 Gb/second). • SAS-1.
Chapter 2 2 Task Management This chapter provides a detailed description of task management by transport layer. Specifically, it covers the following topics: DLT-S4 Interface Reference Guide • Task Management by Transport Layer Overview, provides a list of task management functions by interface. • Task Management Function, describes the tape drive response for each function.
Chapter 2 Task Management Task Management by Transport Layer Overview Task Management by Transport Layer Overview 2 Table 1 shows the task management function and its specific characteristics by transport layer.
Chapter 2 Task Management Task Management Function Task Management Function 2 There are three types of Task Management: • • • Reset • TARGET RESET • LOGICAL UNIT RESET Abort • ABORT TASK SET • ABORT TASK • CLEAR TASK SET Query • TARGET RESET QUERY TASK 2 An initiator sends the TARGET RESET request to direct the tape drive to clear all I/O processes.
Chapter 2 Task Management Task Management Function CLEAR TASK SET 2 CLEAR TASK SET clears all commands for requesting initiator. CLEAR TASK SET can clear multiple commands, when command queuing is in effect. ABORT TASK 2 This task management function causes the drive to clear the current I/O process on the selected unit. Buffered (cached) write operations are completed if possible. The current settings of MODE SELECT parameters and reservations are not affected.
Chapter 3 Transport Layer Implementation Details 3 This chapter explains information specific to the Parallel SCSI, Fibre Channel, and SAS interfaces for the DLT-S4 tape drive on the transport layer.
Chapter 3 Transport Layer Implementation Details Parallel SCSI Parallel SCSI 3 This section contains descriptions of each of the messages the drive supports. Parallel SCSI message-level errors are communicated by messages that are defined specifically for that purpose (for example, MESSAGE PARITY ERROR or MESSAGE REJECT). Message-level errors are also handled by drive-managed retries (see Supported Messages on page 11 for more detailed message-handling information).
Chapter 3 Transport Layer Implementation Details Parallel SCSI Supported Messages 3 The tape drive supports the messages and the direction of the message flow as listed in table 2 and table 3.
Chapter 3 Transport Layer Implementation Details Parallel SCSI Table 3 Supported Message Out List Message Out DLT-S4 Interface Reference Guide NonInformation Units Information Units Abort Task (0Dh) see ABORT TASK on page 8 D Abort Task Set (06h) see ABORT TASK SET on page 8 D Clear Task Set (0Eh) see CLEAR TASK SET on page 8 D Logical Unit Reset (17h) see LOGICAL UNIT RESET on page 7 D Target Reset (0Ch) see TARGET RESET on page 7 D Identify (80h+) D Initiator Detected Error (05h) D D M
Chapter 3 Transport Layer Implementation Details Parallel SCSI For more in information about supported task management for information units (see chapter 2, Task Management). Supported Task Management for Information Units 3 This extended message allows the tape drive and initiator to agree on the values of the parameters relevant to synchronous transfers. The SYNCHRONOUS DATA TRANSFER REQUEST message has the format shown in figure 1.
Chapter 3 Transport Layer Implementation Details Parallel SCSI • After any SCSI reset condition • After a TARGET RESET message • After a power cycle • After a WIDE DATA TRANSFER REQUEST message exchange. The SYNCHRONOUS DATA TRANSFER REQUEST message exchange establishes an agreement between two SCSI devices on the clocking of the data used for DATA phase transfer between them. This agreement applies to the DATA IN and DATA OUT phases only.
Chapter 3 Transport Layer Implementation Details Parallel SCSI The drive’s minimum supported value for Transfer Period is 0Ah when the bus is operating in LVD mode. When operating in SE (Single-Ended) mode, the minimum Transfer Period value is 0Ch. When the Transfer REQ/ACK value is non-zero, the drive will transfer data using synchronous transfers; a Transfer REQ/ACK offset value of zero indicates asynchronous transfers.
Chapter 3 Transport Layer Implementation Details Parallel SCSI an Ultra 2 interface card. To enable it, set the MODE SELECT Vendor Specific EEPROM parameter EnablePPRMsg to 1. The PPR message allows the host and target devices to negotiate operating conditions of the SCSI bus. An DLT-S4 tape drive responds to a PPR message with a reciprocal PPR message containing acceptable parameters for the interface. An DLT-S4 tape drive never initiates a PPR negotiation.
Chapter 3 Transport Layer Implementation Details Parallel SCSI Figure 3 4 illustrates the message formats. Wide Data Transfer Request Figure 4 Wide Data Transfer Request Message — Data Format Bit Byte 7 6 5 4 3 2 0 Extended Message Identifier (01h) 1 Length (02h) 2 WIDE DATA TRANSFER REQUEST (03h) 3 Transfer Width Exponent 1 0 The DLT-S4 tape drive initiates a WIDE DATA TRANSFER REQUEST message exchange whenever a previously arranged transfer width agreement may have become invalid.
Chapter 3 Transport Layer Implementation Details Fibre Channel Fibre Channel 3 For more in information about fibre channel task management, (see chapter 2, Task Management). Link Service and Unsolicited Control Support Basic Link Service DLT-S4 tape drives provide Link Service and Unsolicited Control support as described in this section. 3 3 Table 5 lists the Basic Link Service requests the drive supports (see the FCFS-2 specification for details).
Chapter 3 Transport Layer Implementation Details Fibre Channel Extended Link Service Commands 3 Table 6 Supported Extended Link Service Commands Extended Link Service Loop Initialization Table 6 lists the Extended Link Service (ELS) commands the drive supports (see the FC-FS-2 specification for details).
Chapter 3 Transport Layer Implementation Details Fibre Channel Table 7 Supported Extended Link Service Loop Initialization Commands FC-4 Link Service Commands 3 Table 8 Supported FC-4 Link Service Commands Unsolicited Control / Name Server Requests 3 Table 9 Supported Name Server Requests DLT-S4 Interface Reference Guide Loop Initialization Identifier Abbreviation Description 1101h LISM Select Loop Master Based on 8Byte Port Name 1102h LIFA Fabric Assigned AL_PA Bit Map 1103h LIPA Previo
Chapter 3 Transport Layer Implementation Details Serial Attached SCSI (SAS) Serial Attached SCSI (SAS) 3 For more in information about SAS task management, (see chapter 2, Task Management). 3 DLT-S4 tape drives support Transport Layer Retries as indicated in the Transport Layer Retries MODE SENSE Logical Unit Control Page. It is not possible to turn off support of Transport Layer Retries. This section describes implementation specific details of the Transport Layer retires for DLT-S4 tape drive.
Chapter 4 4 SCSI Commands This chapter describes the supported SCSI commands, options, and error recovery procedures implemented in the DLT-S4 tape drive. This chapter does not fully reiterate the entire ANSI SCSI standards; for information of this nature, refer to the SCSI standards itself. The Web sites www.scsita.org and www.t10.org are also helpful sources of information.
Chapter 4 SCSI Commands Overview of SCSI Command and Status Processing Overview of SCSI Command and Status Processing 4 The DLT-S4 tape drive supports the SCSI-3 command set and the SCSI commands listed in table 10.
Chapter 4 SCSI Commands Overview of SCSI Command and Status Processing Operation Code See REPORT SUPPORTED TASK MANAGEMENT OPERATIONS A3h, SA= 0Dh1 page 300 REPORT TIMESTAMP A3h, SA= 0Fh1 page 302 REQUEST SENSE 03h page 304 RESERVE (10) 56h page 317 RESERVE UNIT 16h page 319 REWIND 01h page 321 SEND DIAGNOSTIC 1Dh page 322 SET DEVICE IDENTIFIER A4h, SA= 06h1 page 326 SET TIMESTAMP A4h, SA= 0Fh1 page 328 SPACE 11h page 330 TEST UNIT READY 00h page 332 VERIFY 13h page 333
Chapter 4 SCSI Commands Overview of SCSI Command and Status Processing Table 11 Status Codes Autosense Status Code Definition Meaning 00h GOOD The drive successfully completed the command. 02h CHECK CONDITION An exception condition occurred. 08h BUSY The drive cannot currently service the command and has discarded the CDB. The initiator may retry the command later.
Chapter 4 SCSI Commands Overview of SCSI Command and Status Processing 4 Queued Unit Attentions are implemented on the DLT-S4 tape drive and Unit Attention Condition are maintained separately for each valid LUN for each initiator. Unit Attentions are created in each of the following circumstances: • At power-on. • When the medium may have changed asynchronously. • When another initiator changes the Mode parameters. • When a firmware (microcode) update has completed.
Chapter 4 SCSI Commands Overview of SCSI Command and Status Processing The Data Out column in table 13 lists the information the initiator passes to the drive as part of the command. The Data In column lists the information the drive sends to the initiator. Numbers in parentheses after an item indicate the item’s length in bytes. In some cases, additional length information is communicated during DATA.
Chapter 4 SCSI Commands Overview of SCSI Command and Status Processing Command Length in CDB Data Out (to drive) Data In (from drive) RECEIVE DIAGNOSTIC RESULTS Allocation --- Diagnostic Page REPORT DENSITY SUPPORT Allocation --- Density Support Header (4), Density Support Descriptors REPORT DEVICE IDENTIFIER Allocation --- Device Identification Information REPORT LUNS Allocation --- Supported LUNs List REPORT SUPPORTED OPERATION CODES Allocation --- Depends on Parameter Value REPOR
Chapter 4 SCSI Commands Overview of SCSI Command and Status Processing Behavior at Power-On 4 Depending on the interface, the DLT-S4 tape drive’s behavior at poweron consists of the following: • • DLT-S4 Interface Reference Guide Parallel SCSI • The drive’s SCSI lines are set to high impedance. • The design of the drive prevents it from generating any spurious signals on the SCSI bus during power-on.
Chapter 4 SCSI Commands Overview of SCSI Command and Status Processing • Data Cache and Tape Write Interaction 4 Serial Attached SCSI • Transceivers are turned on, auto speed negotiation occurs, and the link reset sequence is initiated. • The drive rewinds the tape to Beginning of Tape (BOT). • The drives goes through a calibration process at power-on and loading of media. • Following power-on self test (POST) and self initialization, the tape drive is ready to respond to interface traffic.
Chapter 4 SCSI Commands SCSI Command Descriptions SCSI Command Descriptions 4 The SCSI command descriptions that make up the rest of this chapter contain detailed information about each command the DLT-S4 tape drive supports. The SCSI commands are presented in alphabetical order. Fields common to many of the SCSI commands are not repeated for every command; instead they are supported as shown in table 14.
Chapter 4 SCSI Commands SCSI Command Descriptions This is an alternate, “shorthand” presentation for: Bit Byte 7 6 5 4 3 2 1 0 (Bytes 0 — 6) 7 (MSB) 8 DLT-S4 Interface Reference Guide Parameter List Length (LSB) 32
Chapter 4 SCSI Commands ERASE Command (19h) ERASE Command (19h) 4 The ERASE command erases the data on the tape medium. The tape drive erases the data only if the Long bit is set to 1 and the drive receives the ERASE command while it is at Beginning of Tape (BOT). If the Long bit is set to 0, this command has no effect on the tape medium. Note: The time required to completely erase a tape cartridge is more than 3 hours.
Chapter 4 SCSI Commands INQUIRY Command (12h) INQUIRY Command (12h) 4 The INQUIRY command allows the initiator to direct all attached devices to return information about themselves. DLT-S4 devices respond by providing a variety of information, including their World Wide Name and other important characteristics. The DLT-S4 tape drive identifies itself as a Sequential Access Storage Device. Note: The tape drive does not need to access its tape medium to respond to the INQUIRY command.
Chapter 4 SCSI Commands INQUIRY Command (12h) Table 16 INQUIRY Command Descriptor Block — Field Descriptions Standard Inquiry Data Page Field Description EVPD Enable Vital Product Data. If set to 0, the drive returns the Standard Inquiry Data. If EVPD is set to 1, the drive returns the Vital Product Data Page specified by Page Code. Page Code Specifies the Vital Product Data Page that the drive is to return when EVPD is set to 1.
Chapter 4 SCSI Commands INQUIRY Command (12h) Bit 7 Byte 16 — 31 32 — 35 36 — 55 6 5 4 2 1 0 (MSB) Product Identification (LSB) (MSB) Product Revision Level (hhss) (LSB) (MSB) Vendor-Specific Bytes Reserved 56 Clocking (LSB) QAS IUS Reserved 57 58 — 59 3 (MSB) Version Descriptor (first version descriptor) (LSB) Version Descriptor (last version descriptor, if more than one) (n — 1) — n Table 17 contains field descriptions for the data the DLT-S4 tape drive returns.
Chapter 4 SCSI Commands INQUIRY Command (12h) Field Value Description Response Data Format 2 This Standard Inquiry Data is in the format described in the Version field. Additional Length --- The drive uses this field to indicate the number of additional bytes of INQUIRY Response Data available. The value depends on the number of version descriptors returned in the INQUIRY Response Data. SCCS 0 SCC Supported. ACC 0 Access Controls Coordinator. ALUA 00b Asymmetric Logical Unit Access.
Chapter 4 SCSI Commands INQUIRY Command (12h) Field Value Description Clocking See table 18. Clocking. QAS See table 18. Quick Arbitrate Supported. IUS See table 18. Information Units Supported. Version Descriptors Version descriptors my vary by protocol (Parallel SCSI, Fibre Channel, and SAS) Identifies the industry standards to which the drive conforms. Note: As many version descriptors as apply for the drive are returned.
Chapter 4 SCSI Commands INQUIRY Command (12h) 4 Vendor-Specific Inquiry Data Field Figure 8 identifies the revision of tape drive subsystem components.
Chapter 4 SCSI Commands INQUIRY Command (12h) Table 19 Vendor-Specific Inquiry Data Page — Field Descriptions Field Description Product Family Indicates the data density of the tape drive. This field is set to a value of Dh for the DLT-S4. Released Firmware Differentiates between released and test versions of firmware. The Released Firmware field combined with the Minor Version field, can be used to determine the Code Version.
Chapter 4 SCSI Commands INQUIRY Command (12h) Vital Product Data Pages 4 The following subsections describe the Vital Product Data Pages for the DLT-S4 tape drive. 4 Supported Vital Product Data Page (00h) The Supported Vital Product Data Page provides a directory of the Vital Product Data pages that the drive supports.
Chapter 4 SCSI Commands INQUIRY Command (12h) 4 Unit Serial Number Page (80h) Figure 10 shows the format of the Unit Serial Number Page the drive returns.
Chapter 4 SCSI Commands INQUIRY Command (12h) 4 Device Identification Page (83h) Figure 11 shows the format of the Device Identification Page the drive returns. Figure 11 Device Identification Page — Data Format Bit Byte 0 7 6 5 4 3 Peripheral Qualifier (0) 2 1 0 Peripheral Device Type (01h) 1 Page Code (83h) 2 Reserved 3 Page Length 4—n Identification Descriptors Table 21 Device Identification Page — Field Descriptions Field Description Peripheral Qualifier Contains 000b.
Chapter 4 SCSI Commands INQUIRY Command (12h) 4 Vendor-Unique Logical Unit Identifier Figure 12 shows the format of the Vendor-Unique Logical Unit Identifier.
Chapter 4 SCSI Commands INQUIRY Command (12h) Table 22 Vendor-Unique Logical Unit Identifier — Field Descriptions Field Description Protocol Identifier Set to 0. Code Set Set to 2h indicating the descriptor consists of ASCII printable characters. PIV Protocol Identifier Valid. Set to 0, indicating that the value returned in the Protocol Identifier field should be ignored. Association Set to 0, indicating that the Identifier is associated with the logical unit.
Chapter 4 SCSI Commands INQUIRY Command (12h) 4 Logical Unit NAA Identifier Figure 13 shows the format of the Logical Unit NAA Identifier.
Chapter 4 SCSI Commands INQUIRY Command (12h) 4 Port NAA Identifier Figure 14 shows the format of the Port NAA Identifier.
Chapter 4 SCSI Commands INQUIRY Command (12h) 4 Relative Target Port Identifier Figure 15 shows the format of the Relative Target Port Identifier.
Chapter 4 SCSI Commands INQUIRY Command (12h) 4 Sequential-Access Device Capabilities VPD Page (B0h) Figure 16 and table 26 specify and describe the sequential-access device capabilities VPD page. This page provides the application client with the means to determine if the features specified in this page are supported by the device server.
Chapter 4 SCSI Commands INQUIRY Command (12h) 4 Manufacturer-Assigned Serial Number Page (B1h) Figure 17 and table 27 specify and describe the Manufacturer-Assigned Serial Number Page.
Chapter 4 SCSI Commands INQUIRY Command (12h) 4 Firmware Build Information Page (C0h) Figure 18 shows the format of the Firmware Build Information page the drive returns.
Chapter 4 SCSI Commands INQUIRY Command (12h) 4 Subsystem Components Revision Page (C1h) Figure 19 identifies the revision of tape drive subsystem components.
Chapter 4 SCSI Commands INQUIRY Command (12h) Table 29 Subsystem Components Revision Page — Field Descriptions Field Description Product Family Indicates the data density of the tape drive. This field is set to a value of Dh. Released Firmware Differentiates between released and test versions of firmware. When set to 1, indicates released code (Vxxx); when set to 0, indicates field test code (Txxx). Released code has no minor firmware version number (byte 38 is set to 0).
Chapter 4 SCSI Commands LOAD UNLOAD Command (1Bh) LOAD UNLOAD Command (1Bh) 4 The LOAD UNLOAD command instructs the DLT-S4 tape drive to load or unload the tape inside the data cartridge. If no data cartridge is in the drive, the LOAD UNLOAD command returns a CHECK CONDITION status with the Sense Key set to NOT READY.
Chapter 4 SCSI Commands LOAD UNLOAD Command (1Bh) Table 30 LOAD UNLOAD Command Descriptor Block — Field Descriptions Field Description Immed Immediate. When set to 1, the drive returns status as soon as the operation starts. When set to 0, the drive returns status after the operation has completed. Hold See table 31. EOT End of Tape. The drive ignores this bit unless both the EOT and Load bits are set to 1, then the drive returns CHECK CONDITION status with Sense Key set to ILLEGAL REQUEST.
Chapter 4 SCSI Commands LOCATE Command (2Bh) LOCATE Command (2Bh) 4 The LOCATE command performs high-speed positioning to a specified block address. Use the READ POSITION command to obtain the block address associated with the current position on tape. Then use the LOCATE command to position the tape at the same logical position for high-performance restore operations of particular blocks of data.
Chapter 4 SCSI Commands LOG SELECT Command (4Ch) LOG SELECT Command (4Ch) 4 The LOG SELECT command allows the host to manage statistical information the DLT-S4 tape drive maintains about its own hardware parameters and about the installed tape medium. Read the description of the LOG SENSE Command (4Dh) on page 66; it provides information about log page format, parameters, and supported pages.
Chapter 4 SCSI Commands LOG SELECT Command (4Ch) Table 33 LOG SELECT Command Descriptor Block — Field Descriptions Field Description PCR Parameter Code Reset. If this bit is set to 1 and the Parameter List Length field is set to 0, all accumulated values of page codes 2, 3, and 0C are set to 0 and all threshold values are set to default.
Chapter 4 SCSI Commands LOG SELECT Command (4Ch) Overview—LOG SELECT Command Descriptor Block Errors 4 The following conditions constitute errors that the drive detects in relation to the CDB. If the drive detects one of the conditions listed, it will return CHECK CONDITION with the Sense Key set to ILLEGAL REQUEST and the Additional Sense Code set to INVALID FIELD IN CDB.
Chapter 4 SCSI Commands LOG SELECT Command (4Ch) LOG SELECT Log Page Format Each log page begins with a 4-byte header followed by n number of log parameter blocks—one block for each parameter code. Each block, except for parameter code 05h, comprises 8 bytes. The parameter block for page code 05h is 12 bytes.
Chapter 4 SCSI Commands LOG SELECT Command (4Ch) Figure 24 LOG SELECT Log Page — Parameters Format Bit 7 Byte 6 5 4 3 2 1 0 (MSB) 0—1 Parameter Code (LSB) DU 2 DS TSD ETC TMC LBIN LP Parameter Length (n – 3) 3 (MSB) 4—n Parameter Value (LSB) Table 36 LOG SELECT Log Parameters — Field Descriptions Field Description Parameter Code Parameter codes supported for the READ / WRITE error counter pages: Code Description 0000h Errors corrected without substantial delays 0001h Errors
Chapter 4 SCSI Commands LOG SELECT Command (4Ch) Field Description Parameter Code 8001h Total raw write error flags (continued) 8002h Total dropout error count 8003h Total servo tracking errors 9000h900Fh Without substantial delay errors by channel 9080h908Fh Write only: Possible delay errors assignable to specific channels Read only: Raw sub-block read errors by channel Note: Note: Many of these errors are write, not read, errors and are not to be included in read error-rate calculations.
Chapter 4 SCSI Commands LOG SELECT Command (4Ch) Field Description TMC (continued) • The Default Threshold Values are the maximum values that each parameter can attain. • The Current Cumulative Values are the values computed since the last reset of the tape drive by power-cycle, TARGET RESET, SCSI RESET, or FCP TARGET RESET. • The Default Cumulative Values are the values to which each parameter is initialized at a reset condition. Default value is 0.
Chapter 4 SCSI Commands LOG SELECT Command (4Ch) Table 37 General Purpose Non-Volatile LOG SELECT Header — Field Descriptions Field Description Page Code Echoes the page code specified in the LOG SELECT CDB. Page Length Specifies the total number of bytes contained in this log page, not including the 4 bytes that make up the header.
Chapter 4 SCSI Commands LOG SELECT Command (4Ch) Table 38 General Purpose Non-Volatile LOG SELECT Page — Field Descriptions Field Description Parameter Code Parameter code supported for this page. Must be 0. Parameter Control Byte Bit Value Description DU 1 Disable Update. DS 0 Disable Save. TSD 0 Target Save Disable. ETC 0 Enable Threshold Comparison. TMC 0 Threshold Met Criteria. LBIN 0 List Binary. LP 1 List Parameter.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) LOG SENSE Command (4Dh) 4 The LOG SENSE command allows the host to retrieve statistical information the tape drive maintains about its own hardware parameters or about the installed tape medium. This command complements the LOG SELECT command.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Table 39 LOG SENSE Command Descriptor Block — Field Descriptions Field Description PPC Parameter Pointer Control. When set to 0, indicates that the parameter data requested from the drive starts with the parameter code specified in the Parameter Pointer field (bytes 5 – 6) and returns the number of bytes specified in the Allocation Length field (bytes 7 – 8) in ascending order of parameter codes from the specified log page.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Field Parameter Pointer Description 07h LAST n ERROR EVENTS Log Page (07h) page 73 0Ch Sequential Access Device Log Page (0Ch) page 75 0Dh Temperature Log Page (0Dh) page 77 18h SAS Phy Control and Discover Log Page (18h) page 79 2Eh TapeAlert Log Page (2Eh) page 83 33h Device Wellness Log Page (33h) page 88 38h General Purpose Non-Volatile Log Page (38h) page 91 3Eh Device Status Log Page (3Eh) page 93 The Parameter Pointer field al
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Supported Pages Log Page (Page 00h) When the host requests Page 00h, the drive returns the 4-byte page header followed by the pages supported in ascending order, one byte for each.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Figure 29 Read / Write Error LOG SENSE Pages — Header Format Bit Byte 7 6 5 4 3 0 Page Code 1 Reserved 2 1 0 (MSB) 2—3 Page Length Table 41 Read / Write Error LOG SENSE Header — Field Descriptions (LSB) Field Description Page Code Echoes the page code specified in the LOG SENSE CDB. Page Length Specifies the total number of bytes contained in this log page, excluding the 4 bytes that make up the header.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Table 42 Log Parameters for Read / Write Error LOG SENSE Page— Field Descriptions Field Description Parameter Code The parameter codes supported for the READ / WRITE error counter pages are: Code Descriptions 0000h Errors corrected without substantial delays 0001h Errors corrected with possible delays 0002h Total read/write errors 0003h Total read/write errors 0004h Total times correction algorithm processed. Always 0 for write errors only.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Field Description DS Disable Save. Always set to 1. TSD Target Save Disable. Always set to 1. ETC Enable Threshold Comparison. When set to 1, indicates that the drive performs comparison to threshold. When set to 0, indicates that the drive does not perform the comparison. The Control Mode Page of the MODE SELECT command sets this bit set to 1. Default is 0. TMC Threshold Met Criteria. This field is valid only if the host sets the ETC bit to 1.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) This page returns event logs stored in the device's non-volatile memory. The event logs are ASCII text. Each event log may take between 1 and 16 parameters, depending on the amount of ASCII text contained within the log entry. Event log entries begin at parameters that have parameter codes that are even multiple of 10h and may span between multiple parameters with increasing parameter code values.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Figure 32 Log Parameters Format for Last n Error Events LOG SENSE Page Bit 7 Byte 6 5 4 3 2 1 0 (MSB) 0—1 Parameter Code (LSB) DU 2 DS TSD ETC TMC LBIN LP Parameter Length 3 (MSB) 4—n ASCII String for Event n (LSB) Table 44 Log Parameters for Last n Error Events LOG SENSE Page — Field Descriptions Field Description Parameter Code Event logs start in parameters with Parameter Code values that are even multiple of 10h.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Field Description ASCII String The text of the parameters with Parameter Code values that are an even multiple of 10h for Event n include a “Packet #” that is a value from 0 to 255. The drive assigns this internal number when the packet is written to EEPROM. A value of 0 is normally the oldest packet, but packet numbers wrap back to 0 after reaching 255.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Figure 34 Log Parameters Format for Sequential Access Device LOG SENSE Page Bit Byte 7 6 5 4 3 2 1 0 (MSB) 0—1 Parameter Code (LSB) 2 DU DS TSD ETC 3 Parameter Length 4—n Parameter Value TMC LBIN LP Table 46 Sequential Access Device LOG SENSE Page Parameters — Field Descriptions Field Description Parameter Code Parameter codes supported for the Sequential Access Device Page: Code Description 0000h Host Write Byte Count.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Field Description Parameter Control Byte (Continued TSD 1 Target Save Disable. ETC 0 Enable Threshold Comparison. TMC 0 Threshold Met Criteria. LBIN 0 List Binary. LP 0 List Parameter. Parameter Length Specifies the number of bytes in the parameter value. All parameters are 8 bytes in length. Parameter Value Indicates the actual value of this log parameter.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Figure 36 Log Parameters Format for Temperature Page Bit Byte 7 6 5 4 3 2 1 0 (MSB) 0—1 2 Parameter Code (Temperature) DU DS TSD ETC TMC (LSB) LBIN LP Parameter Length (02h) 3 (MSB) 4—5 Parameter Value (LSB) Table 48 Temperature LOG SENSE Parameters Field Description Parameter Code Parameter codes supported for the Temperature page are as follows: Parameter Control Byte Code Description 0000h Current operating temperature (degre
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Field Description Parameter Control Byte (continued) LBIN 1 List Binary. LP 1 List Parameter. Parameter Length Specifies the number of bytes in the parameter value. All parameters are 2 bytes in length. Parameter Value Indicates the actual value of this log parameter.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Figure 38 shows the format for a SAS log parameter.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Field Description Parameter Control Byte (continued) LBIN 1 List Binary. LP 1 List Parameter. Parameter Length The Parameter Length field is set to the length of the log parameter minus three. Protocol Identifier A value of 6h indicates that this log page applies to an SAS-1.1 port (see the Serial Attached SCSI -1.1 (SAS -1.1) standard for specific SAS information). Number of Phys The Number of Phys is set to 1h.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Bit 7 Byte 6 5 4 3 24 Attached Phy Identifier 25 — 31 Reserved 32 — 35 36 — 39 40 — 43 44 — 47 (MSB) 2 Invalid Dword Count (MSB) Running Disparity Error Count (MSB) Loss of Dword Synchronization (MSB) Phy Reset Problem 1 0 (LSB) (LSB) (LSB) (LSB) Table 51 SAS Phy Log Descriptor — Field Descriptions Field Descriptor Phy Identifier Phy Identifier Always set to 0.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Field Descriptor SAS Address Indicates the SAS Address of the drive. Attached SAS Address Reflects the SAS Address reported in the Identify Address frame received by the drive. Attached Phy Identifier Reflects the Phy Identifier reported in the Identify Address frame received by the drive. Invalid Dword Count Indicates the number of invalid dwords that have been received by the phy, not including those received during reset sequences.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Figure 40 TapeAlert LOG SENSE Page — Header Format Bit Byte 7 6 5 4 3 0 Page Code (2Eh) 1 Reserved 2 1 0 (MSB) 2—3 Page Length (LSB) Table 52 TapeAlert Page LOG SENSE Header — Field Descriptions Field Description Page Code Echoes the page code specified in the LOG SENSE CDB. Page Length Specifies the total number of bytes contained in this log page, excluding the 4 bytes that make up the header.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Table 53 TapeAlert Page LOG SENSE Parameters — Field Descriptions Field Description Parameter Code Contains the Flag code (see table 54 for the supported flags, level of severity, and the flag definitions). Parameter Length Always set to 1. Value of TapeAlert Flag If bit 0 is set to 1, indicates that TapeAlert has sensed a problem (see table 54 for the supported flags and their definitions).
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Flag Security Level Description 7 Media Life W The tape cartridge has reached the end of its calculated useful life: 1. Copy any data you need to another tape 2. Discard the old tape. 9 Write Protect C You are trying to write to a write-protected cartridge. Remove the write-protection or use another tape. 10 No Removal I You cannot eject the cartridge because the tape drive is in use.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Flag Security Level Description 31 Hardware B C The tape drive has a hardware fault: 1. Turn the tape drive off and then on again. 2. Restart the operation. 3. If the problem persists, call the tape drive supplier helpline. Check the tape drive users manual for device specific instructions on turning the device power on and off. 32 Interface W The tape drive has a problem with the host interface: 1. Check the cables and cable connections. 2.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Flag 59 WORM 60 WORM Security Level Medium Integrity Check Failed Medium Overwrite Attempted Description W The tape drive has detected an inconsistency during WORM medium integrity checks. Someone may have tampered with the cartridge. W An attempt has been made to overwrite user data on a WORM medium: 1. If a WORM medium was used inadvertently, replace it with a normal data medium. 2.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Figure 42 Device Wellness LOG SENSE Page — Header Format Bit Byte 7 6 5 4 3 0 Page Code (33h) 1 Reserved 2 1 0 (MSB) 2—3 Page Length (LSB) Table 55 Device Wellness LOG SENSE Header — Field Descriptions Field Description Page Code Echoes the page code specified in the LOG SENSE CDB. Page Length Specifies the total number of bytes contained in this log page, excluding the 4 bytes that make up the header.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Bit 7 Byte 6 5 4 3 2 1 0 (MSB) 8 — 11 Media ID (LSB) 12 Sense Key 13 Additional Sense Code 14 Additional Sense Code Qualifier 15 Additional Error Information Table 56 Log Parameters for Device Wellness LOG SENSE Page — Field Descriptions Field Description Parameter Code Parameter codes 0000h through 000Fh are supported, providing 16 log entries for error information capture.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Field Description Time Stamp Power-on hours when CHECK CONDITION status occurred. This is the number of power-on hours since the last time the drive was powered on, not total number of hours during the lifetime of the drive. The time stamp counter is updated once per hour. If the drive is powered down before the hourly update occurs, the update does not occur until a full hour after power is re-applied.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Figure 44 General Purpose Non-Volatile LOG SENSE Page — Header Format Bit Byte 7 6 5 4 3 0 Page Code (38h) 1 Reserved 2 1 0 (MSB) 2–3 Page Length (LSB) Table 57 General Purpose Non-Volatile LOG SENSE Header — Field Descriptions Field Description Page Code Echoes the page code specified in the LOG SENSE CDB. Page Length Specifies the total number of bytes contained in this log page, not including the 4 bytes that make up the header.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Table 58 General Purpose Non-Volatile LOG SENSE Page — Field Descriptions Field Description Parameter Code Parameter code supported for this page. Always 0. Parameter Control Byte Bit Value DU 1 Disable Update. DS 0 Disable Save. TSD 0 Target Save Disable. ETC 0 Enable Threshold Comparison. TMC 0 Threshold Met Criteria. LBIN 0 List Binary. LP 1 List Parameter.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Table 59 Device Status LOG SENSE Header — Field Descriptions Field Description Page Code Echoes the page code specified in the LOG SENSE CDB. Page Length Specifies the total number of bytes contained in this log page, excluding the 4 bytes that make up the header.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Field Description Parameter Code (continued) 0005h Drive temperature in degrees C. 0006h Media ID of the most recently loaded cartridge. 0007h Controller serial number (least significant 16 bits). The drive uses this value to generate the Media ID for blank tape cartridges. 0008h Drive cleaning cycle count. 0009h Serial number of the first drive to write the current tape. 000Ah Serial number of the last drive to write the current tape.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Field Description DS 1 Disable Save. TSD any Target Save Disable. When set to zero indicates the parameter is saved periodically. When set to one the parameter is not saved. ETC 0 Enable Threshold Comparison. TMC 0 Threshold Met Criteria. LBIN any List Binary. When set to zero indicates the parameter value is in ASCII. When set to one, indicates the parameter value is a binary number. LP any List Parameter.
Chapter 4 SCSI Commands LOG SENSE Command (4Dh) Table 61 Log Parameters for Device Status LOG SENSE Parameter 0001h (CleaningRelated) — Field Descriptions DLT-S4 Interface Reference Guide Field Description ClnQ Set to 1 if a cleaning-required condition exists. When the condition clears, the drive also clears this bit. ClnR Set to 1 if a cleaning-request condition exists. When the condition clears, the drive also clears this bit. ClnEx Set to 1 if the cleaning tape has expired.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) MODE SELECT (6) / (10) Command (15h / 55h) 4 The MODE SELECT commands enable the host to configure the tape drive. Before configuring the drive, the host should issue MODE SENSE commands to the drive to obtain a report of the current configuration and determine which parameters are configurable. The host interprets this information and then may issue MODE SELECT to set the drive to the host’s preferred configuration.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Except for the EEPROM Vendor-Specific Page (page 3Eh), the drive always powers on with its default configurations set. The drive sets the mode parameters to their default setting following the processing of a TARGET RESET or LOGICAL UNIT RESET task management function (see TARGET RESET on page 7 or LOGICAL UNIT RESET on page 7).
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 50 MODE SELECT (10) Command Descriptor Block — Data Format Bit Byte 7 6 5 3 2 1 0 Operation Code (55h) 0 Reserved 1 PF Reserved SP (0) Reserved 2—6 7—8 4 (MSB) Parameter List Length Control 9 Note: Table 63 MODE SELECT (6)/ (10) Command Descriptor Block — Field Descriptions (LSB) The drive returns a CHECK CONDITION status with Sense Key set to ILLEGAL REQUEST if it receives an unsupported page code or a page f
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 51 MODE SELECT (6) Mode Parameter List — Data Format Bit Byte 7 6 5 4 3 2 0—3 Mode Parameter Header 4 — 11 Mode Parameter Block Descriptor (Optional) 4—n or Page(s) (Optional) 12 — n 1 0 1 0 Figure 52 MODE SELECT (10) Mode Parameter List — Data Format Bit Byte 7 6 5 4 3 2 0—7 Mode Parameter Header 8 — 15 Mode Parameter Block Descriptor (Optional) 8—n or Page(s) (Optional) 16 — n Figure 53 MODE SELECT
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Mode Parameter Header 4 Figure 54, figure 55, and table 64 illustrate and describe the fields that make up the MODE SELECT command’s Mode Parameter header.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Table 64 MODE SELECT Mode Parameter Header — Field Descriptions Field Description Medium Type The drive ignores this field. Buffered Mode Set to 1 by default. 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 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Mode Parameter Block Descriptor Figure 56 and table 65 illustrate and describe the fields that make up the MODE SELECT command’s Mode Parameter Block Descriptor.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description 7Fh No change from previous density (no Operation) Number of Blocks Must be set to 0, indicating that all of the remaining logical blocks on the tape have the medium characteristics specified by this block descriptor. Block Length Specifies the length, in bytes, of each logical block transferred. A block length of 0 indicates that the length is variable (specified in the I/O command).
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Table 66 Read / Write Error Recovery MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 01h identifies this as the Read / Write Error Recovery Page.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 58 Parallel SCSI — Disconnect / Reconnect MODE SELECT Page — Data Format Bit Byte 0 7 6 PS (0) SPF (0) 5 4 3 2 1 0 Page Code (02h) 1 Page Length (0Eh) 2 Buffer Full Ratio (0) 3 Buffer Empty Ratio (0) (MSB) 4—5 Bus Inactivity Limit (0) (LSB) (MSB) 6—7 Disconnect Time Limit (0) (LSB) (MSB) 8—9 Connect Time Limit (0) (LSB) (MSB) 10 — 11 Maximum Burst Size (LSB) 12 EMDP Fair Arbitration DIMM DTDC Reserved
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Table 67 Parallel SCSI — Disconnect / Reconnect MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 02h identifies this as the Disconnect / Reconnect Page.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 59 Fibre Channel — Disconnect / Reconnect MODE SELECT Page — Data Format Bit 7 6 PS (0) SPF (0) 5 4 3 2 1 0 Byte 0 Page Code (02h) 1 Page Length (0Eh) 2 Buffer Full Ratio (0) 3 Buffer Empty Ratio (0) (MSB) 4—5 Bus Inactivity Limit (0) (LSB) (MSB) 6—7 Disconnect Time Limit (0) (LSB) (MSB) 8—9 Connect Time Limit (0) (LSB) (MSB) 10 — 11 Maximum Burst Size (LSB) 12 EMDP FAA FAB FAC Restricted Reserved 13
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Table 68 Fibre Channel — Disconnect / Reconnect MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 02h identifies this as the Disconnect / Reconnect Page.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 60 SAS — Disconnect / Reconnect MODE SELECT Page — Data Format Bit 7 6 PS (0) SPF (0) 5 4 3 2 1 0 Byte 0 Page Code (02h) 1 Page Length (0Eh) 2 Reserved 3 Reserved (MSB) 4—5 Bus Inactivity Time Limit (LSB) (MSB) 6—7 Reserved (LSB) (MSB) 8—9 Maximum Connect Time Limit (LSB) (MSB) 10 — 11 Maximum Burst Size (LSB) 12 Reserved 13 Reserved (MSB) 14 — 15 First Burst Size (0) (LSB) DLT-S4 Interface Reference G
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Table 69 SAS — Disconnect / Reconnect MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 02h identifies this as the Disconnect / Reconnect Page.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Control Mode Page (0Ah) 4 The Control Mode Page provides control over several features such as tagged queuing, extended contingent allegiance, asynchronous event notification, and error logging.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Table 70 Control Mode MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 0Ah identifies this as the Control Mode Page. Page Length Indicates the number of bytes in the page, excluding bytes 0 and 1.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description UA_Intlck_Ctrl Unit Attention Interlocks Control. Must be set to 0, indicating that the drive clears UNIT ATTENTION conditions when they are reported. SWP Software Write Protect. Must be set to 0. Autoload Mode Indicates the action the drive is to take when tape medium is loaded. All values not listed below are reserved. Value Description 000b The medium is loaded for full access.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) The Data Compression Page specifies parameters for the control of data compression. This page allows an initiator to turn the DLT-S4 tape drive’s compressed format on and off independently of the position of the tape medium.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Table 71 Data Compression MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 0Fh identifies this as the Data Compression Page. Page Length Indicates the number of bytes in the page, excluding 0 and 1.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Device Configuration Page (10h) 4 The drive supports the Device Configuration Page. The format for the page is shown in figure 63.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Table 72 Device Configuration MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 10h identifies this as the Device Configuration Page.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description SOCF Stop on Consecutive Filemarks. Must be set to 0. RBO Recover Buffer Order. Must be set to 0. REW Report Early Warning. Must be set to 0 (do not report Early Warning EOM on READ). Gap Size Must be set to 0. EOD Defined End-of-Data Defined. Must be set to 0h. EEG Enable End-of-Data Generation. Indicates that the drive generates an EOD mark before any change of direction following a WRITE-type operation.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description OIR If the only if reserved (OIR) bit is set to one, the device server will process a command only if a reservation (see SPC-2) or persistent reservation (see SPC-3) exists that allows access via the I_T nexus from which the command was received. If the OIR bit is set to one and a command is received from an I_T nexus for which no reservation exists, the device server will not process the command.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Medium Partition Page (11h) The drive supports the Medium Partition Parameters Page, which specifies the medium partitions.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description Page Length Indicates the number bytes in the page, excluding 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. Maximum Additional Partitions Must be set to 0. Additional Partitions Defined Must be set to 0. Specifies the number of additional partitions defined for the tape based on the settings of the SDP and IDP bits.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 65 Parallel SCSI — Logical Unit Control MODE SELECT Page — Data Format Bit 7 6 5 PS (0) SPF (0) 4 3 2 1 0 Byte 0 Page Code (18h) Page Length (06h) 1 Reserved 2 Protocol Identifier (1h) Reserved 3—7 Table 74 Parallel SCSI — Logical Unit Control MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. Must be set to 0. SPF SubPage Format. Always set to 0.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 66 Fibre Channel — Logical Unit Control MODE SELECT Page — Data Format Bit Byte 0 7 6 5 PS (0) SPF (0) 4 3 2 1 0 Page Code (18h) Page Length (06h) 1 Reserved 2 Protocol Identifier (0h) Reserved 3 EPDC (0) Reserved 4—7 Table 75 Fibre Channel — Logical Unit Control MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. Must be set to 0. SPF SubPage Format. Always set to 0.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 67 SAS — Logical Unit Control MODE SELECT Page — Data Format Bit 7 6 PS (0) SPF (0) 5 4 3 2 1 0 Byte 0 Page Length (06h) 1 2 Page Code (18h) Reserved Transport Layer Retries Protocol Identifier (6h) Reserved 3—7 Table 76 SAS — Logical Unit Control MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. Must be set to 0. SPF SubPage Format. Always set to 0.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) 4 The Port Control Page contains the parameters that affect SCSI target port Port Control Page (19h) or FCP_Port operations (For Parallel SCSI, see figure 68; for Fibre Channel, see figure 69; and for SAS, see figure 70).
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 69 Fibre Channel — Port Control MODE SELECT Page — Data Format Bit 7 6 5 PS (0) SPF (0) 4 3 2 1 0 Byte 0 Page Code (19h) Page Length (06h) 1 Reserved 2 3 DTFD (0) PLPB (1) DDIS (1) Protocol Identifier (0h) DLM (0) RHA (0) ALWLI (0) DTIPE (0) DTOLI (0) Reserved 4—5 Reserved 6 RR_TOV Units (5h) Resource Recovery Time-out (RR_TOV) (1Eh) 7 Table 78 Fibre Channel — Port Control MODE SELECT Page — Field Descript
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description DTFD Disable Tape Drive Fabric Discovery. Must be set to 0. The drive always recognizes a fabric loop port if it is present. PLPB Prevent Loop Port Bypass. Must be set to 1. The loop port is always participating and ignores all LPE and LPB primitives. DDIS Disable Discovery. Applies only if the drive is attached to an arbitrated loop. Must be set to 1.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Bit Byte 7 6 (MSB) 4—5 5 4 3 2 1 0 I_T Nexus Loss Time (LSB) (MSB) 6—7 Initiator Response Timeout (LSB) Table 79 SAS — Port Control MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 71 SAS Phy Control and Discover Mode Subpage — Data Format Bit 7 6 5 PS (0) SPF (1) 4 3 2 1 0 Byte 0 Page Code (19h) SubPage Code (01h) 1 (MSB) Page Length (34h) 2—3 (LSB) Reserved 4 Protocol Identifier (6h) Reserved 5 6 Reserved 7 Number of Phys (1) 8 — 55 SAS Phy Mode Descriptor (see figure 72) Table 80 SAS Phy Control and Discover Mode Subpage — Field Descriptions Field Description PS Parameters Savabl
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description Page Length Indicates the number of bytes in the page, excluding the 4 bytes that make up the header. Protocol Identifier A value of 6h indicates that this mode page applies to an SAS SSP-specific mode page (see the Serial Attached SCSI – 1. 1 (SAS-1.1) for specific SAS information). Number of Phys Indicates the Number of Phys. Must be to 1. SAS Phy Mode Descriptor See figure 72.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Bit Byte 7 6 5 4 3 2 32 Attached Phy Identifier 33 — 39 Reserved 1 0 40 Programmed Minimum Physical Link Rate Hardware Minimum Physical Link Rate 41 Programmed Maximum Physical Link Rate Hardware Maximum Physical Link Rate 42 — 49 Reserved 50 — 51 Vendor Specific 52 — 55 Reserved Table 81 SAS Phy Mode Descriptor — Field Descriptions Field Descriptor Phy Identifier Phy Identifier Always set to 0.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Descriptor Attached SAS Address Reflects the SAS Address reported in the Identify Address frame received by the drive. Negotiated Physical Link Rate The value for this field is either 8h or 9h, indicating a Physical Link Rate of 1.5 Gbps or 3.0 Gbps. Attached Phy Identifier Reflects the Phy Identifier reported in the Identify Address frame received by the drive.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 73 Parallel SCSI — SPI Negotiated Settings Mode Subpage — Data Format Bit Byte 0 7 6 PS (0) SPF (1) 5 4 3 2 1 0 Page Code (19h) Subpage Code (03h) 1 (MSB) Page Length (0Ah) 2—3 (LSB) Reserved 4 Reserved 5 Protocol Identifier (1h) 6 Transfer Period Factor 7 Reserved 8 REQ/ACK Offset 9 Transfer Width Exponent 10 11 Reserved Protocol Options Bits Reserved Transceiver Mode 12 Reserved 13 Reserved DLT-S4
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Table 82 Parallel SCSI — SPI Negotiated Settings Mode Subpage — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 1. Indicates that this page uses the page_1 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 19h identifies this as the Port Control Page.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description Sent PCOMP_EN The SENT PCOMP_EN bit contains the value on the PCOMP_EN bit sent by the SCSI target port for the current I_T nexus. Received PCOMP_EN The RECEIVED PCOMP_EN bit contains the value on the PCOMP_EN bit received by the SCSI target port for the current I_T nexus.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Bit 7 6 5 4 3 2 1 0 Byte 10 Protocol Options Bits Supported 11 Reserved 12 Reserved 13 Reserved Table 83 Parallel SCSI — SPI Report Transfer Capabilities Mode Subpage — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 1. Indicates that this page uses the page_1 page format.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description Maximum REQ/ACK Offset The MAXIMUM REQ/ACK Offset field indicates the REQ/ACK offset for the current I_T nexus. Maximum Transfer Width Exponent The MAXIMUM TRANSFER WIDTH EXPONENT field indicates the transfer exponent for the current I_T nexus. Protocol Options Bits Supported The PROTOCOL OPTIONS BITS SUPPORTED field indicates the protocol options for the current I_T nexus.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Table 84 TapeAlert MODE SELECT Page — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 1Ch identifies this as the TapeAlert Page. Page Length Indicates the number of bytes in the page, excluding bytes 0 and 1.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description MRIE Method for Reporting Informational Exceptions. The drive uses the contents of this field to report information about exception conditions. The available methods are: Value Method 00h No reporting of Informational Exception Conditions. The drive does not report information exception conditions. 03h Conditionally Generate Recovered Error.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description Report Count / Test Flag Number Report Count or Test Flag Number. Must be set to 0 unless the Test bit is set to 1, in which case this field indicates a test condition to be generated as follows: Value Result 0 Do not change the TapeAlert Flag but report an exception condition based on the value in the MRIE field.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Table 85 Medium Configuration Mode Page — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 1Dh identifies this as the Medium Configuration Mode Page.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) The DLT-S4 drive checks for password protection on the DLT-S4 tape during the load process and if it is enabled, verifies that the drive has the same password. If the passwords match, the user can read and write data on the tape. If they do not match, READ and WRITE commands will be rejected and sense data will be presented to the initiator.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Bit Byte 7 6 5 4 3 10 Reserved for Password 2 Status 11 Reserved for Password 3 Status 12 Reserved for Password 4 Status 13 Reserved for Password 5 Status 14 Reserved for Password 6 Status 15 Reserved for Password 7 Status 16 — 19 Reserved 20 — 51 Password Value 2 1 0 Table 86 Data Security Mode Page — Field Descriptions Field Description PS Parameters Savable. Must be set to 0.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description PCP Password Change Pending. This read only bit indicates that the desired tape password has been sent to the drive and is stored in drive memory but has not been written to tape.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description Action Value Description 00h No Action 01h Set Drive Password. This action can be done with or without a tape in the drive. If a tape is mounted and password protected, the value in the password field must match the password on the tape. The corresponding DPS bit is set and the APB, APD, PAX, PCP, and PWF bits are cleared. 02h Set the Drive Password and write it to tape.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description 05h Set Drive Password and write it to all unprotected tapes. All unprotected tapes will then automatically become password protected. This action sets the APB and APD bits. The currently loaded tape, if it is unprotected, and subsequent unprotected tapes loaded into the drive will become password protected. If a tape is mounted and password protected, the value in the password field must match the password on the tape.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Field Description PM Password Mismatch. This read only bit indicates that this password on the tape does not match this password set in the drive. Password This is a 32 byte write only field used to set the drive password to the desired value for the requesting interface. The password value is secret and will not be reported in MODE SENSE data. Instead, the password reported by the MODE SENSE command is all zeroes.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) In the event of excessive attempts to select the correct password, when the number of password attempts has been exceeded the sense data will change from: • Data Protect, Access Denied, Invalid Management ID Key (07, 20, 03) to Data Protect, Access Denied, Password Attempts Exceeded (07, 20, 80). The drive password and the ‘Password Protection State’ will be stored in the drive’s volatile RAM.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) table 87. Note that the parameter name may be in upper or lower case. The drive saves the savable parameters during resets and power cycles. Table 87 EEPROM Mode Page — Parameter Descriptions Default Length (Bytes) Usage Parameter Data Type VendorID ASCII QUANTUM 8 Vendor Identification field in INQUIRY data.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Default Length (Bytes) Usage Parameter Data Type EnaCleanLight Binary 1 1 When set to 1, the Cleaning Required LED is turned on and off as appropriate. When set to 0, this functionality is disabled. EnaCleanSense Binary 1 1 When set to 1, the drive collects cleaning Sense Key data. When set to 0, this functionality is disabled. EnaCleanTA Binary 1 1 When set to 1, the drive returns tape cleaning flags for TapeAlert.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Default Length (Bytes) Usage Parameter Data Type MaxBurstSize Binary 0080h 2 Specifies the maximum amount of data to be transferred without disconnecting. A value of 0 sets no limit. This value is given in 512-byte increments. For example, a value of 8 indicates 4 KB. The drive rounds values that are not multiples of 8 down to the nearest multiple of 8. Minimum value of this field is 0000h, maximum value is FFFFh.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Default Length (Bytes) Usage Parameter Data Type SCSIReselRetries Decimal 10 1 The number of reselection retries the drive makes before giving up. A reselection retry occurs once each second. When set to 0, the drive never gives up; it preforms infinite reselection retries (Parallel SCSI only). Minimum value of this field is 0, maximum value is 255.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Figure 79 is a sample of an EEPROM Mode Page that modifies the VendorID parameter to “XXXYY.
Chapter 4 SCSI Commands MODE SELECT (6) / (10) Command (15h / 55h) Changeable Parameters Within MODE SELECT 4 Table 88 lists the MODE SELECT command’s changeable parameters and their default, minimum, and maximum values. Descriptions of the various parameters are provided in the discussions of the different MODE SELECT mode pages. Note: Parameter rounding is supported for all parameters except the Block Descriptor Length parameter.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) MODE SENSE (6) / (10) Command (1Ah / 5Ah) 4 The MODE SENSE command allows the tape drive to report its media type and current—or changeable—configuration parameters to the host. It is a complementary command to MODE SELECT. Figure 80 shows the CDB for the 6-byte MODE SENSE (1Ah) command. An illustration of the CDB for the 10-byte MODE SENSE (5Ah) command is shown in figure 81.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Figure 81 MODE SENSE (10) Command Descriptor Block — Data Format Bit 7 6 5 4 3 2 1 0 Byte Operation Code (5Ah) 0 Reserved 1 LLBAA DBD PC 2 Reserved Page Code 3 SubPage Code 4—6 Reserved (MSB) 7—8 Allocation Length (LSB) 9 DLT-S4 Interface Reference Guide Control 158
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 89 MODE SENSE Command Descriptor Block — Field Descriptions Field Description LLBAA Long LBA Accepted. Must be set to 0. DBD Disable Block Descriptors. When set to 0, the drive returns the block descriptor data. When set to 1, the drive does not return block descriptor information. PC Page Control.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) MODE SENSE Data Headers The MODE SENSE (6) and MODE SENSE (10) headers are depicted in figure 82 and figure 83.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 90 MODE SENSE Data Header — Field Descriptions Field Description Mode Data Length Specifies the length in bytes of the MODE SENSE data that is available to be transferred. Note that the Mode Data Length does not include its own length.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) MODE SENSE Block Descriptor Figure 84 describes the MODE SENSE block descriptor that follows the MODE SENSE header. A description of the MODE SENSE block descriptor is provided in table 91.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description Number of Blocks Set to 0, indicating that all of the remaining logical blocks on the tape have the medium characteristics specified by the block descriptor. Block Length Specifies the length in bytes of each logical block transferred. A block length of 0 indicates that the length is variable, as specified in the I/O command.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Read / Write Error Recovery Page (01h) The drive supports the Error Recovery Page for READ and WRITE operations. The format of the Error Recovery Page is shown in figure 85.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description TB Transfer Block. The drive does not support the Transfer Block (when not fully recovered) function. Always set to 0. EER Enable Early Recovery. Always set to 1. PER Parity Error. When set to 1, enables reporting of CHECK CONDITION for recovered READ / WRITE errors. Default is 0. DTE Disable Transfer on Error. Always set to 0. DCR Disable ECC Correction Bit. Always set to 0.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Bit 7 6 5 4 3 2 1 0 Byte (MSB) 6—7 Disconnect Time Limit (0) (LSB) (MSB) 8—9 Connect Time Limit (0) (LSB) (MSB) 10 — 11 Maximum Burst Size (LSB) 12 EMDP (0) Fair Arbitration (0) DIMM (0) DTDC Reserved 13 (MSB) 14 — 15 Reserved (LSB) Table 94 Parallel SCSI — Disconnect / Reconnect MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description Bus Inactivity Limit Always set to 0. Disconnect Time Limit Always set to 0. Connect Time Limit Always set to 0. Maximum Burst Size Defaults to 80h limiting bursts to a size of 64K. EMDP Enable Modify Data Pointers. Always set to 0. DIMM Disconnect Immediate. Always set to 0. DTDC Data Transfer Disconnect Control. Always set to 0.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Bit 7 6 5 4 3 2 1 0 Byte (MSB) 10 — 11 Maximum Burst Size (LSB) 12 EMDP (0) FAA (0) FAB (0) FAC (0) Restricted Restricted Reserved 13 (MSB) 14 — 15 First Burst Size (0) (LSB) Table 95 Fibre Channel — Disconnect / Reconnect MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description EMDP Enable Modify Data Pointers. Always set to 0. The drive does not support reordering FCP_Data IUs for a single SCSI command. First Burst Size Always set to 0. Indicates the maximum amount of data that can be transmitted in the first FCP_Data unit sent from the host. The drive always returns 0 for this field, indicating no size limit.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Bit 7 6 5 4 3 2 1 0 Byte 12 Reserved 13 Reserved (MSB) 14 — 15 First Burst Size (0) (LSB) Table 96 SAS — Disconnect / Reconnect MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SENSE page being transferred.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) 4 The Control Mode Page allows the initiator to determine whether the Control Mode Page (0Ah) drive returns a CHECK CONDITION status when one of the WRITE and READ counters has reached a specified threshold.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 97 Control Mode MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SENSE page being transferred. A value of 0Ah identifies this as the Control Mode page. Page Length Indicates the number of bytes, excluding bytes 0 and 1. TST Task Set Type.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description Autoload Mode Indicates the action the drive is to take when tape medium is loaded. All values not listed below are reserved. Value Description 000b The medium is loaded for full access. 001b The medium is loaded for Enhanced Medium Auxiliary Memory (EMAM) access only. 010b The medium is not loaded.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Bit Byte 7 6 5 4 3 2 1 0 (MSB) 4—7 Compression Algorithm (10h) (LSB) (MSB) 8 — 11 Decompression Algorithm (LSB) Reserved 12 — 15 Table 98 Data Compression MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SENSE page being transferred.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description RED Report Exception on Decompression. The drive does not report exceptions on decompression (boundaries between compressed and decompressed data). The drive always returns 00h. Compression Algorithm The value for this field is 10h, indicating that the Lempel-Ziv high-efficiency data compression algorithm is in use.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Device Configuration Page (10h) 4 The drive supports the Device Configuration Page. The format for the page is shown in figure 91.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 99 Device Configuration MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SENSE page being transferred. A value of 10h identifies this as the Device Configuration page. Page Length Indicates the number of bytes in the page, excluding bytes 0 and 1.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description RBO Recover Buffer Order. Always set to 0. REW Report Early Warning. Always set to 0 (do not report Early Warning EOM on READ). Gap Size Always set to 0. EOD Defined End of Data. Always set to 0h. EEG Enable EOD Generation. When set to 1, indicates that the drive generates an EOD. The drive generates an EOD mark before any change of direction following a WRITE-type operation. SEW Synchronize at Early Warning.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description Rewind on Reset Always set to 01b, indicating that the drive rewinds the tape medium on a logical unit reset operation. AsocWP Associated Write Protection. Always set to 0. PersWP Persistent Write Protection. Always set to 0. PrmWP Permanent Write Protection. Always set to 0. Medium Partition Page (11h) The drive supports the Medium Partition Page. The format for the page is shown in figure 92.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 100 Medium Partition MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SENSE page being transferred. A value of 11h identifies this as the Medium Partition page. Page Length Indicates the number of bytes in the page, excluding bytes 0 and 1.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) This page contains the logical unit control parameters (For Parallel SCSI, see figure 93; for Fibre Channel, see figure 94; and for SAS, see figure 95).
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Figure 94 Fibre Channel — Logical Unit Control MODE SENSE Page — Data Format Bit Byte 0 7 6 5 PS (0) SPF (0) 4 3 2 1 0 Page Code (18h) Page Length (06h) 1 Reserved 2 Protocol Identifier (0h) Reserved 3 EPDC (0) Reserved 4—7 Table 102 Fibre Channel — Logical Unit Control MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Figure 95 SAS — Logical Unit Control MODE SENSE Page — Data Format Bit Byte 0 7 6 PS (0) SPF (0) 4 3 2 1 0 Page Code (18h) Page Length (06h) 1 2 5 Reserved Transport Layer Retries 3 Reserved 4—7 Reserved Protocol Identifier (6h) Table 103 SAS — Logical Unit Control MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Port Control Page (19h) 4 This page contains the parameters that affect SCSI target port operation options (For Parallel SCSI, see figure 96; for Fibre Channel, see figure 97; and for SAS, see figure 98).
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Figure 97 Fibre Channel — Port Control MODE SENSE Page — Data Format Bit Byte 0 7 6 5 PS (0) SPF (0) 4 2 1 0 Page Code (19h) Page Length 1 Reserved 2 3 3 DTFD PLPB Protocol Identifier (0h) DDIS DLM RHA ALWLI DTIPE DTOLI Reserved 4—5 Reserved 6 RR_TOV Units Resource Recovery Time-out (RR_TOV) 7 Table 105 Fibre Channel — Port Control MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description DDIS Disable Discovery. Applies only if the drive is attached to an arbitrated loop. Always set to 1. The drive does not require receipt of an Address or Port Discovery following loop initialization. DLM Disable Loop Master. Always set to 0. The drive participates in loop master arbitration in the normal manner. RHA Require Hard Address. Always set to 0.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 106 SAS — Port Control MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SENSE page being transferred. A value of 19h identifies this as the protocol-specific Port Control page.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) SAS Phy Control and Discover Mode Subpage (19h/01h) 4 The SAS Phy Control and Discover Mode subpage contains phy-specific parameters.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 107 SAS Phy Control and Discover Mode Subpage — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 1. Indicates that this page uses the sub_page mode page format. Page Code Identifies the type of MODE SENSE page being transferred. A value of 19h identifies this is as the Port Control Page. SubPage Code Identifies the type of MODE SENSE Subpage being transferred.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Figure 100 shows the SAS phy mode descriptor.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 108 SAS Phy Mode Descriptor — Field Descriptions Field Descriptor Phy Identifier Phy Identifier Always set to 0. Attached Device Type Reflects the Device Type reported in the Identify Address frame received by the drive. Attached SSP Initiator Port Reflects the SSP Initiator Port Bit reported in the Identify Address frame received by the drive.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) The SPI Negotiated Settings Mode Subpage, shown in figure 101, is used to report the negotiated settings of a SCSI target port for the current I_T nexus for Parallel SCSI only. For additional information, see figure 68. SPI Negotiated Settings Mode Subpage (19h/03h) 4 The values reported in this page pertain to protocol options negotiated or established on the SCSI Parallel interface used to transfer the data.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 109 Parallel SCSI — SPI Negotiated Settings Mode Subpage — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 1. Indicates that this page uses the sub_page mode format. Page Code Identifies the type of MODE SENSE page being transferred. A value of 19h identifies this as the Port Control Page. Subpage Code Identifies the type of MODE SENSE subpage being transferred.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) SPI Report Transfer Capabilities Mode Subpage (19h/04h) 4 The SPI Report Transfer Capabilities Mode Subpage, shown in figure 102, is used to report the transfer capabilities for the SCSI target port for Parallel SCSI only. The values in this mode subpage are not changeable via a MODE SELECT command. For additional information, see figure 68.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 110 Parallel SCSI — SPI Report Transfer Capabilities Mode Subpage — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage format. Always set to 1. Indicates that this pages uses the sub_page mode format. Page Code Identifies the type of MODE SENSE page being transferred. A value of 19h identifies this as the Port Control Page.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) 4 The TapeAlert configuration settings can be read using the MODE SENSE TapeAlert Page (1Ch) command’s TapeAlert Page.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Figure 104 TapeAlert MODE SENSE Page — Field Descriptions Field Description PS Parameters Savable. Always set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SENSE page being transferred. A value of 1Ch identifies this as the TapeAlert Page. Page Length Indicates the number bytes in the page, excluding bytes 0 and 1. Perf Performance.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description The Sense Key is set to RECOVERED ERROR with the Additional Sense Code set to 5Dh / 00h (TapeAlert event). The SCSI command with CHECK CONDITION completes without error before the report of any exception condition and does not need to be repeated. 04h Unconditionally Generate Recovered Error.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Medium Configuration Mode Page (1Dh) The Medium Configuration Mode Page specifies any special considerations the device server uses when processing commands that access the medium.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Table 111 Medium Configuration Mode Page — Field Descriptions Field Description PS Parameters Savable. For MODE SELECT, must be set to 0. SPF SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of MODE SELECT page being transferred. A value of 1Dh identifies this as the Medium Configuration Mode Page.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Figure 106 shows the page that controls uses a password verification mechanism to prevent or allow reading and writing the data to the tape. Its primary function is to provide a means of preventing unauthorized access to data on a DLT-S4 native cartridge. It has no impact on Back Read cartridges.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Bit Byte 7 6 5 4 3 12 Reserved for Password 4 Status 13 Reserved for Password 5 Status 14 Reserved for Password 6 Status 15 Reserved for Password 7 Status 16 — 19 Reserved 20 — 51 Password Value 2 1 0 Table 112 Data Security Mode Page — Field Descriptions Field Description PS Parameters Savable. Must be set to 0. Page Code Identifies the type of MODE SELECT page being transferred.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description PCP Password Change Pending. This read only bit indicates that the desired tape password has been sent to the drive and is stored in drive memory but has not been written to tape.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description 00h No Action 01h Set Drive Password. This action can be done with or without a tape in the drive. If a tape is mounted and password protected, the value in the password field must match the password on the tape. The corresponding DPS bit is set and the APB, APD, PAX, PCP, and PWF bits are cleared. 02h Set the Drive Password and write it to tape.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Field Description 06h Remove Password from the tape. Tape must be mounted and the drive password(s) must match the tape password(s). This action clears the APB, APD, and the appropriate TPP bits. The drive password is not cleared from drive memory. 07h Clear Drive Password. This action clears the APB, APD and corresponding DPS bits, and the password from drive memory.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) the tape will be compared to the password(s) in the drive. If the password(s) are equal, subsequent write and read operations are allowed. If the passwords do not match, the following operations will be rejected and sense data presented to the host: WRITE, WRITE FMs, READ, LOCATE, VERIFY, ERASE, SPACE, WRITE ATTRIBUTES, SEND DIAG and WRITE BUFFER.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) EEPROM Mode Page (3Eh) 4 This page returns all of the EEPROM parameters that can be set with the MODE SELECT EEPROM page; it sometimes returns an error message in the returned ASCII string. The 10-byte MODE SENSE command for the EEPROM page returns data in the form of a MODE SENSE (10) data header followed by block and page descriptors.
Chapter 4 SCSI Commands MODE SENSE (6) / (10) Command (1Ah / 5Ah) Tech Tip: The length of the list of EEPROM parameters requires a 10-byte MODE SENSE command.
Chapter 4 SCSI Commands PERSISTENT RESERVE IN Command (5Eh) PERSISTENT RESERVE IN Command (5Eh) 4 The PERSISTENT RESERVE IN command is a 10-byte command used to obtain information about persistent reservations and registrations active in an DLT-S4 tape drive. This command works with the PERSISTENT RESERVE OUT command.
Chapter 4 SCSI Commands PERSISTENT RESERVE IN Command (5Eh) Field Description 01h Read Reservation Reads all current persistent reservations. 02h Report Capabilities Returns persistent reservation capability information. A Read Keys service action requests that the drive return a parameter list that includes a header and a complete list of all of the reservation keys currently registered with the drive.
Chapter 4 SCSI Commands PERSISTENT RESERVE IN Command (5Eh) Figure 109 PERSISTENT RESERVE IN Read Keys Parameters — Data Format Bit 7 6 5 4 3 2 1 0 Byte (MSB) 0—3 PRGeneration (LSB) (MSB) 4—7 Additional Length (n – 7) (LSB) (Reservation Key List Follows in Bytes 8 – n) (MSB) 8 — 15 First Reservation Key (LSB) (MSB) (n — 7) - n Last Reservation Key (LSB) DLT-S4 Interface Reference Guide 211
Chapter 4 SCSI Commands PERSISTENT RESERVE IN Command (5Eh) Table 115 Read Keys Parameters— Field Descriptions Field Description PRGeneration Persistent Reservations Generation. The value in this field is a 32-bit counter in the drive that is incremented each time a PERSISTENT RESERVE OUT command requests a Register, Clear, Preempt, Preempt & Abort, or Register & Move operation.
Chapter 4 SCSI Commands PERSISTENT RESERVE IN Command (5Eh) Reservation Parameters — Data Format Bit 7 6 5 4 3 2 1 0 Byte (MSB) 0—3 PRGeneration (LSB) (MSB) 4—7 Additional Length (n – 7) (LSB) (MSB) 8—n Reservation Descriptors (LSB) Table 116 Read Reservation Parameters — Field Descriptions Field Description PRGeneration Persistent Reservations Generation.
Chapter 4 SCSI Commands PERSISTENT RESERVE IN Command (5Eh) Field Description Additional Length Contains the count of the number of bytes that are in the Read Reservation descriptors (bytes 8 – n). Note that this field contains the number of bytes regardless of the value prescribed by the Allocation Length field in the command’s CDB.
Chapter 4 SCSI Commands PERSISTENT RESERVE IN Command (5Eh) Table 117 PERSISTENT RESERVE IN Read Reservation Descriptor — Field Descriptions Field Description Reservation Key Contains an 8-byte value that identifies the reservation key under which the persistent reservation is held. Scope-Specific Address Always set to 0. Scope The drive only supports reservations of the entire logical unit. Always set to 0.
Chapter 4 SCSI Commands PERSISTENT RESERVE IN Command (5Eh) Code Name Description 3h Exclusive Access READS: Exclusive; any command from any initiator other than the initiator holding the persistent reservation that attempts a transfer from the drive results in a reservation conflict. WRITES: Exclusive; any command from any initiator other than the initiator holding the persistent reservation that attempts a transfer to the drive results in a reservation conflict.
Chapter 4 SCSI Commands PERSISTENT RESERVE IN Command (5Eh) parameter data provided in response to a PERSISTENT RESERVE IN command with the REPORT CAPABILITIES service action is shown in figure 112 and table 119.
Chapter 4 SCSI Commands PERSISTENT RESERVE IN Command (5Eh) Field Description PTPL_C Always set to 1 indicating the drive support the APTPL feature. TMV Always set to 1 indicating the Persistent Reservation Type Mark field is valid.
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Field Description EX_AC_RO The Exclusive Access – Registrants Only (EX_AC_RO) bit is set to one, indicating that the device server supports the Exclusive Access – Registrants Only persistent reservation type. WR_EX_RO The Write Exclusive – Registrants Only (WR_EX_RO) bit is set to one, indicating that the device server supports the Write Exclusive – Registrants Only persistent reservation type.
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Table 121 illustrates the format of the PERSISTENT RESERVE OUT command.
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Field Description 02h Release Releases a persistent reservation. 03h Clear Clears all Reservation Keys and all persistent reservations. 04h Preempt Preempts persistent reservations from another initiator. 05h Preempt & Abort Preempts persistent reservations and/or removes registrations and aborts all tasks for all preempted I_T nexuses.
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Table 123 PERSISTENT RESERVE OUT Command’s Service Action Descriptions Code Name Description 00h Register When the command executes a Register service action, it registers a Reservation Key with the drive without generating a reservation.
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Code Name Description 02h Release A PERSISTENT RESERVE OUT command with Release service action removes a persistent reservation held by the same initiator. The fields associated with a Release service action match fields of the active persistent reservation. Sending a PERSISTENT RESERVE OUT command that specifies a Release service action when no persistent reservation exists from that initiator does not result in an error.
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Code Name Description 04h Preempt A PERSISTENT RESERVE OUT command with a successful Preempt service action removes all persistent reservations for all initiators that have been registered with the service action Reservation Key specified in the PERSISTENT RESERVE OUT command’s parameter list. A persistent reservation is also established for the preempting initiator.
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Code Name Description 05h Preempt & Abort A PERSISTENT RESERVE OUT command with a Preempt & Abort service action removes all persistent reservations for all initiators that have been registered with the service action Reservation Key specified in the PERSISTENT RESERVE OUT command’s parameter list. It also establishes a persistent reservation for the preempting initiator.
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Table 124 presents the definitions of the available Type values from the Type field of the PERSISTENT RESERVE OUT Read Reservation parameters. Each of the codes provides handling instructions for READ operations, for WRITE operations, and for subsequent attempts to establish persistent reservations (referred to as “Additional Reservations Allowed” in the table).
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Code Name Description 7h - Fh Reserved Not applicable A PERSISTENT RESERVE OUT command with a Service Action value of Register and Move uses a parameter list as described in figure 115 and table 126. All other service actions of the PERSISTENT RESERVER OUT command use the parameter list shown in figure 114 and defined in table 125.
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Table 125 PERSISTENT RESERVE OUT Parameter List — Field Descriptions Field Description Reservation Key Contains an 8-byte token that the application client provides to the drive to identify the initiator that is the source of the PERSISTENT RESERVE OUT command.
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Table 126 DLT-S4 Tape Drive Interpretation of Service and Scope Value Parameters Reservation Key Allowed Scope Register Ignored Ignored Valid Valid Register and IgnoreExisting Key Ignored Ignored Valid Ignored Reserve LU Valid Ignored Valid Release LU Valid Ignored Valid Clear Ignored Ignored Ignored Valid Preempt LU Valid Valid Valid Preempt & Abort LU Valid Valid Valid Register and Move LU Valid Valid V
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Service Action Parameter List — Data Format Bit 7 6 5 4 3 2 1 0 Byte (MSB) 0—7 Reservation Key (LSB) (MSB) 8 — 15 Service Action Reservation Key (LSB) Reserved 16 Reserved 17 UNREG APTPL (MSB) 18 — 19 Relative Target Port Identifier (LSB) (MSB) 20 — 23 TransportID Parameter Data Length (n — 23) (LSB) 24 — n DLT-S4 Interface Reference Guide TransportID 230
Chapter 4 SCSI Commands PERSISTENT RESERVE OUT Command (5Fh) Table 127 PERSISTENT RESERVE OUT Command with REGISTER AND MOVE Service Action Parameter List — Field Descriptions Field Description Reservation Key The RESERVATION KEY field contains an 8-byte value provided by the application client to the device server to identify the I_T nexus that is the source of the PERSISTENT RESERVE OUT command.
Chapter 4 SCSI Commands PREVENT / ALLOW MEDIUM REMOVAL Command (1Eh) Field Description TransportID The TransportID specifies the initiator port in the I_T nexus to which the persistent reservation is to be moved. The format of the TransportID is defined in SPC-3. The TransportID field must use the format for the interface type that is present on the drive. PREVENT / ALLOW MEDIUM REMOVAL Command (1Eh) 4 This command enables or disables unloading the data cartridge.
Chapter 4 SCSI Commands READ Command (08h) Table 128 PREVENT / ALLOW MEDIUM REMOVAL Command Descriptor Block — Field Descriptions Field Value Description Preven t 0 Clears the Prevent state corresponding to the initiator. When all initiators have cleared their Prevent states, the Eject button and UNLOAD commands are enabled both for the drive and for any attached tape automation system, library, or loader.
Chapter 4 SCSI Commands READ Command (08h) Bit 7 6 5 4 3 2 1 0 Byte Control 5 Table 129 READ Command Descriptor Block — Field Descriptions Field Description SILI Suppress Incorrect Length Indicator. If the SILI bit is set to 1 and the Fixed bit is set to 1, the drive terminates the command with CHECK CONDITION status, Sense Key set to ILLEGAL REQUEST, and Additional Sense Code set to INVALID FIELD IN CDB.
Chapter 4 SCSI Commands READ Command (08h) Field Description Transfer Length When set to 1, specifies the number of blocks to be transferred to the initiator. This setting is valid only if the drive is currently operating in fixed-block mode. When set to 0, no data is transferred and the current position on the drive does not change. This is not an error condition.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) READ ATTRIBUTE Command (8Ch) 4 The READ ATTRIBUTE command (see figure 118) allows an application client to read attribute values from Enhanced Medium Auxiliary Memory (EMAM).
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Table 130 READ ATTRIBUTE Command Descriptor Block — Field Descriptions Error Summary for the READ ATTRIBUTE Command 4 Field Description Service Action See READ ATTRIBUTE Service Action Codes. Volume Number Specifies a volume within the medium auxiliary memory. Must be set to 0. Super DLTtape media comprises a single volume. Partition Number Specifies a partition within a volume. Must be set to 0.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Key is set to ILLEGAL REQUEST and the Additional Sense Code is set to INVALID FIELD IN CDB. If the medium auxiliary memory has failed, the drive terminates the READ ATTRIBUTE command with a CHECK CONDITION status. The Sense Key is set to MEDIUM ERROR and the Additional Sense Code is set to AUXILIARY MEMORY READ ERROR. READ ATTRIBUTE Service Action Codes 4 The service actions defined for the READ ATTRIBUTE command are listed in table 131.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) The returned parameter data contains the requested attributes in ascending numerical order by attribute identifier value, using the format shown in figure 119.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) specified partition and volume number. The contents of the First Attribute Identifier field in the CDB are ignored. The returned parameter data contains the requested attribute identifiers in ascending numerical order by attribute identifier value and using the format shown in figure 120.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) 4 VOLUME LIST Service Action The READ ATTRIBUTE command with the VOLUME LIST service action returns parameter data (see figure 121) identifying the supported number of volumes. The contents of the Volume Number, Partition Number, and First Attribute Identifier fields in the CDB are ignored.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) PARTITION LIST Service Action 4 The READ ATTRIBUTE command with the PARTITION LIST service action returns parameter data (see figure 122) identifying the number of partitions supported in the specified volume number. The contents of the Partition Number and First Attribute Identifier fields in the CDB are ignored.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Figure 122 READ ATTRIBUTE with PARTITION LIST Service Action — Parameter List Format Bit Byte 7 6 5 4 3 2 1 0 (MSB) Available Data (02h) 0—1 (LSB) 2 First Partition Number 3 Number of Partitions Available Table 135 READ ATTRIBUTE with PARTITION LIST Service Action Parameter Data — Field Descriptions Enhanced Medium Auxiliary Memory (EMAM) Attributes 4 Field Description Available Data Preset to 02h.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) The attribute ID, format, and length are also sometimes referred to as the attribute header. The value of the EMAM attribute header implies nothing about the physical representation of an attribute in the medium auxiliary memory.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Table 137 EMAM Attribute Formats Format Name Description 00b BINARY The Attribute Value field contains binary data. 01b ASCII The Attribute Value field contains only graphic codes; that is, byte code values 20h through 7Eh, and is left-aligned, placing any unused bytes at the highest offset in the field. The field contains 20h, the ASCII space character, in any unused bytes. 10b TEXT The Attribute Value field contains text data.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Standard Device Type Attributes 4 The drive maintains and updates device type attributes (see table 139) when the medium and associated medium auxiliary memory are present.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Attribute Identifier Name Attribute Length Format Refer to 0224h 033Fh Reserved 0340h MEDIUM USAGE HISTORY 90 BINARY page 248 0341h PARTITION USAGE HISTORY 60 BINARY page 251 0342h 03FFh Reserved REMAINING CAPACITY IN PARTITION and MAXIMUM CAPACITY IN PARTITION: These are native capacities, assuming no data compression for the specified medium partition, expressed in increments of 1,048,576 bytes; that is, a value of 1 means 1,048,576
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) INITALIZATION COUNT: Indicates the number of times that a drive has logically formatted the medium. This figure is cumulative over the life of the medium and is never reset. DEVICE VENDOR/SERIAL NUMBER AT LAST LOAD, DEVICE VENDOR/ SERIAL NUMBER AT LOAD–1, DEVICE VENDOR/SERIAL NUMBER AT LOAD–2 and DEVICE VENDOR/SERIAL NUMBER AT LOAD–3: Provides a rolling history of the last four drives in which the medium has been loaded.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) TOTAL MBYTES WRITTEN IN CURRENT/LAST LOAD and TOTAL MBYTES READ IN CURRENT/LAST LOAD: Indicates the total number of data bytes transferred to or from the medium surface, after any data compression has been applied, during the current load if the medium is currently loaded or the last load if the medium is currently unloaded. The drive resets these attributes to 0 when the medium is loaded.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Bit 7 6 5 4 3 2 1 0 Byte (MSB) Previous Write Retries Count 30 — 35 (LSB) (MSB) Previous Amount of Data Read 36 — 41 (LSB) (MSB) Previous Read Retries Count 42 — 47 (LSB) (MSB) Total Amount of Data Written 48 — 53 (LSB) (MSB) Total Write Retries Count 54 — 59 (LSB) (MSB) Total Amount of Data Read 60 — 65 (LSB) (MSB) Total Read Retries Count 66 — 71 (LSB) (MSB) Load Count 72 — 77 (LSB) (MSB) Total Change Partition Count 78 — 83 (
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Table 142 MEDIUM USAGE HISTORY Attribute Parameter Data — Field Descriptions Field Description Current Amount of Data Written Indicates the amount of data physically written to the medium during this load of the medium. This value is expressed in increments of 1,048,576 bytes; that is, a value of 1 means 1,048,576 bytes, 2 means 2,097,152 bytes, and so on.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Field Description Load Count Indicates the number of loads since the last medium format. This count accumulates over the life of the medium but it is reset to 0 after a medium format. Total Change Partition Count Indicates the number of times that switches between partitions have been performed on the medium. Must be set to 0. Super DLTtape media comprises a single volume.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Bit 7 6 5 4 3 2 1 0 Byte (MSB) Previous Write Retries Count 20 — 23 (LSB) (MSB) Previous Amount of Data Read 24 — 27 (LSB) (MSB) 28 — 31 Previous Read Retries Count (LSB) (MSB) Total Amount of Data Written 32 — 35 (LSB) (MSB) Total Write Retries Count 36 — 39 (LSB) (MSB) Total Amount of Data Read 40 — 43 (LSB) (MSB) Total Read Retries Count 44 — 47 (LSB) (MSB) Load Count 48 — 51 (LSB) (MSB) Total Change Partition Count 52 — 55 (
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Table 143 PARTITION USAGE HISTORY Attribute Parameter Data — Field Descriptions Field Description Current Amount of Data Written Indicates the amount of data physically written to the medium in the partition specified by the Partition Number field in the CDB during this load of the medium. This value is expressed in increments of 1,048,576 bytes; that is, a value of 1 means 1,048,576 bytes, 2 means 2,097,152 bytes, and so on.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Field Description Total Write Retries Count Indicates the total number of times the drive performed a Write retry in the partition specified by the Partition Number field in the CDB since the last medium format. Total Amount of Data Read Indicates the amount of data physically read from the medium in the partition specified by the Partition Number field in the CDB since the last medium format.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Standard Medium Type Attributes 4 Medium type attributes (see table 144) are hard-coded into the medium auxiliary memory at the time of manufacture. All supported medium type attributes have a status of read only, except MEDIUM TYPE. A WORM tape can be created if the MEDIUM TYPE attribute (0408h) is used.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) MEDIUM WIDTH: Specifies the width of the medium supported by this density. The value is expressed in units of tenths of millimeters. The value in this field is rounded up if the fractional value of the actual value is greater than or equal to 0.5. The Medium Width field may vary for a given density depending on the mounted medium. A value of 00h specifies the width of the tape is undefined.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) Table 145 MEDIUM TYPE and MEDIUM TYPE INFORMATION Attributes Medium Type Description Medium Type Information 00h Data medium Reserved 01h-7Fh Reserved Reserved 80h Write-once medium Reserved 81h-FFh Reserved Reserved 4 Standard Host Type Attributes Application clients use the WRITE ATTRIBUTE and READ ATTRIBUTE commands to maintain the attributes listed in table 146. All host type attributes have a status of read/write.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) APPLICATION VENDOR: Contains 8 bytes of ASCII data (see Attribute Format on page 242) identifying the manufacturer of the application client (for example, class driver or backup program), that most recently sent a WRITE ATTRIBUTE command to the drive while this medium auxiliary memory was accessible. APPLICATION NAME: The name of the application client. APPLICATION VERSION: The version of the application client.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) LOAD/UNLOAD AT PARTITION: Indicates whether the media can be loaded or unloaded at the partition specified by the Partition Number field in the CDB. 4 Support for Host Vendor-Unique Attributes Tape drives allocate a fixed size (1,029 bytes) for the host to write its host vendor-unique EMAM attributes. These attributes can be numbered in the range 1400h through 17FFh.
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) A Comparison of MAM and EMAM 4 • Super DLTtape media does not require that attributes be written (using the WRITE ATTRIBUTE command) in ascending order. The attributes that can be written are independent of one another and can be written in any order. • Since EMAM is written to the tape, there is always a short window during which the tape is loaded but the attributes have not been read from the tape and stored in RAM.
Chapter 4 SCSI Commands READ BLOCK LIMITS Command (05h) READ BLOCK LIMITS Command (05h) 4 The READ BLOCK LIMITS command directs the tape drive to report its block length limits. Figure 126 READ BLOCK LIMITS Command Descriptor Block — Data Format Bit 7 6 5 4 3 2 1 0 Byte 0 Operation Code (05h) 1—4 Reserved 5 Control The READ BLOCK LIMITS data shown in figure 127. The command does not reflect the currently selected block size, only the available limits.
Chapter 4 SCSI Commands READ BLOCK LIMITS Command (05h) Figure 128 READ BLOCK LIMITS Data — Field Descriptions DLT-S4 Interface Reference Guide Field Description Granularity Indicates the granularity of block sizes the drive supports. Block sizes must be an even multiple of 2 raised to the granularity power. This field is set to 0 for all densities indicating any block size between the minimum and the maximum is acceptable. Maximum Block Length Indicates the maximum block length.
Chapter 4 SCSI Commands READ BUFFER Command (3Ch) READ BUFFER Command (3Ch) 4 The READ BUFFER command is used with the WRITE BUFFER command as a diagnostic function for testing the tape drive’s data buffer for possible diagnostic data and for checking the integrity of the SCSI bus or Fibre Channel or SAS network.
Chapter 4 SCSI Commands READ BUFFER Command (3Ch) Table 148 READ BUFFER Command Descriptor Block — Field Descriptions Field Description Mode The drive supports the following values for this field. Buffer ID Mode Description 00h Combined Header and Data Mode (see page 266) 02h Data Mode (see page 266) 03h Descriptor Mode (see page 267) 0Ah Read Data from Echo Buffer (see page 267) 0Bh Echo Buffer Descriptor Mode (see page 268) Indicates from which buffer the data is to be transferred.
Chapter 4 SCSI Commands READ BUFFER Command (3Ch) Retrieving Diagnostic Data 4 The host should first send a READ BUFFER command in Descriptor mode (Mode 3) to determine the size of the buffer being returned. In response to the READ BUFFER command, the drive returns 4 bytes of data, 3 of which contain the size of the buffer. Note that this may take a while to complete (possibly as much as 1 minute). The host uses this data to establish the Buffer Offset and Allocation Length fields of the CDB.
Chapter 4 SCSI Commands READ BUFFER Command (3Ch) Combined Header and Data Mode (00h) In this mode, the drive returns a 4-byte header followed by data bytes. The drive terminates the DATA IN phase or FCP_DATA IU when the Allocation Length bytes of header and data have been transferred or when all available data has been transferred to the initiator, whichever is less. 4 The 4-byte READ BUFFER header is followed by data bytes from the target data buffer. Figure 130 illustrates the format of the header.
Chapter 4 SCSI Commands READ BUFFER Command (3Ch) 4 In this mode, the drive returns a maximum of 4 bytes of READ BUFFER Descriptor Mode (03h) descriptor information. The drive returns the descriptor information for the buffer specified by the Buffer ID. In this mode, the drive does not reject the invalid Buffer IDs with a CHECK CONDITION status, but returns all zeros in the READ BUFFER descriptor. The Offset Boundary is 3, indicating that buffer offsets should be integral multiples of 8.
Chapter 4 SCSI Commands READ BUFFER Command (3Ch) In this mode, the drive returns a maximum of 4 bytes of READ BUFFER descriptor information. The drive returns the descriptor information for the Echo Buffer. The Buffer Offset field is reserved in this mode. The allocation length should be set to 4 or greater. The drive transfers the lesser of the allocation length or 4 bytes of the READ BUFFER descriptor.
Chapter 4 SCSI Commands READ POSITION Command (34h) READ POSITION Command (34h) 4 The READ POSITION command reads a position identifier or SCSI Logical Block Address (LBA). The LOCATE command uses this identifier or LBA for high-performance repositioning of the tape medium to a known logical position.
Chapter 4 SCSI Commands READ POSITION Command (34h) Table 150 READ POSITION Command Descriptor Block — Field Descriptions Field Description Service Action Determines the format of the positional data the drive returns. All values other than those listed below are reserved or unsupported. Allocation Length Value Description 00h The drive returns 20 bytes of data in the format described in Read Position Data — Short Form on page 270.
Chapter 4 SCSI Commands READ POSITION Command (34h) Bit 7 6 5 4 3 2 1 0 Byte (MSB) Last Logical Object Location 8 — 11 (LSB) Reserved 12 (MSB) Number of Logical Objects in Object Buffer 13 — 15 (LSB) (MSB) Number of Bytes in Object Buffer 16 — 19 (LSB) Table 151 READ POSITION (Short Form) Data — Field Descriptions Field Description BOP Beginning of Partition. When set to 1, indicates that the drive is at the Beginning of Partition (BOP) in the current partition.
Chapter 4 SCSI Commands READ POSITION Command (34h) Field Description LOLU Logical Object Location Unknown. When set to 1, indicates that the values contained in the Partition Number, First Logical Object Location, or Last Logical Object Location fields are not known or accurate reporting is not currently available. When set to 0, indicates that the values these fields contain are accurate. PERR Position Error.
Chapter 4 SCSI Commands READ POSITION Command (34h) Read Position Data — Long Form Data returned when the service action value is 6 takes the following form: 4 Figure 136 READ POSITION (Long Form) — Data Format Bit 7 6 BOP EOP 5 4 3 2 MPU LONU 1 0 Byte 0 Reserved Reserved Reserved 1—3 (MSB) Partition Number 4—7 (LSB) (MSB) Logical Object Number 8 — 15 (LSB) (MSB) Logical File Identifier 16 — 23 (LSB) (MSB) 24 — 31 Logical Set Identifier (LSB) DLT-S4 Interface Reference Guide 27
Chapter 4 SCSI Commands READ POSITION Command (34h) Table 152 READ POSITION (Long Form) Data — Field Descriptions Field Description BOP Beginning of Partition. When set to 1, indicates that the drive is at the Beginning of Partition (BOP) in the current partition. When set to 0, indicates that the current logical position is not at BOP. Since DLT-S4 tape drives do not support more than one partition, the value of this field is 1 when at BOT. EOP End of Partition.
Chapter 4 SCSI Commands RECEIVE DIAGNOSTIC RESULTS Command (1Ch) RECEIVE DIAGNOSTIC RESULTS Command (1Ch) 4 The RECEIVE DIAGNOSTIC RESULTS command fetches the results of the last SEND DIAGNOSTIC command sent to the tape drive.
Chapter 4 SCSI Commands RECEIVE DIAGNOSTIC RESULTS Command (1Ch) Figure 138 RECEIVE DIAGNOSTIC RESULTS — Data Format Bit 7 6 5 4 3 2 1 0 Byte 0 Controller Present Flag1 1 Controller Error ASQ2 2 Drive Present Flag1 3 Drive Error ASQ2 4—7 MB Written 8 — 11 Total Write Errors 12 — 15 MB Read 16 — 19 Total Read Errors 20 Drive Health Check Status3 21 Media Health Check Status3 Notes: 1. 2. 3. Controller and Drive Present Flags: 1 = Present; 0 = Not present.
Chapter 4 SCSI Commands RELEASE (10) Command (57h) RELEASE (10) Command (57h) 4 The RELEASE and RESERVE commands provide contention resolution in multiple-initiator systems. The RELEASE (10) command releases a previously reserved logical unit. The tape drive does not return an error if an initiator attempts to release a reservation that is not currently valid. This command has been made obsolete in the latest version of SCSI-3 and should not be used with any new implementations.
Chapter 4 SCSI Commands RELEASE (10) Command (57h) Table 154 RELEASE (10) Command — Field Descriptions Field Description 3rdPty Third Party Release allows an initiator to release a previously established third party reservation. When set to 0, third-party release is not requested. When set to 1, the drive releases the specified logical unit, but only if the initiator ID, 3rdPty bit, and Third Party Device ID are identical to those of the RESERVE command that established the reservation.
Chapter 4 SCSI Commands RELEASE UNIT Command (17h) RELEASE UNIT Command (17h) 4 The RELEASE UNIT command releases the tape drive if it is currently reserved by the requesting initiator. It is not an error to release the drive if it is not currently reserved by the requesting initiator. If the drive is reserved by another initiator, however, it is not released; the drive is only released from the initiator that issued the RELEASE UNIT command.
Chapter 4 SCSI Commands RELEASE UNIT Command (17h) Table 155 RELEASE UNIT Command — Field Descriptions Field Description 3rdPty The third-party release option for RELEASE UNIT allows an initiator to release a logical unit that was previously reserved using the third-party reservation option. When set to 0, the third-party release option is not requested.
Chapter 4 SCSI Commands REPORT DENSITY SUPPORT Command (44h) REPORT DENSITY SUPPORT Command (44h) 4 The REPORT DENSITY SUPPORT command is a 10-byte command that the application client uses to request information about the densities or the medium types the DLT-S4 tape drive supports. Figure 142 illustrates the format of the REPORT DENSITY SUPPORT command; the table that follows explains the data fields of the command.
Chapter 4 SCSI Commands REPORT DENSITY SUPPORT Command (44h) Table 156 REPORT DENSITY SUPPORT Command — Field Descriptions Field Description Media When set to 0, the drive returns density support data blocks for the densities of any supported medium. When set to 1, the drive returns density support data blocks for the densities supported by the mounted medium only.
Chapter 4 SCSI Commands REPORT DENSITY SUPPORT Command (44h) Table 157 REPORT DENSITY SUPPORT Header — Field Descriptions Field Description Available Density Support Length Specifies the number of bytes in the data that follows that are available to be transferred. Note that the length value does not include the length of the field itself. Density Support or Medium Type Descriptor(s) See figure 144 and figure 145.
Chapter 4 SCSI Commands REPORT DENSITY SUPPORT Command (44h) Bit 7 6 5 4 3 2 1 0 Byte (MSB) Tracks 10 — 11 (LSB) (MSB) Capacity 12 — 15 (LSB) (MSB) Assigning Organization 16 — 23 (LSB) (MSB) Density Name 24 — 31 (LSB) (MSB) Description 32 — 51 (LSB) Table 158 DENSITY SUPPORT Descriptor — Field Descriptions Field Description Primary Density Code Contains the value returned by a MODE SENSE command for the density described in the remainder of the Density Support Data Block Descriptor.
Chapter 4 SCSI Commands REPORT DENSITY SUPPORT Command (44h) Field Description DUP Duplicated. When is set to 0, indicates that this Primary Density Code has exactly one density support data block. When set to 1, indicates that this Primary Density Code is specified in more than one density support data block. Deflt Default. When set to 0, indicates that this is not the default density of the drive.
Chapter 4 SCSI Commands REPORT DENSITY SUPPORT Command (44h) Medium Type Support Report The REPORT DENSITY SUPPORT command with a MEDIUM TYPE field bit set to one returns the REPORT DENSITY SUPPORT header (see figure 142) followed by one or more medium type descriptors (see figure 145). The medium type descriptors is in numerical ascending order of the medium type value.
Chapter 4 SCSI Commands REPORT DENSITY SUPPORT Command (44h) Bit 7 Byte 6 5 4 3 2 1 0 (MSB) Description 36 — 55 (LSB) Table 159 Medium Type Descriptor — Field Descriptions Field Description Medium Type The MEDIUM TYPE field contains the value returned by a MODE SENSE command in the Medium Type field in the Mode Parameter Header for the medium type described in the remainder of the medium type descriptor.
Chapter 4 SCSI Commands REPORT DEVICE IDENTIFIER Command (A3h/05h) REPORT DEVICE IDENTIFIER Command (A3h/05h) 4 The REPORT DEVICE IDENTIFIER command requests that the drive send device identification information established through the use of a SET DEVICE IDENTIFICATION command.
Chapter 4 SCSI Commands REPORT DEVICE IDENTIFIER Command (A3h/05h) Table 160 REPORT DEVICE IDENTIFIER Command Descriptor Block — Field Descriptions Field Description Service Action A service action of 05h identifies this as the REPORT DEVICE IDENTIFIER command. Allocation Length If the Allocation Length is not large enough to hold all of the parameter data, the drive truncates the data it returns. This is not considered an error.
Chapter 4 SCSI Commands REPORT DEVICE IDENTIFIER Command (A3h/05h) Table 161 REPORT DEVICE IDENTIFIER Parameter Data — Field Descriptions DLT-S4 Interface Reference Guide Field Description Identifier Length Specifies the length in bytes of the Identifier field. If the value of the Allocation Length field in the CDB is too small to transfer all of the identifier, the length is not adjusted to reflect the truncation. The identifier length is initially set to 0.
Chapter 4 SCSI Commands REPORT LUNS Command (A0h) REPORT LUNS Command (A0h) 4 The REPORT LUNS command requests that the DLT-S4 tape drive send the peripheral device logical unit numbers of known logical units to the applications client. The command only returns information about the logical units that accept commands.
Chapter 4 SCSI Commands REPORT LUNS Command (A0h) Table 162 REPORT LUNS Command Descriptor Block — Field Descriptions Field Description Select Report Specifies the type of logical unit addresses to be reported. All values other than those listed are reserved.
Chapter 4 SCSI Commands REPORT LUNS Command (A0h) 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 8. If the allocation length in the CDB is too small to allow transfer of information about all of the logical units configured, the LUN list length value is not adjusted to reflect the truncation.
Chapter 4 SCSI Commands REPORT SUPPORTED OPERATION CODES Command (A3h/0Ch) REPORT SUPPORTED OPERATION CODES Command (A3h/0Ch) 4 The REPORT SUPPORTED OPERATION CODES command requests information on commands the DLT-S4 tape drive supports. An application client may request a list of all operation codes and service actions the drive supports or the command support data for a specific command.
Chapter 4 SCSI Commands REPORT SUPPORTED OPERATION CODES Command (A3h/0Ch) Table 163 REPORT SUPPORTED OPERATION CODES Command Descriptor Block — Field Descriptions Field Service Action Reporting Options Description A service action of 0Ch identifies this as the REPORT SUPPORTED OPERATION CODES command. Specifies the type of information to be returned in the parameter data. All values other than those listed are reserved.
Chapter 4 SCSI Commands REPORT SUPPORTED OPERATION CODES Command (A3h/0Ch) The REPORT SUPPORTED OPERATION CODES all_commands parameter data format begins with a 4-byte header that contains the length in bytes of the parameter data, followed by a list of the returned commands. Each command descriptor contains information about a single supported command, including operation code and service action, if applicable. The list of command descriptors contains all commands the drive supports.
Chapter 4 SCSI Commands REPORT SUPPORTED OPERATION CODES Command (A3h/0Ch) Figure 152 All_commands Command Descriptor — Data Format Bit 7 6 5 4 3 2 1 0 Byte 0 Operation Code 1 Reserved (MSB) Service Action 2—3 (LSB) Reserved 4 Reserved 5 ServActV (MSB) CDB Length 6—7 (LSB) Table 165 All_commands Command Descriptor — Field Descriptions DLT-S4 Interface Reference Guide Field Description Operation Code The operation code of the returned command.
Chapter 4 SCSI Commands REPORT SUPPORTED OPERATION CODES Command (A3h/0Ch) The REPORT SUPPORTED OPERATION CODES one_command parameter data format contains information about the CDB and a usage map for fields in the CDB of the command specified in the Reporting Options, Requested Operation Code, and Requested Service Action fields of the REPORT SUPPORTED OPERATION CODES CDB.
Chapter 4 SCSI Commands REPORT SUPPORTED OPERATION CODES Command (A3h/0Ch) Table 166 One_command Parameter Data — Field Descriptions Field Description Support Indicates how the drive supports the requested command. All values other than those listed are reserved. Value Description 000b The drive cannot currently return data about the requested command. All data following byte 1 is invalid. Another request for command data may be successful. 0001b The drive does not support the requested command.
Chapter 4 SCSI Commands REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS Command (A3h/0Dh) REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS Command (A3h/0Dh) 4 The REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS command requests information on task management functions the DLT-S4 tape drive supports.
Chapter 4 SCSI Commands REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS Command (A3h/0Dh) The REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS command may return any of the values shown in figure 155.
Chapter 4 SCSI Commands REPORT TIMESTAMP Command (A3h/0Fh) REPORT TIMESTAMP Command (A3h/0Fh) 4 The REPORT TIMESTAMP command (see figure 156) requests that the device server return the value of the DLT-S4 tape drive’s timestamp.
Chapter 4 SCSI Commands REPORT TIMESTAMP Command (A3h/0Fh) The format of the parameter data is shown in figure 157.
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) REQUEST SENSE Command (03h) 4 The REQUEST SENSE command directs the DLT-S4 tape drive to transfer detailed Sense Data to the initiator. Figure 158 REQUEST SENSE Command Descriptor Block — Data Format Bit 7 6 5 4 3 2 1 0 Byte 0 Operation Code (03h) 1 Reserved 2—3 Reserved 4 Allocation Length 5 Control Table 171 REQUEST SENSE Command Data — Field Descriptions DLT-S4 Interface Reference Guide DESC Field Description DESC Descriptor.
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) The Sense Data are valid for a CHECK CONDITION or RESERVATION CONFLICT status returned on the previous command. The drive preserves the Sense Data bytes until it is passed to the host as autosense data, it is retrieved by a REQUEST SENSE command or until the receipt of any other command from the same initiator, though some commands, such as INQUIRY, do not change Sense Data.
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) Bit 7 6 5 4 3 2 1 0 Byte (MSB) Field Pointer 16 — 17 (LSB) 18 Internal Status Code 19 — 20 Tape Motion Hours 21 — 24 Power On Hours 25 — 28 Tape Remaining 29 — n Reserved Table 172 REQUEST SENSE Data — Field Descriptions Field Description Valid When set to 1, indicates that the Information field contains valid SCSI-3 information. When set to 0, indicates that the contents of the Information field are not defined.
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) Field Description Sense Key The Sense Key values are described in table 173. Information Contains the difference (residue) between the requested length minus the actual length in bytes, blocks, or Filemarks, as determined by the command. Negative values are indicated by two’s complement notation. The bytes are valid for all READ, WRITE, SPACE, and VERIFY commands for which the drive generated a CHECK CONDITION status.
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) Field Description Field Pointer If the Sense Key is ILLEGAL REQUEST, this field indicates which byte of the CDB or Parameter List is in error. For a multi-byte field, the most significant byte is indicated. If the Sense Key is NO SENSE and the Additional Sense Code field is OPERATION IN PROGRESS, this field indicates the progress toward completion as the numerator of a fraction with 65,536 as the denominator. Internal Status Code Vendor specific.
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) Sense Key Description 5h ILLEGAL REQUEST. The CDB or supplied parameter data specified an unsupported or illegal operation. Check the Byte Pointer and Bit Pointer fields for an indication of the field in error. 6h UNIT ATTENTION.
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) Sense Key ASC ASCQ Description NO SENSE (continued) 00h 5Dh 00h TapeAlert Failure Prediction Threshold Exceeded 5Dh FFh False Exception Condition RECOVERED ERROR 01h 00h 17h Clean Requested (Non-Vendor Specific) 0Ah 00h Error Log Overflow 0Ah 80h Error Log Generated 37h 00h Rounded Parameter 3Bh 08h Repositioning Error 44h C1h EEPROM Copy 1 Area Bad 44h C2h EEPROM Copy 2 Area Bad 47h 00h SCSI Parity Error 48h 00h ID
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) Text Name NOT READY (continued) Sense Key ASC ASCQ Description 02h 52h 00h Cartridge Error, Calibration Failure 53h 00h Media Load or Eject Failed 5Ah 01h Operator Media Removal Request 00h 00h Medium Error 00h 17h Cleaning Required 0Ch 00h WRITE Error 11h 00h Unrecovered READ Error 11h 03h Incomplete Block READ 11h 08h Incomplete Block READ (Partial Record Found) 14h 00h Recorded Entity Not Found.
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) Text Name HARDWARE ERROR (continued) Sense Key ASC ASCQ Description 04h 11h 80h Read SCSI FIFO CRC Error 11h 81h Block Port Detected EDC Error 11h 82h Block Port Detected Record CRC Error 11h 83h Interface Buffer CRC Error 15h 01h Random Mechanical Positioning Error 3Bh 08h Repositioning Error 40h 84h Diagnostic / POST Failure, POST Soft Failure1 44h 80h Unexpected Selection Interrupt 44h 82h Command Complete Sequence Faile
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) Text Name ILLEGAL REQUEST Sense Key ASC ASCQ Description 05h 0Eh 03h Invalid Field in Command Information Unit 1Ah 00h Parameter List Length Error 20h 00h Illegal OpCode 20h 81h Illegal Command While In Recovery Mode 24h 00h Invalid CDB Field.
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) Text Name ILLEGAL REQUEST (continued) UNIT ATTENTION Sense Key ASC ASCQ Description 05h 2Ch B0h Not Reserved, a command that respects reservation was received with the OIR bit in the Device Configuration Mode Page set to 1. 30h 00h Incompatible Medium. Drive Cannot Read Medium 30h 02h Incompatible Format.
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) Text Name UNIT ATTENTION (continued) DATA PROTECTED Sense Key ASC ASCQ Description 06h 3Bh 15h Medium Magazine Unlocked 3Fh 01h Microcode has been Changed 3Fh 05h Device Identifier Changed 3Fh 11h Medium Auxiliary Memory Accessible 5Bh 01h Log Threshold Condition Met 20h 03h Access Denied, Invalid Management ID Key 20h 05h Access Denied, Incompatible Write Format 20h 80h Access Denied, Password Attempts Exceeded 20h 88h Ac
Chapter 4 SCSI Commands REQUEST SENSE Command (03h) Text Name COMMAND ABORTED (continued) VOLUME OVERFLOW 1. 2. Sense Key ASC ASCQ Description 0Bh 48h 00h IDE Message Error 49h 00h Invalid Message Error 4Ah 00h Command Phase Error 4Bh 00h Data Phase Error 4Bh 01h Invalid Target Port Transfer Tag 4Bh 02h Too Much Write Data 4Bh 03h ACK/NAK Timeout 4Bh 04h NAK Received 4Bh 05h Data Offset Error 4Bh 06h Initiator Response Timeout 4Eh 00h Overlapped Commands Attempted.
Chapter 4 SCSI Commands RESERVE (10) Command (56h) RESERVE (10) Command (56h) 4 The RESERVE and RELEASE commands provide contention resolution in multiple-initiator systems. The RESERVE command reserves a logical unit number. The RESERVE (10) CDB is shown in figure 175, and the data fields are described in table 157. If RESERVE (10) is used, RELEASE (10) must also be used. Note: This command has been made obsolete in the latest version of SCSI-3 and should not be used with any new implementations.
Chapter 4 SCSI Commands RESERVE (10) Command (56h) Table 176 RESERVE (10) Command Descriptor Block — Field Descriptions Field Description 3rdPty When set to 1, indicates that the Third Party Device ID field is valid. LongID When set to 1, the Parameter List Length is 8 and the 8 bytes of the parameter list carry the device ID of the third-party device. The drive ignores the contents of the Third Party Device ID in the CDB (byte 3). This bit is ignored if the 3rdPty bit is not set.
Chapter 4 SCSI Commands RESERVE UNIT Command (16h) Table 177 RESERVE (10) ID Only Parameter List — Data Format Bit 7 6 5 4 3 2 1 0 Byte (MSB) Third Party Device ID 0—7 (LSB) RESERVE UNIT Command (16h) 4 The RESERVE UNIT command reserves the specified tape drive for the exclusive use of the requesting initiator or for another specified SCSI device. Note: This command has been made obsolete in the latest version of SCSI-3 and should not be used with any new implementations.
Chapter 4 SCSI Commands RESERVE UNIT Command (16h) Figure 161 RESERVE UNIT Command Data — Field Descriptions Field Description 3rdPty The third-party reservation option for RESERVE UNIT allows an initiator to reserve a logical unit for another SCSI device. This option is intended for systems that use COPY and is implemented by the drive. When set to 1, the drive is reserved for the SCSI device whose ID appears in the Third Party Device ID field.
Chapter 4 SCSI Commands REWIND Command (01h) REWIND Command (01h) 4 The REWIND command directs the DLT-S4 tape drive to position the tape at the beginning of the currently active partition, always Beginning of Media (BOM). Before rewinding, the drive writes any data in the write buffer to the tape medium and appends an End of Data marker.
Chapter 4 SCSI Commands SEND DIAGNOSTIC Command (1Dh) SEND DIAGNOSTIC Command (1Dh) 4 The SEND DIAGNOSTIC command directs the DLT-S4 tape drive to perform its self-diagnostic tests. Two levels of drive-resident diagnostic tests are available: the Level 1 Electronics Test and the Level 2 Write / Read Functionality Test.
Chapter 4 SCSI Commands SEND DIAGNOSTIC Command (1Dh) Table 179 SEND DIAGNOSTIC Command Data — Field Descriptions Level 1 Test: Electronics Test 4 Field Description PF Page Format. Must be set to 0 when the SelfTst bit is set to 1. Selftst Self Test. Used with DevOfl and UnitOfl to specify the type of testing to be done (see table 180 for specific information). DevOfl Device Offline. Used with Selftst and UnitOfl to specify the type of testing to be done (see table 180 for specific information).
Chapter 4 SCSI Commands SEND DIAGNOSTIC Command (1Dh) 3 Reads the two tracks of data. 4 Rewinds the tape. The execution time for the Level 2 test is approximately 12 minutes. See table 180 for information on setting the SEND DIAGNOSTIC CDB fields to select a Level 2 test. The Level 1 and Level 2 diagnostic tests do not take parameters. If the PF bit is set to one and the SelfTst bit is set to one, the drive will reject the command and indicate an Illegal Request.
Chapter 4 SCSI Commands SEND DIAGNOSTIC Command (1Dh) Table 181 Sense Keys for SEND DIAGNOSTIC Command Sense Key Description 3h Medium Error. The drive returns a medium error if it encounters a Hard Read or Hard Write error during the test. 4h Hardware Error. The Additional Sense Code and any Additional Sense Code Qualifiers provide more specific information (see table 182 for more information). 5h ILLEGAL REQUEST. Illegal parameter settings in the SEND DIAGNOSTIC command.
Chapter 4 SCSI Commands SET DEVICE IDENTIFIER Command (A4h/06h) SET DEVICE IDENTIFIER Command (A4h/06h) 4 The SET DEVICE IDENTIFIER command requests that the device identifier information in the DLT-S4 tape drive be set to the value contained in the parameter list. This information is then accessible using the REPORT DEVICE IDENTIFIER command. The device identifier is persistent through Reset and power cycles.
Chapter 4 SCSI Commands SET DEVICE IDENTIFIER Command (A4h/06h) Table 183 SET DEVICE IDENTIFIER Command Descriptor Block — Field Descriptions Field Description Service Action A service action of 06h identifies this as the SET DEVICE IDENTIFIER command. Parameter List Length Specifies the length in bytes of the Identifier that is transferred from the application client to the tape drive. The maximum value for this field is 64 bytes.
Chapter 4 SCSI Commands SET TIMESTAMP Command (A4h/0Fh) SET TIMESTAMP Command (A4h/0Fh) 4 The SET TIMESTAMP command (see figure 166) requests the DLT-S4 tape drive to initialize the timestamp.
Chapter 4 SCSI Commands SET TIMESTAMP Command (A4h/0Fh) The format for the parameter data returned by the SET TIMESTAMP command is shown in figure 167. Figure 167 SET TIMESTAMP Command Parameter List — Data Format Bit 7 6 5 4 3 2 1 0 Byte 0—3 Reserved 4—9 Timestamp 10 Reserved 11 Reserved Table 186 SET TIMESTAMP Command Parameter List — Field Descriptions Field Description Timestamp The timestamp should be the number of milliseconds that have elapsed since midnight, 1 January 1970 UT.
Chapter 4 SCSI Commands SPACE Command (11h) SPACE Command (11h) 4 The SPACE command provides a variety of positioning functions that are determined by the Code and Count fields in the Command Descriptor Block. This command provides both forward (toward End of Partition) and reverse (toward Beginning of Partition) positioning.
Chapter 4 SCSI Commands SPACE Command (11h) Table 188 SPACE Command Data — Field Descriptions Field Description Code The code can be one of the following values. All other values are reserved. Count Space Code Space By 0000b Logical Blocks 0001b Filemarks 0010b Sequential Filemarks 0011b End-of-Data When spacing over Blocks or Filemarks, the Count field is interpreted as follows: • A positive value n causes forward motion over n blocks or filemarks.
Chapter 4 SCSI Commands TEST UNIT READY Command (00h) TEST UNIT READY Command (00h) 4 The TEST UNIT READY command checks the DLT-S4 tape drive to ensure that it is ready for commands involving tape movement.
Chapter 4 SCSI Commands VERIFY Command (13h) VERIFY Command (13h) 4 The VERIFY command directs the tape drive to verify one or more blocks beginning with the next block on the tape. The drive verifies both CRCs and EDCs. Figure 169 VERIFY Command Descriptor Block—Data Format Bit Byte 7 6 5 4 3 2 1 0 Immed BytCmp Fixed Operation Code (13h) 0 Reserved 1 (MSB) 2—4 Verification Length (LSB) Control 5 Table 189 VERIFY Command Data — Field Descriptions Field Description Immed Immediate.
Chapter 4 SCSI Commands WRITE Command (0Ah) WRITE Command (0Ah) 4 The WRITE command transfers one or more data blocks from the host to the current logical position on tape. When in Buffered Mode, which is the default mode of operation, the DLT-S4 tape drive reports GOOD status on WRITE commands as soon as the requested data block or blocks have been transferred to the data buffer. See MODE SELECT (6) / (10) Command (15h / 55h) on page 98 for more information on Buffered Mode.
Chapter 4 SCSI Commands WRITE Command (0Ah) Table 190 WRITE Command Data — Field Descriptions Field Description Fixed Sets both the meaning of the Transfer Length field. When set to 0, a single block is transferred from the initiator and is written to the drive beginning at the current logical tape position. Upon successful termination, the drive logically positions the tape after this block on the EOM / EOP side. The Transfer Length specifies the length of block in bytes.
Chapter 4 SCSI Commands WRITE ATTRIBUTE Command (8Dh) WRITE ATTRIBUTE Command (8Dh) 4 The WRITE ATTRIBUTE command allows an application client to write attributes to Enhanced Medium Auxiliary Memory (EMAM). The WRITE ATTRIBUTE command is the functional counterpart of the READ ATTRIBUTE command. Application clients issue READ ATTRIBUTE commands before using this command to discover DLT-S4 tape drive support for EMAM features.
Chapter 4 SCSI Commands WRITE ATTRIBUTE Command (8Dh) Table 192 WRITE ATTRIBUTE Parameter Command Data — Field Descriptions Field Description Volume Number Specifies a volume within the medium auxiliary memory. Must be set to 0. Super DLTtape media comprises a single volume. Partition Number Specifies a partition within a volume. Must be set to 0. Super DLTtape media comprises a single partition.
Chapter 4 SCSI Commands WRITE ATTRIBUTE Command (8Dh) Table 193 WRITE ATTRIBUTE Command Parameter Data — Field Descriptions Error Summary for the WRITE ATTRIBUTE Command 4 Field Description Parameter Data Length Indicates the number of bytes in the page, excluding the 4 bytes that make up the header. Attribute Contains: 1) an attribute header, and 2) data. Each attribute must be formatted as described in Enhanced Medium Auxiliary Memory (EMAM) Attributes on page 242.
Chapter 4 SCSI Commands WRITE ATTRIBUTE Command (8Dh) • If the attribute is Read / Write, the attribute is deleted. The attribute is not returned in response to a READ ATTRIBUTE command and not reported by the READ ATTRIBUTE command with the ATTRIBUTE LIST service action. • If the attribute does not exist, the attribute in the WRITE ATTRIBUTE command parameter list is ignored; this is not considered an error.
Chapter 4 SCSI Commands WRITE BUFFER Command (3Bh) WRITE BUFFER Command (3Bh) 4 The WRITE BUFFER command works with the READ BUFFER command as a diagnostic function for testing the device data buffer, DMA engine, interface hardware, and interface network integrity. It is also used to download and update microcode (firmware).
Chapter 4 SCSI Commands WRITE BUFFER Command (3Bh) Table 194 WRITE BUFFER Command Descriptor Block — Field Descriptions Field Description Mode The drive supports the following values in this field. Mode Description 00h Write Combined Header and Data 02h Write Data 04h Download Microcode 05h Download Microcode and Save 0Ah Write Data to Echo Buffer Buffer ID The modes described for the Mode field only support a Buffer ID of 0, except Echo Buffer mode, which ignores the Buffer ID field.
Chapter 4 SCSI Commands WRITE BUFFER Command (3Bh) The drive must not contain any tape medium before starting an image download. This is to safeguard against accidentally starting a firmware update. If a tape cartridge is loaded when all or part of a firmware image has been downloaded, the drive rejects another WRITE BUFFER command with Download Microcode mode. An error on a WRITE BUFFER command causes the drive to discard any downloaded image data.The download must be restarted from the beginning.
Chapter 4 SCSI Commands WRITE FILEMARKS Command (10h) WRITE FILEMARKS Command (10h) 4 The WRITE FILEMARKS command directs the tape drive to write the specified number of Filemarks onto the tape, beginning at the current logical position. If the Immed bit is not set to 1, the drive writes any data or Filemarks in the WRITE cache buffer to tape.
Chapter 4 SCSI Commands WRITE FILEMARKS Command (10h) Table 195 WRITE FILEMARKS Command — Field Descriptions Field Description WSMK Write Setmark. Must be set to 0. Immed Immediate. When set to 0, the drive does not return status until all buffered data and Filemarks are written to the medium. When set to 1, the drive returns status as soon as it validates the CDB.
Appendix A DLTSage WORM A DLTSage WORM is the name of the DLT-S4 feature that allows the DLTtape S4 cartridges to be used in Write Once Read Many (WORM) mode. This feature is enabled by the presence of a standard DLTtape S4 cartridge that has been initialized as a WORM medium cartridge. After the cartridge has been initialized to work in WORM mode, write operations are only allowed at the End of Data position.
Chapter 4 SCSI Commands Use of DLTSage WORM Tapes If the initial criteria are met the following operations are done: The cartridge is formatted; The DLTSage WORM indicator is written in three places; • An End Of Data (EOD) marker is placed at the Beginning of Tape (BOT); and • The DLTSage WORM tag is created and written to the MAM data. Once the initialization process successfully completes, the DLTtape S4 cartridge is ready to be used in WORM mode.
Chapter 4 SCSI Commands Use of DLTSage WORM Tapes • Understanding the timeout value for creating the DLTSage WORM cartridge, • Determining if tampering of the DLTSage WORM cartridge has occurred, • Responding to DLTSage WORM sense data and DLTSage WORM TapeAlerts and, • Failure Modes and Recovery Actions Determining if the SDLT Drive is DLTSage WORM Capable 1 The Sequential-Access Device Capabilities Page (0xB0) contains an indicator that the drive is DLTSage WORM Capable.
Chapter 4 SCSI Commands Use of DLTSage WORM Tapes Reading the DLTSage WORM Signature 1 Understanding Unique Sense Data while Using the DLTSage WORM Cartridge 1 The DLTSage WORM signature is read using the READ ATTRIBUTE command to read the Medium Serial Number Attribute (0x0401). The DLTSage WORM signature consists of the drive power on hours, drive serial number and unique media ID.
Chapter 4 SCSI Commands Use of DLTSage WORM Tapes • Sense Key — Illegal Request (05) • Parameter List Error, Invalid Field (26/00) • The REQUEST SENSE data will point to the attribute (0x0408) field that you are incorrectly trying to modify.
Chapter 4 SCSI Commands Use of DLTSage WORM Tapes Responding to DLTSage WORM Sense Data and DLTSage WORM TapeAlerts 1 TheDLTSage WORM TapeAlerts are as follows: 0x3B – WORM Medium Integrity Check Failed The tape drive has detected an inconsistency during WORM medium integrity checks. Detection — The application will receive a WORM Integrity Check Failed Tape Alert (0x3B) after the cartridge is loaded.
Chapter 4 SCSI Commands Use of DLTSage WORM Tapes Recovery — The recommended recovery action is to copy all the data from the problem DLTSage WORM cartridge to a new DLTSage WORM cartridge. User Data Write Failures on an DLTSage WORM cartridge In the event of a write failure in the data area of a DLTSage WORM cartridge, that cartridge will become unusable for future data append operations. The tape can no longer be written.