Installing an sdlt or dlttape tape drive into an hp-ux system (10 pages)
Summary of Contents for Quantum DLT S4
Page 2
Quantum, the Quantum logo, DLT, DLTtape, and DLTtape logo are registered trademarks of Quantum Corporation in the U.S. and other countries. The DLT logo, DLTSage, and StorageCare trademarks of Quantum Corporation. LTO and Ultrium are trademarks of HP, IBM, and Quantum in the U.S. and other countries.
Preface Chapter 1 Chapter 2 DLT-S4 Interface Reference Guide Introduction Background Information About SCSI ... 1 Parallel SCSI Characteristics ... 2 Fibre Channel Characteristics ... 3 Serial Attached SCSI Characteristics... 4 Task Management Task Management by Transport Layer Overview ... 6 Task Management Function ...
Page 4
Chapter 3 Chapter 4 DLT-S4 Interface Reference Guide Transport Layer Implementation Details Parallel SCSI ... 10 SCSI Bus Reset Condition ...10 Supported Messages ... 11 Supported Task Management for Information Units ... 13 Synchronous Data Transfer Request ... 13 Parallel Protocol Request ... 15 Wide Data Transfer Request...
Page 5
Medium Configuration Mode Page (1Dh) ... 142 Data Security Mode Page (27h)... 144 General Operation ... 149 Drive Password and Password Protection State Storage... 150 EEPROM Mode Page (3Eh) ... 150 Changeable Parameters Within MODE SENSE (6) / (10) Command (1Ah / 5Ah) ... 157 MODE SENSE Data Headers ...
Page 6
Medium Configuration Mode Page (1Dh) ... 199 Data Security Mode Page (27h)... 201 General Operation ... 205 Drive Password and Password Protection State Storage... 206 EEPROM Mode Page (3Eh) ... 207 PERSISTENT RESERVE IN Command (5Eh) ... 209 READ KEYS Service Action ... 210 READ RESERVATION Service Action...
Page 7
DLT-S4 Interface Reference Guide 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)... 266 Combined Header and Data Mode (00h) ...
Page 8
Appendix A DLT-S4 Interface Reference Guide 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) ...
Page 9
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 Command Descriptor Block —...
Page 10
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 Command Descriptor Block — Data LOAD UNLOAD Format ...
Page 11
DLT-S4 Interface Reference Guide Figure 39 SAS Phy Log Descriptor ... 81 Figure 40 TapeAlert LOG SENSE Figure 41 TapeAlert LOG SENSE Figure 42 Device Wellness Figure 43 Log Parameters Format for Device Wellness LOG SENSE Page (Parameter Codes 0000h – 000Fh) ... 89 Figure 44 General Purpose Non-Volatile Header Format...
Page 12
DLT-S4 Interface Reference Guide Figure 59 Fibre Channel — Disconnect / Reconnect Page — Data Format... 109 SELECT Figure 60 SAS — Disconnect / Reconnect Data Format... 111 Figure 61 Control Mode MODE SELECT Figure 62 Data Compression Figure 63 Device Configuration Format ...
Page 13
DLT-S4 Interface Reference Guide 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 —...
Page 14
DLT-S4 Interface Reference Guide 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 —...
Page 15
DLT-S4 Interface Reference Guide Figure 121 READ ATTRIBUTE Parameter List Format ... 241 Figure 122 READ ATTRIBUTE Action — Parameter List Format ... 243 Figure 123 EMAM Attribute — Data Format ... 244 Figure 124 DEVICE VENDOR/SERIAL NUMBER Attribute — Data Format ...
Page 16
DLT-S4 Interface Reference Guide Figure 142 REPORT DENSITY SUPPORT Block — Data Format... 282 Figure 143 REPORT DENSITY SUPPORT Figure 144 DENSITY SUPPORT Descriptor — Data Format ... 284 Figure 145 Medium Type Descriptor — Data Format... 287 Figure 146 REPORT DEVICE IDENTIFIER Block —...
Page 17
DLT-S4 Interface Reference Guide Figure 164 SET DEVICE IDENTIFIER Block — Data Format... 327 Figure 165 SET DEVICE IDENTIFIER Figure 166 SET TIMESTAMP Figure 167 SET TIMESTAMP Data Format... 330 Figure 168 TEST UNIT READY Data Format... 333 Figure 169 Command Descriptor Block—Data Format ...
Page 18
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... 18 Table 6 Supported Extended Link Service Commands...
Page 19
DLT-S4 Interface Reference Guide Table 16 Command Descriptor Block — Field INQUIRY Descriptions... 35 Table 17 Standard INQUIRY 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 ... 42 Table 21 Device Identification Page —...
Page 20
DLT-S4 Interface Reference Guide Table 38 General Purpose Non-Volatile — Field Descriptions... 65 Table 39 LOG SENSE Command Descriptor Block — Field Descriptions... 67 Table 40 Supported Pages Table 41 Read / Write Error Descriptions... 70 Table 42 Log Parameters for Read / Write Error LOG SENSE Page—...
Page 21
DLT-S4 Interface Reference Guide Table 57 General Purpose Non-Volatile — Field Descriptions... 92 Table 58 General Purpose Non-Volatile — Field Descriptions... 93 Table 59 Device Status LOG SENSE Table 60 Log Parameters for Device Status — Field Descriptions... 94 Table 61 Log Parameters for Device Status 0001h (Cleaning-Related) —...
Page 22
DLT-S4 Interface Reference Guide Table 75 Fibre Channel — Logical Unit Control MODE SELECT Page — Field Descriptions ... 125 Table 76 SAS — Logical Unit Control Field Descriptions... 126 Table 77 Parallel SCSI — Port Control Field Descriptions... 127 Table 78 Fibre Channel —...
Page 23
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...
Page 24
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... 213 Table 117 PERSISTENT RESERVE IN Read Reservation Descriptor —...
Page 25
DLT-S4 Interface Reference Guide Table 131 READ ATTRIBUTE Table 132 READ ATTRIBUTE Service Action Parameter — Field Descriptions... 239 Table 133 READ ATTRIBUTE Action Parameter Data — Field Descriptions ... 240 Table 134 READ ATTRIBUTE Parameter Data — Field Descriptions ... 241 Table 135 READ ATTRIBUTE Action Parameter Data —...
Page 26
DLT-S4 Interface Reference Guide Table 150 Command Descriptor Block — READ POSITION Field Descriptions... 271 Table 151 (Short Form) Data — Field READ POSITION Descriptions... 272 Table 152 (Long Form) Data — Field READ POSITION Descriptions... 275 Table 153 RECEIVE DIAGNOSTIC RESULTS Field Descriptions...
Page 27
DLT-S4 Interface Reference Guide Table 170 REPORT TIMESTAMP Field Descriptions... 304 Table 171 REQUEST SENSE Table 172 REQUEST SENSE Table 173 Supported Sense Keys for Table 174 Supported ASC / ASCQ (Hex) for Command ... 310 Table 175 Command Descriptor Block — Data RESERVE (10) Format ...
Page 28
DLT-S4 Interface Reference Guide Table 192 WRITE ATTRIBUTE Field Descriptions... 338 Table 193 WRITE ATTRIBUTE Field Descriptions... 339 Table 194 Command Descriptor Block — WRITE BUFFER Field Descriptions... 342 Table 195 WRITE FILEMARKS Parameter Command Data — Command Parameter Data — Command —...
Page 29
Attached SCSI (SAS) interfaces for the DLT-S4 tape drive. 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.
Page 30
Document Organization Notational Conventions DLT-S4 Interface Reference Guide 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 of the transport layer as it relates to the functioning of the DLT-S4 tape drive.
Page 31
Related Documents DLT-S4 Interface Reference Guide (SK=S ASC=AA ASCQ=QQ) where: S — hexadecimal sense key value AA — hexadecimal additional sense code QQ — hexadecimal additional sense code qualifier The following documents are related to the DLT-S4 tape drive: Document No. Document Title 81-81278-xx DLT-S4 Product...
Page 32
15 Inverness Way, East Englewood, CO 80112 (800) 854-7179 or (303) 397-2740 Quantum company contacts are listed below. Quantum Corporate Headquarters To order documentation on this or other Quantum products, contact: Quantum Corporation 141 Innovation Drive Irvine, CA 92617 (949) 856-7800...
Page 33
QuantumTechnical Assistance Center in the USA: For additional contact information: To open a Service Request: For the most updated information on Quantum Global Services, please visit: www.quantum.com/support. For the most up to date information on Quantum Global Services, please visit: www.quantum.com/support. 800-284-5101 www.quantum.com/support www.quantum.com/esupport...
Background Information About SCSI DLT-S4 Interface Reference Guide This chapter covers basic SCSI background information as it relates to DLT-S4 drive characteristics and interfaces. 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.
Parallel SCSI Characteristics DLT-S4 Interface Reference Guide Format of data written to tape: • 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. •...
Fibre Channel Characteristics World-wide Names DLT-S4 Interface Reference Guide The features of the DLT-S4 Fibre Channel implementation include: • Automatic speed negotiation, with transfer rates of: • 100 megabytes per second (1 Gb/second) • 200 megabytes per second (2 Gb/second) •...
Serial Attached SCSI Characteristics DLT-S4 Interface Reference Guide The important features of the DLT-S4 SAS implementation include the following: • Automatic speed negotiations, with transfer rates of: • 150 megabytes per second (1.5 Gb/second) • 300 megabytes per second (3.0 Gb/second). •...
DLT-S4 Interface Reference Guide This chapter provides a detailed description of task management by transport layer. Specifically, it covers the following topics: • Task Management by Transport Layer task management functions by interface. • Task Management Function, describes the tape drive response for each function.
Task Management by Transport Layer Overview Table 1 Task Management by Transport Layer Task Management Function Fibre Channel Basic Link Service ABORT TASK BLS ABTS (81h) Task Mgmt ABORT TASK SET Flag=02h Task Mgmt CLEAR TASK SET Flag=04h LOGICAL UNIT Task Mgmt RESET Flag=10h...
Task Management Function TARGET RESET LOGICAL UNIT RESET DLT-S4 Interface Reference Guide There are three types of Task Management: • Reset • TARGET RESET • LOGICAL UNIT RESET • Abort • ABORT TASK SET • ABORT TASK • CLEAR TASK SET •...
CLEAR TASK SET ABORT TASK ABORT TASK SET QUERY TASK DLT-S4 Interface Reference Guide clears all commands for requesting initiator. CLEAR TASK SET can clear multiple commands, when command queuing is in TASK SET effect. This task management function causes the drive to clear the current I/O process on the selected unit.
Chapter 3 Transport Layer Implementation Details This chapter explains information specific to the Parallel SCSI, Fibre Channel, and SAS interfaces for the DLT-S4 tape drive on the transport layer. DLT-S4 Interface Reference Guide...
Parallel SCSI SCSI Bus Reset Condition DLT-S4 Interface Reference Guide 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, ERROR MESSAGE REJECT drive-managed retries (see detailed message-handling information).
Supported Messages Table 2 Supported Message In List DLT-S4 Interface Reference Guide The tape drive supports the messages and the direction of the message flow as listed in table 2 Message In Disconnect (04h) Identify (80h+) Ignore Wide Residue (23h) Message Reject (07h) Modify Data Pointers (1,5,0) Parallel Protocol Request (1,6,4)
Table 3 Supported Message Out List DLT-S4 Interface Reference Guide Message Out Abort Task (0Dh) ABORT TASK on page 8 Abort Task Set (06h) ABORT TASK SET on page 8 Clear Task Set (0Eh) CLEAR TASK SET on page 8 Logical Unit Reset (17h) LOGICAL UNIT RESET on page 7...
Supported Task Management for Information Units Synchronous Data Transfer Request Figure 1 Synchronous Data Transfer Request Message — Data Format Byte DLT-S4 Interface Reference Guide Chapter 3 Transport Layer Implementation Details For more in information about supported task management for information units (see chapter 2, Task This extended message allows the tape drive and initiator to agree on the...
Table 4 Transfer Periods and Transfer Rates DLT-S4 Interface Reference Guide • After any SCSI reset condition • After a message TARGET RESET • After a power cycle • After a WIDE DATA TRANSFER REQUEST SYNCHRONOUS DATA TRANSFER REQUEST establishes an agreement between two SCSI devices on the clocking of the data used for phase transfer between them.
Parallel Protocol Request Figure 2 Parallel Protocol Request Message — Data Format Byte DLT-S4 Interface Reference Guide 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.
Figure 3 Features of the Parallel Protocol Request Message DLT-S4 Interface Reference Guide an Ultra 2 interface card. To enable it, set the Specific EEPROM parameter EnablePPRMsg to 1. The PPR message allows the host and target devices to negotiate operating conditions of the SCSI bus.
Wide Data Transfer Request Figure 4 Wide Data Transfer Request Message — Data Format Byte DLT-S4 Interface Reference Guide Chapter 3 Transport Layer Implementation Details Figure 4 illustrates the message formats. Extended Message Identifier (01h) Length (02h) WIDE DATA TRANSFER REQUEST (03h) Transfer Width Exponent The DLT-S4 tape drive initiates a message exchange whenever a previously arranged transfer width...
Fibre Channel Link Service and Unsolicited Control Support Basic Link Service Table 5 Supported Basic Link Service Commands DLT-S4 Interface Reference Guide For more in information about fibre channel task management, (see chapter 2, Task Management). DLT-S4 tape drives provide Link Service and Unsolicited Control support as described in this section.
Extended Link Service Commands Table 6 Supported Extended Link Service Commands Extended Link Service Loop Initialization DLT-S4 Interface Reference Guide Chapter 3 Transport Layer Implementation Details Table 6 lists the Extended Link Service (see the FC-FS-2 specification for details). ELS Command Abbreviation LS_RJT LS_ACC...
Table 7 Supported Extended Link Service Loop Initialization Commands FC-4 Link Service Commands Table 8 Supported FC-4 Link Service Commands Unsolicited Control / Name Server Requests Table 9 Supported Name Server Requests DLT-S4 Interface Reference Guide Loop Initialization Identifier Abbreviation 1101h LISM 1102h...
Serial Attached SCSI (SAS) Transport Layer Retries Data In Information Unit Retries Transfer Ready Information Unit Retries Response Information Unit Retries DLT-S4 Interface Reference Guide For more in information about SAS task management, (see Task Management). DLT-S4 tape drives support Transport Layer Retries as indicated in the Logical Unit Control Page.
Chapter 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 are also helpful sources of www.scsita.org...
Overview of SCSI Command and Status Processing Table 10 SCSI Commands Supported by DLT-S4 Tape Drives DLT-S4 Interface Reference Guide Overview of SCSI Command and Status Processing The DLT-S4 tape drive supports the SCSI-3 command set and the SCSI commands listed in table Command ERASE...
Status and Error Reporting DLT-S4 Interface Reference Guide Overview of SCSI Command and Status Processing Command REPORT SUPPORTED TASK MANAGEMENT OPERATIONS REPORT TIMESTAMP REQUEST SENSE RESERVE (10) RESERVE UNIT REWIND SEND DIAGNOSTIC SET DEVICE IDENTIFIER SET TIMESTAMP SPACE TEST UNIT READY VERIFY WRITE WRITE ATTRIBUTE...
Table 11 Status Codes Autosense DLT-S4 Interface Reference Guide Overview of SCSI Command and Status Processing Status Code Definition GOOD CHECK CONDITION BUSY RESERVATION CONFLICT TASK SET FULL Autosense is the automatic return of sense data to the application client coincident with the completion of a SCSI command ending in CONDITION While Fibre Channel and Serial Attached SCSI always support...
Unit Attention Condition Data In/Out Command Components Table 12 Units for Lengths Fields DLT-S4 Interface Reference Guide Overview of SCSI Command and Status Processing Queued Unit Attentions are implemented on the DLT-S4 tape drive and are maintained separately for each valid LUN for each initiator. Unit Attentions are created in each of the following circumstances: •...
Behavior at Power-On DLT-S4 Interface Reference Guide Overview of SCSI Command and Status Processing Depending on the interface, the DLT-S4 tape drive’s behavior at power- on consists of the following: • Parallel SCSI • The drive’s SCSI lines are set to high impedance. •...
Data Cache and Tape Write Interaction DLT-S4 Interface Reference Guide Overview of SCSI Command and Status Processing • 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). •...
SCSI Command Descriptions Table 14 Fields Common to Many SCSI Commands Byte (MSB) 7—8 DLT-S4 Interface Reference Guide The SCSI command descriptions that make up the rest of this chapter contain detailed information about each command the DLT-S4 tape drive supports.
Page 66
Chapter 4 SCSI Commands SCSI Command Descriptions This is an alternate, “shorthand” presentation for: Byte (Bytes 0 — 6) (MSB) Parameter List Length (LSB) DLT-S4 Interface Reference Guide...
ERASE Command (19h) Figure 5 ERASE Command Descriptor Block — Data Format Byte — Table 15 ERASE Command — Descriptor Block Field Descriptions DLT-S4 Interface Reference Guide command erases the data on the tape medium. The tape drive ERASE erases the data only if the Long bit is set to 1 and the drive receives the command while it is at Beginning of Tape (BOT).
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. The tape drive does not need to access its tape medium to Note:...
Standard Inquiry Data Version NormACA HiSup Additional Length ALUA MultiP Wbus16 Sync Vendor Identification (QUANTUM) Chapter 4 SCSI Commands INQUIRY Command (12h) that the drive is to Vital Product Data Page Figure 9 shows the Page page format. Peripheral Device Type...
Byte (MSB) 16 — 31 (MSB) 32 — 35 (MSB) 36 — 55 (MSB) 58 — 59 (n — 1) — n Table 17 Standard INQUIRY — Data Page Field Descriptions Field Value Peripheral 000b or 011b Qualifier Peripheral 01 or 1Fh Device Type Version NormACA...
Page 71
Synchronous Data Transfer. Linked Command Support. Tagged Command Queuing. The value in this field is left-aligned and set to “QUANTUM”. The remainder of the field is filled with space characters. For the DLT-S4 tape drive, this field is set to “DLT-S4”, left- aligned, filled with spaces to the end of the field.
Field Value Clocking table table table Version Version descriptors Descriptors my vary by protocol (Parallel SCSI, Fibre Channel, and SAS) Table 18 INQUIRY Command Variance by Protocol Field Addr16 Wbus16 Sync CmdQue Clocking DLT-S4 Interface Reference Guide Description Clocking. Quick Arbitrate Supported. Information Units Supported.
Figure 8 Vendor-Specific Inquiry Data Field — Data Format Byte 52 — 55 DLT-S4 Interface Reference Guide Vendor-Specific Inquiry Data Field Figure 8 identifies the revision of tape drive subsystem components. Product Family Firmware Major Version Number Firmware Minor Version Number EEPROM Format Major Version Number EEPROM Format Minor Version Number Firmware Personality...
Table 19 Vendor-Specific Inquiry Data Page — Field Descriptions Field Product Family Released Firmware Version Number Fields Firmware Personality Firmware Subpersonality Vendor-Specific Subtype Media Loader Present Flag Set to zero to indicate there is no attached medium changer present. Library Present Flag Module Revision DLT-S4 Interface Reference Guide Description...
Vital Product Data Pages Figure 9 Supported Vital Product Data Pages — Data Format Byte Peripheral Qualifier DLT-S4 Interface Reference Guide The following subsections describe the DLT-S4 tape drive. 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.
Figure 10 Unit Serial Number Page — Data Format Byte Peripheral Qualifier (0) 4 — 19 Table 20 Unit Serial Number Page — Field Descriptions DLT-S4 Interface Reference Guide Unit Serial Number Page (80h) Figure 10 shows the format of the returns.
Figure 11 Device Identification Page — Data Format Byte Peripheral Qualifier (0) 4 — n Table 21 Device Identification Page — Field Descriptions Field Description Peripheral Qualifier Contains 000b. Peripheral Device Type Contains 01h. Page Code A value of 83h identifies this as the Device Identification page. Page Length Indicates the size of the returned Device Identification page.
This would indicate that the drive can read and write WORM tapes. Identifier Length Set to 40, indicating the remainder of the descriptor is 40 byte long. Vendor The value in this field is left-aligned and set to “QUANTUM”. The remainder of the Identification field is filled with space characters. Product This field is set to “DLT-S4”, left-aligned, and filled with space characters to the end...
Figure 13 Logical Unit NAA Identifier — Data Format Byte Protocol Identifier (0) PIV (0) Reserved (MSB) 4 — 11 Table 23 Logical Unit NAA Identifier — Field Descriptions Field Description Protocol Identifier Set to 0. Code Set Set to 1h, indicating binary data. Set to 0, indicating that the value returned in the Protocol Identifier field should be ignored.
Figure 14 Port NAA Identifier — Data Format Byte Protocol Identifier PIV (1) Reserved (MSB) 4 — 11 Table 24 Port NAA Identifier — Field Descriptions Field Description Protocol Identifier The drive returns 0 if the protocol is Fibre Channel, and 6h if the protocol is SAS. This identifier type is not returned by devices using a parallel SCSI interface.
Figure 15 Relative Target Port Identifier — Data Format Byte PIV (1) Reserved 4 — 5 6 — 7 Table 25 Relative Target Port Identifier — Field Descriptions Field Description Protocol Identifier The drive returns 0h if the protocol is Fibre Channel, 1h if the protocol is Parallel SCSI, and 6h if the protocol is SAS.
Figure 17 Manufacturer- Assigned Serial Number Page — Data Format Byte Peripheral Qualifier 4 — 19 Table 27 Manufacturer- Assigned Serial Number Page — Field Descriptions Field Description Peripheral Qualifier Contains 000b. Peripheral Device Contains 01h. Type Page Code A value of B1h identifies this as the Manufacturer-Assigned Serial Number page. Page Length Contains 10h that indicates the size of the returned Manufacturer-Assigned Serial Number page.
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 Differentiates between released and test versions of firmware. When set to 1, Firmware indicates released code (Vxxx);...
LOAD UNLOAD Command (1Bh) Figure 20 LOAD UNLOAD — Command Descriptor Block Data Format Byte — DLT-S4 Interface Reference Guide command instructs the DLT-S4 tape drive to load or LOAD UNLOAD unload the tape inside the data cartridge. If no data cartridge is in the drive, the command returns a LOAD UNLOAD...
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 table End of Tape.
LOCATE Command (2Bh) Figure 21 LOCATE Command — Descriptor Block Data Format Byte (MSB) 3 — 6 Table 32 LOCATE Command — Descriptor Block Field Descriptions Field Description Block Type. The drive ignores this bit. Change Partition. Must set to 0. Immed Immediate.
LOG SELECT Command (4Ch) Figure 22 LOG SELECT Descriptor Block — Data Format Byte 3 — 6 (MSB) 7 — 8 DLT-S4 Interface Reference Guide command allows the host to manage statistical LOG SELECT information the DLT-S4 tape drive maintains about its own hardware parameters and about the installed tape medium.
Table 33 LOG SELECT Command Descriptor Block — Field Descriptions Field Description 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.
Overview— LOG SELECT Command Descriptor Block Errors Operation of LOG SELECT Table 34 LOG SELECT Page- clearing Codes DLT-S4 Interface Reference Guide 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 with the Sense Key set to CHECK CONDITION...
Log Page LOG SELECT Format Figure 23 LOG SELECT Log Page — Data Format Byte (MSB) 2 – 3 x + 3 n — y + 1 Table 35 LOG SELECT Log Page Header — Field Descriptions DLT-S4 Interface Reference Guide Each log page begins with a 4-byte header followed by n number of log parameter blocks—one block for each parameter code.
Figure 24 LOG SELECT Log Page — Parameters Format Byte (MSB) 0 — 1 (MSB) 4 — n Table 36 LOG SELECT Log Parameters — Field Descriptions Field Description Parameter Code Parameter codes supported for the Code 0000h 0001h 0002h 0003h 0004h 0005h...
Page 96
Field Description Parameter Code 8001h 8002h (continued) 8003h 9000h- 900Fh 9080h- 908Fh Parameter codes 00h, 01h, and 04h always have a value of 0. Parameter value for 05h Note: is eight bytes; the Parameter Length field is set to 8. Disable Update.
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, • The Default Cumulative Values are the values to which each parameter is initialized at a reset condition.
Table 37 General Purpose Non-Volatile LOG SELECT Header — Field Descriptions Figure 26 General Purpose Non-Volatile LOG SELECT Page — Parameter Format Byte (MSB) 0 — 1 (MSB) 4 — 67 DLT-S4 Interface Reference Guide Field Description Page Code Echoes the page code specified in the Page Length Specifies the total number of bytes contained in this log page, not including the 4 bytes that make up the header.
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 LBIN Parameter Length Specifies the number of bytes in the parameter value. Must be 40h. Parameter Value Indicates the actual value of this log parameter.
LOG SENSE Command (4Dh) Figure 27 LOG SENSE Command Descriptor Block — Data Format Byte 3 — 4 (MSB) 5 — 6 (MSB) 7 — 8 DLT-S4 Interface Reference Guide command allows the host to retrieve statistical LOG SENSE information the tape drive maintains about its own hardware parameters or about the installed tape medium.
Table 39 LOG SENSE — Command Descriptor Block Field Descriptions Field Description 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 –...
Field Description Parameter Pointer The Parameter Pointer field allows the host to specify at which parameter within a log page the requested data should begin. For example, if a page supports parameters 0 through 5, and the Parameter Pointer contains 3, the drive returns only parameters 3, 4, and 5.
Table 42 Log Parameters for Read / Write Error LOG SENSE Page— Field Descriptions Field Description Parameter Code The parameter codes supported for the Code 0000h 0001h 0002h 0003h 0004h 0005h 0006h 8000h 8001h 8002h 8003h 9000h- 900Fh 9080h- 908Fh Note: Disable Update.
Page 106
Field Description Disable Save. Always set to 1. Target Save Disable. Always set to 1. 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.
LAST n ERROR EVENTS Log Page (07h) Figure 31 Last n Error Events LOG SENSE Page Command — Descriptor Block Data Format Byte (MSB) 2 — 3 Table 43 Last n Error Events LOG SENSE Header — Field Descriptions DLT-S4 Interface Reference Guide This page returns event logs stored in the device's non-volatile memory.
Figure 32 Log Parameters Format for Last n Error Events LOG SENSE Page Byte (MSB) 0 — 1 (MSB) 4 — n Table 44 Log Parameters for Last n Error Events LOG SENSE Page — Field Descriptions Field Description Parameter Event logs start in parameters with Parameter Code values that are even multiple of 10h.
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.
Field Description Parameter Control Byte (Continued LBIN Parameter Specifies the number of bytes in the parameter value. All parameters are 8 bytes in Length length. Parameter Indicates the actual value of this log parameter. Value Temperature Log Page (0Dh) Figure 35 Temperature LOG SENSE Page —...
Figure 36 Log Parameters Format for Temperature Page Byte (MSB) 0 — 1 (MSB) 4 — 5 Table 48 Temperature LOG SENSE Parameters Field Description Parameter Parameter codes supported for the Temperature page are as follows: Code Code Description 0000h Current operating temperature (degrees Celsius).
Field Description Parameter LBIN Control Byte (continued) Parameter Specifies the number of bytes in the parameter value. All parameters are 2 bytes in Length length. Parameter Indicates the actual value of this log parameter. Value SAS Phy Control and Discover Log Page (18h) Figure 37 SAS Phy Control and Discover Log Page Byte...
Figure 38 SAS Phy Control and Discover Log Page — Parameter Format Byte (MSB) 0 — 1 8 — 55 Table 50 SAS Phy Control and Discover Log Page Subpage — Field Descriptions Field Description Parameter The parameter code field contains the relative target port identifier (see SPC-3) for the Code SSP target port that this log parameter describes.
Field Description Parameter LBIN Control Byte (continued) Parameter The Parameter Length field is set to the length of the log parameter minus three. Length Protocol A value of 6h indicates that this log page applies to an SAS-1.1 port (see the Serial Identifier Attached SCSI -1.1 (SAS -1.1) standard for specific SAS information).
Field SAS Address Attached SAS Address Attached Phy Identifier Invalid Dword Count Running Disparity Error Count Loss of Dword Synchronization Phy Reset Problem TapeAlert Log Page (2Eh) DLT-S4 Interface Reference Guide Descriptor Indicates the SAS Address of the drive. Reflects the SAS Address reported in the Identify Address frame received by the drive.
Figure 40 TapeAlert LOG SENSE Page — Header Format Byte (MSB) 2 — 3 Table 52 TapeAlert Page LOG SENSE Header — Field Descriptions Figure 41 TapeAlert LOG SENSE Page — Parameters Format Byte (MSB) 0 — 1 4 — n Value of TapeAlert Flag (Flag is set when bit 0 is set to 1;...
Table 53 TapeAlert Page LOG SENSE Parameters — Field Descriptions Field Description Parameter Code Contains the Flag code (see flag definitions). Parameter Always set to 1. Length Value of If bit 0 is set to 1, indicates that TapeAlert has sensed a problem (see TapeAlert Flag supported flags and their definitions).
Page 120
Security Flag Level Media Life Write Protect No Removal Cleaning Media Read Only Format Nearing Media Life Clean Now Clean Periodic Expired Cleaning Media DLT-S4 Interface Reference Guide Description The tape cartridge has reached the end of its calculated useful life: 1.
Page 121
Security Flag Level Hardware B Interface Download Fail Drive Temperature Predictive Failure Loader Hardware A Loader Hardware B Tape directory invalid at unload Loading Failure DLT-S4 Interface Reference Guide Description The tape drive has a hardware fault: 1. Turn the tape drive off and then on again. 2.
Security Flag Level WORM Medium Integrity Check Failed WORM Medium Overwrite Attempted Note: W = Warning C = Critical X = Informational Device Wellness Log Page (33h) DLT-S4 Interface Reference Guide Description The tape drive has detected an inconsistency during integrity checks.
Byte (MSB) 8 — 11 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. Parameter Control Byte LBIN DLT-S4 Interface Reference Guide Media ID...
Field Description Time Stamp Power-on hours when 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.
Figure 44 General Purpose Non-Volatile LOG SENSE Page — Header Format Byte (MSB) 2 – 3 Table 57 General Purpose Non-Volatile LOG SENSE Header — Field Descriptions Figure 45 General Purpose Non-Volatile LOG SENSE Page — Parameter Format Byte (MSB) 0 —...
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 LBIN Parameter Length Specifies the number of bytes in the parameter value. Always set to 40h. Parameter Value Indicates the actual value of this log parameter.
Table 59 Device Status LOG SENSE Header — Field Descriptions Figure 47 Log Parameters Format for Device Status LOG SENSE Page Byte 0 — 1 (MSB) 4 — n Table 60 Log Parameters for Device Status LOG SENSE Page — Field Descriptions Field Description Parameter...
Page 129
Field Description Parameter 0005h Code 0006h (continued) 0007h 0008h 0009h 000Ah 000Bh 000Ch 000Dh 000Eh 000Fh 0010h 0011h 7000h 8000h 8001h 8002h 8003h 8004h 8005h 9000h 9001h 9002h 9003h 9004h 9005h Parameter Value Control Byte DLT-S4 Interface Reference Guide Drive temperature in degrees C. Media ID of the most recently loaded cartridge.
Field Description LBIN Parameter Specifies the number of bytes in the parameter value. Length Parameter Indicates the actual value of this log parameter. Value Figure 48 Cleaning-Related Log Parameters Format for Device Status LOG SENSE Page Byte (MSB) 5 — 7 DLT-S4 Interface Reference Guide Disable Save.
Table 61 Log Parameters for Device Status LOG SENSE Parameter 0001h (Cleaning- Related) — 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.
Figure 49 MODE SELECT (6) Command Descriptor Block — Data Format Byte Reserved 2 — 3 DLT-S4 Interface Reference Guide 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 LOGICAL UNIT RESET...
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 through its buffered mode. With Buffered Mode set to 1, the drive reports commands as soon as the data block has been transferred to the buffer.
Mode Parameter Block Descriptor Figure 56 MODE SELECT Mode Parameter Block Descriptor — Data Format Byte (MSB) 1 — 3 (MSB) 5 — 7 Table 65 MODE SELECT Mode Parameter Block Descriptor — Field Descriptions Field Description Density Code This field must contain one of the Density Code values listed below: Density Code DLT-S4 Interface Reference Guide...
Field Description Number of Must be set to 0, indicating that all of the remaining logical blocks on the tape have Blocks 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).
Table 66 Read / Write Error Recovery MODE SELECT Page — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of identifies this as the Read / Write Error Recovery Page. Page Length Indicates the number bytes in the page, excluding bytes 0 and 1.
Table 67 Parallel SCSI — Disconnect / Reconnect MODE SELECT Page — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of identifies this as the Disconnect / Reconnect Page.
Table 68 Fibre Channel — Disconnect / Reconnect MODE SELECT Page — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of identifies this as the Disconnect / Reconnect Page.
Table 69 SAS — Disconnect / Reconnect MODE SELECT Page — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of this as the Disconnect / Reconnect Page. Page Length Indicates the number of bytes in the page, excluding bytes 0 and 1.
Control Mode Page (0Ah) Figure 61 Control Mode MODE SELECT Page — Data Format Byte PS (0) SPF (0) TST (1) Queue Algorithm Modifier (0) TAS (0) RAC (0) 6 — 7 (MSB) 8 — 9 (MSB) 10 — 11 DLT-S4 Interface Reference Guide The Control Mode Page provides control over several features such as tagged queuing, extended contingent allegiance, asynchronous event...
Table 70 Control Mode MODE SELECT Page — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of identifies this as the Control Mode Page. Page Length Indicates the number of bytes in the page, excluding bytes 0 and 1.
Page 149
Field Description UA_Intlck_Ctrl Unit Attention Interlocks Control. Must be set to 0, indicating that the drive clears 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.
Data Compression Page (0Fh) Figure 62 Data Compression MODE SELECT Page — Data Format Byte PS (0) SPF (0) DCC (1) DDE (1) (MSB) 4 — 7 (MSB) 8 — 11 12 — 15 DLT-S4 Interface Reference Guide The Data Compression Page specifies parameters for the control of data compression.
Table 71 Data Compression MODE SELECT Page — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of identifies this as the Data Compression Page. Page Length Indicates the number of bytes in the page, excluding 0 and 1.
Table 72 Device Configuration MODE SELECT Page — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of identifies this as the Device Configuration Page. Page Length Indicates the number bytes in the page, excluding bytes 0 and 1.
Page 154
Field Description SOCF Stop on Consecutive Filemarks. Must be set to 0. Recover Buffer Order. Must be set to 0. 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.
Page 155
Field Description 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.
Medium Partition Page (11h) Figure 64 Medium Partition MODE SELECT Page — Data Format Byte PS (0) SPF (0) FDP (0) SDP (0) Table 73 Medium Partition MODE SELECT Page — Field Descriptions Field Page Code DLT-S4 Interface Reference Guide The drive supports the Medium Partition Parameters Page, which specifies the medium partitions.
Field Page Length Maximum Additional Partitions Additional Partitions Defined PSUM POFM Clear ADDP Medium Format Recognition Partition Units Logical Unit Control Page (18h) DLT-S4 Interface Reference Guide Description Indicates the number bytes in the page, excluding bytes 0 and 1. The length is returned in MODE SENSE set to the same value when performing...
Figure 65 Parallel SCSI — Logical Unit Control MODE SELECT Page — Data Format Byte PS (0) SPF (0) 3 — 7 Table 74 Parallel SCSI — Logical Unit Control MODE SELECT Page — Field Descriptions Field Description Parameters Savable. Must be set to 0. SubPage Format.
Figure 66 Fibre Channel — Logical Unit Control MODE SELECT Page — Data Format Byte PS (0) SPF (0) 4 — 7 Table 75 Fibre Channel — Logical Unit Control MODE SELECT Page — Field Descriptions Field Description Parameters Savable. Must be set to 0. SubPage Format.
Figure 67 SAS — Logical Unit Control MODE SELECT Page — Data Format Byte PS (0) SPF (0) Reserved 3 — 7 Table 76 SAS — Logical Unit Control MODE SELECT Page — Field Descriptions Field Description Parameters Savable. Must be set to 0. SubPage Format.
Port Control Page (19h) Figure 68 Parallel SCSI — Port Control MODE SELECT Page — Data Format Byte PS (0) SPF (0) (MSB) 4 — 5 6 — 7 Table 77 Parallel SCSI — Port Control MODE SELECT Page — Field Descriptions Field Description Parameters Savable.
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.
Byte (MSB) 4 — 5 (MSB) 6 — 7 Table 79 SAS — Port Control MODE SELECT Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of as the protocol-specific Port Control page.
Figure 71 SAS Phy Control and Discover Mode Subpage — Data Format Byte PS (0) SPF (1) (MSB) 2 — 3 8 — 55 Table 80 SAS Phy Control and Discover Mode Subpage — Field Descriptions Field Description Parameters Savable. Must be to 0. SubPage Format.
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.
Field Attached SAS Address Negotiated Physical Link Rate Attached Phy Identifier Programmed Minimum Physical Link Rate Hardware Minimum Physical Link Rate Programmed Maximum Physical Link Rate Hardware Maximum Physical Link Rate SPI Negotiated Settings Mode Subpage (19h/03h) DLT-S4 Interface Reference Guide Descriptor Reflects the SAS Address reported in the Identify Address frame received by the drive.
Table 82 Parallel SCSI — SPI Negotiated Settings Mode Subpage — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 1. Indicates that this page uses the page_1 page format. Page Code Identifies the type of this as the Port Control Page. Subpage Code SUBPAGE CODE subpage code values are listed in SPI-5.
Field Description Sent The SENT PCOMP_EN bit contains the value on the PCOMP_EN bit sent by the SCSI PCOMP_EN target port for the current I_T nexus. Received The RECEIVED PCOMP_EN bit contains the value on the PCOMP_EN bit received PCOMP_EN by the SCSI target port for the current I_T nexus.
Byte Table 83 Parallel SCSI — SPI Report Transfer Capabilities Mode Subpage — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 1. Indicates that this page uses the page_1 page format. Page Code Identifies the type of identifies this as the Port Control Page.
Field Description Maximum REQ/ACK Offset current I_T nexus. Maximum Transfer Width Exponent exponent for the current I_T nexus. Protocol Options Bits Supported options for the current I_T nexus. TapeAlert Page (1Ch) Figure 75 TapeAlert MODE SELECT Page — Data Format Byte PS (0) SPF (0)
Table 84 TapeAlert MODE SELECT Page — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of this as the TapeAlert Page. Page Length Indicates the number of bytes in the page, excluding bytes 0 and 1.
Page 175
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 The Additional Sense Code of 5Dh / 00h for values 03h, 04h, and 06h signals that a TapeAlert event occurred.
Field Description Report Report Count or Test Flag Number. Must be set to 0 unless the Test bit is set to 1, in Count / Test which case this field indicates a test condition to be generated as follows: Flag Number Value 1 to 64 -64 to -1...
Table 85 Medium Configuration Mode Page — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of identifies this as the Medium Configuration Mode Page. Page Length Indicates the number bytes in the page, excluding bytes 0 and 1.
Data Security Mode Page (27h) Figure 77 Data Security Mode Page — Data Format Byte PS (0) Reserved Reserved Reserved 8 — 9 Reserved DLT-S4 Interface Reference Guide 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.
Byte 16 — 19 20 — 51 Table 86 Data Security Mode Page — Field Descriptions Field Description Parameters Savable. Must be set to 0. Page Code Identifies the type of as the Data Security Mode Page. Additional Indicates the number bytes in the page, excluding bytes 0 and 1. The length is returned in Page Length commands and must subsequently be set to the same value when MODE SENSE...
Page 180
Field Description 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. This bit is set anytime a tape is intended to be password protected with action codes 02 – Set Drive Password and write it to tape;...
Page 181
Field Description Action Value DLT-S4 Interface Reference Guide Description No Action 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.
Page 182
Field Description 09h-3Fh Number of This read only four bit field indicates the number of passwords supported. This field is Passwords currently set to two: one for the host interface and one for the automation interface. Supported However, this design can handle up to 8 passwords. Auto Password Blank Tapes.
Field Description 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.
Drive Password and Password Protection State Storage EEPROM Mode Page (3Eh) Figure 78 EEPROM Mode Page — Data Format Byte PS (0) SPF (0) 2 — n DLT-S4 Interface Reference Guide In the event of excessive attempts to select the correct password, when the...
87. Note that the parameter name may be in upper or lower case. The drive saves the savable parameters during resets and power cycles. Length Default (Bytes) Usage QUANTUM Vendor Identification field in When set, the drive always treats a FILEMARKS filemark and is not preceded by another WRITE FILEMARKS bit was set to 1.
Page 186
Parameter Data Type EnaCleanLight Binary EnaCleanSense Binary EnaCleanTA Binary EnaGranularity Binary EnaRepDecomp Binary EnaSCSIUnlonPMR Binary EnaPeriodicClean Binary EnaThirdPtyDens Binary ForceComp Binary ForceEERebuild Binary DLT-S4 Interface Reference Guide MODE SELECT (6) / (10) Command (15h / 55h) Length Default (Bytes) Usage When set to 1, the Cleaning Required LED is turned on and off as appropriate.
Page 187
Parameter Data Type MaxBurstSize Binary NoDeferRcvdErr Binary NoSCSIEject Binary RepBusyInProg Binary RepMAMAvailUA Binary ReportRcvdPerrs Binary ReportRcvrdErr Binary RewindOnReset Binary SCSIBusDMATimer Decimal DLT-S4 Interface Reference Guide MODE SELECT (6) / (10) Command (15h / 55h) Length Default (Bytes) Usage 0080h Specifies the maximum amount of data to be transferred without disconnecting.
Page 188
Parameter Data Type SCSIReselRetries Decimal SCSIResRelNOP Binary SCSIXferMax Decimal SetEOMatEW Binary SPC3Reserve Binary TaMrieDefault Decimal ThirdPartyDen Decimal DLT-S4 Interface Reference Guide MODE SELECT (6) / (10) Command (15h / 55h) Length Default (Bytes) Usage The number of reselection retries the drive makes before giving up.
Figure 79 EEPROM Mode “Vendor ID” Example — Data Format DLT-S4 Interface Reference Guide Figure 79 is a sample of an EEPROM Mode Page that modifies the VendorID parameter to “XXXYY.” Page Code (3Eh) Page Length (0Fh) “v” (76h) “e” (65h) “n”...
MODE SENSE (6) / (10) Command (1Ah / 5Ah) Figure 80 MODE SENSE (6) Command Descriptor Block — Data Format Byte DLT-S4 Interface Reference Guide command allows the tape drive to report its media type MODE SENSE and current—or changeable—configuration parameters to the host. It is a complementary command to Figure 80 shows the CDB for the 6-byte...
Table 89 MODE SENSE Command Descriptor Block — Field Descriptions Field Description LLBAA Long LBA Accepted. Must be set to 0. 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. Page Control.
MODE SENSE Data Headers Figure 82 MODE SENSE (6) Data Header — Data Format Byte Figure 83 MODE SENSE (10) Data Header — Data Format Byte (MSB) 0 — 1 4 — 5 (MSB) 6 — 7 DLT-S4 Interface Reference Guide (6) and MODE SENSE MODE SENSE...
Table 90 MODE SENSE Data Header — Field Descriptions Field Description Mode Data Length Specifies the length in bytes of the transferred. Note that the Mode Data Length does not include its own length. Medium Type The drive checks the media type, which can be one of the following: Type Write Protect.
MODE SENSE Block Descriptor Figure 84 MODE SENSE Block Descriptor — Data Format Byte (MSB) 1 — 3 (MSB) 5 — 7 Table 91 MODE SENSE Block Descriptor — Field Descriptions Field Description Density Code Matches the current tape medium density. Density Code DLT-S4 Interface Reference Guide Figure 84...
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.
Field Description Transfer Block. The drive does not support the Transfer Block (when not fully recovered) function. Always set to 0. Enable Early Recovery. Always set to 1. Parity Error. When set to 1, enables reporting of recovered Disable Transfer on Error. Always set to 0. Disable ECC Correction Bit.
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.
Byte (MSB) 10 — 11 EMDP (0) FAA (0) (MSB) 14 — 15 Table 95 Fibre Channel — Disconnect / Reconnect MODE SENSE Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format.
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.
Byte (MSB) 14 — 15 Table 96 SAS — Disconnect / Reconnect MODE SENSE Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format.
Table 97 Control Mode MODE SENSE Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of identifies this as the Control Mode page. Page Length Indicates the number of bytes, excluding bytes 0 and 1.
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 000b 001b 010b Busy Timeout Specifies the maximum time, in 100 msec increments, that the initiator allows the Period drive to remain busy for unanticipated conditions that are not a routine part of commands from the initiator.
Byte (MSB) 4 — 7 (MSB) 8 — 11 12 — 15 Table 98 Data Compression MODE SENSE Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format.
Page 209
Field Description Report Exception on Decompression. The drive does not report exceptions on decompression (boundaries between compressed and decompressed data). The drive always returns 00h. Compression The value for this field is 10h, indicating that the Lempel-Ziv high-efficiency data Algorithm compression algorithm is in use.
Table 99 Device Configuration MODE SENSE Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of identifies this as the Device Configuration page. Page Length Indicates the number of bytes in the page, excluding bytes 0 and 1.
Page 212
Field Description Recover Buffer Order. Always set to 0. 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. 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 Synchronize at Early Warning.
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.
Table 100 Medium Partition MODE SENSE Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of identifies this as the Medium Partition page. Page Length Indicates the number of bytes in the page, excluding bytes 0 and 1.
Logical Unit Control Page (18h) Figure 93 Parallel SCSI — Logical Unit Control MODE SENSE Page — Data Format Byte PS (0) SPF (0) 3 — 7 Table 101 Parallel SCSI — Logical Unit Control MODE SENSE Page — Field Descriptions Field Description...
Figure 94 Fibre Channel — Logical Unit Control MODE SENSE Page — Data Format Byte PS (0) SPF (0) 4 — 7 Table 102 Fibre Channel — Logical Unit Control MODE SENSE Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format.
Figure 95 SAS — Logical Unit Control MODE SENSE Page — Data Format Byte PS (0) SPF (0) Reserved 4 — 7 Table 103 SAS — Logical Unit Control MODE SENSE Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format.
Port Control Page (19h) Figure 96 Parallel SCSI — Port Control MODE SENSE Page — Data Format Byte PS (0) SPF (0) (MSB) 4 — 5 6 — 7 Table 104 Parallel SCSI — Port Control MODE SENSE Page — Field Descriptions Field Description Parameters Savable.
Figure 97 Fibre Channel — Port Control MODE SENSE Page — Data Format Byte PS (0) SPF (0) DTFD PLPB 4 — 5 Table 105 Fibre Channel — Port Control MODE SENSE Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format.
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. Disable Loop Master. Always set to 0. The drive participates in loop master arbitration in the normal manner.
Table 106 SAS — Port Control MODE SENSE Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of as the protocol-specific Port Control page.
SAS Phy Control and Discover Mode Subpage (19h/01h) Figure 99 SAS Phy Control and Discover Mode Subpage — Data Format Byte PS (0) (MSB) 2 — 3 8 — 55 DLT-S4 Interface Reference Guide The SAS Phy Control and Discover Mode subpage contains phy-specific parameters.
Table 107 SAS Phy Control and Discover Mode Subpage — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format. Always set to 1. Indicates that this page uses the sub_page mode page format. Page Code Identifies the type of identifies this is as the Port Control Page.
Table 108 SAS Phy Mode Descriptor — Field Descriptions Field Phy Identifier Attached Device Type Attached SSP Initiator Port Attached STP Initiator Port Attached SMP Initiator Port Attached SSP Target Port Attached STP Target Port Attached SMP Target Port SAS Address Attached SAS Address Negotiated Physical Link Rate Attached Phy Identifier...
SPI Negotiated Settings Mode Subpage (19h/03h) Figure 101 Parallel SCSI — SPI Negotiated Settings Mode Subpage — Data Format Byte PS (0) SPF (1) (MSB) 2 — 3 Reserved DLT-S4 Interface Reference Guide The SPI Negotiated Settings Mode Subpage, shown in to report the negotiated settings of a SCSI target port for the current I_T nexus for Parallel SCSI only.
SPI Report Transfer Capabilities Mode Subpage (19h/04h) Figure 102 Parallel SCSI — SPI Report Transfer Capabilities Mode Subpage — Data Format Byte PS (0) (MSB) 2 — 3 DLT-S4 Interface Reference Guide The SPI Report Transfer Capabilities Mode Subpage, shown in is used to report the transfer capabilities for the SCSI target port for Parallel SCSI only.
Table 110 Parallel SCSI — SPI Report Transfer Capabilities Mode Subpage — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage format. Always set to 1. Indicates that this pages uses the sub_page mode format. Page Code Identifies the type of identifies this as the Port Control Page.
Figure 104 TapeAlert MODE SENSE Page — Field Descriptions Field Description Parameters Savable. Always set to 0. SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of this as the TapeAlert Page. Page Length Indicates the number bytes in the page, excluding bytes 0 and 1.
Page 232
Field Description The Additional Sense Code of 5Dh / 00h for values 03h and 06h signals that a TapeAlert occurred. The drive stores information about the event in the TapeAlert Log page. The setting of the MRIE field does not impact logging of events in the TapeAlert Log page.
Medium Configuration Mode Page (1Dh) Figure 105 Medium Configuration Mode Page Byte PS (0) SPF (0) 6 — 31 DLT-S4 Interface Reference Guide The Medium Configuration Mode Page specifies any special considerations the device server uses when processing commands that access the medium.
Table 111 Medium Configuration Mode Page — Field Descriptions Field Description Parameters Savable. For SubPage Format. Always set to 0. Indicates that this page uses the page_0 page format. Page Code Identifies the type of identifies this as the Medium Configuration Mode Page. Page Length Indicates the number bytes in the page, excluding bytes 0 and 1.
Data Security Mode Page (27h) Figure 106 Data Security Mode Page — Data Format Byte PS (0) Reserved Reserved Reserved 8 — 9 Reserved DLT-S4 Interface Reference Guide 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.
Byte 16 — 19 20 — 51 Table 112 Data Security Mode Page — Field Descriptions Field Description Parameters Savable. Must be set to 0. Page Code Identifies the type of as the Data Security Mode Page. Additional Indicates the number bytes in the page, excluding bytes 0 and 1. The length is returned in Page Length MODE SENSE performing...
Page 237
Field Description 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. This bit is set anytime a tape is intended to be password protected with action codes 02 – Set Drive Password and write it to tape;...
Page 238
Field Description DLT-S4 Interface Reference Guide No Action 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.
Field Description 08h-3Fh Number of This read only four bit field indicates the number of passwords supported. This field is Passwords currently set to two: one for the host interface and one for the automation interface. Supported However, this design can handle up to 8 passwords. Auto Password Blank Tapes.
Drive Password and Password Protection State Storage DLT-S4 Interface Reference Guide 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...
EEPROM Mode Page (3Eh) Figure 107 EEPROM MODE SENSE Page — Data Format Byte PS (0) SPF (0) 2 — n Table 113 EEPROM MODE SENSE Page Command Descriptor Block — Field Descriptions DLT-S4 Interface Reference Guide This page returns all of the EEPROM parameters that can be set with the page;...
Page 242
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 command. If you use a 6-byte MODE SENSE MODE command to retrieve the EEPROM parameters, SENSE you will receive the following response:...
PERSISTENT RESERVE IN Command (5Eh) Figure 108 PERSISTENT RESERVE IN Command — Descriptor Block Data Format Byte Reserved 2 — 6 (MSB) 7 — 8 Table 114 PERSISTENT — RESERVE IN Command Field Descriptions Field Description Service The following service action codes are available. All other values are reserved. Action Code Name...
Field Description Read Reservation Report Capabilities 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. If multiple initiators have registered with the same key, the key is listed multiple times, once for each...
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 requests a Register, Clear, Preempt, Preempt & Abort, or Register & Move operation.
Reservation Parameters — Data Format Byte (MSB) 0 — 3 (MSB) 4 — 7 (MSB) 8 — n Table 116 Read Reservation 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 requests a Register, Clear, Preempt, Preempt &...
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.
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 Always set to 0. Address Scope The drive only supports reservations of the entire logical unit. Always set to 0. Type Specifies the characteristics of the persistent reservation (see applicable Type codes and their meanings).
Code Name Description Exclusive READS Access holding the persistent reservation that attempts a transfer from the drive results in a reservation conflict. WRITES holding the persistent reservation that attempts a transfer to the drive results in a reservation conflict. ADDITIONAL RESERVATIONS command with the Reserve service action from any initiator other than the initiator holding the persistent reservation results in a reservation conflict.
Figure 112 PERSISTENT RESERVE IN Parameter Data for REPORT CAPABILITIES— Data Format Byte (MSB) 0 — 1 Reserved TMV (1) 4 — 5 6 — 7 Table 119 PERSISTENT RESERVE IN Parameter Data — for REPORT CAPABILITIES Field Descriptions Field Description Length LENGTH...
Field Description PTPL_C Always set to 1 indicating the drive support the APTPL feature. Always set to 1 indicating the Persistent Reservation Type Mark field is valid. PTPL_A A Persist Through Power Loss Activated (PTPL_A) bit set to one indicates that persist through power loss capability (see SPC-3) is activated because the most recent successfully completed REGISTER...
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 –...
Table 121 PERSISTENT RESERVE OUT Command — Descriptor Block Data Format Byte Reserved 3 — 6 (MSB) 7 — 8 Table 122 PERSISTENT RESERVE OUT Command — Field Descriptions Field Description Service The following service action codes are available. All other values are reserved. Action Code Name...
Page 255
Field Description Release Clear Preempt Preempt & Abort Register and Ignore Existing Key Register and Move table 123 Scope The drive only supports reservations of the entire logical unit. Must be set to 0. Type Specifies the characteristics of the persistent reservation being established for all data blocks within the extent or within the logical unit (see codes and their meanings).
Table 123 PERSISTENT RESERVE OUT Command’s Service Action Descriptions Code Name Description Register When the command executes a Register service action, it registers a Reservation Key with the drive without generating a reservation. The drive holds these Reservation Keys from each initiator that performs a command with a Register service action until a new command with Register service action from the same initiator changes the key or until the initiator registration is removed by any of the following:...
Page 257
Code Name Description Release PERSISTENT RESERVE OUT 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 no persistent reservation exists from that initiator does not result in an error. Instead, the drive returns a the Release service action does not change the Reservation Key.
Page 258
Code Name Description Preempt PERSISTENT RESERVE OUT removes all persistent reservations for all initiators that have been registered with the service action Reservation Key specified in the command’s parameter list. A persistent reservation is also established for the preempting initiator. Any commands from any initiator that the drive has accepted as non-conflicting continue their normal executions.
Page 259
Code Name Description Preempt PERSISTENT RESERVE OUT & Abort removes all persistent reservations for all initiators that have been registered with the service action Reservation Key specified in the command’s parameter list. It also establishes a persistent reservation for the preempting initiator.
Table 124 PERSISTENT RESERVE OUT Type Codes Code Name Description Obsolete WRITE READS Exclusive that perform transfers from the tape medium to the initiator. WRITES holds the persistent reservation that attempts a transfer to the tape medium results in a reservation conflict. Obsolete Exclusive READS...
Page 261
Code Name Description 7h - Fh Reserved Not applicable Figure 114 PERSISTENT RESERVE OUT Parameter List — Data Format Byte (MSB) 0 — 7 (MSB) 8 — 15 (MSB) 16 — 19 22 — 23 DLT-S4 Interface Reference Guide PERSISTENT RESERVE OUT Register and Move uses a parameter list as described in table 126.
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 service actions except Register and Ignore Existing Key, the drive verifies that the Reservation Key in the Reservation Key that is registered for the initiator from which the command is received.
Table 126 DLT-S4 Tape Drive Interpretation of Service and Scope Value Service Action Allowed Scope Register Ignored Register and Ignored IgnoreExisting Key Reserve Release Clear Ignored Preempt Preempt & Abort Register and Move PERSISTENT RESERVE OUT Command with REGISTER AND MOVE Service Action Parameters Figure 115 PERSISTENT...
Page 264
Service Action Parameter List — Data Format Byte (MSB) 0 — 7 (MSB) 8 — 15 (MSB) 18 — 19 (MSB) 20 — 23 24 — n DLT-S4 Interface Reference Guide Reservation Key Service Action Reservation Key Reserved Reserved Relative Target Port Identifier TransportID Parameter Data Length (n —...
Table 127 PERSISTENT RESERVE OUT Command with REGISTER AND MOVE Service Action Parameter List — Field Descriptions Field Description Reservation Key application client to the device server to identify the I_T nexus that is the source of the verifies that the contents of the RESERVATION KEY field in a RESERVE OUT key for the I_T nexus from which the command was received.
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.
Table 128 PREVENT / ALLOW MEDIUM REMOVAL Command Descriptor Block — Field Descriptions Field Value Description Preven Clears the Prevent state corresponding to the initiator. When all initiators have cleared their Prevent states, the Eject button and both for the drive and for any attached tape automation system, library, or loader. By default after power-on or a logical unit reset, the function is cleared.
Byte 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 ILLEGAL REQUEST If the SILI bit is set to 0 and the actual block length is different than the specified transfer length, the drive returns Incorrect Length Indicator (ILI) bit and Valid bit are set to 1.
Field Description Transfer When set to 1, specifies the number of blocks to be transferred to the initiator. This Length 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.
Table 130 READ ATTRIBUTE — Command Descriptor Block Field Descriptions Error Summary for the READ ATTRIBUTE Command DLT-S4 Interface Reference Guide Field Description Service Action READ ATTRIBUTE Service Action Volume Number Specifies a volume within the medium auxiliary memory. Must be set to 0. Super DLTtape media comprises a single volume.
READ ATTRIBUTE Service Action Codes Table 131 READ ATTRIBUTE Command Service Action Codes Code Name ATTRIBUTE VALUES ATTRIBUTE LIST VOLUME LIST PARTITION LIST Restricted 05h-1Fh Reserved DLT-S4 Interface Reference Guide Key is set to ILLEGAL REQUEST INVALID FIELD IN CDB If the medium auxiliary memory has failed, the drive terminates the command with a READ ATTRIBUTE...
Figure 119 READ ATTRIBUTE with ATTRIBUTE VALUES — Service Action Parameter List Format Byte (MSB) 0 — 3 4 — (x + 3) (n — y + 1) — n Table 132 READ ATTRIBUTE with ATTRIBUTE VALUES Service Action Parameter — Field Descriptions DLT-S4 Interface Reference Guide The returned parameter data contains the requested attributes in...
Figure 120 READ ATTRIBUTE with ATTRIBUTE LIST Service Action — Parameter List Format Byte (MSB) 0 — 3 4 — 5 (n — 1) — n Table 133 READ ATTRIBUTE with ATTRIBUTE LIST Service Action Parameter Data — Field Descriptions DLT-S4 Interface Reference Guide specified partition and volume number.
Figure 121 READ ATTRIBUTE with VOLUME LIST Service Action — Parameter List Format Byte (MSB) 0 — 1 Table 134 READ ATTRIBUTE with VOLUME LIST Service Action Parameter Data — Field Descriptions DLT-S4 Interface Reference Guide VOLUME LIST Service Action command with the READ ATTRIBUTE returns parameter data (see...
Chapter 4 SCSI Commands READ ATTRIBUTE Command (8Ch) PARTITION LIST Service Action command with the service action READ ATTRIBUTE PARTITION LIST 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.
Figure 122 READ ATTRIBUTE with PARTITION LIST Service Action — Parameter List Format Byte (MSB) 0 — 1 Table 135 READ ATTRIBUTE with PARTITION LIST Service Action Parameter Data — Field Descriptions Enhanced Medium Auxiliary Memory (EMAM) Attributes DLT-S4 Interface Reference Guide Available Data (02h) First Partition Number Number of Partitions Available...
Figure 123 EMAM Attribute — Data Format Byte (MSB) 0 — 1 Read Only (MSB) 3 — 4 (MSB) 5 — n Table 136 EMAM Attribute — Parameter Data Field Descriptions DLT-S4 Interface Reference Guide The attribute ID, format, and length are also sometimes referred to as the attribute header.
Table 137 EMAM Attribute Formats Table 138 EMAM Attribute Identifier Range Assignments DLT-S4 Interface Reference Guide Format Name Description BINARY The Attribute Value field contains binary data. 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.
Table 139 Device Type Attributes (for EMAM) Supported by the DLT-S4 Tape Drive Firmware Attribute Identifier Name 0000h REMAINING CAPACITY IN PARTITION 0001h MAXIMUM CAPACITY IN PARTITION 0002h TAPE ALERT FLAGS 0003h LOAD COUNT 0004h MAM SPACE REMAINING 0005h ASSIGNING ORGANIZATION 0006h FORMATTED DENSITY CODE 0007h...
Page 281
Attribute Identifier Name 0224h - Reserved 033Fh 0340h MEDIUM USAGE HISTORY 0341h PARTITION USAGE HISTORY 0342h - Reserved 03FFh DLT-S4 Interface Reference Guide REMAINING CAPACITY IN PARTITION and MAXIMUM CAPACITY IN These are native capacities, assuming no data compression PARTITION: for the specified medium partition, expressed in increments of 1,048,576 bytes;...
Figure 124 DEVICE VENDOR/ SERIAL NUMBER Attribute — Data Format Byte (MSB) 0 — 7 (MSB) 8 — 39 Table 140 DEVICE VENDOR/ SERIAL NUMBER Attribute Parameter Data — Field Descriptions DLT-S4 Interface Reference Guide Indicates the number of times that a drive has INITALIZATION COUNT: logically formatted the medium.
Table 141 MEDIUM USAGE HISTORY Attribute — Data Format Byte (MSB) 0 — 5 (MSB) 6 — 11 (MSB) 12 — 17 (MSB) 18 — 23 (MSB) 24 — 29 DLT-S4 Interface Reference Guide TOTAL MBYTES WRITTEN IN CURRENT/LAST LOAD and TOTAL MBYTES READ IN CURRENT/LAST LOAD: number of data bytes transferred to or from the medium surface, after any data compression has been applied, during the current load if the...
Table 142 MEDIUM USAGE HISTORY Attribute Parameter Data — Field Descriptions Field Description Current Indicates the amount of data physically written to the medium during this load of the Amount of medium. This value is expressed in increments of 1,048,576 bytes; that is, a value of 1 Data Written means 1,048,576 bytes, 2 means 2,097,152 bytes, and so on.
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 Indicates the number of times that switches between partitions have been performed Partition on the medium.
Table 143 PARTITION USAGE HISTORY Attribute Parameter Data — Field Descriptions Field Description Current Amount Indicates the amount of data physically written to the medium in the partition of Data Written 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;...
Page 289
Field Description Total Write Indicates the total number of times the drive performed a Write retry in the Retries Count partition specified by the Partition Number field in the CDB since the last medium format. Total Amount of Indicates the amount of data physically read from the medium in the partition Data Read specified by the Partition Number field in the CDB since the last medium format.
Table 144 Medium Type Attributes (for EMAM) Supported by the DLT-S4 Tape Drive Firmware Attribute Identifier Name 0400h MEDIUM MANUFACTURER 0401h MEDIUM SERIAL NUMBER 0402h MEDIUM LENGTH 0403h MEDIUM WIDTH 0404h ASSIGNING ORGANIZATION 0405h MEDIUM DENSITY CODE 0406h MEDIUM MANUFACTURE DATE 0407h MAM CAPACITY 0408h...
Page 291
Identifies the organization responsible for ASSIGNING ORGANIZATION: the specifications defining the values in the attribute. The Assigning Organization field is set to “Quantum.” Contains the actual density of the tape based on MEDIUM DENSITY CODE: the following rules: 1 If the tape has been written, this attribute reports the actual density of the data on the medium.
Table 145 MEDIUM TYPE and MEDIUM TYPE INFORMATION Attributes Table 146 Host Type Attributes (for MAM) Supported by the DLT-S4 Tape Drive Firmware Attribute Identifier Name 0800h APPLICATION VENDOR 0801h APPLICATION NAME 0802h APPLICATION VERSION 0803h USER MEDIUM TEXT LABEL 0804h DATE &...
Table 147 TEXT LOCALIZATION IDENTIFIER — Attribute Values DLT-S4 Interface Reference Guide Contains 8 bytes of ASCII data (see APPLICATION VENDOR: Format on page 242) identifying the manufacturer of the application client (for example, class driver or backup program), that most recently sent a command to the drive while this medium WRITE ATTRIBUTE...
Unique Features of the DLT-S4 Tape Drive Implementation of Read / Write Attributes DLT-S4 Interface Reference Guide LOAD/UNLOAD AT PARTITION: loaded or unloaded at the partition specified by the Partition Number field in the CDB. 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.
A Comparison of MAM and EMAM DLT-S4 Interface Reference Guide • Super DLTtape media does not require that attributes be written (using the WRITE ATTRIBUTE attributes that can be written are independent of one another and can be written in any order. •...
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.
READ BUFFER Command (3Ch) Figure 129 READ BUFFER Command Descriptor Block — Data Format Byte Reserved (MSB) 3 — 5 (MSB) 6 — 8 DLT-S4 Interface Reference Guide command is used with the READ BUFFER 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.
Table 148 READ BUFFER — Command Descriptor Block Field Descriptions Field Description Mode The drive supports the following values for this field. Mode Description Combined Header and Data Mode (see Data Mode (see Descriptor Mode (see Read Data from Echo Buffer (see Echo Buffer Descriptor Mode (see Buffer ID Indicates from which buffer the data is to be transferred.
Retrieving Diagnostic Data DLT-S4 Interface Reference Guide The host should first send a (Mode 3) to determine the size of the buffer being returned. In response to command, the drive returns 4 bytes of data, 3 of which READ BUFFER contain the size of the buffer.
Combined Header and Data Mode (00h) Figure 130 READ BUFFER Header — Data Format Byte (MSB) 1 — 3 Table 149 READ BUFFER Header — Field Description Data Mode (02h) DLT-S4 Interface Reference Guide 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...
Descriptor Mode (03h) Figure 131 READ BUFFER Descriptor — Data Format Byte (MSB) 1 — 3 Read Data from Echo Buffer (0Ah) DLT-S4 Interface Reference Guide In this mode, the drive returns a maximum of 4 bytes of descriptor information. The drive returns the descriptor information for the buffer specified by the Buffer ID.
Echo Buffer Descriptor Mode (0Bh) Figure 132 ECHO BUFFER Descriptor — Data Format Byte Reserved Figure 133 ECHO BUFFER — Descriptor Field Descriptions DLT-S4 Interface Reference Guide In this mode, the drive returns a maximum of 4 bytes of descriptor information. The drive returns the descriptor information for the Echo Buffer.
READ POSITION Command (34h) Figure 134 READ POSITION — Command Descriptor Block Data Format Byte Reserved 2 — 6 (MSB) 7 — 8 DLT-S4 Interface Reference Guide command reads a position identifier or SCSI Logical READ POSITION Block Address (LBA). The LOCATE for high-performance repositioning of the tape medium to a known logical position.
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. Value Allocation Length Only used with service actions that are not supported by the DLT-S4. Must be zero. Read Position Data —...
Byte (MSB) 8 — 11 (MSB) 13 — 15 (MSB) 16 — 19 Table 151 READ POSITION (Short Form) Data — Field Descriptions Field Description Beginning of Partition. When set to 1, indicates that the drive is at the Beginning of Partition (BOP) in the current partition.
Page 307
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.
Read Position Data — Long Form Figure 136 READ POSITION (Long Form) — Data Format Byte 1 — 3 (MSB) 4 — 7 (MSB) 8 — 15 (MSB) 16 — 23 (MSB) 24 — 31 DLT-S4 Interface Reference Guide Data returned when the service action value is 6 takes the following form: Reserved Reserved Partition Number...
Table 152 READ POSITION (Long Form) Data — Field Descriptions Field Description 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.
Figure 138 RECEIVE DIAGNOSTIC RESULTS — Data Format Byte 4 — 7 8 — 11 12 — 15 16 — 19 Notes: Controller and Drive Present Flags: 1 = Present; 0 = Not present. Controller and Drive Error ASQs: 0 = No error; Non-zero = Error. Contains the highest severity TapeAlert flag set against the drive or media.
RELEASE (10) Command (57h) Figure 139 RELEASE (10) Command Descriptor Block — Data Format Byte Reserved 4 — 6 (MSB) 7 — 8 DLT-S4 Interface Reference Guide RELEASE RESERVE multiple-initiator systems. The 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.
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 established the reservation.
RELEASE UNIT Command (17h) Figure 141 RELEASE UNIT Command Descriptor Block — Data Format Byte Logical Unit Number 2 — 4 DLT-S4 Interface Reference Guide command releases the tape drive if it is currently RELEASE UNIT reserved by the requesting initiator. It is not an error to release the drive if it is not currently reserved by the requesting initiator.
Table 155 RELEASE UNIT Command — Field Descriptions Field Description 3rdPty The third-party release option for unit that was previously reserved using the third-party reservation option. When set to 0, the third-party release option is not requested. When set to 1, the drive is released if the same initiator originally reserved it using the third-party reservation option and if the drive is the same SCSI device specified in the Third Party Device ID field.
REPORT DENSITY SUPPORT Command (44h) Figure 142 REPORT DENSITY SUPPORT Command Descriptor Block — Data Format Byte 2 — 6 (MSB) 7 — 8 DLT-S4 Interface Reference Guide REPORT DENSITY SUPPORT application client uses to request information about the densities or the medium types the DLT-S4 tape drive supports.
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.
Table 157 REPORT DENSITY SUPPORT Header — Field Descriptions Figure 144 DENSITY SUPPORT Descriptor — Data Format Byte WrtOk 3 — 5 (MSB) 5 — 7 (MSB) 8 — 9 DLT-S4 Interface Reference Guide Field Description Available Specifies the number of bytes in the data that Density Support follows that are available to be transferred.
Byte (MSB) 10 — 11 (MSB) 12 — 15 (MSB) 16 — 23 (MSB) 24 — 31 (MSB) 32 — 51 Table 158 DENSITY — SUPPORT Descriptor Field Descriptions Field Description Primary Density Contains the value returned by a Code described in the remainder of the Density Support Data Block Descriptor.
Page 320
Field Description 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.
Medium Type Support Report Figure 145 Medium Type Descriptor — Data Format Byte (MSB) 2 — 3 (MSB) 5 — 13 (MSB) 14 — 15 (MSB) 16 — 17 (MSB) 20 — 27 (MSB) 28 — 35 DLT-S4 Interface Reference Guide REPORT DENSITY SUPPORT set to one returns the REPORT DENSITY SUPPORT...
Byte (MSB) 36 — 55 Table 159 Medium Type — Descriptor Field Descriptions Field Description Medium Type MEDIUM TYPE in the Medium Type field in the Mode Parameter Header for the medium type described in the remainder of the medium type descriptor. Descriptor Length DESCRIPTOR LENGTH Number of Density...
Table 160 REPORT DEVICE IDENTIFIER Command Descriptor Block — Field Descriptions Field Description Service Action A service action of 05h identifies this as the Allocation Length If the Allocation Length is not large enough to hold all of the parameter data, the drive truncates the data it returns.
Table 161 REPORT DEVICE IDENTIFIER Parameter Data — Field Descriptions DLT-S4 Interface Reference Guide REPORT DEVICE IDENTIFIER Command (A3h/05h) 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.
REPORT LUNS Command (A0h) Figure 148 REPORT LUNS Command Descriptor Block — Data Format Byte 3 — 5 (MSB) 6 — 9 DLT-S4 Interface Reference Guide command requests that the DLT-S4 tape drive send REPORT LUNS the peripheral device logical unit numbers of known logical units to the applications client.
Table 162 REPORT LUNS Command Descriptor Block — Field Descriptions Field Description Select Specifies the type of logical unit addresses to be reported. All values other than those listed Report are reserved. Value Description The logical unit addresses reported are limited to the following addressing methods: •...
Page 328
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.
Table 163 REPORT SUPPORTED OPERATION CODES Command Descriptor Block — Field Descriptions Field Description Service Action A service action of 0Ch identifies this as the CODES Reporting Options Specifies the type of information to be returned in the parameter data. All values other than those listed are reserved.
All_commands Parameter Data Format Figure 151 All_ commands — Parameter Descriptor Block Data Format Byte (MSB) 0 — 3 4 — n Table 164 All_ commands — Parameter Data Field Descriptions DLT-S4 Interface Reference Guide REPORT SUPPORTED OPERATION CODES Command (A3h/0Ch) REPORT SUPPORTED OPERATION CODES 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.
One_command Parameter Data Format Figure 153 One_command Parameter Data — Data Format Byte (MSB) 2 — 3 4 — n DLT-S4 Interface Reference Guide REPORT SUPPORTED OPERATION CODES Command (A3h/0Ch) REPORT SUPPORTED OPERATION CODES 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...
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.
Figure 157 REPORT TIMESTAMP Command Parameter Data — Data Format Byte (MSB) 0 — 1 4 — 9 Table 170 REPORT TIMESTAMP Command Parameter Data — Field Descriptions DLT-S4 Interface Reference Guide The format of the parameter data is shown in Timestamp Parameter Data Length (0Ah) Reserved Reserved...
REQUEST SENSE Command (03h) Figure 158 REQUEST SENSE — Command Descriptor Block Data Format Byte 2 — 3 Table 171 REQUEST SENSE — Command Data Field Descriptions DLT-S4 Interface Reference Guide command directs the DLT-S4 tape drive to transfer REQUEST SENSE detailed Sense Data to the initiator.
Figure 159 REQUEST — SENSE Data Format Byte Valid Filemark (MSB) 3 — 6 (MSB) 8 — 11 SKSV DLT-S4 Interface Reference Guide The Sense Data are valid for a status returned on the previous command. The drive preserves CONFLICT the Sense Data bytes until it is passed to the host as autosense data, it is retrieved by a REQUEST SENSE...
Byte (MSB) 16 — 17 19 — 20 21 — 24 25 — 28 29 — n Table 172 REQUEST SENSE — Data Field Descriptions Field Description Valid When set to 1, indicates that the Information field contains valid SCSI-3 information.
Page 342
Field Description Sense Key The Sense Key values are described in 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 CHECK CONDITION...
Field Description Field Pointer If the Sense Key is Parameter List is in error. For a multi-byte field, the most significant byte is indicated. If the Sense Key is PROGRESS a fraction with 65,536 as the denominator. Internal Status Vendor specific. Code Tape Motion Reports the number of tape motion (head wear) hours.
Sense Key Description ILLEGAL REQUEST illegal operation. Check the Byte Pointer and Bit Pointer fields for an indication of the field in error. UNIT ATTENTION asynchronously becomes ready to the initiator, 2) if another initiator changes Mode Parameters, 3) if the firmware is updated, or 4) if the latter two items occur together. DATA PROTECTED switch on the cartridge is in its enabled position, the tape medium is not the appropriate type, or a software write protect is in effect.
Page 345
Sense Text Name NO SENSE (continued) RECOVERED ERROR NOT READY DLT-S4 Interface Reference Guide ASCQ Description TapeAlert Failure Prediction Threshold Exceeded False Exception Condition Clean Requested (Non-Vendor Specific) Error Log Overflow Error Log Generated Rounded Parameter Repositioning Error EEPROM Copy 1 Area Bad EEPROM Copy 2 Area Bad SCSI Parity Error IDE Message Received...
Page 346
Sense Text Name NOT READY (continued) MEDIUM ERROR 03h HARDWARE ERROR DLT-S4 Interface Reference Guide ASCQ Description Cartridge Error, Calibration Failure Media Load or Eject Failed Operator Media Removal Request Medium Error Cleaning Required Error WRITE Unrecovered Incomplete Block Incomplete Block Recorded Entity Not Found.
Page 347
Sense Text Name HARDWARE ERROR (continued) DLT-S4 Interface Reference Guide ASCQ Description Read SCSI FIFO CRC Error Block Port Detected EDC Error Block Port Detected Record CRC Error Interface Buffer CRC Error Random Mechanical Positioning Error Repositioning Error Diagnostic / POST Failure, POST Soft Failure Unexpected Selection Interrupt Command Complete Sequence Failed SCSI Chip Gross Error / Illegal Command Status...
Page 348
Sense Text Name ILLEGAL REQUEST DLT-S4 Interface Reference Guide ASCQ Description Invalid Field in Command Information Unit Parameter List Length Error Illegal OpCode Illegal Command While In Recovery Mode Invalid CDB Field. May occur if odd block counts are attempted in fixed mode Media in Drive Command Queue Not Empty Insufficient Resources...
Page 349
Sense Text Name ILLEGAL REQUEST (continued) UNIT ATTENTION DLT-S4 Interface Reference Guide ASCQ Description Not Reserved, a command that respects reservation was received with the OIR bit in the Device Configuration Mode Page set to 1. Incompatible Medium. Drive Cannot Read Medium Incompatible Format.
Page 350
Sense Text Name UNIT ATTENTION (continued) DATA PROTECTED BLANK CHECK COMMAND ABORTED DLT-S4 Interface Reference Guide ASCQ Description Medium Magazine Unlocked Microcode has been Changed Device Identifier Changed Medium Auxiliary Memory Accessible Log Threshold Condition Met Access Denied, Invalid Management ID Key Access Denied, Incompatible Write Format Access Denied, Password Attempts Exceeded Access Denied, Decryption Not Supported...
Page 351
Sense Text Name COMMAND ABORTED (continued) VOLUME OVERFLOW Contact a service representative. Bad firmware image or code download possible. DLT-S4 Interface Reference Guide ASCQ Description IDE Message Error Invalid Message Error Command Phase Error Data Phase Error Invalid Target Port Transfer Tag Too Much Write Data ACK/NAK Timeout NAK Received...
RESERVE (10) Command (56h) Table 175 RESERVE (10) Command Descriptor Block — Data Format Byte Reserved 4 — 6 (MSB) 7 — 8 DLT-S4 Interface Reference Guide RESERVE RELEASE multiple-initiator systems. The number. The (10) CDB is shown in RESERVE fields are described in table must also be used.
Page 353
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.
Table 177 RESERVE (10) ID Only Parameter List — Data Format Byte (MSB) 0 — 7 RESERVE UNIT Command (16h) Figure 160 RESERVE UNIT — Command Descriptor Block Data Format Byte Logical Unit Number 2 — 4 DLT-S4 Interface Reference Guide Third Party Device ID command reserves the specified tape drive for the RESERVE UNIT...
Figure 161 RESERVE UNIT — Command Data Field Descriptions Field Description 3rdPty The third-party reservation option for 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.
REWIND Command (01h) Figure 162 REWIND — Command Descriptor Block Data Format Byte 2 — 4 Table 178 REWIND Command — Descriptor Block Field Description DLT-S4 Interface Reference Guide command directs the DLT-S4 tape drive to position the tape REWIND at the beginning of the currently active partition, always Beginning of Media (BOM).
SEND DIAGNOSTIC Command (1Dh) Figure 163 SEND DIAGNOSTIC Command — Descriptor Block Data Format Byte Self-Test Code (MSB) 3 — 4 DLT-S4 Interface Reference Guide command directs the DLT-S4 tape drive to SEND DIAGNOSTIC 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.
Table 179 SEND DIAGNOSTIC Command Data — Field Descriptions Level 1 Test: Electronics Test Level 2 Test: Write / Read Functionality Test DLT-S4 Interface Reference Guide Field Description Page Format. Must be set to 0 when the SelfTst bit is set to 1.
Table 180 SEND DIAGNOSTIC CDB Fields — Selftst, DevOfl, and UnitOfl DLT-S4 Interface Reference Guide 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 select a Level 2 test.
Table 181 Sense Keys for SEND DIAGNOSTIC Command Table 182 ASC / ASCQ for SEND DIAGNOSTIC Command DLT-S4 Interface Reference Guide Sense Description Medium Error. The drive returns a medium error if it encounters a Hard Read or Hard Write error during the test.
SET DEVICE IDENTIFIER Command (A4h/06h) Figure 164 SET DEVICE IDENTIFIER Command Descriptor Block — Data Format Byte Reserved 2 — 5 (MSB) 6 — 9 DLT-S4 Interface Reference Guide SET DEVICE IDENTIFIER information in the DLT-S4 tape drive be set to the value contained in the parameter list.
Table 183 SET DEVICE IDENTIFIER Command Descriptor Block — Field Descriptions Field Description Service Action A service action of 06h identifies this as the Parameter List Specifies the length in bytes of the Identifier that is transferred from the application Length client to the tape drive.
SET TIMESTAMP Command (A4h/0Fh) Figure 166 SET TIMESTAMP Command — Data Format Byte Reserved 2 — 5 (MSB) 6 — 9 Table 185 SET TIMESTAMP Command — Field Descriptions DLT-S4 Interface Reference Guide command (see SET TIMESTAMP drive to initialize the timestamp. Operation Code (A4h) Reserved Parameter List Length...
Figure 167 SET TIMESTAMP Command Parameter List — Data Format Byte 0 — 3 4 — 9 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.
SPACE Command (11h) Table 187 SPACE Command — Descriptor Block Data Format Byte (MSB) 2 — 4 DLT-S4 Interface Reference Guide command provides a variety of positioning functions that are SPACE determined by the Code and Count fields in the Command Descriptor Block.
Table 188 SPACE Command — Data Field Descriptions Field Description Code The code can be one of the following values. All other values are reserved. Space Code 0000b 0001b 0010b 0011b Count When spacing over Blocks or Filemarks, the Count field is interpreted as follows: •...
TEST UNIT READY Command (00h) Figure 168 TEST UNIT READY Command Descriptor — Block Data Format Byte 2 — 4 DLT-S4 Interface Reference Guide command checks the DLT-S4 tape drive to ensure TEST UNIT READY that it is ready for commands involving tape movement. Operation Code (00h) Reserved Reserved...
VERIFY Command (13h) Figure 169 VERIFY Command — Descriptor Block Data Format Byte (MSB) 2 — 4 Table 189 VERIFY Command — Data Field Descriptions Field Description Immed Immediate. When set to 1, the processing, before the drive performs any tape medium movement. BytCmp Byte Compare.
WRITE Command (0Ah) Figure 170 WRITE Command — Descriptor Block Data Format Byte (MSB) 2 — 4 DLT-S4 Interface Reference Guide command transfers one or more data blocks from the host to WRITE 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 commands as soon as the requested data block or blocks have WRITE...
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.
WRITE ATTRIBUTE Command (8Dh) Table 191 WRITE ATTRIBUTE Command — Descriptor Block Data Format Byte 2 — 4 8 — 9 (MSB) 10 — 13 DLT-S4 Interface Reference Guide command allows an application client to write WRITE ATTRIBUTE attributes to Enhanced Medium Auxiliary Memory (EMAM). The command is the functional counterpart of the ATTRIBUTE command.
Table 192 WRITE ATTRIBUTE Parameter — Command Data Field Descriptions Figure 171 WRITE ATTRIBUTE — Parameter List Format Byte (MSB) 0 — 3 4 — (x + 3) (n — y + 1) — n DLT-S4 Interface Reference Guide Field Description Volume Number Specifies a volume within the medium auxiliary...
Table 193 WRITE ATTRIBUTE Command — Parameter Data Field Descriptions Error Summary for the WRITE ATTRIBUTE Command DLT-S4 Interface Reference Guide Field Description Parameter Indicates the number of bytes in the page, excluding Data Length the 4 bytes that make up the header. Attribute Contains: 1) an attribute header, and 2) data.
Page 374
DLT-S4 Interface Reference Guide • If the attribute is Read / Write, the attribute is deleted. The attribute is not returned in response to a reported by the READ ATTRIBUTE service action. • If the attribute does not exist, the attribute in the command parameter list is ignored;...
WRITE BUFFER Command (3Bh) Figure 172 WRITE BUFFER — Command Descriptor Block Data Format Byte Reserved (MSB) 3 — 5 (MSB) 6 — 8 DLT-S4 Interface Reference Guide command works with the WRITE BUFFER as a diagnostic function for testing the device data buffer, DMA engine, interface hardware, and interface network integrity.
Table 194 WRITE BUFFER — Command Descriptor Block Field Descriptions Field Description Mode The drive supports the following values in this field. Mode 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.
Download Microcode and Save Mode (05h) Write Data to Echo Buffer Mode (0Ah) DLT-S4 Interface Reference Guide 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 with Download Microcode mode.
WRITE FILEMARKS Command (10h) Figure 173 WRITE FILEMARKS Command — Descriptor Block Data Format Byte (MSB) 2 — 4 DLT-S4 Interface Reference Guide command directs the tape drive to write the WRITE FILEMARKS specified number of Filemarks onto the tape, beginning at the current logical position.
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.
The Initialization Process DLT-S4 Interface Reference Guide 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.
Use of DLTSage WORM Tapes DLTSage WORM Details DLT-S4 Interface Reference Guide 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);...
Determining if the SDLT Drive is DLTSage WORM Capable Determining if the Current Cartridge is a DLTSage WORM Converting an SDLT Data Cartridge to DLTSage WORM DLT-S4 Interface Reference Guide • Understanding the timeout value for creating the DLTSage WORM cartridge, •...
Reading the DLTSage WORM Signature Understanding Unique Sense Data while Using the DLTSage WORM Cartridge DLT-S4 Interface Reference Guide The DLTSage WORM signature is read using the 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.
Determining if the Integrity of the DLTSage WORM Cartridge has been Compromised Understanding the Timeout Value for Creating the DLTSage WORM Cartridge DLT-S4 Interface Reference Guide • — Illegal Request (05) Sense Key • , Invalid Field (26/00) Parameter List Error •...
Responding to DLTSage WORM Sense Data and DLTSage WORM TapeAlerts Failure Modes and Recovery Actions DLT-S4 Interface Reference Guide TheDLTSage WORM TapeAlerts are as follows: 0x3B – WORM Medium Integrity Check Failed The tape drive has detected an inconsistency during WORM medium integrity checks.
Page 386
DLT-S4 Interface Reference Guide — The recommended recovery action is to copy all the data Recovery 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.