Quantum DLT-S4 Reference Guide

$
'/767DSH'ULYH
'/767DSH'ULYH
,QWHUIDFH5HIHUHQFH*XLGH ,QWHUIDFH5HIHUHQFH*XLGH
'/76
,QWHUIDFH5HIHUHQFH*XLGH
DLT-S4 Interface Reference Guide, 81-81281-04 A01, January 2008, Made in USA.
Quantum Corporation provides this publication “as is” without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability or fitness for a particular purpose. Quantum Corporation may revise this publication from time to time without notice.
COPYRIGHT STATEMENT
Copyright 2007 by Quantum Corporation. All rights reserved.
Your right to copy this document is limited by copyright law. Making copies or adaptations without prior written authorization of Quantum Corporation is prohibited by law and constitutes a punishable violation of the law.
TRADEMARK STATEMENT
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.
All other trademarks are the property of their respective companies.

Contents

Preface xxviii
Chapter 1 Introduction 1
Background Information About SCSI............................................................. 1
Parallel SCSI Characteristics .....................................................................2
Fibre Channel Characteristics ................................................................... 3
Serial Attached SCSI Characteristics........................................................ 4
Chapter 2 Task Management 5
Task Management by Transport Layer Overview ........................................ 6
Task Management Function ............................................................................. 7
TARGET RESET.......................................................................................... 7
LOGICAL UNIT RESET............................................................................. 7
CLEAR TASK SET ...................................................................................... 8
ABORT TASK..............................................................................................8
ABORT TASK SET...................................................................................... 8
QUERY TASK.............................................................................................. 8
DLT-S4 Interface Reference Guide iii
Contents
Chapter 3 Transport Layer Implementation Details 9
Parallel SCSI......................................................................................................10
SCSI Bus Reset Condition ........................................................................10
Supported Messages.................................................................................11
Supported Task Management for Information Units..........................13
Synchronous Data Transfer Request......................................................13
Parallel Protocol Request .........................................................................15
Wide Data Transfer Request....................................................................17
Fibre Channel....................................................................................................18
Link Service and Unsolicited Control Support.....................................18
Basic Link Service......................................................................................18
Extended Link Service Commands ........................................................ 19
Extended Link Service Loop Initialization............................................19
FC-4 Link Service Commands................................................................. 20
Unsolicited Control / Name Server Requests ......................................20
Serial Attached SCSI (SAS) .............................................................................21
Transport Layer Retries............................................................................21
Chapter 4 SCSI Commands 22
Overview of SCSI Command and Status Processing..................................23
Status and Error Reporting...................................................................... 24
Autosense...................................................................................................25
Unit Attention Condition.........................................................................26
Data In/Out Command Components.................................................... 26
Behavior at Power-On ..............................................................................29
Data Cache and Tape Write Interaction.................................................30
SCSI Command Descriptions .........................................................................31
ERASE Command (19h) ..................................................................................33
INQUIRY Command (12h) .............................................................................34
Standard Inquiry Data Page ....................................................................35
Vendor-Specific Inquiry Data Field ................................................39
Vital Product Data Pages .........................................................................41
Supported Vital Product Data Page (00h)......................................41
Unit Serial Number Page (80h) ........................................................42
Device Identification Page (83h)......................................................43
Vendor-Unique Logical Unit Identifier ..........................................44
Sequential-Access Device Capabilities VPD Page (B0h)..............49
Manufacturer-Assigned Serial Number Page (B1h).....................50
Firmware Build Information Page (C0h)........................................51
Subsystem Components Revision Page (C1h)...............................52
DLT-S4 Interface Reference Guide iv
Contents
LOAD UNLOAD Command (1Bh) ............................................................... 54
LOCATE Command (2Bh).............................................................................. 56
LOG SELECT Command (4Ch) ..................................................................... 57
Overview—
LOG SELECT Command Descriptor Block Errors ..........59
Operation of LOG SELECT ..................................................................... 59
LOG SELECT Log Page Format ............................................................... 60
General Purpose Non-Volatile Log Page (38h) .................................... 63
Error Detection Summary in LOG SELECT Pages .............................. 65
LOG SENSE Command (4Dh) .......................................................................66
Error Summary in
LOG SENSE Command Descriptor Block............. 68
Supported Pages Log Page (Page 00h) .................................................. 69
Read (Page 03h) / Write (Page 02h) Error Log Pages ......................... 69
LAST n ERROR EVENTS Log Page (07h) ............................................. 73
Sequential Access Device Log Page (0Ch) ............................................ 75
Temperature Log Page (0Dh).................................................................. 77
SAS Phy Control and Discover Log Page (18h)....................................79
TapeAlert Log Page (2Eh)........................................................................ 83
Device Wellness Log Page (33h)............................................................. 88
General Purpose Non-Volatile Log Page (38h) .................................... 91
Device Status Log Page (3Eh) ................................................................. 93
MODE SELECT (6) / (10) Command (15h / 55h)....................................... 98
Mode Parameter Header........................................................................102
Mode Parameter Block Descriptor ....................................................... 104
Read / Write Error Recovery Page (01h) ............................................ 105
Disconnect / Reconnect Page (02h)...................................................... 106
Control Mode Page (0Ah)...................................................................... 113
Data Compression Page (0Fh)............................................................... 116
Device Configuration Page (10h).......................................................... 118
Medium Partition Page (11h)................................................................ 122
Logical Unit Control Page (18h) ........................................................... 123
Port Control Page (19h).......................................................................... 127
SAS Phy Control and Discover Mode Subpage (19h/01h)............... 130
SPI Negotiated Settings Mode Subpage (19h/03h) ........................... 134
SPI Report Transfer Capabilities Mode Subpage (19h/04h) ............ 137
TapeAlert Page (1Ch) ............................................................................. 139
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 SELECT ................................. 156
MODE SENSE (6) / (10) Command (1Ah / 5Ah)..................................... 157
MODE SENSE Data Headers ................................................................ 160
DLT-S4 Interface Reference Guide v
Contents
MODE SENSE Block Descriptor........................................................... 162
Read / Write Error Recovery Page (01h) ............................................ 164
Disconnect / Reconnect Page (02h)...................................................... 165
Control Mode Page (0Ah)...................................................................... 171
Data Compression Page (0Fh)............................................................... 173
Device Configuration Page (10h).......................................................... 176
Medium Partition Page (11h)................................................................ 179
Logical Unit Control Page (18h) ........................................................... 181
Port Control Page (19h).......................................................................... 184
SAS Phy Control and Discover Mode Subpage (19h/01h)............... 188
SPI Negotiated Settings Mode Subpage (19h/03h) ........................... 192
SPI Report Transfer Capabilities Mode Subpage (19h/04h) ............ 194
TapeAlert Page (1Ch) ............................................................................. 196
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................................................ 212
REPORT CAPABILITIES Service Action ............................................ 216
PERSISTENT RESERVE OUT Command (5Fh) ........................................ 219
PERSISTENT RESERVE OUT Command with REGISTER
AND MOVE Service Action Parameters............................................. 229
PREVENT / ALLOW MEDIUM REMOVAL Command (1Eh).............. 232
READ Command (08h) ................................................................................. 233
Filemark and End-of-Data Handling................................................... 235
End-of-Medium/Partition Handling................................................... 235
READ ATTRIBUTE Command (8Ch).........................................................236
Error Summary for the READ ATTRIBUTE Command ................... 237
READ ATTRIBUTE Service Action Codes.......................................... 238
ATTRIBUTE VALUES Service Action.......................................... 238
ATTRIBUTE LIST Service Action.................................................. 239
VOLUME LIST Service Action ......................................................241
PARTITION LIST Service Action.................................................. 242
Enhanced Medium Auxiliary Memory (EMAM) Attributes............243
Attribute Format..............................................................................243
Attribute Identifier Values .............................................................245
Standard Host Type Attributes .....................................................258
Support for Host Vendor-Unique Attributes ..............................260
Unique Features of the DLT-S4 Tape Drive Implementation
of Read /Write Attributes ..................................................................... 260
DLT-S4 Interface Reference Guide vi
Contents
A Comparison of MAM and EMAM ................................................... 261
READ BLOCK LIMITS Command (05h) .................................................... 262
READ BUFFER Command (3Ch) ................................................................264
Retrieving Diagnostic Data ...................................................................265
Read Data from the Saved Buffer (A1h)....................................... 266
Read Data from the Live Buffer (A2h)..........................................266
Combined Header and Data Mode (00h)............................................ 267
Data Mode (02h)......................................................................................267
Descriptor Mode (03h) ........................................................................... 268
Read Data from Echo Buffer (0Ah) ......................................................268
Echo Buffer Descriptor Mode (0Bh)..................................................... 269
READ POSITION Command (34h)............................................................. 270
Read Position Data — Short Form ....................................................... 271
Read Position Data — Long Form........................................................ 274
RECEIVE DIAGNOSTIC RESULTS Command (1Ch).............................. 276
RELEASE (10) Command (57h) ................................................................... 278
RELEASE UNIT Command (17h)................................................................ 280
REPORT DENSITY SUPPORT Command (44h) ....................................... 282
Report Density Support ......................................................................... 283
Medium Type Support Report.............................................................. 287
REPORT DEVICE IDENTIFIER Command (A3h/05h) ........................... 289
REPORT LUNS Command (A0h)................................................................ 292
REPORT SUPPORTED OPERATION CODES Command
(A3h/0Ch)................................................................................................ 295
All_commands Parameter Data Format.............................................. 297
One_command Parameter Data Format.............................................. 299
REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS
Command (A3h/0Dh) ...........................................................................301
REPORT TIMESTAMP Command (A3h/0Fh).......................................... 303
REQUEST SENSE Command (03h).............................................................305
RESERVE (10) Command (56h) ................................................................... 318
RESERVE UNIT Command (16h)................................................................ 320
REWIND Command (01h)............................................................................ 322
SEND DIAGNOSTIC Command (1Dh)......................................................323
Level 1 Test: Electronics Test ................................................................ 324
Level 2 Test: Write / Read Functionality Test.................................... 324
SET DEVICE IDENTIFIER Command (A4h/06h).................................... 327
SET TIMESTAMP Command (A4h/0Fh)................................................... 329
SPACE Command (11h)................................................................................ 331
TEST UNIT READY Command (00h)......................................................... 333
VERIFY Command (13h) .............................................................................. 334
WRITE Command (0Ah)............................................................................... 335
Exception Conditions ............................................................................. 336
DLT-S4 Interface Reference Guide vii
Contents
WRITE ATTRIBUTE Command (8Dh) ....................................................... 337
Error Summary for the WRITE ATTRIBUTE Command.................. 339
WRITE BUFFER Command (3Bh) ............................................................... 341
Write Combined Header and Data Mode (00h) ................................. 342
Write Data Mode (02h)........................................................................... 342
Download Microcode Mode (04h) ....................................................... 342
Download Microcode and Save Mode (05h) ...................................... 343
Write Data to Echo Buffer Mode (0Ah) ............................................... 343
WRITE FILEMARKS Command (10h)........................................................ 344
Appendix A DLTSage WORM 346
The Initialization Process.............................................................................. 346
Use of DLTSage WORM Tapes.................................................................... 347
DLTSage WORM Details ....................................................................... 347
Determining if the SDLT Drive is DLTSage WORM Capable ......... 348
Determining if the Current Cartridge is a DLTSage WORM........... 348
Converting an SDLT Data Cartridge to DLTSage WORM............... 348
Reading the DLTSage WORM Signature............................................ 349
Understanding Unique Sense Data while Using the
DLTSage WORM Cartridge ..................................................................349
Append/Write Errors While Using a DLTSage WORM
Tape ...................................................................................................349
Errors While Creating a DLTSage WORM Tape ........................ 349
Determining if the Integrity of the DLTSage WORM Cartridge
has been Compromised .........................................................................350
Understanding the Timeout Value for Creating the DLTSage
WORM Cartridge.................................................................................... 350
Responding to DLTSage WORM Sense Data and DLTSage
WORM TapeAlerts .................................................................................351
Failure Modes and Recovery Actions.................................................. 351
DLT-S4 Interface Reference Guide viii

Figures

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
Figure 6
Figure 7 Standard Inquiry Data Page —Data Format ..........................35
Figure 8 Vendor-Specific Inquiry Data Field — Data Format............. 39
Figure 9 Supported Vital Product Data Pages — Data Format........... 41
Figure 10 Unit Serial Number Page — Data Format .............................. 42
Figure 11 Device Identification Page — Data Format ............................ 43
Figure 12 Vendor-Unique Logical Unit Identifier — Data Format ...... 44
Figure 13 Logical Unit NAA Identifier — Data Format......................... 46
Figure 14 Port NAA Identifier — Data Format ....................................... 47
Figure 15 Relative Target Port Identifier — Data Format...................... 48
Figure 16 Sequential-Access Device Capabilities VPD Page —
DLT-S4 Interface Reference Guide ix
ERASE Command Descriptor Block — Data Format............ 33
INQUIRY Command Descriptor Block — Data Format ......... 34
Data Format................................................................................. 49
Figure 17 Manufacturer-Assigned Serial Number Page —
Data Format................................................................................. 50
Figure 18 Firmware Build Information Page — Data Format............... 51
Figure 19 Subsystem Components Revision Page — Data Format ...... 52
Figure 20
LOAD UNLOAD Command Descriptor Block — Data
Format.......................................................................................... 54
Figure 21
Figure 22
Figure 23
Figure 24
Figure 25 General Purpose Non-Volatile
LOCATE Command Descriptor Block — Data Format.......... 56
LOG SELECT Descriptor Block — Data Format..................... 57
LOG SELECT Log Page — Data Format ..................................60
LOG SELECT Log Page — Parameters Format....................... 61
LOG SELECT Page —
Header Format............................................................................ 63
Figure 26 General Purpose Non-Volatile
LOG SELECT Page —
Parameter Format....................................................................... 64
Figure 27 LOG SENSE Command Descriptor Block — Data
Format.......................................................................................... 66
Figure 28 Supported Pages
LOG SENSE Page — Data Format ............. 69
Figure 29 Read / Write Error LOG SENSE Pages — Header
Format.......................................................................................... 70
Figure 30 Log Parameters Format for Read / Write Error
LOG SENSE Page ....................................................................... 70
Figure 31 Last n Error Events
LOG SENSE Page Command
Descriptor Block — Data Format ............................................. 73
Figure 32 Log Parameters Format for Last n Error Events
LOG SENSE Page ........................................................................ 74
Figure 33 Sequential Access Device
LOG SENSE Page Block —
Header Format............................................................................ 75
Figure 34 Log Parameters Format for Sequential Access Device
LOG SENSE Page ........................................................................ 76
Figure 35 Temperature
LOG SENSE Page — Header Format ............... 77
Figure 36 Log Parameters Format for Temperature Page...................... 78
Figure 37 SAS Phy Control and Discover Log Page ............................... 79
Figure 38 SAS Phy Control and Discover Log Page — Parameter
Format.......................................................................................... 80
DLT-S4 Interface Reference Guide x
Figure 39 SAS Phy Log Descriptor ............................................................81
Figure 40 TapeAlert
Figure 41 TapeAlert
Figure 42 Device Wellness
LOG SENSE Page — Header Format ....................84
LOG SENSE Page — Parameters Format.............. 84
LOG SENSE Page — Header Format .........89
Figure 43 Log Parameters Format for Device Wellness LOG
SENSE Page (Parameter Codes 0000h – 000Fh) ..................... 89
Figure 44 General Purpose Non-Volatile
LOG SENSE Page —
Header Format............................................................................ 92
Figure 45 General Purpose Non-Volatile
LOG SENSE Page —
Parameter Format....................................................................... 92
Figure 46 Device Status
Figure 47 Log Parameters Format for Device Status
LOG SENSE Page — Header Format ..............93
LOG SENSE
Page .............................................................................................. 94
Figure 48 Cleaning-Related Log Parameters Format for Device
Status
LOG SENSE Page ............................................................ 96
Figure 49
MODE SELECT (6) Command Descriptor Block —
Data Format................................................................................. 99
Figure 50
MODE SELECT (10) Command Descriptor Block —
Data Format............................................................................... 100
Figure 51
MODE SELECT (6) Mode Parameter List — Data
Format........................................................................................ 101
Figure 52
MODE SELECT (10) Mode Parameter List — Data
Format........................................................................................ 101
Figure 53
MODE SELECT Mode Parameter List — Field
Descriptions............................................................................... 101
Figure 54
MODE SELECT (6) Mode Parameter Header —
Data Format............................................................................... 102
Figure 55
MODE SELECT (10) Mode Parameter Header —
Data Format............................................................................... 102
Figure 56
MODE SELECT Mode Parameter Block Descriptor —
Data Format............................................................................... 104
Figure 57 Read / Write Error Recovery
MODE SELECT Page —
Data Format............................................................................... 105
Figure 58 Parallel SCSI — Disconnect / Reconnect
SELECT
DLT-S4 Interface Reference Guide xi
Page — Data Format................................................. 107
MODE
Figure 59 Fibre Channel — Disconnect / Reconnect MODE
SELECT Page — Data Format................................................. 109
Figure 60 SAS — Disconnect / Reconnect
MODE SELECT Page —
Data Format............................................................................... 111
Figure 61 Control Mode
Figure 62 Data Compression
Figure 63 Device Configuration
MODE SELECT Page — Data Format ........... 113
MODE SELECT Page — Data Format ... 116
MODE SELECT Page — Data
Format........................................................................................ 118
Figure 64 Medium Partition
Figure 65 Parallel SCSI — Logical Unit Control
MODE SELECT Page — Data Format .... 122
MODE SELECT
Page — Data Format ................................................................ 124
Figure 66 Fibre Channel — Logical Unit Control MODE SELECT
Page — Data Format ................................................................ 125
Figure 67 SAS — Logical Unit Control MODE SELECT Page —
Data Format............................................................................... 126
Figure 68 Parallel SCSI — Port Control
MODE SELECT Page —
Data Format............................................................................... 127
Figure 69 Fibre Channel — Port Control
MODE SELECT Page —
Data Format............................................................................... 128
Figure 70 SAS — Port Control MODE SELECT Page — Data
Format........................................................................................ 129
Figure 71 SAS Phy Control and Discover Mode Subpage —
Data Format............................................................................... 131
Figure 72 SAS Phy Mode Descriptor....................................................... 132
Figure 73 Parallel SCSI — SPI Negotiated Settings Mode
Subpage — Data Format .........................................................135
Figure 74 Parallel SCSI — SPI Report Transfer Capabilities Mode
Subpage — Data Format .........................................................137
Figure 75 TapeAlert MODE SELECT Page — Data Format................ 139
Figure 76 Medium Configuration Mode Page....................................... 142
Figure 77 Data Security Mode Page — Data Format............................ 144
Figure 78 EEPROM Mode Page — Data Format................................... 150
Figure 79 EEPROM Mode “Vendor ID” Example — Data Format .... 155
DLT-S4 Interface Reference Guide xii
Figure 80 MODE SENSE (6) Command Descriptor Block —
Data Format............................................................................... 157
Figure 81 MODE SENSE (10) Command Descriptor Block —
Data Format............................................................................... 158
Figure 82 MODE SENSE (6) Data Header — Data Format ................. 160
Figure 83 MODE SENSE (10) Data Header — Data Format ............... 160
Figure 84 MODE SENSE Block Descriptor — Data Format ................ 162
Figure 85 Read / Write Error Recovery MODE SENSE Page —
Data Format............................................................................... 164
Figure 86 Parallel SCSI — Disconnect / Reconnect MODE
SENSE Page — Data Format...................................................165
Figure 87 Fibre Channel — Disconnect / Reconnect MODE
SENSE Page — Data Format...................................................167
Figure 88 SAS — Disconnect / Reconnect MODE SENSE Page —
Data Format............................................................................... 169
Figure 89 Control Mode MODE SENSE Page — Data Format ........... 171
Figure 90 Data Compression MODE SENSE Page — Data Format ... 173
Figure 91 Device Configuration MODE SENSE Page — Data
Format........................................................................................ 176
Figure 92 Medium Partition MODE SENSE Page — Data Format .... 179
Figure 93 Parallel SCSI — Logical Unit Control MODE SENSE
Page — Data Format ................................................................ 181
Figure 94 Fibre Channel — Logical Unit Control MODE SENSE
Page — Data Format ................................................................ 182
Figure 95 SAS — Logical Unit Control MODE SENSE Page —
Data Format............................................................................... 183
Figure 96 Parallel SCSI — Port Control MODE SENSE Page —
Data Format............................................................................... 184
Figure 97 Fibre Channel — Port Control MODE SENSE Page —
Data Format............................................................................... 185
Figure 98 SAS — Port Control MODE SENSE Page — Data
Format........................................................................................ 186
Figure 99 SAS Phy Control and Discover Mode Subpage —
Data Format............................................................................... 188
Figure 100 SAS Phy Mode Descriptor....................................................... 190
DLT-S4 Interface Reference Guide xiii
Figure 101 Parallel SCSI — SPI Negotiated Settings Mode
Subpage — Data Format .........................................................192
Figure 102 Parallel SCSI — SPI Report Transfer Capabilities
Mode Subpage — Data Format .............................................. 194
Figure 103 TapeAlert MODE SENSE Page — Data Format ..................196
Figure 104 TapeAlert MODE SENSE Page — Field Descriptions ........ 197
Figure 105 Medium Configuration Mode Page....................................... 199
Figure 106 Data Security Mode Page — Data Format............................ 201
Figure 107 EEPROM MODE SENSE Page — Data Format ................... 207
Figure 108 PERSISTENT RESERVE IN Command Descriptor
Block—Data Format................................................................. 209
Figure 109 PERSISTENT RESERVE IN Read Keys Parameters —
Data Format............................................................................... 211
Figure 110 PERSISTENT RESERVE IN Read Reservation
Parameters — Data Format..................................................... 212
Figure 111 PERSISTENT RESERVE IN Read Reservation
Descriptor — Data Format...................................................... 214
Figure 112
PERSISTENT RESERVE IN Parameter Data for REPORT
CAPABILITIES—Data Format ............................................... 217
Figure 113
PERSISTENT RESERVATION IN Type Mask — Data
Format........................................................................................ 218
Figure 114
PERSISTENT RESERVE OUT Parameter List — Data
Format........................................................................................ 227
Figure 115
PERSISTENT RESERVE OUT Command with
REGISTER AND MOVE Service Action Parameter
List — Data Format.................................................................. 229
Figure 116
PREVENT / ALLOW MEDIUM REMOVAL Command
Descriptor Block — Data Format ........................................... 232
Figure 117 READ Command Descriptor Block — Data Format........... 233
Figure 118 READ ATTRIBUTE Command Descriptor Block —
Data Format............................................................................... 236
Figure 119
READ ATTRIBUTE with ATTRIBUTE VALUES Service
Action —Parameter List Format ............................................ 239
Figure 120
READ ATTRIBUTE with ATTRIBUTE LIST Service
Action — Parameter List Format ...........................................240
DLT-S4 Interface Reference Guide xiv
Figure 121 READ ATTRIBUTE with VOLUME LIST Service Action —
Parameter List Format............................................................. 241
Figure 122
READ ATTRIBUTE with PARTITION LIST Service
Action — Parameter List Format........................................... 243
Figure 123 EMAM Attribute — Data Format.......................................... 244
Figure 124 DEVICE VENDOR/SERIAL NUMBER Attribute —
Data Format .............................................................................. 248
Figure 125 PARTITION USAGE HISTORY Attribute — Data
Format........................................................................................ 252
Figure 126
READ BLOCK LIMITS Command Descriptor Block —
Data Format .............................................................................. 262
Figure 127
Figure 128
Figure 129
READ BLOCK LIMITS Data—Data Format ............................ 262
READ BLOCK LIMITS Data — Field Descriptions ................ 263
READ BUFFER Command Descriptor Block — Data
Format........................................................................................ 264
Figure 130
Figure 131
READ BUFFER Header — Data Format ................................ 267
READ BUFFER Descriptor — Data Format........................... 268
Figure 132 ECHO BUFFER Descriptor — Data Format......................... 269
Figure 133 ECHO BUFFER Descriptor — Field Descriptions............... 269
Figure 134
READ POSITION Command Descriptor Block —
Data
Format........................................................................................ 270
Figure 135
Figure 136
Figure 137
READ POSITION (Short Form) — Data Format .................... 271
READ POSITION (Long Form) — Data Format..................... 274
RECEIVE DIAGNOSTIC RESULTS Command
Descriptor Block — Data Format........................................... 276
Figure 138
Figure 139
RECEIVE DIAGNOSTIC RESULTS — Data Format................ 277
RELEASE (10) Command Descriptor Block — Data
Format........................................................................................ 278
Figure 140
Figure 141
RELEASE (10) ID Only Parameter List — Data Format...... 279
RELEASE UNIT Command Descriptor Block — Data
Format........................................................................................ 280
DLT-S4 Interface Reference Guide xv
Figure 142 REPORT DENSITY SUPPORT Command Descriptor
Block — Data Format............................................................... 282
Figure 143
REPORT DENSITY SUPPORT Header — Data Format ........ 283
Figure 144 DENSITY SUPPORT Descriptor — Data Format ................ 284
Figure 145 Medium Type Descriptor — Data Format............................ 287
Figure 146
REPORT DEVICE IDENTIFIER Command Descriptor
Block — Data Format............................................................... 289
Figure 147
Figure 148
REPORT DEVICE IDENTIFIER — Data Format ...................... 290
REPORT LUNS Command Descriptor Block — Data
Format........................................................................................ 292
Figure 149 LUN Reporting Parameter List — Data Format .................. 293
Figure 150
REPORT SUPPORTED OPERATION CODES Command
Descriptor Block — Data Format ........................................... 295
Figure 151 All_ commands Parameter Descriptor Block — Data
Format........................................................................................ 297
Figure 152 All_commands Command Descriptor — Data Format ...... 298
Figure 153 One_command Parameter Data — Data Format................. 299
Figure 154
REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS
Command Descriptor Block — Data Format ....................... 301
Figure 155
TASK MANAGEMENT FUNCTIONS Command Parameter
Data — Data Format ................................................................ 302
Figure 156
Figure 157
REPORT TIMESTAMP Command — Data Format ................ 303
REPORT TIMESTAMP Command Parameter Data —
Data Format............................................................................... 304
Figure 158
REQUEST SENSE Command Descriptor Block — Data
Format........................................................................................ 305
Figure 159
Figure 160
REQUEST SENSE—Data Format............................................ 306
RESERVE UNIT Command Descriptor Block — Data
Format........................................................................................ 320
Figure 161
Figure 162
Figure 163
RESERVE UNIT Command Data — Field Descriptions....... 321
REWIND Command Descriptor Block — Data Format........ 322
SEND DIAGNOSTIC Command Descriptor Block —
Data Format............................................................................... 323
DLT-S4 Interface Reference Guide xvi
Figure 164 SET DEVICE IDENTIFIER Command Descriptor
Block — Data Format............................................................... 327
Figure 165
SET DEVICE IDENTIFIER Parameter List — Data Format ... 328
Figure 166
Figure 167
Figure 168
Figure 169
Figure 170
Figure 171
Figure 172
Figure 173
SET TIMESTAMP Command — Data Format........................ 329
SET TIMESTAMP Command Parameter List —
Data Format............................................................................... 330
TEST UNIT READY Command Descriptor Block —
Data Format............................................................................... 333
VERIFY Command Descriptor Block—Data Format ........... 334
WRITE Command Descriptor Block—Data Format............. 335
WRITE ATTRIBUTE — Parameter List Format ...................... 338
WRITE BUFFER Command Descriptor Block —
Data Format............................................................................... 341
WRITE FILEMARKS Command Descriptor Block —
Data Format............................................................................... 344
DLT-S4 Interface Reference Guide xvii

Tables

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...................... 19
Table 7 Supported Extended Link Service Loop Initialization
Commands .................................................................................. 20
Table 8 Supported FC-4 Link Service Commands .............................. 20
Table 9 Supported Name Server Requests ........................................... 20
Table 10 SCSI Commands Supported by DLT-S4 Tape Drives........... 23
Table 11 Status Codes................................................................................ 25
Table 12 Units for Lengths Fields ............................................................ 26
Table 13 Command Contents................................................................... 27
Table 14 Fields Common to Many SCSI Commands ............................ 31
Table 15 ERASE Command Descriptor Block — Field
Descriptions................................................................................. 33
DLT-S4 Interface Reference Guide xviii
Tables
Table 16 INQUIRY Command Descriptor Block — Field
Descriptions................................................................................. 35
Table 17 Standard INQUIRY Data Page — Field Descriptions.............. 36
Table 18 INQUIRY Command Variance by Protocol ........................... 38
Table 19 Vendor-Specific Inquiry Data Page — Field
Descriptions................................................................................. 40
Table 20 Unit Serial Number Page — Field Descriptions ....................42
Table 21 Device Identification Page — Field Descriptions .................. 43
Table 22 Vendor-Unique Logical Unit Identifier — Field
Descriptions................................................................................. 45
Table 23 Logical Unit NAA Identifier — Field Descriptions............... 46
Table 24 Port NAA Identifier — Field Descriptions ............................. 47
Table 25 Relative Target Port Identifier — Field Descriptions............ 48
Table 26 Sequential-Access Device Capabilities VPD Page —
Field Descriptions....................................................................... 49
Table 27 Manufacturer-Assigned Serial Number Page — Field
Descriptions................................................................................. 50
Table 28 Firmware Build Information Page — Field Descriptions..... 51
Table 29 Subsystem Components Revision Page — Field
Descriptions................................................................................. 53
Table 30 LOAD UNLOAD Command Descriptor Block — Field
Descriptions................................................................................. 55
Table 31 HOLD and LOAD — Field Descriptions.................................... 55
Table 32 LOCATE Command Descriptor Block — Field
Descriptions................................................................................. 56
Table 33 LOG SELECT Command Descriptor Block — Field
Descriptions................................................................................. 58
Table 34 LOG SELECT Page-clearing Codes........................................... 59
Table 35 LOG SELECT Log Page Header — Field Descriptions.......... 60
Table 36 LOG SELECT Log Parameters — Field Descriptions............. 61
Table 37 General Purpose Non-Volatile LOG SELECT Header
— Field Descriptions.................................................................. 64
DLT-S4 Interface Reference Guide xix
Tables
Table 38 General Purpose Non-Volatile LOG SELECT Page
— Field Descriptions.................................................................. 65
Table 39 LOG SENSE Command Descriptor Block — Field
Descriptions................................................................................. 67
Table 40 Supported Pages LOG SENSE Page — Field Descriptions ... 69
Table 41 Read / Write Error LOG SENSE Header — Field
Descriptions................................................................................. 70
Table 42 Log Parameters for Read / Write Error LOG SENSE
Page— Field Descriptions .........................................................71
Table 43 Last n Error Events LOG SENSE Header — Field
Descriptions................................................................................. 73
Table 44 Log Parameters for Last n Error Events LOG SENSE
Page — Field Descriptions ........................................................ 74
Table 45 Sequential Access Device LOG SENSE Header — Field
Descriptions................................................................................. 75
Table 46 Sequential Access Device LOG SENSE Page
Parameters — Field Descriptions.............................................76
Table 47 Temperature LOG SENSE Header — Field Descriptions ..... 77
Table 48 Temperature LOG SENSE Parameters.....................................78
Table 49 SAS Phy Control and Discover LOG SENSE Header —
Field Descriptions....................................................................... 79
Table 50 SAS Phy Control and Discover Log Page Subpage —
Field Descriptions....................................................................... 80
Table 51 SAS Phy Log Descriptor — Field Descriptions...................... 82
Table 52 TapeAlert Page LOG SENSE Header — Field
Descriptions................................................................................. 84
Table 53 TapeAlert Page LOG SENSE Parameters — Field
Descriptions................................................................................. 85
Table 54 TapeAlert Flags, Severity Levels, and Meanings —
Field Descriptions....................................................................... 85
Table 55 Device Wellness LOG SENSE Header — Field
Descriptions................................................................................. 89
Table 56 Log Parameters for Device Wellness LOG SENSE Page
— Field Descriptions.................................................................. 90
DLT-S4 Interface Reference Guide xx
Tables
Table 57 General Purpose Non-Volatile LOG SENSE Header
— Field Descriptions.................................................................. 92
Table 58 General Purpose Non-Volatile LOG SENSE Page
— Field Descriptions.................................................................. 93
Table 59 Device Status LOG SENSE Header — Field Descriptions..... 94
Table 60 Log Parameters for Device Status LOG SENSE Page
— Field Descriptions.................................................................. 94
Table 61 Log Parameters for Device Status LOG SENSE Parameter
0001h (Cleaning-Related) — Field Descriptions.................... 97
Table 62 MODE SELECT Operating Parameters Reference................... 98
Table 63 MODE SELECT (6)/(10) Command Descriptor Block
— Field Descriptions................................................................ 100
Table 64 MODE SELECT Mode Parameter Header — Field
Descriptions............................................................................... 103
Table 65 MODE SELECT Mode Parameter Block Descriptor —
Field Descriptions..................................................................... 104
Table 66 Read / Write Error Recovery MODE SELECT Page —
Field Descriptions..................................................................... 106
Table 67 Parallel SCSI — Disconnect / Reconnect MODE
SELECT Page — Field Descriptions.......................................108
Table 68 Fibre Channel — Disconnect / Reconnect MODE
SELECT Page — Field Descriptions.......................................110
Table 69 SAS — Disconnect / Reconnect MODE SELECT
Page — Field Descriptions ...................................................... 112
Table 70 Control Mode MODE SELECT Page — Field
Descriptions............................................................................... 114
Table 71 Data Compression MODE SELECT Page — Field
Descriptions............................................................................... 117
Table 72 Device Configuration MODE SELECT Page — Field
Descriptions............................................................................... 119
Table 73 Medium Partition MODE SELECT Page — Field
Descriptions............................................................................... 122
Table 74 Parallel SCSI — Logical Unit Control MODE SELECT
Page — Field Descriptions ...................................................... 124
DLT-S4 Interface Reference Guide xxi
Tables
Table 75 Fibre Channel — Logical Unit Control MODE
SELECT Page — Field Descriptions ...................................... 125
Table 76 SAS — Logical Unit Control MODE SELECT Page —
Field Descriptions..................................................................... 126
Table 77 Parallel SCSI — Port Control MODE SELECT Page —
Field Descriptions..................................................................... 127
Table 78 Fibre Channel — Port Control MODE SELECT Page
— Field Descriptions................................................................ 128
Table 79 SAS — Port Control MODE SELECT Page — Field
Descriptions............................................................................... 130
Table 80 SAS Phy Control and Discover Mode Subpage —
Field Descriptions..................................................................... 131
Table 81 SAS Phy Mode Descriptor — Field Descriptions ................ 133
Table 82 Parallel SCSI — SPI Negotiated Settings Mode
Subpage — Field Descriptions ............................................... 136
Table 83 Parallel SCSI — SPI Report Transfer Capabilities
Mode Subpage — Field Descriptions .................................... 138
Table 84 TapeAlert MODE SELECT Page — Field
Descriptions............................................................................... 140
Table 85 Medium Configuration Mode Page — Field
Descriptions............................................................................... 143
Table 86 Data Security Mode Page — Field Descriptions.................. 145
Table 87 EEPROM Mode Page — Parameter Descriptions................ 151
Table 88 Changeable Mode Parameters Within MODE SELECT ..... 156
Table 89 MODE SENSE Command Descriptor Block — Field
Descriptions............................................................................... 159
Table 90 MODE SENSE Data Header — Field Descriptions ............. 161
Table 91 MODE SENSE Block Descriptor — Field Descriptions ......162
Table 92 Supported MODE SENSE Block Pages and Page Codes.... 163
Table 93 Read / Write Error Recovery MODE SENSE Page
— Field Descriptions................................................................ 164
Table 94 Parallel SCSI — Disconnect / Reconnect MODE
SENSE Page — Field Descriptions.........................................166
DLT-S4 Interface Reference Guide xxii
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............................................................................... 172
Table 98 Data Compression MODE SENSE Page — Field
Descriptions............................................................................... 174
Table 99 Device Configuration MODE SENSE Page — Field
Descriptions............................................................................... 177
Table 100 Medium Partition MODE SENSE Page — Field
Descriptions............................................................................... 180
Table 101 Parallel SCSI — Logical Unit Control MODE
SENSE Page — Field Descriptions.........................................181
Table 102 Fibre Channel — Logical Unit Control MODE
SENSE Page — Field Descriptions.........................................182
Table 103 SAS — Logical Unit Control MODE SENSE Page
— Field Descriptions................................................................ 183
Tables
Table 104 Parallel SCSI — Port Control MODE SENSE Page
— Field Descriptions................................................................ 184
Table 105 Fibre Channel — Port Control MODE SENSE Page
— Field Descriptions................................................................ 185
Table 106 SAS — Port Control MODE SENSE Page — Field
Descriptions............................................................................... 187
Table 107 SAS Phy Control and Discover Mode Subpage —
Field Descriptions..................................................................... 189
Table 108 SAS Phy Mode Descriptor — Field Descriptions ................ 191
Table 109 Parallel SCSI — SPI Negotiated Settings Mode
Subpage — Field Descriptions ............................................... 193
Table 110 Parallel SCSI — SPI Report Transfer Capabilities
Mode Subpage — Field Descriptions .................................... 195
Table 111 Medium Configuration Mode Page — Field
Descriptions............................................................................... 200
Table 112 Data Security Mode Page — Field Descriptions .................. 202
DLT-S4 Interface Reference Guide xxiii
Tables
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 — Field Descriptions............................................215
Table 118 PERSISTENT RESERVATION IN Type Codes.................... 215
Table 119 PERSISTENT RESERVE IN Parameter Data for
REPORT CAPABILITIES — Field Descriptions .................. 217
Table 120 PERSISTENT RESERVATION IN Type Mask — Field
Descriptions............................................................................... 218
Table 121 PERSISTENT RESERVE OUT Command Descriptor
Block — Data Format............................................................... 220
Table 122 PERSISTENT RESERVE OUT Command — Field
Descriptions............................................................................... 220
Table 123 PERSISTENT RESERVE OUT Command’s Service
Action Descriptions.................................................................. 222
Table 124 PERSISTENT RESERVE OUT Type Codes ............................. 226
Table 125 PERSISTENT RESERVE OUT Parameter List — Field
Descriptions............................................................................... 228
Table 126 DLT-S4 Tape Drive Interpretation of Service and
Scope Value ...............................................................................229
Table 127 PERSISTENT RESERVE OUT Command with
REGISTER AND MOVE Service Action Parameter
List — Field Descriptions........................................................ 231
Table 128 PREVENT / ALLOW MEDIUM REMOVAL Command
Descriptor Block — Field Descriptions ................................. 233
Table 129 READ Command Descriptor Block — Field
Descriptions............................................................................... 234
Table 130 READ ATTRIBUTE Command Descriptor Block
— Field Descriptions................................................................ 237
DLT-S4 Interface Reference Guide xxiv
Tables
Table 131 READ ATTRIBUTE Command Service Action Codes ........... 238
Table 132 READ ATTRIBUTE with ATTRIBUTE VALUES
Service Action Parameter — Field Descriptions.................. 239
Table 133 READ ATTRIBUTE with ATTRIBUTE LIST Service
Action Parameter Data — Field Descriptions ...................... 240
Table 134 READ ATTRIBUTE with VOLUME LIST Service Action
Parameter Data — Field Descriptions................................... 241
Table 135 READ ATTRIBUTE with PARTITION LIST Service
Action Parameter Data — Field Descriptions ...................... 243
Table 136 EMAM Attribute Parameter Data — Field
Descriptions............................................................................... 244
Table 137 EMAM Attribute Formats.......................................................245
Table 138 EMAM Attribute Identifier Range Assignments................. 245
Table 139 Device Type Attributes (for EMAM) Supported
by the DLT-S4 Tape Drive Firmware ....................................246
Table 140 DEVICE VENDOR/SERIAL NUMBER Attribute
Parameter Data — Field Descriptions................................... 248
Table 141 MEDIUM USAGE HISTORY Attribute — Data Format ....249
Table 142 MEDIUM USAGE HISTORY Attribute Parameter
Data — Field Descriptions ......................................................251
Table 143 PARTITION USAGE HISTORY Attribute Parameter
Data — Field Descriptions ......................................................254
Table 144 Medium Type Attributes (for EMAM) Supported
by the DLT-S4 Tape Drive Firmware ....................................256
Table 145 MEDIUM TYPE and MEDIUM TYPE
INFORMATION Attributes....................................................258
Table 146 Host Type Attributes (for MAM) Supported by the
DLT-S4 Tape Drive Firmware ................................................258
Table 147 TEXT LOCALIZATION IDENTIFIER — Attribute
Values......................................................................................... 259
Table 148 READ BUFFER Command Descriptor Block — Field
Descriptions............................................................................... 265
Table 149 READ BUFFER Header — Field Description ........................ 267
DLT-S4 Interface Reference Guide xxv
Tables
Table 150 READ POSITION Command Descriptor Block —
Field Descriptions..................................................................... 271
Table 151 READ POSITION (Short Form) Data — Field
Descriptions............................................................................... 272
Table 152 READ POSITION (Long Form) Data — Field
Descriptions............................................................................... 275
Table 153 RECEIVE DIAGNOSTIC RESULTS Command Data —
Field Descriptions..................................................................... 276
Table 154 RELEASE (10) Command — Field Descriptions .................. 279
Table 155 RELEASE UNIT Command — Field Descriptions ................ 281
Table 156 REPORT DENSITY SUPPORT Command — Field
Descriptions............................................................................... 283
Table 157 REPORT DENSITY SUPPORT Header — Field
Descriptions............................................................................... 284
Table 158 DENSITY SUPPORT Descriptor — Field Descriptions...... 285
Table 159 Medium Type Descriptor — Field Descriptions..................288
Table 160 REPORT DEVICE IDENTIFIER Command Descriptor
Block — Field Descriptions..................................................... 290
Table 161 REPORT DEVICE IDENTIFIER Parameter Data — Field
Descriptions............................................................................... 291
Table 162 REPORT LUNS Command Descriptor Block — Field
Descriptions............................................................................... 293
Table 163 REPORT SUPPORTED OPERATION CODES Command
Descriptor Block — Field Descriptions ................................. 296
Table 164 All_ commands Parameter Data — Field Descriptions...... 297
Table 165 All_commands Command Descriptor — Field
Descriptions............................................................................... 298
Table 166 One_command Parameter Data — Field Descriptions....... 300
Table 167 REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS
Command Descriptor Block — Field Descriptions ............. 301
Table 168 TASK MANAGEMENT FUNCTIONS Command
Parameter Data — Field Descriptions................................... 302
Table 169 REPORT TIMESTAMP Command — Field Descriptions...... 303
DLT-S4 Interface Reference Guide xxvi
Tables
Table 170 REPORT TIMESTAMP Command Parameter Data —
Field Descriptions..................................................................... 304
Table 171 REQUEST SENSE Command Data — Field Descriptions... 305
Table 172 REQUEST SENSE Data — Field Descriptions.......................307
Table 173 Supported Sense Keys for REQUEST SENSE Command.... 309
Table 174 Supported ASC / ASCQ (Hex) for REQUEST SENSE
Command .................................................................................. 310
Table 175 RESERVE (10) Command Descriptor Block — Data
Format........................................................................................ 318
Table 176 RESERVE (10) Command Descriptor Block — Field
Descriptions............................................................................... 319
Table 177 RESERVE (10) ID Only Parameter List — Data Format ...... 320
Table 178 REWIND Command Descriptor Block — Field
Description ................................................................................ 322
Table 179 SEND DIAGNOSTIC Command Data — Field
Descriptions............................................................................... 324
Table 180 SEND DIAGNOSTIC CDB Fields — Selftst, DevOfl,
and UnitOfl................................................................................ 325
Table 181 Sense Keys for SEND DIAGNOSTIC Command..................... 326
Table 182 ASC / ASCQ for SEND DIAGNOSTIC Command................. 326
Table 183 SET DEVICE IDENTIFIER Command Descriptor Block
— Field Descriptions................................................................ 328
Table 184 SET DEVICE IDENTIFIER Parameter List — Field
Description ................................................................................ 328
Table 185 SET TIMESTAMP Command — Field Descriptions.............. 329
Table 186 SET TIMESTAMP Command Parameter List — Field
Descriptions............................................................................... 330
Table 187 SPACE Command Descriptor Block — Data Format .......... 331
Table 188 SPACE Command Data — Field Descriptions ..................... 332
Table 189 VERIFY Command Data — Field Descriptions .................... 334
Table 190 WRITE Command Data — Field Descriptions...................... 336
Table 191 WRITE ATTRIBUTE Command Descriptor Block —
Data Format............................................................................... 337
DLT-S4 Interface Reference Guide xxvii
Tables
Table 192 WRITE ATTRIBUTE Parameter Command Data —
Field Descriptions..................................................................... 338
Table 193 WRITE ATTRIBUTE Command Parameter Data —
Field Descriptions..................................................................... 339
Table 194 WRITE BUFFER Command Descriptor Block —
Field Descriptions..................................................................... 342
Table 195 WRITE FILEMARKS Command — Field Descriptions ......... 345
DLT-S4 Interface Reference Guide xxviii

Preface

This document describes the Parallel SCSI, Fibre Channel, and Serial Attached SCSI (SAS) interfaces for the DLT-S4 tape drive.
Audience This document was written for software engineers developing
application software and hierarchical mass storage software for DLT-S4 tape drives.
It has been designed for use by software engineers who have a basic understanding of SCSI principles and technology.
Purpose This document provides information about:
Parallel SCSI, Fibre Channel, and SAS transport layer information
Task Management by Transport Layer
All supported SCSI commands
DLT-S4 Interface Reference Guide xxix
Preface
Document Organization
0
This document is organized as follows:
Chapter 1,
Introduction, provides an overview of Parallel SCSI, Fibre
Channel, and SAS.
Chapter 2,
Task Management, introduces task management by
function
Chapter 3,
Transport Layer Implementation Details, explains the
details of the transport layer as it relates to the functioning of the DLT-S4 tape drive.
Chapter 4,
SCSI Commands, provides Parallel SCSI, Fibre Channel,
and SAS interface information as it relates to the DLT-S4 tape drive.
Notational Conventions This document uses the following conventions:
Note: Notes emphasize important information related to the main
topic.
Tech T i p : Tech Tips provide technical information which may be
helpful in performing the procedure.
Caution: Cautions indicate potential hazards to equipment and are
included to prevent damage to equipment.
Warning: Warnings indicate potential hazards to personal safety and
are included to prevent injury.
This manual uses the following:
Right side of the tape drive— Refers to the right side as you face the component being described.
Left side of the tape drive — Refers to the left side as you face the component being described.
b — All binary numbers are succeeded by “b.”
h — All hexadecimal numbers are succeeded by “h.”
Error or attention conditions are represented in parenthesis that translate as follows:
DLT-S4 Interface Reference Guide xxx
Loading...
+ 356 hidden pages