Quantum LTO-2 SCSI User Manual

6&6,,QWHUIDFH*XLGH 6&6,,QWHUIDFH*XLGH 6&6,,QWHUIDFH*XLGH
/727DSH'ULYH
/727DSH'ULYH
/72
$
LTO-2 SCSI Interface Guide, 50004524 Rev. A, September 2006, 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 2006 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 the DLTtape logo are registered trademarks of Quantum Corporation in the U.S. and other countries. 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 xix
Chapter 1 SCSI Interface 1
Overview.............................................................................................................1
ANSI Standards ..........................................................................................1
Cabling and Connectors ............................................................................ 2
General Features ......................................................................................... 2
Parallel SCSI Interface ....................................................................................... 2
General Features ......................................................................................... 2
Disconnect/Reconnect Function .............................................................. 3
SCSI Messages............................................................................................. 4
Inbound Messages ...................................................................................... 5
Outbound Messages................................................................................... 6
Extended Messages ....................................................................................8
Parity Errors................................................................................................. 9
Message Exception Handling ................................................................. 12
Standards Conformance.................................................................................. 15
LTO Conformance ........................................................................................... 17
General Behaviors............................................................................................ 17
Reset Condition......................................................................................... 17
Unit Attention Condition ........................................................................ 17
Contingent Allegiance Condition........................................................... 18
LTO-2 SCSI Interface Guide iii
Contents
Buffered Mode........................................................................................... 18
Immediate Commands............................................................................. 18
Residual Length Function........................................................................ 19
Early Warning Function........................................................................... 19
Error Reporting ......................................................................................... 19
Variable and Fixed Mode Recording ..................................................... 20
Library Features........................................................................................21
Chapter 2 SCSI Commands 24
Command Set ...................................................................................................24
Command Descriptor Blocks ......................................................................... 26
Command Descriptor Block Formats .................................................... 26
Operation Code Format ........................................................................... 28
Control Byte Format.................................................................................29
Command Status..............................................................................................30
ERASE Command............................................................................................ 32
Completion Status .................................................................................... 33
INQUIRY Command.......................................................................................36
Standard Inquiry Data Page.................................................................... 38
Supported Vital Product Data (VPD) Page (00h)................................. 42
Unit Serial Number Page (80h)............................................................... 44
Device Identification Page (83h).............................................................45
Drive Component Revision Levels Pages (C0h, C1h) ......................... 48
Drive Component Serial Number Page (C2, C3, C4, C5, C6h)........... 50
Drive Status Page (DFh)...........................................................................52
Drive State Field Values...........................................................................57
Cartridge Type Field Values ................................................................... 58
Command Support Data.......................................................................... 59
Completion Status .................................................................................... 61
LOAD UNLOAD Command..........................................................................62
Medium Position....................................................................................... 63
Medium Loadable Position ..................................................................... 64
Medium Auxiliary Memory Accessible Position................................. 65
Medium Loaded and Ready Position .................................................... 66
Completion Status .................................................................................... 67
LOCATE Command ........................................................................................69
Completion Status .................................................................................... 71
LOG SELECT Command ................................................................................ 73
Log Pages ................................................................................................... 75
Log Parameters .........................................................................................76
Parameter Control Byte............................................................................ 77
LTO-2 SCSI Interface Guide iv
Contents
Supported Log Pages ............................................................................... 78
Maximum Counts ..................................................................................... 79
Completion Status .................................................................................... 80
LOG SENSE Command................................................................................... 81
Page Control Field .................................................................................... 83
The Parameter Pointer Field.................................................................... 84
Supported Log Pages ............................................................................... 84
Log Page Format ....................................................................................... 85
Supported Log Pages Log Page (00h)....................................................88
Write Error Counters Log Page (02h) .................................................... 91
Read Error Counters Log Page (03h) ..................................................... 92
Sequential Access Device Log Page (0Ch) ............................................93
Device Statistics Log Page (14h) .............................................................94
Tape Diagnostic Data Log Page (16h).................................................... 96
Tape Alert Log Page (2Eh).....................................................................100
Tape Usage Log Page (30h) ................................................................... 111
Tape Capacity Log Page (31h) .............................................................. 112
Data Compression Log Page (32h)....................................................... 113
Error Events Log Page (33h).................................................................. 114
Completion Status ..................................................................................118
MODE SELECT Command ..........................................................................119
6-Byte Command Descriptor Block...................................................... 120
10-Byte Command Descriptor Block.................................................... 121
Parameter List ......................................................................................... 122
6-Byte Parameter Header....................................................................... 123
10-Byte Parameter Header.....................................................................124
Parameter List Block Descriptor........................................................... 126
Mode Parameter Pages .......................................................................... 127
Disconnect/Reconnect Mode Page (02h) ............................................128
Control Mode Page (0Ah)...................................................................... 130
Data Compression Control Mode Page (0Fh)..................................... 133
Sequential Access Device Configuration Mode Page (10h).............. 136
Informational Exceptions Mode Page (1Ch)....................................... 140
Drive Capabilities Control Mode Page (21h)...................................... 142
Interface Control Mode Page (22h) ......................................................145
Completion Status ..................................................................................150
MODE SENSE Command............................................................................. 151
6-Byte Command Descriptor Block...................................................... 151
10-Byte Command Descriptor Block.................................................... 153
Mode Sense Data Format....................................................................... 155
6-Byte Mode Parameter Header .......................................................... 156
10-Byte Mode Parameter Header .........................................................157
Block Descriptor...................................................................................... 159
LTO-2 SCSI Interface Guide v
Contents
Mode Parameter Pages .......................................................................... 160
Completion Status ..................................................................................161
PARK UNPARK Command......................................................................... 162
Completion Status ..................................................................................163
PREVENT ALLOW MEDIUM REMOVAL Command............................ 164
Completion Status ..................................................................................166
READ Command ...........................................................................................167
Command Operation .............................................................................170
End of Data (EOD).................................................................................. 170
Filemark (FM)..........................................................................................170
Transfer Length Satisfied ...................................................................... 171
End of Tape (EOT) or End-of-Partition (EOP) ................................... 171
Recoverable Data Error..........................................................................171
Unrecoverable Data Error ..................................................................... 171
Incorrect Length..................................................................................... 172
Fixed Mode Residual Data .................................................................... 173
Variable Mode Residual Data ............................................................... 174
Completion Status ..................................................................................175
READ BLOCK LIMITS Command ............................................................. 177
Returned Data ......................................................................................... 178
Completion Status ..................................................................................179
READ BUFFFER Command.........................................................................180
Read Buffer Header................................................................................182
Read Buffer Descriptor........................................................................... 183
Echo Buffer Descriptor........................................................................... 183
Echo Buffer...............................................................................................184
MAM Page Identification ......................................................................184
Completion Status ..................................................................................186
READ POSITION Command....................................................................... 187
Returned Data ......................................................................................... 189
Completion Status ..................................................................................193
RECEIVE DIAGNOSTIC RESULTS Command ........................................ 194
Returned Data ......................................................................................... 195
Completion Status ..................................................................................200
RELEASE UNIT Command.......................................................................... 201
6-Byte Command Descriptor Block...................................................... 201
10-Byte Command Descriptor Block.................................................... 202
Completion Status ..................................................................................204
REPORT DENSITY SUPPORT Command ................................................. 205
Returned Data ......................................................................................... 206
Report Density Support Data Block Descriptor ................................. 207
Completion Status ..................................................................................210
REPORT LUNS Command........................................................................... 211
LTO-2 SCSI Interface Guide vi
Contents
Returned Data ......................................................................................... 212
Completion Status ..................................................................................214
REQUEST SENSE Command....................................................................... 215
Sense Data Management........................................................................215
Returned Data ......................................................................................... 217
Sense Key Values ....................................................................................222
Additional Sense Codes and Code Qualifiers .................................... 231
Vendor Unique Message Codes ........................................................... 241
Completion Status ..................................................................................242
RESERVE UNIT Command.......................................................................... 243
Completion Status ..................................................................................246
REWIND Command......................................................................................247
Completion Status ..................................................................................249
SEND DIAGNOSTIC Command................................................................250
Diagnostic Pages ..................................................................................... 252
Completion Status ..................................................................................254
SET CAPACITY Command.......................................................................... 256
Completion Status ..................................................................................258
SPACE Command.......................................................................................... 260
Space-By-Count Functions .................................................................... 262
Space-to-EOD Function.......................................................................... 263
Completion Status ..................................................................................263
TEST UNIT READY Command................................................................... 265
Completion Status ..................................................................................266
VERIFY Command ........................................................................................ 268
Command Operation .............................................................................269
Completion Status ..................................................................................270
WRITE Command.......................................................................................... 272
Completion Status ..................................................................................274
WRITE BUFFER Command..........................................................................276
Soft Microcode Download..................................................................... 278
Hard Microcode Download .................................................................. 278
Echo Buffer...............................................................................................279
Write Buffer Data Header...................................................................... 279
Completion Status ..................................................................................280
WRITE FILEMARKS Command.................................................................. 281
Completion Status ..................................................................................282
LTO-2 SCSI Interface Guide vii
Contents
Appendix A Message Codes 284
Index 467
LTO-2 SCSI Interface Guide viii
Tables
Table 1 SCSI Message Codes................................................................................... 4
Table 2 Drive to Host SCSI Messages.................................................................... 5
Table 3 Host to Drive SCSI Messages.................................................................... 6
Table 4 Extended SCSI Messages ...........................................................................8
Table 5 Parity Error Cases ....................................................................................... 9
Table 6 IN Phase During Which ATN is Raised #1........................................... 12
Table 7 IN Phase During Which ATN is Raised #2........................................... 13
Table 8 Exception Actions and Action Codes .................................................... 14
Table 9 SCSI Command Set...................................................................................24
Table 10 SCSI 6-Byte Command Descriptor Block Data Format....................... 27
Table 11 SCSI 10-Byte Command Descriptor Block — Data Format ................ 27
Table 12 Command Descriptor Block — Field Descriptions.............................. 28
Table 13 Operation Code Format — Data Format............................................... 28
Table 14 Operation Code Format—Field Descriptions.......................................28
Table 15 Control Byte Format ................................................................................. 29
Table 16 Control Byte Format —Field Descriptions............................................ 29
Table 17 Status Byte Format....................................................................................30
LTO-2 SCSI Interface Guide ix
Tables
Table 18 Status Byte Field Descriptions ................................................................30
Table 19 Status Codes .............................................................................................. 31
Table 20 ERASE Command Descriptor Block — Data Format.......................... 32
Table 21 ERASE Command Descriptor Block — Field Descriptions................ 32
Table 22 ERASE Command Completion Status................................................... 34
Table 23 INQUIRY Command Descriptor Block — Data Format ..................... 36
Table 24 INQUIRY Command Descriptor Block — Field Descriptions ........... 36
Table 25 Standard Inquiry Data Page — Data Format........................................ 39
Table 26 Standard Inquiry Data Page — Field Descriptions.............................. 40
Table 27 Supported Vital Product Data Inquiry Page — Data Format ............ 42
Table 28 Supported Vital Product Data Inquiry Page —Field Descriptions ... 43
Table 29 Unit Serial Number Page (80h) — Data Format................................... 45
Table 30 Unit Serial Number Page (80h) —Field Descriptions.......................... 45
Table 31 Device Identification Page (83h) — Data Format................................. 46
Table 32 Device Identification Page (83h) — Field Descriptions....................... 46
Table 33 Identification Descriptor — Data Format.............................................. 47
Table 34 Identification Descriptor — Field Descriptions....................................47
Table 35 Drive Component Revision Levels Pages (C0h, C1h) — Data
Format ........................................................................................................ 48
Table 36 Drive Component Revision Levels Pages (C0h, C1h) — Field
Descriptions............................................................................................... 49
Table 37 Drive Component Serial Number Page (C2, C3, C4, C5, C6h)
— Data Format .......................................................................................... 50
Table 38 Drive Component Serial Number Page (C2, C3, C4, C5, C6h)
—Field Descriptions................................................................................. 50
Table 39 Drive Status Page (DFh) — Data Format .............................................. 52
Table 40 Drive Status Page (DFh) — Field Descriptions ....................................53
Table 41 Drive State Field Values........................................................................... 57
Table 42 Cartridge Type Field Values ...................................................................58
Table 43 Command Support Data — Data Format .............................................59
LTO-2 SCSI Interface Guide x
Tables
Table 44 Command Support Data — Field Descriptions ................................... 59
Table 45 INQUIRY Command Completion Status.............................................. 61
Table 46 LOAD UNLOAD Command Descriptor Block — Data Format........ 62
Table 47 LOAD UNLOAD Command Descriptor Block — Field
Descriptions............................................................................................... 62
Table 48 Medium Loadable Position ..................................................................... 64
Table 49 Medium Auxiliary Memory Accessible Position ................................. 65
Table 50 Medium Loaded and Ready Position .................................................... 66
Table 51 LOAD UNLOAD Command Completion Status.................................67
Table 52 LOCATE Command Descriptor Block — Data Format ......................69
Table 53 LOCATE Command Descriptor Block — Field Descriptions ............ 70
Table 54 LOCATE Command Completion Status ...............................................71
Table 55 LOG SELECT Command Descriptor Block — Data Format .............. 73
Table 56 LOG SELECT Command Descriptor Block — Field Descriptions .... 74
Table 57 Log Page Header — Data Format .......................................................... 75
Table 58 Log Page Header — Field Descriptions ................................................ 76
Table 59 Log Parameter — Data Format............................................................... 76
Table 60 Log Parameter — Field Descriptions.....................................................77
Table 61 Supported Log Pages ............................................................................... 78
Table 62 LOG SELECT Command Completion Status ....................................... 80
Table 63 LOG SENSE Command Descriptor Block — Data Format................. 81
Table 64 LOG SENSE Command Descriptor Block — Field Descriptions....... 82
Table 65 Supported Log Pages ............................................................................... 84
Table 66 Log Page Header — Data Format .......................................................... 85
Table 67 Log Page Header — Field Descriptions ................................................ 86
Table 68 Log Parameter — Data Format............................................................... 86
Table 69 Log Parameter — Field Descriptions.....................................................87
Table 70 Supported Log Pages Log Page (00h) — Data Format........................ 88
Table 71 Supported Log Pages Log Page (00h) — Field Descriptions.............. 89
LTO-2 SCSI Interface Guide xi
Tables
Table 72 Write Error Counters Log Page (02h) Page and Parameter
Descriptions............................................................................................... 91
Table 73 Read Error Counters Log Page (03h) Page and Parameter
Descriptions............................................................................................... 92
Table 74 Sequential Access Device Log Page (0Ch) Page and Parameter
Descriptions............................................................................................... 93
Table 75 Device Statistics Log Page (14h) Page and Parameter
Descriptions............................................................................................... 94
Table 76 Device Statistics Log Page (14h) Parameter Code................................ 95
Table 77 Tape Diagnostic Data Log Page (16h) — Page Descriptions.............. 96
Table 78 Tape Diagnostic Data Log Page (16h) Parameter Header .................. 97
Table 79 Tape Diagnostic Data Log Page (16h) Parameter Header — Field
Descriptions............................................................................................... 98
Table 80 Tape Alert Log Page (2Eh) Page Information..................................... 100
Table 81 Supported TapeAlert Flags ................................................................... 101
Table 82 Drive Conditions Setting/Clearing TapeAlert Flags ........................105
Table 83 Media Error to TapeAlert Correlation................................................. 108
Table 84 Table Heading Descriptions and Abbreviations................................ 110
Table 85 Tape Usage Log Page (30h) — Page and Parameter
Descriptions............................................................................................. 111
Table 86 Tape Capacity Log Page (31h) — Page and Parameter
Descriptions............................................................................................. 112
Table 87 Compression Log Page (32h) — Page and Parameter
Descriptions............................................................................................. 113
Table 88 Error Events Log Page (33h) — Page Description .............................114
Table 89 Error Events Log Page (33h) — Parameter Header — Data
Format ...................................................................................................... 115
Table 90 Error Events Log Page (33h) — Parameter Header — Field
Descriptions............................................................................................. 116
Table 91 LOG SENSE Command Completion Status........................................ 118
Table 92 MODE SELECT 6-Byte Command Descriptor Block — Data
Format ...................................................................................................... 120
Table 93 MODE SELECT 6-Byte Command Descriptor Block — Field
LTO-2 SCSI Interface Guide xii
Descriptions............................................................................................. 120
Table 94 MODE SELECT 10-Byte Command Descriptor Block — Data
Format ...................................................................................................... 121
Table 95 MODE SELECT 10-Byte Command Descriptor Block — Field
Descriptions............................................................................................. 122
Table 96 MODE SELECT 6-Byte CDB Mode Parameter Header — Data
Format ...................................................................................................... 123
Table 97 MODE SELECT 6-Byte CDB Mode Parameter Header — Field
Descriptions............................................................................................. 123
Table 98 MODE SELECT 10-Byte CDB Mode Parameter Header — Data
Format ...................................................................................................... 124
Table 99 MODE SELECT 10-Byte CDB Mode Parameter Header — Field
Descriptions............................................................................................. 125
Table 100 MODE SELECT Parameter List Block Descriptor — Data
Format ...................................................................................................... 126
Table 101 MODE SELECT Parameter List Block Descriptor — Field
Descriptions............................................................................................. 126
Tables
Table 102 Mode Parameter Pages ..........................................................................127
Table 103 Mode Parameter Page — Data Format................................................ 127
Table 104 Mode Parameter Page Field Descriptions........................................... 128
Table 105 Disconnect/Reconnect Mode Page (02h) — Data Format................ 129
Table 106 Disconnect/Reconnect Mode Page (02h) — Field Descriptions...... 130
Table 107 Control Mode Page (0Ah) — Data Format .........................................131
Table 108 Control Mode Page (0Ah) —Field Descriptions ................................ 131
Table 109 Data Compression Control Mode Page (0Fh) — Data Format ........ 133
Table 110 Data Compression Control Mode Page (0Fh) — Field
Descriptions............................................................................................. 134
Table 111 Sequential Access Device Configuration Mode Page (10h)
— Data Format ........................................................................................ 136
Table 112 Sequential Access Device Configuration Mode Page (10h)
— Field Descriptions .............................................................................. 137
Table 113 Informational Exceptions Mode Page (1Ch) — Data Format........... 140
Table 114 Informational Exceptions Mode Page (1Ch) —Field
LTO-2 SCSI Interface Guide xiii
Tables
Descriptions............................................................................................. 140
Table 115 Drive Capabilities Control Mode Page (21h) — Data Format.......... 143
Table 116 Drive Capabilities Control Mode Page (21h) — Field
Descriptions............................................................................................. 143
Table 117 Interface Control Mode Page (22h) — Data Format.......................... 146
Table 118 Interface Control Mode Page (22h) — Field Descriptions................ 147
Table 119 MODE SELECT Command Completion Status ................................. 150
Table 120 MODE SENSE Command 6-Byte Command Descriptor Block
— Data Format ........................................................................................ 151
Table 121 MODE SENSE Command 6-Byte Command Descriptor Block
— Field Descriptions .............................................................................. 152
Table 122 MODE SENSE Command 10-Byte Command Descriptor Block
— Data Format ........................................................................................ 153
Table 123 MODE SENSE Command 10-Byte Command Descriptor Block
— Field Descriptions .............................................................................. 154
Table 124 6-Byte CDB Mode Parameter Header — Data Format...................... 156
Table 125 6-Byte CDB Mode Parameter Header — Field Descriptions............ 156
Table 126 10-Byte CDB Mode Parameter Header — Data Format.................... 157
Table 127 10-Byte CDB Mode Parameter Header — Field Descriptions.......... 158
Table 128 Block Descriptor — Data Format.......................................................... 159
Table 129 Block Descriptor — Field Descriptions................................................ 159
Table 130 Mode Parameter Pages ..........................................................................160
Table 131 MODE SENSE Command Completion Status.................................... 161
Table 132 PARK UNPARK Command Descriptor Block — Data Format....... 162
Table 133 PARK UNPARK Command — Field Descriptions............................ 162
Table 134 PARK UNPARK Command Completion Status................................163
Table 135 PREVENT ALLOW MEDIUM REMOVAL Command
Descriptor Block — Data Format..........................................................164
Table 136 PREVENT ALLOW MEDIUM REMOVAL Command
Descriptor Block — Field Descriptions................................................ 165
Table 137 PREVENT ALLOW MEDIUM REMOVAL — Completion
Status ........................................................................................................ 166
LTO-2 SCSI Interface Guide xiv
Tables
Table 138 READ Command Descriptor Block — Data Format ......................... 168
Table 139 READ Command Descriptor Block — Field Descriptions ...............168
Table 140 READ Command —Completion Status .............................................. 175
Table 141 READ BLOCK LIMITS Command Descriptor Block — Data
Format ...................................................................................................... 177
Table 142 READ BLOCK LIMITS Command —Field Descriptions.................. 177
Table 143 READ BLOCK LIMITS Returned Data — Data Format ...................178
Table 144 READ BLOCK LIMITS Returned Data — Field Descriptions ......... 178
Table 145 READ BLOCK LIMITS Command Completion Status..................... 179
Table 146 READ BUFFER Command Descriptor Block — Data Format ......... 180
Table 147 READ BUFFER Command Descriptor Block — Field
Descriptions............................................................................................. 180
Table 148 READ BUFFER Header Descriptor — Data Format.......................... 182
Table 149 READ BUFFER Header Descriptor — Field Descriptions................ 182
Table 150 READ BUFFER Descriptor — Data Format........................................ 183
Table 151 READ BUFFER Descriptor — Field Descriptions.............................. 183
Table 152 Echo Buffer Descriptor — Data Format............................................... 183
Table 153 Echo Buffer Descriptor — Field Descriptions..................................... 184
Table 154 MAM Page Identification ......................................................................185
Table 155 READ BUFFER Completion Status......................................................186
Table 156 READ POSITION Command Descriptor Block —Data Format..... 187
Table 157 READ POSITION Command Descriptor Block —Field
Descriptions............................................................................................. 187
Table 158 Read Position Data — Long and TCLP Bits Set To 0 — Data
Format ...................................................................................................... 189
Table 159 READ POSITION Data — Long and TCLP Bits Set To 0
— Field Descriptions .............................................................................. 190
Table 160 READ POSITION Data — Long and TCLP Bits Set To 1
— Data Format ........................................................................................ 191
Table 161 READ POSITION Data — Long and TCLP Bits Set To 1
— Field Descriptions .............................................................................. 192
LTO-2 SCSI Interface Guide xv
Tables
Table 162 READ POSITION Completion Status.................................................. 193
Table 163 RECEIVE DIAGNISTOC RESULTS Command Descriptor
Block — Data Format ............................................................................. 194
Table 164 RECEIVE DIAGNISTOC RESULTS Command Descriptor
Block — Field Descriptions....................................................................194
Table 165 Returned Data Format If PCV Is Not Set ............................................196
Table 166 Field Descriptions If PCV Is Not Set....................................................196
Table 167 Returned Data If PCV Set ...................................................................... 197
Table 168 Returned Data If PCV Set, Page Code = 81h ...................................... 197
Table 169 Field Descriptions — PCV Not Set....................................................... 198
Table 170 RECEIVE DIAGNISTIC RESULTS Completion Status ..................... 200
Table 171 RELEASE UNIT 6-Byte Command Descriptor Block — Data
Format ...................................................................................................... 201
Table 172 RELEASE UNIT 6-Byte Command — Field Descriptions................ 202
Table 173 RELEASE UNIT 10-Byte Command Descriptor Block —
Data Format .............................................................................................202
Table 174 RELEASE UNIT 10-Byte Command — Field Descriptions.............. 203
Table 175 RELEASE UNIT COMMAND — Completion Status ....................... 204
Table 176 REPORT DENSITY SUPPORT Command Descriptor Block
— Data Format ........................................................................................ 205
Table 177 REPORT DENSITY SUPPORT Command Descriptor Block
— Field Descriptions .............................................................................. 205
Table 178 REPORT DENSITY SUPPORT Header — Data Format ...................206
Table 179 REPORT DENSITY SUPPORT Header — Field Descriptions ......... 206
Table 180 REPORT DENSITY SUPPORT Data Block Descriptor
— Data Format ........................................................................................ 207
Table 181 REPORT DENSITY SUPPORT Data Block Descriptor – Field
Descriptions............................................................................................. 208
Table 182 REPORT DENSITY SUPPORT Completion Status............................ 210
Table 183 REPORT LUNS Command Descriptor Block — Data Format......... 211
Table 184 REPORT LUNS Command Descriptor Block — Field
Descriptions............................................................................................. 212
LTO-2 SCSI Interface Guide xvi
Tables
Table 185 REPORT LUNS Header Data — Data Format....................................212
Table 186 REPORT LUNS Header Data — Field Descriptions.......................... 213
Table 187 REPORT LUNS Completion Status...................................................... 214
Table 188 REQUEST SENSE Command Descriptor Block — Data Format..... 216
Table 189 REQUEST SENSE Command Descriptor Block — Field
Descriptions............................................................................................. 216
Table 190 Returned Sense Data — Data Format..................................................217
Table 191 Returned Sense Data — Field Descriptions........................................ 218
Table 192 Sense Key Values ....................................................................................222
Table 193 Additional Sense Codes and Code Qualifiers .................................... 231
Table 194 REQUEST SENSE Command Completion Status.............................. 242
Table 195 RESERVE UNIT 6-Byte Command Descriptor Block — Data
Format ...................................................................................................... 243
Table 196 RESERVE UNIT 6-Byte Command Descriptor Block — Field
Descriptions............................................................................................. 244
Table 197 RESERVE UNIT 10-Byte Command Descriptor Block — Data
Format ...................................................................................................... 244
Table 198 RESERVE UNIT 10-Byte Command Descriptor Block — Field
Descriptions............................................................................................. 245
Table 199 RESERVE UNIT Completion Status..................................................... 246
Table 200 REWIND Command DesMcriptor Block — Data Format................ 247
Table 201 REWIND Command Descriptor Block — Field Descriptions.......... 248
Table 202 REWIND Command Completion Status.............................................249
Table 203 SEND DIAGNOSTIC Command Descriptor Block — Data
Format ...................................................................................................... 250
Table 204 SEND DIAGNOSTIC Command Descriptor Block — Field
Descriptions............................................................................................. 251
Table 205 Diagnostic Page Format.........................................................................252
Table 206 Supported Diagnostic Pages ................................................................. 252
Table 207 Memory Test Pattern Diagnostic Page — Data Format ....................253
Table 208 Memory Test Pattern Diagnostic Page — Field Descriptions .......... 253
LTO-2 SCSI Interface Guide xvii
Tables
Table 209 SEND DIAGNOSTIC Command Completion Status........................ 254
Table 210 SET CAPACITY Command Descriptor Block — Data Format........ 256
Table 211 SET CAPACITY Command Descriptor Block — Field
Descriptions............................................................................................. 257
Table 212 SET CAPACITY Command Completion Status................................. 258
Table 213 SPACE Command Descriptor Block — Data Format........................ 260
Table 214 SPACE Command Descriptor Block — Field Descriptions.............. 261
Table 215 SPACE Command Completion Status................................................. 263
Table 216 TEST UNIT READY Command Descriptor Block — Data
Format ...................................................................................................... 265
Table 217 TEST UNIT READY Command Descriptor Block Field
Descriptions............................................................................................. 266
Table 218 TEST UNIT READY Completion Status..............................................266
Table 219 VERIFY Command Descriptor Block — Data Format ...................... 268
Table 220 VERIFY Command Descriptor Block — Field Descriptions ............ 269
Table 221 VERIFY Command Completion Status ............................................... 270
Table 222 WRITE Command Descriptor Block — Data Format........................272
Table 223 WRITE Command Descriptor Block — Field Descriptions.............. 272
Table 224 WRITE Command Completion Status.................................................274
Table 225 WRITE BUFFER Command Descriptor Block — Data Format........ 276
Table 226 WRITE BUFFER Command Descriptor Block — Field
Descriptions............................................................................................. 276
Table 227 Write Buffer Data Header — Data Format ......................................... 279
Table 228 Write Buffer Data Header — Field Descriptions ............................... 279
Table 229 WRITE BUFFER Completion Status .................................................... 280
Table 230 WRITE FILEMARKS Command Descriptor Block — Data
Format ...................................................................................................... 281
Table 231 WRITE FILEMARKS Command Descriptor Block — Field
Descriptions............................................................................................. 281
Table 232 WRITE FILEMARKS Completion Status ............................................ 282
LTO-2 SCSI Interface Guide xviii
Preface
This document describes the SCSI interfaces for the LTO-2 tape drive.
Audience This guide is designed for use by software engineers who have a basic
understanding of SCSI principles and technology.
Purpose This manual describes the SCSI specifications for the LTO-2 tape drive.
For drive-specific installation and operational information, including connector information, refer to the Installation Guide or Product Manual for the specific model of your drive.
Document Organization
LTO-2 SCSI Interface Guide xix
This guide is organized as follows:
Chapter 1, SCSI Interface relates to drive function.
Chapter 2, SCSI Commands manual along with their operation codes. It also describes the format of Command Descriptor Blocks, Operation Codes, the Control Byte, and the Status Byte. It describes in detail all the SCSI commands
discusses SCSI interface operation as it
, lists the SCSI Commands detailed in this
supported by the LTO-2 tape drive. Each command is described, its Command Descriptor Block (CDB) is illustrated, and the Completion Status is given.
Appendix A, Message Codes
This guide concludes with an index.
Preface
Conventions Used In This Manual
0
This manual uses the following conventions:
•Notes:
Note: Notes emphasize important information related to the
main topic.
• All binary numbers are succeeded by “b”
• All hexadecimal numbers are succeeded by “h”
• Error or attention conditions are represented in parenthesis that translate as follows:
(SK=S ASC=AA ASCQ=QQ)
where:
S = hexadecimal sense key value AA = hexadecimal additional sense code QQ = hexadecimal additional sense code qualifier
LTO-2 SCSI Interface Guide xx
Preface
Related Documents
Manuals associated withthe LTO-2 tape drive:
Document Number Title Description
81-81382-01 LTO-2HH Tape
Drive User’s Guide
Provides specifications, installation instructions, and troubleshooting information for the LTO­2HH tape drive.
81-81389-01 LTO-2HH Tape
Drive Installation Guide
50001007 LTO-1/LTO-2 Tape
Drives User Guide
Provides installation instructions for the LTO­2HH tape drive.
Provides specifications, installation instructions, and troubleshooting information for the LTO-1 and LTO-2 tape drives.
6464215-01 Installing a DLT,
SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating
Provides instructions on how to integrate specific tape drives into a Linux system.
System
Available on the Downloads page for LTO-2 tape drives on
www.quantum.com
Install Guide Addendum — Manually Removing an LTO Cartridge
Provides instructions on how to manually remove an LTO cartridge from a Quantum tape drive.
SCSI-2 Specification
The SCSI-2 specification is the American National Standard for information systems, dated March 9, 1990. Copies may be obtained from:
Global Engineering Documents 15 Inverness Way, East Englewood, CO 80112 (800) 854-7179 or (303) 397-2740
LTO-2 SCSI Interface Guide xxi
0
Contacts Quantum company contacts are listed below.
Preface
Quantum Corporate Headquarters
To order documentation on the LTO-2 or other products contact:
Quantum Corporation P.O. Box 57100 Irvine, CA 92619-7100 (949) 856-7800 (800) 284-5101
Technical Publications
To comment on existing documentation send e-mail to:
doc-comments@quantum.com
Quantum Home Page 0
Visit the Quantum home page at:
Visit the Quantum home page at:
http://www.quantum.com
0
0
Customer Support 0
The Quantum Customer Support Department provides a 24-hour help desk that can be reached at:
North/South America: (949) 725-2100 or (800) 284-5101 Asia/Pacific Rim:
APAC Headquarters: (International Code) + 65 6334 0660 Specific countries: www.quantum.com/ServiceandSupport/
ContactServiceandSupport/DLTSupportAPAC// Index.aspx
Europe/Middle East/Africa: (International Code) + 44 1256 848 766
LTO-2 SCSI Interface Guide xxii
Send faxes for the Customer Support Department to:
North/South America: (949) 725-2176 Asia/Pacific Rim: (International Code) + 65 6432 2830 Europe/Middle East/Africa: (International Code) + 44 1256 848 777
Send e-mail for the Customer Support Department to:
North/South America: http://www.quantum.com/am/service_support/
Index.aspx
Asia/Pacific Rim: apachelp@quantum.com Europe/Middle East/Africa: eurohelp@quantum.com
Preface
LTO-2 SCSI Interface Guide xxiii
Preface
LTO-2 SCSI Interface Guide xxiv
Chapter 1

1SCSI Interface

Quantum LTO drives are designed for computer environments requiring high performance, ultra-high capacity data storage. The drives are available in 5.25-inch internal configurations or as an external subsystem.
Quantum LTO drives contain an embedded Small Computer Systems Interface (SCSI) controller. The parallel SCSI drives provide synchronous or asynchronous SCSI with high speed burst transfers of up to 160 megabytes/second. The internal drives are tailored for easy installation in today's computers and the full-featured embedded controller facilitates easy integration into a variety of systems.
This chapter discusses interface operation as it pertains to drive functions.

Overview 1

ANSI Standards 1 SCSI is a set of standard interfaces established to support peripheral

equipment such as printers, tape drives, magnetic disks, optical disks for microcomputers and other computer systems. The Parallel SCSI bus can support up to sixteen devices consisting of any multiple of host adapters and peripheral devices.
LTO-2 SCSI Interface Guide 1
Chapter 1 SCSI Interface

Parallel SCSI Interface

Quantum LTO drives comply with SCSI-2 and SCSI-3 specifications. In a few cases, vendor unique features are available. These features are compatible with the SCSI standards.
LTO drives support LUN 0 in stand-alone mode and can support LUN 1 when installed in a media changer (tape autoloader or library).
In addition to the information presented in this manual, we recommend that you review the applicable SCSI-3 standards before writing host software drivers. Also, see the conformance statements, which are given in the Product Description Manual for each model of LTO drive.

Cabling and Connectors 1 The cabling requirements and pin assignments for the SCSI connector for

the internal drive models are given in the respective installation guide and product manual for each model of LTO drive.

General Features 1 The LTO tape drive supports the following:

• Operation in both single and multi-initiator systems
• Fixed and variable block transfer lengths
• Space blocks, filemarks, and EOD
LOG SENSE and LOG SELECT for managing soft error reporting
• Multiple LUN support for command forwarding of LUN 1 command to libraries
• Multiple Initiator support
Parallel SCSI Interface 1

General Features 1 The LTO tape drive supports the following:

• Integrated single-ended and low voltage differential SCSI transceivers
• ST data transfers with parity protection running a max rate of 80Mbytes/sec
LTO-2 SCSI Interface Guide 2
Chapter 1 SCSI Interface
Parallel SCSI Interface
• DT data transfers with CRC protection running a max rate of 160Mbytes/sec
• 16 bit SCSI arbitration
• Disconnect/reconnect
•Hard reset

Disconnect/Reconnect Function

When the drive is performing a task not requiring communication with the Initiator or when the tape drive determines that a relatively long time
1
has passed with no bus activity, it disconnects from the SCSI bus. Examples are:
• When rewinding the tape.
• When writing to the tape and the buffer is full.
• When reading from the tape and the buffer is empty.
• When spacing, locating, or generally performing any tape motion when data cannot be transferred on the SCSI bus.
During the time the Target is disconnected for one of these functions, the bus is free for use by other devices. Both disconnect and reconnect are initiated by the Target.
If the tape drive is selected while disconnected, it only allows the following actions:
• If the command is from a different initiator or is from the same initiator but to a different LUN, the tape drive accepts the command and immediately disconnects if the command is a media-access command. If the new command is a
TEST UNIT READY, then the new command is executed immediately.
REQUEST SENSE, INQUIRY or
• Immediately following the selection, the Initiator may send the Identify, No Op, Abort, or Bus Device Reset messages to the drive.
• If the command is from the same initiator to the same LUN, the current command terminates with a Check Condition and an Abort Sense Key.
LTO-2 SCSI Interface Guide 3
Chapter 1 SCSI Interface
Parallel SCSI Interface

SCSI Messages 1 The SCSI message codes, descriptions, and directions are given in the

following table. Each of these SCSI messages are supported by the Quantum LTO drive.
Table 1 SCSI Message Codes
Code Description Direction
00h Command Complete In
01h Extended Message
b
a
In/Out
c
02h Save Data Pointer In
03h Restore Pointers In
04h Disconnect In
05h Initiator Detected Error Out
06h Abort Out
07h Message Reject In/Out
08h No Operation Out
09h Message Parity Error Out
0Ch Bus Device Reset Out
23h Ignore Wide Residue In
80h+ Identify In/Out
a. In = Drive to host. b. Only three extended messages are supported: Parallel Protocol Request, Synchronous Data Transfer Request, and Wide Data Transfer Request. c. Out = Host to drive.
LTO-2 SCSI Interface Guide 4
Chapter 1 SCSI Interface
Parallel SCSI Interface

Inbound Messages 1 Table 2 lists drive-to-host SCSI messages and their definitions.

Table 2 Drive to Host SCSI Messages
Hex
Message
Command Complete
Code Definition
00h This message is sent by the drive at the end
of the status phase to indicate that a command is complete. Once the message is sent, the drive releases the bus and goes to Bus Free
Disconnect 04h This message is sent by the drive to indicate
that it is about to disconnect from the bus and go to Bus Free. During a Data phase, it is always preceded by a Save Data Pointers message. If a Message Reject message is received in response to this message, then the disconnect is prevented.
Extended
01h See Extended Messages
on page 8.
Message
Identify 80h+ An Identify in message is sent to the initiator
during reconnect to indicate which Logical Unit is reconnecting. The Disconnect Privilege and LUNTAR flags will both be clear
Ignore Wide Residue
23h This message is sent by the drive to the
initiator to indicate that a byte on a wide bus is not valid. This will be supported whenever a wide transfer is active.
Message Reject
07h This message is sent to the initiator when the
message received by the drive is unsupported or inappropriate.
LTO-2 SCSI Interface Guide 5
Message
Chapter 1 SCSI Interface
Parallel SCSI Interface
Hex
Code Definition
Restore Pointers
03h This message causes the initiator to reset its
data transfer pointers to the values they held when the last Save Data Pointers message was sent. It will be sent when a parity error is detected on the bus or when an Initiator Detected Error message is received in order to retry the data phase.
Save Data Pointer
02h This message instructs the initiator to save
its current data transfer pointer for use with a subsequent Restore pointers message. This message will always be sent before a Disconnect message during data phases.

Outbound Messages 1 Table 3 lists host-to-drive SCSI messages and their definitions.

Table 3 Host to Drive SCSI Messages
Message
Hex
Code Definition
Abort 06h An abort condition is generated. See
Message Exception Handling
on page 12.
Bus Device Reset
Extended
0Ch A reset condition is generated. See Message
Exception Handling on page 12.
01h See Extended Messages
on page 8.
Message
Identify 80h+ The Identify Out message is sent by the
initiator to identify the Logical Unit to be accessed and to set Disconnect Privilege. The LUNTAR flag must be zero.
The Identify Out message must be sent as the first thing after selection. If it is sent at any other time, the drive will respond with a message reject message and go to Bus Free.
LTO-2 SCSI Interface Guide 6
Loading...
+ 464 hidden pages