Quantum SDLT 600, 1200 Series DAT Autochanger User's Guide

$
6'/7
,QWHUIDFH*XLGH,QWHUIDFH*XLGH,QWHUIDFH*XLGH
6&6,
6&6,
SDLT 600 Fibre Channel Interface Guide, 81-81200-02 A01, December 2007, 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, DLT, DLTtape, the Quantum logo, and DLTtape logo are all registered trademarks of Quantum Corporation. SDLT and Super DLTtape are trademarks of Quantum Corporation.
Other trademarks may be mentioned herein which belong to other companies.
SDLT 600 SCSI Interface Guide Table of Contents
81-81200-02
REV A01

Ta b l e o f C o n t e n t s

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Purpose and Scope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Referenced Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Structure of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
For More Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Reader Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
2 SCSI Parallel Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Background Information About SCSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Information Transfer Phases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
SCSI Bus Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Attention Condition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Reset Condition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
3 SCSI Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Message Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Supported SCSI Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
ABORT TASK SET (06h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
TARGET RESET (0Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
TASK COMPLETE (00h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
DISCONNECT (04h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
IDENTIFY (80h - FFh). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
IGNORE WIDE RESIDUE (23h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
INITIATOR DETECTED ERROR (05h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
LOGICAL UNIT RESET (17h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
81-81200-02 REV A01 January 2005 v
Table of Contents SDLT 600 SCSI Interface Guide
MESSAGE PARITY ERROR (09h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
MESSAGE REJECT (07h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
NO OPERATION (08h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
PARALLEL PROTOCOL REQUEST (extended message 04h) . . . . . . . . . . . . . . . . . . . . . . . 3-10
RESTORE POINTERS (03h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
SAVE DATA POINTER (02h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
SYNCHRONOUS DATA TRANSFER REQUEST (extended message 01h) . . . . . . . . . . . . . 3-12
WIDE DATA TRANSFER REQUEST (extended message 03h). . . . . . . . . . . . . . . . . . . . . . . 3-14
4 SCSI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Overview of SCSI Command and Status Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Status and Error Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
DATA Phase Command Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Unit Attention Condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Behavior at Power-On. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Data Cache and Tape Write Interaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
SCSI Command Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
ERASE Command (19h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
INQUIRY Command (12h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Standard Inquiry Data Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Vendor Specific Inquiry Data Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17
Vital Product Data Pages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-19
Supported Vital Product Data Page (00h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-19
Unit Serial Number Page (80h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20
Device Identification Page (83h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
Firmware Build Information Page (C0h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25
Subsystem Components Revision Page (C1h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-26
LOAD UNLOAD Command (1Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28
LOCATE Command (2Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-30
LOG SELECT Command (4Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-31
Overview: LOG SELECT Command Descriptor Block Errors . . . . . . . . . . . . . . . . . . . . . . . . 4-33
Operation of LOG SELECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-33
LOG SELECT Log Page Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-34
Error Detection Summary in LOG SELECT Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-38
LOG SENSE Command (4Dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-39
Error Summary in LOG SENSE Command Descriptor Block . . . . . . . . . . . . . . . . . . . . . . . . . 4-41
Supported Pages Log Page (Page 00h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-42
Read (Page 03h) / Write (Page 02h) Error Log Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-43
LAST n ERROR EVENTS Log Page (07h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-47
vi January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Table of Contents
Sequential Access Device Log Page (0Ch). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-49
Temperature Log Page (0Dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-51
TapeAlert Log Page (2Eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-53
Read / Write Compression Log Page (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-57
Device Wellness Log Page (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-61
Device Status Log Page (3Eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-64
MODE SELECT (6) / (10) Command (15h / 55h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-67
Mode Parameter List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-69
Mode Parameter Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-71
Mode Parameter Block Descriptor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-73
Mode Page Descriptor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-75
Read / Write Error Recovery Page (01h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-76
Disconnect / Reconnect Page (02h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-78
Control Mode Page (0Ah). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-80
Data Compression Page (0Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-82
Device Configuration Page (10h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-84
Medium Partition Page (11h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-87
Logical Unit Control Page (18h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-89
Port Control Page (19h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-90
TapeAlert Page (1Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-92
Vendor Specific Configuration Page (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-95
Disaster Recovery Control Page (3Ch). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-97
EEPROM Vendor Specific Page (3Eh). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-98
Changeable Parameters Within MODE SELECT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-105
MODE SENSE (6) / (10) Command (1Ah / 5Ah). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-107
MODE SENSE Data Headers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-109
MODE SENSE Block Descriptor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-111
MODE SENSE Mode Pages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-113
Read / Write Error Recovery Page (01h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-114
Disconnect / Reconnect Page (02h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-116
Control Mode Page (0Ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-118
Data Compression Page (0Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-120
Device Configuration Page (10h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-122
Medium Partition Page (11h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-125
Logical Unit Control Page (18h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-126
Port Control Page (19h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-127
TapeAlert Page (1Ch). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-129
Vendor Specific Configuration Control Page (25h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-131
Disaster Recovery Control Page (3Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-133
EEPROM Vendor Specific Page (3Eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-134
81-81200-02 REV A01 January 2005 vii
Table of Contents SDLT 600 SCSI Interface Guide
PERSISTENT RESERVE IN Command (5Eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-135
PERSISTENT RESERVE OUT Command (5Fh). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-142
PREVENT / ALLOW MEDIUM REMOVAL Command (1Eh) . . . . . . . . . . . . . . . . . . . . . . . . . 4-152
READ Command (08h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-153
Filemark and End-of-Data Handling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-154
End-of-Medium/Partition Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-155
READ ATTRIBUTE Command (8Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-156
Error Summary for the READ ATTRIBUTE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-157
READ ATTRIBUTE Service Action Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-158
ATTRIBUTE VALUES Service Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-159
ATTRIBUTE LIST Service Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-160
VOLUME LIST Service Action. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-161
PARTITION LIST Service Action. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-162
Enhanced Medium Auxiliary Memory (EMAM) Attributes . . . . . . . . . . . . . . . . . . . . . . . . . 4-163
Attribute Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-163
Attribute Identifier Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-165
Unique Features of the SDLT Tape Drive Implementation of Read / Write Attributes . . . . . 4-179
A Comparison of MAM and EMAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-179
READ BLOCK LIMITS Command (05h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-181
READ BUFFER Command (3Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-183
Retrieving Diagnostic Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-185
Read Data from the Saved Buffer (A1h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-185
Read Data from the Live Buffer (A2h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-185
Compression. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-186
Combined Header and Data Mode (00h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-186
Data Mode (02h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-187
Descriptor Mode (03h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-187
Read Data from Echo Buffer (0Ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-187
Echo Buffer Descriptor Mode (0Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-188
READ POSITION Command (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-189
Read Position Data — Short Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-190
Read Position Data — Long Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-192
RECEIVE DIAGNOSTIC RESULTS Command (1Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-194
RELEASE (10) Command (57h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-196
RELEASE UNIT Command (17h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-198
REPORT DENSITY SUPPORT Command (44h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-199
REPORT DEVICE IDENTIFIER Command (A3h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-204
REPORT LUNS Command (A0h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-206
REPORT SUPPORTED OPERATION CODES Command (A3h). . . . . . . . . . . . . . . . . . . . . . . . 4-208
All_commands Parameter Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-210
viii January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Table of Contents
One_command Parameter Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-212
REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS Command (A3h) . . . . . . . . . . 4-214
REQUEST SENSE Command (03h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-216
RESERVE (10) Command (56h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-228
RESERVE UNIT Command (16h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-230
REWIND Command (01h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-232
SEND DIAGNOSTIC Command (1Dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-233
Level 1 Test: Electronics Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-234
Level 2 Test: Write / Read Functionality Test. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-234
SET DEVICE IDENTIFIER Command (A4h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-237
SPACE Command (11h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-239
TEST UNIT READY Command (00h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-241
VERIFY Command (13h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-242
WRITE Command (0Ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-243
WRITE ATTRIBUTE Command (8Dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-245
Error Summary for the WRITE ATTRIBUTE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-247
WRITE BUFFER Command (3Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-249
Write Combined Header and Data Mode (00h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-250
Write Data Mode (02h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-250
Download Microcode Mode (04h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-251
Download Microcode and Save Mode (05h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-251
Write Data to Echo Buffer Mode (0Ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-251
WRITE FILEMARKS Command (10h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-252
81-81200-02 REV A01 January 2005 ix
Table of Contents SDLT 600 SCSI Interface Guide
x January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide List of Tables
81-81200-02
REV A01

List of Tables

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Table 1-1. Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
2 SCSI Parallel Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Table 2-1. Drive’s MESSAGE OUT Phase Response. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
3 SCSI Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Table 3-1. SCSI Message Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Table 3-2. SDLT Tape Drive Extended Message — Field Descriptions. . . . . . . . . . . . . . . . . . . . . . 3-3
Table 3-3. SDLT Tape Drive Supported Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Table 3-4. Drive’s Response to DISCONNECT Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Table 3-5. IDENTIFY Message — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Table 3-6. IGNORE WIDE RESIDUE Message — Field Definitions . . . . . . . . . . . . . . . . . . . . . . . 3-7
Table 3-7. Drive’s Response to INITIATOR DETECTED ERROR Message . . . . . . . . . . . . . . . . . 3-8
Table 3-8. Features of the PARALLEL PROTOCOL REQUEST Message . . . . . . . . . . . . . . . . . . 3-11
Table 3-9. Transfer Periods and Transfer Rates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
4 SCSI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Table 4-1. SCSI Commands Supported by SDLT Tape Drives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Table 4-2. Status Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Table 4-3. Units for Length Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Table 4-4. DATA Phase Command Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Table 4-5. Fields Common to Many SCSI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Table 4-6. ERASE Command Descriptor Block — Field Descriptions . . . . . . . . . . . . . . . . . . . . . 4-10
Table 4-7. INQUIRY Command Descriptor Block — Field Descriptions . . . . . . . . . . . . . . . . . . . 4-12
Table 4-8. Standard Inquiry Data Page — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14
81-81200-02 REV A01 January 2005 xi
List of Tables SDLT 600 SCSI Interface Guide
Table 4-9. Vendor Specific Inquiry Data Page — Field Descriptions. . . . . . . . . . . . . . . . . . . . . . . 4-18
Table 4-10. Unit Serial Number Page — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20
Table 4-11. Device Identification Page — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
Table 4-12. Vendor-unique Logical Unit Identifier — Field Descriptions . . . . . . . . . . . . . . . . . . . 4-22
Table 4-13. Logical Unit NAA Identifier — Field Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24
Table 4-14. Firmware Build Information Page — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . 4-25
Table 4-15. Subsystem Components Revision Page — Field Descriptions . . . . . . . . . . . . . . . . . . 4-27
Table 4-16. LOAD UNLOAD Command Descriptor Block — Field Descriptions . . . . . . . . . . . . 4-28
Table 4-17. LOCATE Command Descriptor Block — Field Descriptions . . . . . . . . . . . . . . . . . . . 4-30
Table 4-18. LOG SELECT Command Descriptor Block — Field Descriptions. . . . . . . . . . . . . . . 4-32
Table 4-19. LOG SELECT Page-clearing Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-33
Table 4-20. LOG SELECT Log Page Header — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . 4-34
Table 4-21. LOG SELECT Log Parameters — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . 4-35
Table 4-22. LOG SENSE Command Descriptor Block — Field Descriptions . . . . . . . . . . . . . . . . 4-40
Table 4-23. Read / Write Error LOG SENSE Header — Field Descriptions . . . . . . . . . . . . . . . . . 4-43
Table 4-24. Log Parameters for Read / Write Error LOG SENSE Page —
Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-44
Table 4-25. Last n Error Events LOG SENSE Header — Field Descriptions . . . . . . . . . . . . . . . . 4-48
Table 4-26. Log Parameters for Last n Error Events LOG SENSE Page — Field Descriptions . . 4-48
Table 4-27. Sequential Access Device LOG SENSE Header — Field Descriptions . . . . . . . . . . . 4-49
Table 4-28. Sequential Access Device LOG SENSE Page Parameters — Field Descriptions . . . . 4-50
Table 4-29. Temperature LOG SENSE Header — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . 4-51
Table 4-30. Temperature LOG SENSE Parameters — Field Descriptions . . . . . . . . . . . . . . . . . . . 4-52
Table 4-31. TapeAlert Page LOG SENSE Header — Field Descriptions . . . . . . . . . . . . . . . . . . . . 4-53
Table 4-32. TapeAlert Page LOG SENSE Parameters — Field Descriptions. . . . . . . . . . . . . . . . . 4-54
Table 4-33. TapeAlert Flags, Severity Levels, and Meanings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-55
Table 4-34. Read / Write Compression Ratio LOG SENSE Header — Field Descriptions . . . . . . 4-57
Table 4-35. Log Parameters for Read / Write Compression Ratio LOG SENSE Page — Field
Descriptions (Parameter Codes 00h and 01h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-58
Table 4-36. Log Parameters for Read / Write Compression Ratio LOG SENSE Page — Field
Descriptions (Parameter Codes 02h through 09h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-59
Table 4-37. Device Wellness LOG SENSE Header — Field Descriptions . . . . . . . . . . . . . . . . . . . 4-61
Table 4-38. Log Parameters for Device Wellness LOG SENSE Page — Field Descriptions . . . . . 4-63
Table 4-39. Device Status LOG SENSE Header — Field Descriptions . . . . . . . . . . . . . . . . . . . . . 4-64
Table 4-40. Log Parameters for Device Status LOG SENSE Page — Field Descriptions . . . . . . . 4-65
Table 4-41. Log Parameters for Device Status LOG SENSE Parameter 0001h (Cleaning-Related) —
Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-66
Table 4-42. MODE SELECT (6)/(10) Command Descriptor Block — Field Descriptions . . . . . . 4-69
Table 4-43. MODE SELECT Mode Parameter List — Field Descriptions . . . . . . . . . . . . . . . . . . 4-70
Table 4-44. MODE SELECT Mode Parameter Header — Field Descriptions. . . . . . . . . . . . . . . . 4-72
xii January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide List of Tables
Table 4-45. MODE SELECT Mode Parameter Block Descriptor — Field Descriptions . . . . . . . . 4-74
Table 4-46. MODE SELECT Page Descriptor — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . 4-75
Table 4-47. Read / Write Error Recovery MODE SELECT Page — Field Descriptions . . . . . . . . 4-77
Table 4-48. Disconnect / Reconnect MODE SELECT Page — Field Descriptions . . . . . . . . . . . . 4-79
Table 4-49. Control Mode MODE SELECT Page — Field Descriptions. . . . . . . . . . . . . . . . . . . . 4-80
Table 4-50. Data Compression MODE SELECT Page — Field Descriptions . . . . . . . . . . . . . . . . 4-83
Table 4-51. Device Configuration MODE SELECT Page — Field Descriptions. . . . . . . . . . . . . . 4-85
Table 4-52. Medium Partition MODE SELECT Page — Field Descriptions. . . . . . . . . . . . . . . . . 4-87
Table 4-53. Logical Unit Control MODE SELECT Page — Field Descriptions . . . . . . . . . . . . . . 4-89
Table 4-54. Port Control MODE SELECT Page — Field Descriptions . . . . . . . . . . . . . . . . . . . . . 4-90
Table 4-55. TapeAlert MODE SELECT Page — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . 4-92
Table 4-56. Vendor Specific Configuration MODE SELECT Page — Field Descriptions . . . . . . 4-96
Table 4-57. Disaster Recovery Control MODE SELECT Page — Field Descriptions. . . . . . . . . . 4-97
Table 4-58. EEPROM Vendor Specific MODE SELECT Page — Parameter Descriptions . . . . . 4-98
Table 4-59. Changeable Mode Parameters Within MODE SELECT . . . . . . . . . . . . . . . . . . . . . . 4-105
Table 4-60. MODE SENSE Command Descriptor Block — Field Descriptions . . . . . . . . . . . . . 4-108
Table 4-61. MODE SENSE Data Header — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . 4-110
Table 4-62. MODE SENSE Block Descriptor — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . 4-112
Table 4-63. MODE SENSE Page — Field Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-113
Table 4-64. Supported MODE SENSE Block Pages and Page Codes . . . . . . . . . . . . . . . . . . . . . 4-113
Table 4-65. Read / Write Error Recovery MODE SENSE Page — Field Descriptions . . . . . . . . 4-115
Table 4-66. Disconnect / Reconnect MODE SENSE Page — Field Descriptions . . . . . . . . . . . . 4-117
Table 4-67. Control Mode MODE SENSE Page — Field Descriptions . . . . . . . . . . . . . . . . . . . . 4-118
Table 4-68. Data Compression MODE SENSE Page — Field Descriptions . . . . . . . . . . . . . . . . 4-120
Table 4-69. Device Configuration MODE SENSE Page — Field Descriptions. . . . . . . . . . . . . . 4-123
Table 4-70. Medium Partition MODE SENSE Page — Field Descriptions . . . . . . . . . . . . . . . . . 4-125
Table 4-71. Logical Unit Control MODE SENSE Page — Field Descriptions . . . . . . . . . . . . . . 4-127
Table 4-72. Port Control MODE SENSE Page — Field Descriptions . . . . . . . . . . . . . . . . . . . . . 4-128
Table 4-73. TapeAlert MODE SENSE Page — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . 4-130
Table 4-74. Vendor Specific Configuration Control MODE SENSE Page — Field Descriptions 4-132
Table 4-75. Disaster Recovery Control MODE SENSE Page — Field Descriptions . . . . . . . . . . 4-133
Table 4-76. EEPROM Vendor Specific MODE SENSE Page — Field Descriptions. . . . . . . . . . 4-134
Table 4-77. PERSISTENT RESERVE IN Command — Field Descriptions . . . . . . . . . . . . . . . . 4-136
Table 4-78. Read Keys Parameters — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-138
Table 4-79. Read Reservations Parameters — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . 4-139
Table 4-80. PERSISTENT RESERVE IN Read Reservations Descriptor — Field Descriptions. 4-140
Table 4-81. PERSISTENT RESERVATION IN Type Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-140
Table 4-82. PERSISTENT RESERVE OUT Command — Field Descriptions . . . . . . . . . . . . . . 4-143
Table 4-83. PERSISTENT RESERVE OUT Command’s Service Action Descriptions. . . . . . . . 4-144
Table 4-84. PERSISTENT RESERVE OUT Type Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-148
81-81200-02 REV A01 January 2005 xiii
List of Tables SDLT 600 SCSI Interface Guide
Table 4-85. PERSISTENT RESERVE OUT Parameter List — Field Descriptions . . . . . . . . . . . 4-150
Table 4-86. SDLT Tape Drive Interpretation of Service and Scope Value . . . . . . . . . . . . . . . . . . 4-151
Table 4-87. PREVENT / ALLOW MEDIUM REMOVAL Command Descriptor Block — Field
Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-152
Table 4-88. READ Command Descriptor Block — Field Descriptions . . . . . . . . . . . . . . . . . . . . 4-153
Table 4-89. READ ATTRIBUTE Parameter Data — Field Descriptions . . . . . . . . . . . . . . . . . . . 4-156
Table 4-90. READ ATTRIBUTE Command Service Action Codes. . . . . . . . . . . . . . . . . . . . . . . 4-158
Table 4-91. READ ATTRIBUTE with ATTRIBUTE VALUES Service Action Parameter Data — Field
Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-159
Table 4-92. READ ATTRIBUTE with ATTRIBUTE LIST Service Action Parameter Data — Field
Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-160
Table 4-93. READ ATTRIBUTE with VOLUME LIST Service Action Parameter Data — Field
Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-161
Table 4-94. READ ATTRIBUTE with PARTITION LIST Service Action Parameter Data — Field
Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-162
Table 4-95. EMAM Attribute Parameter Data — Field Descriptions. . . . . . . . . . . . . . . . . . . . . . 4-164
Table 4-96. EMAM Attribute Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-164
Table 4-97. EMAM Attribute Identifier Range Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-165
Table 4-98. Device Type Attributes (for EMAM) Supported by the SDLT Tape Drive
Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-165
Table 4-99. DEVICE VENDOR/SERIAL NUMBER Attribute Parameter Data — Field Descriptions 4-168
Table 4-100. MEDIUM USAGE HISTORY Attribute Parameter Data —
Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-170
Table 4-101. PARTITION USAGE HISTORY Attribute Parameter Data —
Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-173
Table 4-102. Medium Type Attributes (for EMAM) Supported by the SDLT Tape Drive Firmware 4­175
Table 4-103. MEDIUM TYPE and MEDIUM TYPE INFORMATION Attributes . . . . . . . . . . . 4-177
Table 4-104. Host Type Attributes (for MAM) Supported by the SDLT Tape Drive Firmware. . 4-177
Table 4-105. TEXT LOCALIZATION IDENTIFIER — Attribute Values. . . . . . . . . . . . . . . . . . 4-178
Table 4-106. READ BLOCK LIMITS Data — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . 4-182
Table 4-107. READ BUFFER Command Descriptor Block — Field Descriptions . . . . . . . . . . . 4-184
Table 4-108. READ BUFFER Header — Field Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-186
Table 4-109. ECHO BUFFER Descriptor — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . 4-188
Table 4-110. READ POSITION Command Descriptor Block — Field Descriptions. . . . . . . . . . 4-189
Table 4-111. READ POSITION (Short Form) Data — Field Descriptions . . . . . . . . . . . . . . . . . 4-190
Table 4-112. READ POSITION (Long Form) Data — Field Descriptions . . . . . . . . . . . . . . . . . 4-192
Table 4-113. RECEIVE DIAGNOSTIC RESULTS Command Data — Field Descriptions . . . . 4-194
Table 4-114. RELEASE (10) Command — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . 4-197
Table 4-115. RELEASE UNIT Command — Field Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . 4-198
xiv January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide List of Tables
Table 4-116. REPORT DENSITY SUPPORT Command — Field Descriptions . . . . . . . . . . . . . 4-199
Table 4-117. REPORT DENSITY SUPPORT Header — Field Descriptions. . . . . . . . . . . . . . . . 4-200
Table 4-118. REPORT DENSITY SUPPORT Data Block Descriptor —
Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-202
Table 4-119. REPORT DEVICE IDENTIFIER Command Descriptor Block — Field Descriptions. 4­204
Table 4-120. REPORT DEVICE IDENTIFIER Parameter Data — Field Descriptions . . . . . . . . 4-205
Table 4-121. REPORT LUNS Command Descriptor Block — Field Descriptions . . . . . . . . . . . 4-206
Table 4-122. REPORT SUPPORTED OPERATION CODES Command Descriptor Block — Field
Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-209
Table 4-123. All_commands Parameter Data — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . 4-210
Table 4-124. All_commands Command Descriptor — Field Descriptions. . . . . . . . . . . . . . . . . . 4-211
Table 4-125. One_command Parameter Data — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . 4-213
Table 4-126. REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS Command Descriptor
Block — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-215
Table 4-127. TASK MANAGEMENT FUNCTIONS Command Parameter Data — Field Descriptions 4-215
Table 4-128. REQUEST SENSE Command Data — Field Descriptions . . . . . . . . . . . . . . . . . . . 4-216
Table 4-129. REQUEST SENSE Data — Field Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-218
Table 4-130. Supported Sense Keys for REQUEST SENSE Command . . . . . . . . . . . . . . . . . . . 4-220
Table 4-131. Supported ASC / ASCQ (Hex) for REQUEST SENSE Command . . . . . . . . . . . . . 4-221
Table 4-132. RESERVE (10) Command — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . 4-229
Table 4-133. RESERVE UNIT Command Data — Field Descriptions . . . . . . . . . . . . . . . . . . . . 4-230
Table 4-134. REWIND Command Data — Field Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-232
Table 4-135. SEND DIAGNOSTIC Command Data — Field Descriptions . . . . . . . . . . . . . . . . 4-233
Table 4-136. SEND DIAGNOSTIC CDB Fields — Selftst, DevOfl, and UnitOfl. . . . . . . . . . . . 4-235
Table 4-137. Sense Keys for SEND DIAGNOSTIC Command . . . . . . . . . . . . . . . . . . . . . . . . . . 4-235
Table 4-138. ASC / ASCQ for SEND DIAGNOSTIC Command . . . . . . . . . . . . . . . . . . . . . . . . 4-236
Table 4-139. SET DEVICE IDENTIFIER Command Descriptor Block — Field Descriptions. . 4-238
Table 4-140. SET DEVICE IDENTIFIER Parameter List — Field Description . . . . . . . . . . . . . 4-238
Table 4-141. SPACE Command Data — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-239
Table 4-142. VERIFY Command Data — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-242
Table 4-143. WRITE Command Data — Field Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-244
Table 4-144. WRITE ATTRIBUTE Command Parameter Data — Field Descriptions . . . . . . . . 4-246
Table 4-145. WRITE ATTRIBUTE Command Parameter Data — Field Descriptions . . . . . . . . 4-247
Table 4-146. WRITE BUFFER Command Descriptor Block — Field Descriptions . . . . . . . . . . 4-250
Table 4-147. WRITE FILEMARKS Command — Field Descriptions. . . . . . . . . . . . . . . . . . . . . 4-252
81-81200-02 REV A01 January 2005 xv
List of Tables SDLT 600 SCSI Interface Guide
xvi January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide List of Figures
81-81200-02
REV A01

List of Figures

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
2 SCSI Parallel Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
3 SCSI Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Figure 3-1. Extended Message — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Figure 3-2. IDENTIFY Message — Data Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Figure 3-3. IGNORE WIDE RESIDUE Message — Data Format. . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Figure 3-4. PARALLEL PROTOCOL REQUEST Message — Data Format . . . . . . . . . . . . . . . . 3-10
Figure 3-5. SYNCHRONOUS DATA TRANSFER REQUEST Message — Data Format . . . . . . 3-12
Figure 3-6. WIDE DATA TRANSFER REQUEST Message — Data Format. . . . . . . . . . . . . . . . 3-14
4 SCSI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Figure 4-1. ERASE Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Figure 4-2. INQUIRY Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . . . . . . . . 4-11
Figure 4-3. Standard Inquiry Data Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Figure 4-4. Vendor Specific Inquiry Data Page — Data Format. . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17
Figure 4-5. Supported Vital Product Data Pages — Data Format. . . . . . . . . . . . . . . . . . . . . . . . . . 4-19
Figure 4-6. Unit Serial Number Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20
Figure 4-7. Device Identification Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
Figure 4-8. Vendor-unique Logical Unit Identifier— Data Format . . . . . . . . . . . . . . . . . . . . . . . . 4-22
Figure 4-9. Logical Unit NAA Identifier — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24
Figure 4-10. Firmware Build Information Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25
Figure 4-11. Subsystem Components Revision Page — Data Format . . . . . . . . . . . . . . . . . . . . . . 4-26
Figure 4-12. LOAD UNLOAD Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . 4-28
Figure 4-13. LOCATE Command Descriptor Block — Data Format. . . . . . . . . . . . . . . . . . . . . . . 4-30
Figure 4-14. LOG SELECT Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . . . 4-31
81-81200-02 REV A01 January 2005 xvii
List of Figures SDLT 600 SCSI Interface Guide
Figure 4-15. LOG SELECT Log Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-34
Figure 4-16. LOG SELECT Log Page — Parameters Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-35
Figure 4-17. LOG SENSE Command Descriptor Block — Data Format. . . . . . . . . . . . . . . . . . . . 4-39
Figure 4-18. Supported Pages LOG SENSE Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . 4-42
Figure 4-19. Read / Write Error LOG SENSE Page — Header Format . . . . . . . . . . . . . . . . . . . . . 4-43
Figure 4-20. Log Parameters Format for Read / Write Error LOG SENSE Page . . . . . . . . . . . . . . 4-44
Figure 4-21. Last n Error Events LOG SENSE Page — Header Format . . . . . . . . . . . . . . . . . . . . 4-47
Figure 4-22. Log Parameters Format for Last n Error Events LOG SENSE Page . . . . . . . . . . . . . 4-48
Figure 4-23. Sequential Access Device LOG SENSE Page — Header Format . . . . . . . . . . . . . . . 4-49
Figure 4-24. Log Parameters Format for Sequential Access Device LOG SENSE Page . . . . . . . . 4-49
Figure 4-25. Temperature LOG SENSE Page — Header Format. . . . . . . . . . . . . . . . . . . . . . . . . . 4-51
Figure 4-26. Log Parameters Format for Temperature Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-51
Figure 4-27. TapeAlert LOG SENSE Page — Header Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-53
Figure 4-28. TapeAlert LOG SENSE Page — Parameters Format. . . . . . . . . . . . . . . . . . . . . . . . . 4-54
Figure 4-29. Read / Write Compression Ratio LOG SENSE Page — Header Format . . . . . . . . . . 4-57
Figure 4-30. Log Parameters Format for Read / Write Compression Ratio LOG SENSE Page
(Parameter Codes 00h and 01h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-57
Figure 4-31. Log Parameters Format for Read / Write Compression Ratio LOG SENSE Page
(Parameter Codes 02h through 09h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-58
Figure 4-32. Device Wellness LOG SENSE Page — Header Format . . . . . . . . . . . . . . . . . . . . . . 4-61
Figure 4-33. Log Parameters Format for Device Wellness LOG SENSE Page (Parameter Codes 0000h
– 000Fh). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-62
Figure 4-34. Device Status LOG SENSE Page — Header Format. . . . . . . . . . . . . . . . . . . . . . . . . 4-64
Figure 4-35. Log Parameters Format for Device Status LOG SENSE Page. . . . . . . . . . . . . . . . . . 4-64
Figure 4-36. Cleaning-Related Log Parameters Format for Device Status LOG SENSE Page . . . 4-66
Figure 4-37. MODE SELECT (6) Command Descriptor Block — Data Format . . . . . . . . . . . . . . 4-68
Figure 4-38. MODE SELECT (10) Command Descriptor Block — Data Format . . . . . . . . . . . . . 4-68
Figure 4-39. MODE SELECT (6) Mode Parameter List — Data Format . . . . . . . . . . . . . . . . . . . 4-69
Figure 4-40. MODE SELECT (10) Mode Parameter List — Data Format . . . . . . . . . . . . . . . . . . 4-70
Figure 4-41. MODE SELECT (6) Mode Parameter Header — Data Format . . . . . . . . . . . . . . . . . 4-71
Figure 4-42. MODE SELECT (10) Mode Parameter Header — Data Format . . . . . . . . . . . . . . . . 4-71
Figure 4-43. MODE SELECT Mode Parameter Block Descriptor — Data Format. . . . . . . . . . . . 4-73
Figure 4-44. MODE SELECT Page Descriptor — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . 4-75
Figure 4-45. Read / Write Error Recovery MODE SELECT Page — Data Format . . . . . . . . . . . . 4-76
Figure 4-46. Disconnect / Reconnect MODE SELECT Page — Data Format . . . . . . . . . . . . . . . . 4-78
Figure 4-47. Control Mode MODE SELECT Page — Data Format. . . . . . . . . . . . . . . . . . . . . . . . 4-80
Figure 4-48. Data Compression MODE SELECT Page — Data Format . . . . . . . . . . . . . . . . . . . . 4-82
Figure 4-49. Device Configuration MODE SELECT Page — Data Format . . . . . . . . . . . . . . . . . 4-84
Figure 4-50. Medium Partition MODE SELECT Page — Data Format. . . . . . . . . . . . . . . . . . . . . 4-87
Figure 4-51. Logical Unit Control MODE SELECT Page — Data Format . . . . . . . . . . . . . . . . . . 4-89
xviii January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide List of Figures
Figure 4-52. Port Control MODE SELECT Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . 4-90
Figure 4-53. TapeAlert MODE SELECT Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-92
Figure 4-54. Vendor Specific Configuration MODE SELECT Page — Data Format . . . . . . . . . . 4-95
Figure 4-55. Disaster Recovery Control MODE SELECT Page — Data Format . . . . . . . . . . . . . 4-97
Figure 4-56. EEPROM Vendor Specific MODE SELECT Page — Data Format . . . . . . . . . . . . . 4-98
Figure 4-57. EEPROM Vendor Specific Page “Vendor ID” Example — Data Format . . . . . . . . 4-104
Figure 4-58. MODE SENSE (6) Command Descriptor Block — Data Format . . . . . . . . . . . . . . 4-107
Figure 4-59. MODE SENSE (10) Command Descriptor Block — Data Format . . . . . . . . . . . . . 4-108
Figure 4-60. MODE SENSE (6) Data Header — Data Format. . . . . . . . . . . . . . . . . . . . . . . . . . . 4-109
Figure 4-61. MODE SENSE (10) Data Header — Data Format. . . . . . . . . . . . . . . . . . . . . . . . . . 4-110
Figure 4-62. MODE SENSE Block Descriptor — Data Format. . . . . . . . . . . . . . . . . . . . . . . . . . 4-111
Figure 4-63. MODE SENSE Page — Data Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-113
Figure 4-64. Read / Write Error Recovery MODE SENSE Page — Data Format . . . . . . . . . . . . 4-114
Figure 4-65. Disconnect / Reconnect MODE SENSE Page — Data Format . . . . . . . . . . . . . . . . 4-116
Figure 4-66. Control Mode MODE SENSE Page — Data Format. . . . . . . . . . . . . . . . . . . . . . . . 4-118
Figure 4-67. Data Compression MODE SENSE Page — Data Format . . . . . . . . . . . . . . . . . . . . 4-120
Figure 4-68. Device Configuration MODE SENSE Page — Data Format. . . . . . . . . . . . . . . . . . 4-122
Figure 4-69. Medium Partition MODE SENSE Page — Data Format . . . . . . . . . . . . . . . . . . . . . 4-125
Figure 4-70. Logical Unit Control MODE SENSE Page — Data Format . . . . . . . . . . . . . . . . . . 4-126
Figure 4-71. Port Control MODE SENSE Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . 4-127
Figure 4-72. TapeAlert MODE SENSE Page — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-129
Figure 4-73. Vendor Specific Configuration Control MODE SENSE Page — Data Format . . . . 4-131
Figure 4-74. Disaster Recovery Control MODE SENSE Page — Data Format. . . . . . . . . . . . . . 4-133
Figure 4-75. EEPROM Vendor Specific MODE SENSE Page — Data Format. . . . . . . . . . . . . . 4-134
Figure 4-76. PERSISTENT RESERVE IN Command Descriptor Block — Data Format . . . . . . 4-135
Figure 4-77. PERSISTENT RESERVE IN Read Keys Parameters — Data Format . . . . . . . . . . 4-137
Figure 4-78. PERSISTENT RESERVE IN Read Reservations Parameters — Data Format . . . . 4-138
Figure 4-79. PERSISTENT RESERVE IN Read Reservations Descriptor — Data Format. . . . . 4-140
Figure 4-80. PERSISTENT RESERVE OUT Command Descriptor Block — Data Format . . . . 4-142
Figure 4-81. PERSISTENT RESERVE OUT Parameter List — Data Format . . . . . . . . . . . . . . . 4-149
Figure 4-82. PREVENT / ALLOW MEDIUM REMOVAL Command Descriptor Block — Data
Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-152
Figure 4-83. READ Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . . . . . . . . . 4-153
Figure 4-84. READ ATTRIBUTE Command Descriptor Block — Data Format. . . . . . . . . . . . . 4-156
Figure 4-85. READ ATTRIBUTE with ATTRIBUTE VALUES Service Action — Parameter List
Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-159
Figure 4-86. READ ATTRIBUTE with ATTRIBUTE LIST Service Action — Parameter List Format 4-160
Figure 4-87. READ ATTRIBUTE with VOLUME LIST Service Action — Parameter List Format 4­161
81-81200-02 REV A01 January 2005 xix
List of Figures SDLT 600 SCSI Interface Guide
Figure 4-88. READ ATTRIBUTE with PARTITION LIST Service Action — Parameter List Format4­162
Figure 4-89. EMAM Attribute — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-163
Figure 4-90. DEVICE VENDOR/SERIAL NUMBER Attribute — Data Format . . . . . . . . . . . . 4-167
Figure 4-91. MEDIUM USAGE HISTORY Attribute — Data Format . . . . . . . . . . . . . . . . . . . . 4-170
Figure 4-92. PARTITION USAGE HISTORY Attribute — Data Format . . . . . . . . . . . . . . . . . . 4-173
Figure 4-93. READ BLOCK LIMITS Command Descriptor Block — Data Format . . . . . . . . . 4-181
Figure 4-94. READ BLOCK LIMITS Data — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-181
Figure 4-95. READ BUFFER Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . 4-183
Figure 4-96. READ BUFFER Header — Data Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-186
Figure 4-97. READ BUFFER Descriptor — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-187
Figure 4-98. ECHO BUFFER Descriptor — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-188
Figure 4-99. READ POSITION Command Descriptor Block — Data Format . . . . . . . . . . . . . . 4-189
Figure 4-100. READ POSITION (Short Form) — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . 4-190
Figure 4-101. READ POSITION (Long Form) — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . 4-192
Figure 4-102. RECEIVE DIAGNOSTIC RESULTS Command Descriptor Block — Data Format . 4­194
Figure 4-103. RECEIVE DIAGNOSTIC RESULTS — Data Format . . . . . . . . . . . . . . . . . . . . . 4-195
Figure 4-104. RELEASE (10) Command Descriptor Block — Data Format. . . . . . . . . . . . . . . . 4-196
Figure 4-105. RELEASE (10) ID Only Parameter List — Data Format . . . . . . . . . . . . . . . . . . . 4-197
Figure 4-106. RELEASE UNIT Command Descriptor Block — Data Format . . . . . . . . . . . . . . 4-198
Figure 4-107. REPORT DENSITY SUPPORT Command Descriptor Block — Data Format. . . 4-199
Figure 4-108. REPORT DENSITY SUPPORT Header — Data Format . . . . . . . . . . . . . . . . . . . 4-200
Figure 4-109. REPORT DENSITY SUPPORT Data Block Descriptor — Data Format . . . . . . . 4-201
Figure 4-110. REPORT DEVICE IDENTIFIER Command Descriptor Block — Data Format. . 4-204
Figure 4-111. REPORT DEVICE IDENTIFIER — Data Format. . . . . . . . . . . . . . . . . . . . . . . . . 4-205
Figure 4-112. REPORT LUNS Command Descriptor Block — Data Format . . . . . . . . . . . . . . . 4-206
Figure 4-113. LUN Reporting Parameter List — Data Format. . . . . . . . . . . . . . . . . . . . . . . . . . . 4-207
Figure 4-114. REPORT SUPPORTED OPERATION CODES Command Descriptor Block — Data
Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-208
Figure 4-115. All_commands Parameter Data — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . 4-210
Figure 4-116. All_commands Command Descriptor — Data Format . . . . . . . . . . . . . . . . . . . . . 4-211
Figure 4-117. One_command Parameter Data — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . 4-212
Figure 4-118. REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS Command Descriptor
Block — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-214
Figure 4-119. TASK MANAGEMENT FUNCTIONS Command Parameter Data — Data Format . 4­215
Figure 4-120. REQUEST SENSE Command Descriptor Block — Data Format. . . . . . . . . . . . . 4-216
Figure 4-121. REQUEST SENSE — Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-217
Figure 4-122. RESERVE (10) Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . 4-228
Figure 4-123. RESERVE (10) ID Only Parameter List — Data Format. . . . . . . . . . . . . . . . . . . . 4-229
xx January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide List of Figures
Figure 4-124. REQUEST SENSE Command Descriptor Block — Data Format. . . . . . . . . . . . . 4-230
Figure 4-125. REWIND Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . . . . . 4-232
Figure 4-126. SEND DIAGNOSTIC Command Descriptor Block — Data Format . . . . . . . . . . 4-233
Figure 4-127. SET DEVICE IDENTIFIER Command Descriptor Block — Data Format . . . . . 4-237
Figure 4-128. SET DEVICE IDENTIFIER Parameter List — Data Format . . . . . . . . . . . . . . . . 4-238
Figure 4-129. SPACE Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . . . . . . . 4-239
Figure 4-130. TEST UNIT READY Command Descriptor Block — Data Format . . . . . . . . . . . 4-241
Figure 4-131. VERIFY Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . . . . . . 4-242
Figure 4-132. WRITE Command Descriptor Block — Data Format . . . . . . . . . . . . . . . . . . . . . . 4-243
Figure 4-133. WRITE ATTRIBUTE Command Descriptor Block — Data Format. . . . . . . . . . . 4-245
Figure 4-134. WRITE ATTRIBUTE — Parameter List Format . . . . . . . . . . . . . . . . . . . . . . . . . . 4-246
Figure 4-135. WRITE BUFFER Command Descriptor Block — Data Format . . . . . . . . . . . . . . 4-249
Figure 4-136. WRITE FILEMARKS Command Descriptor Block — Data Format . . . . . . . . . . 4-252
81-81200-02 REV A01 January 2005 xxi
List of Figures SDLT 600 SCSI Interface Guide
xxii January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Introduction
81-81200-02 REV A01

1.1 Purpose and Scope

CHAPTER 1

Introduction

This reference guide is a comprehensive source of information about SCSI commands and SCSI messages used by the Super DLTtape™-generation (SDLT) tape drives. This document is written for original equipment manufacturers (OEMs) that are integrating the Quantum SDLT tape drive into a system or subsystem. Background knowledge of the SCSI-3, SAM, SPC, SPI, and SSC standards is assumed.
This document’s primary audience is the OEM technical system integrators who are responsible for the SCSI interface. In addition, technically astute end-users can use this manual for installation and operation of the tape drive, although that group is a secondary audience.

1.2 Referenced Documents

Super DLTtape Interactive Library Interface Specification (6464162-01)
81-81200-02 REV A01 January 2005 1-1
Related Documents SDLT 600 SCSI Interface Guide

1.3 Related Documents

SDLT 600 Fibre Channel Interface Guide (81-81202-02)
SDLT 600 Product Manual (81-81184-01)
Current standards documents available from www.t10.org:
SCSI Architecture Model (SAM-2)
SCSI Parallel Interface (SPI-3)
SCSI Primary Commands (SPC-2)
SCSI Stream Commands (SSC)

1.4 Structure of this Manual

Chapter 1, Introduction, is the chapter you are currently reading.
Chapter 2, SCSI Parallel Protocol, provides an overview of SDLT tape drive-specific SCSI
information. Background knowledge of the SCSI-3, SAM, SPC, SPI, and SSC standards is assumed.
Chapter 3, SCSI Messages, lists and describes the SCSI messages supported by SDLT tape drives. The SCSI message system allows communication between SCSI initiators and SCSI targets (the SDLT tape drive, in this case) for interface management and command elaboration and qualification.
Chapter 4, SCSI Commands, describes in detail each command supported by SDLT tape drives. The SCSI command system enables a SCSI initiator to direct an SDLT tape drive to perform a wide range of operational and diagnostic functions. This chapter also provides Sense Key and Additional Sense Code information for the REQUEST SENSE and SEND DIAGNOSTIC SCSI commands as well as density codes for the MODE SELECT and MODE SENSE commands.
1-2 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 1: Introduction

1.5 Conventions

This manual uses the following conventions to designate specific elements:
Table 1-1. Typographical Conventions
Element Convention Example
Commands Uppercase (unless case-
sensitive)
Messages Uppercase IDENTIFY
Hexadecimal Notation Number followed by
lowercase h
Binary Notation Number followed by
lowercase b
Decimal Notation Number without suffix 512
Acronyms Uppercase POST
Abbreviations Lowercase, except where
standard usage requires uppercase

1.6 For More Information

The web site http://www.dlttape.com includes information about the various DLTtape systems available for purchase. To locate specific product-related support information or to register your tape drive, visit http://www.quantum.com/AM/support/. Once you are registered, you can download a variety of useful drivers, software programs, and diagnostic utilities.
TEST UNIT READY
25h
101b
Mb (megabits) MB (megabytes)
For personalized information about Quantum’s reliable data protection products, call 1-800-624-5545 in the U.S.A. and Canada.
81-81200-02 REV A01 January 2005 1-3
Reader Comments SDLT 600 SCSI Interface Guide

1.7 Reader Comments

Quantum is committed to providing the best products and service. We encourage your comments, suggestions, and corrections for this manual. Please send all comments on existing documentation to:
Quantum Technical Publications 4001 Discovery Dr. Suite 1100 Boulder, Colorado USA 80303
or if you prefer, e-mail your comments to:
doc-comments@quantum.com
1-4 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide SCSI Parallel Protocol
This chapter covers the following topics:
“Background Information About SCSI” describes the knowledge required to use this manual
“Information Transfer Phases” describes the specifics of information transfer in SDLT tape drives.
81-81200-02 REV A01
CHAPTER 2

SCSI Parallel Protocol

successfully.
“SCSI Bus Conditions” describes the two asynchronous conditions of the SCSI bus.

2.1 Background Information About SCSI

Small Computer System Interface (SCSI) is one of the industry’s most widely adopted I/O interfaces; it is widely used in computing platforms from personal computers to mainframes to peripheral devices of all types. SDLT tape drives conform to the SPI-3 standard. You should familiarize yourself with the SCSI-3, SAM-2, SPC-2, SPI-3, and SSC standards before using the remaining portions of this manual.
Important features of SPI-3 implementation include the following:
Efficient peer-to-peer I/O bus for up to 15 devices
Asynchronous transfer rates that depend only on device implementation and cable length
Logical addressing (rather than physical addressing) for all data blocks
Multiple initiators and multiple targets
Distributed arbitration (bus contention logic)
Command set enhancement.
NOTE: Complete SCSI standards documents are available at www.t10.org.
81-81200-02 REV A01 January 2005 2-1
Information Transfer Phases SDLT 600 SCSI Interface Guide

2.2 Information Transfer Phases

The COMMAND, DATA, STATUS, and MESSAGE phases are known as the information transfer phases because they are used to transfer data or control information. Keep the following guidelines in
mind:
SDLT tape drives support wide asynchronous and synchronous data transfers.
Odd parity is generated during all information transfer phases during which the device writes data
to the SCSI bus and parity is checked during all transfer phases in which data is read from the bus by the SDLT tape drive.
SDLT tape drives support block sizes from 4 bytes to 16,777,212 bytes.
The tape drive disconnects from the SCSI bus at regular intervals during information transfer
phases to allow other devices to access the bus. These disconnects are user-configurable using the Disconnect-Reconnect Page of the MODE SELECT command.
The SDLT tape drive does not act as an initiator on the SCSI bus. Therefore, the drive does not:
1) generate unsolicited interrupts to the bus, 2) initiate its own SCSI commands, or 3) assert bus reset.
The SDLT 600 SCSI drive supports both LVD and single-ended bus configurations.

2.3 SCSI Bus Conditions

The SCSI bus has two asynchronous conditions:
Attention Condition
Reset Condition

2.3.1 Attention Condition

The Attention Condition informs an SDLT tape drive that an initiator has a message ready. The drive gets the message by performing a MESSAGE OUT phase. The Attention Condition requires the following timing:
The initiator creates the Attention Condition by asserting ATN at any time except during the ARBITRATION or BUS FREE phases.
The initiator negates the ATN signal at least two deskew delays before asserting the ACK signal while transferring the last byte of the message.
2-2 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 2: SCSI Parallel Protocol
If an initiator wishes to send a message before transitioning to a new bus phase, the initiator asserts the ATN signal, then waits at least two deskew delays before negating the ACK signal for the last byte transferred in the current bus phase. Asserting the ATN signal later may not be honored until a later bus phase which may result in an unexpected action.
The SDLT tape drive responds with a MESSAGE OUT phase, as described in the following table:
Table 2-1. Drive’s MESSAGE OUT Phase Response
ATN Signal True in Phase... The Drive Enters MESSAGE OUT…
COMMAND After transferring part or all of the command descriptor block
bytes.
DATA At the drive’s earliest convenience (often on a logical block
boundary). The initiator continues REQ/ACK handshakes until it detects the phase change.
STATUS After the initiator has acknowledged the status byte.
MESSAGE IN Before it sends another message. This permits a MESSAGE
PARITY ERROR message from the initiator to be associated with the appropriate message.
SELECTION
RESELECTION
1. Before the initiator releases BSY, provided the initiator asserted ATN.
2. The initiator should only assert the ATN signal during a RESELECTION phase to transmit a TARGET RESET or DISCONNECT message.
1
2
Immediately after that SELECTION phase.
After the drive has sent its IDENTIFY message for that RESELECTION phase.
The initiator keeps the ATN signal asserted if more than one byte is to be transferred. The initiator may negate the ATN signal at any time, except that it should not negate ATN while the ACK signal is asserted during a MESSAGE OUT phase.
NOTE: Normally, the initiator negates the ATN signal while the REQ signal is
true and the ACK signal is false during the last REQ/ACK handshake of
the MESSAGE OUT phase.
81-81200-02 REV A01 January 2005 2-3
SCSI Bus Conditions SDLT 600 SCSI Interface Guide

2.3.2 Reset Condition

The SDLT tape drive responds to bus reset conditions as follows:
Within 250 milliseconds—and typically under 4 milliseconds—after a bus reset, the drive responds to SCSI bus selections and returns the appropriate normal responses. Tape motion commands are returned with Check Condition status, Sense Key of Not Ready, until the drive makes the medium ready.
The drive rewinds the tape medium to Beginning of Partition (BOP, which is Beginning of Tape [BOT]).
NOTE: The SDLT tape drive does not implement the hard reset alternative for bus
RESET processing.
The SDLT tape drive recognizes multiple bus resets in succession as well as bus resets of arbitrarily long duration (power-on conditions). It recovers within the time limits specified above following the last bus reset.
2-4 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide SCSI Messages
This chapter provides a detailed description of the SCSI messages SDLT tape drives support. Specifically, it covers the following topics:
“Message Format” lists the specific format of SCSI messages.
“Supported SCSI Messages” contains descriptions of each of the messages supported by the drive.
81-81200-02 REV A01
CHAPTER 3

SCSI Messages

3.1 Message Format

A message can be one or more bytes in length. One or more messages can be sent during a single MESSAGE phase, but a message cannot be split across multiple MESSAGE phases. The initiator is required to end the MESSAGE OUT phase (by negating ATN) when it sends certain messages that are identified in Table 3-3 .
When a connection to the SDLT tape drive is established (that is, the drive is selected with ATN asserted), the first message byte passed by the initiator must be either an IDENTIFY, ABORT TASK SET, or TARGET RESET message. If not, the drive discards the message, saves no status information, and enters the BUS FREE phase.
If an initiator supplies an unsupported message (for example, TASK COMPLETE or a reserved or undefined message code), the drive returns a MESSAGE REJECT message and continues where it left off (possibly returning to MESSAGE OUT if ATN is raised).
81-81200-02 REV A01 January 2005 3-1
Message Format SDLT 600 SCSI Interface Guide
The first byte of the message, as defined in Table 3-1, determines the format of the message.
Table 3-1. SCSI Message Format
Message Code Message
00h One-byte message (TASK COMPLETE)
01h Extended message
02h – 1Fh One-byte message
20h – 2Fh Two-byte message
30h – 54h Reserved
55h One-byte message
56h – 7Fh Reserved
80h – FFh One-byte message (IDENTIFY)
Two-byte messages consist of two consecutive bytes. The value of the first byte, as defined in
Table 3-1, determines which message will be transmitted. The second byte is a parameter byte that is
used as defined in the message description.
A value of 1 in the first byte indicates the beginning of a multiple-byte extended message. The minimum number of bytes sent for an extended message is three. The extended message format is shown in Figure 3-1, and the data fields are described in Table 3-2.
Bit
Byte
0 Extended Message (01h)
1 Extended Message Length
2
3 to n-1 Extended Message Arguments
7 6 5 4 3 2 1 0
Extended Message Code
Figure 3-1. Extended Message — Data Format
3-2 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 3: SCSI Messages
Table 3-2. SDLT Tape Drive Extended Message — Field Descriptions
Field Description
Extended Message Length
Extended Message Code
This field specifies the length, in bytes, of the Extended Message Code plus the Extended Message Arguments that follow. The total length of the message is equal to the Extended Message Length plus 2. A value of 0 for the Extended Message Length indicates that 256 bytes follow.
The drive supports the following Extended Messages:
Code Description
01h Synchronous Data Transfer Request
03h Wide Data Transfer Request
04h Parallel Protocol Request

3.2 Supported SCSI Messages

The SDLT tape drive supports the messages listed in Table 3-3. The message code and the direction of the message flow is also included in the table (In = target-to-initiator; Out = initiator-to-target). This section describes each message the drive supports.
Table 3-3. SDLT Tape Drive Supported Messages
Message and Code Direction
ABORT TASK SET (06h) Out
TARGET RESET (0Ch) Out
TASK COMPLETE (00h) In
DISCONNECT (04h) In Out
IDENTIFY (80h - FFh) In Out
IGNORE WIDE RESIDUE (23h) In
INITIATOR DETECTED ERROR (05h) Out
LOGICAL UNIT RESET (17h) Out
MESSAGE PARITY ERROR (09h) Out
MESSAGE REJECT (07h) In Out
81-81200-02 REV A01 January 2005 3-3
Supported SCSI Messages SDLT 600 SCSI Interface Guide
Table 3-3. SDLT Tape Drive Supported Messages (Continued)
Message and Code Direction
NO OPERATION (08h) Out
PARALLEL PROTOCOL REQUEST (extended message 04h)
RESTORE POINTERS (03h) In
SAVE DATA POINTER (02h) In
SYNCHRONOUS DATA TRANSFER REQUEST (extended message 01h)
WIDE DATA TRANSFER REQUEST (extended message 03h)

3.2.1 ABORT TASK SET (06h)

The initiator sends this message to the SDLT tape drive to clear the current I/O process on the selected logical unit. Buffered (cached) write operations are completed if possible. The drive goes directly to the BUS FREE phase after successful receipt of this message. Current settings of MODE SELECT parameters and reservations are not affected. Commands, data, and status for other initiators are not affected.
An initiator may send this message to a logical unit that is not currently performing an operation for the initiator. If the initiator does not select a logical unit, the drive enters the BUS FREE phase and no commands, data, or status on the drive are affected.
In Out
In Out
In Out
If a WRITE command is in progress and STATUS has not been sent to the initiator when the drive receives this message, the drive may write some or all of the data for the WRITE command to the medium.
3-4 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 3: SCSI Messages

3.2.2 TARGET RESET (0Ch)

An initiator sends the TARGET RESET message to direct the SDLT tape drive to clear all I/O processes. This message causes the drive to:
1. Flush the contents of the cache to tape and go to the BUS FREE phase.
2. Execute a soft reset, leaving the drive as if a Bus Reset had occurred.
The drive creates a Unit Attention condition for all initiators after accepting and processing a TARGET RESET message. The additional sense code is set to TARGET RESET OCCURRED.
If a WRITE command is in progress and STATUS has not been sent to the initiator when the drive receives this message, the drive may write some or all of the data for the WRITE command to the medium.

3.2.3 TASK COMPLETE (00h)

The SDLT tape drive sends the TASK COMPLETE message to an initiator to indicate that an I/O process has completed and that the drive sent VALID STATUS to the initiator. After successfully sending this message, the drive enters the BUS FREE phase by releasing the BSY signal. The drive considers the message transmission successful when it detects the negation of ACK for the TASK COMPLETE message with the ATN signal false. If the SDLT tape drive receives the TASK COMPLETE message, the drive handles it as an illegal message, returning MESSAGE REJECT.

3.2.4 DISCONNECT (04h)

The SDLT tape drive sends the DISCONNECT message to inform the initiator that the drive is about to break the present connection by releasing the BSY signal and that a later reconnect is required to complete the current I/O process. The message does not cause the initiator to save the data pointer. After sending the message, the drive enters the BUS FREE phase by releasing the BSY signal.
The initiator may also send the DISCONNECT message to tell the drive to suspend the current phase and disconnect from the bus. The drive’s response to and its handling of a DISCONNECT message are based on when, in the I/O process, the initiator sends the DISCONNECT message. Tab l e 3-4 summarizes the drive’s response.
Table 3-4. Drive’s Response to DISCONNECT Message
BUS Phase Drive Response
SELECTION The drive discards the DISCONNECT message and enters the BUS FREE
phase.
81-81200-02 REV A01 January 2005 3-5
Supported SCSI Messages SDLT 600 SCSI Interface Guide
Table 3-4. Drive’s Response to DISCONNECT Message (Continued)
BUS Phase Drive Response
COMMAND The drive discards the DISCONNECT message and enters the BUS FREE
phase. The drive ignores the ATTENTION request while it fetches the Command Descriptor Block. The drive does not switch to MESSAGE OUT until the current DMA completes.
DATA The drive ignores the ATTENTION request while the current data transfer
completes; that is, the drive does not switch to MESSAGE OUT until after the current DMA completes. The drive returns a MESSAGE REJECT message and responds with CHECK CONDITION status, indicating the command aborted because of an invalid message.
STATUS The drive sends a MESSAGE REJECT message, then sends TASK
COMPLETE.
MESSAGE IN The drive sends a MESSAGE REJECT message and enters the BUS FREE
phase.

3.2.5 IDENTIFY (80h - FFh)

Either the initiator or the SDLT tape drive sends the IDENTIFY message to establish or re-establish the physical connection path between an initiator and drive for a particular logical unit under the conditions listed below. Figure 3-2 shows the format of the IDENTIFY message and Tab l e 3-5 describes the data field contents.
Bit 7 6 5 4 3 2 1 0
Identify DiscPriv LUN
Figure 3-2. IDENTIFY Message — Data Format
Table 3-5. IDENTIFY Message — Field Descriptions
Field Description
Identify Must be set to 1, indicating that the current message is an IDENTIFY message.
DiscPriv Disconnect Privilege. May be set to 0 provided that no other I/O process is
currently active in the drive. If this bit is not set to 1 and other I/O processes are currently active in the drive, the drive returns a BUSY status.
LUN Logical Unit Number.
3-6 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 3: SCSI Messages

3.2.6 IGNORE WIDE RESIDUE (23h)

The SDLT tape drive sends the IGNORE WIDE RESIDUE message to the initiator to indicate that the number of valid bytes sent during the last REQ/ACK handshake and REQB/ACKB handshake of a DATA IN phase is less than the negotiated transfer width. The Ignore field indicates the number of invalid data bytes transferred. The drive sends this message immediately following the DATA IN phase and before any other messages. Figure 3-3 illustrates the data format of the IGNORE WIDE RESIDUE message. Table 3-6 describes the field definitions.
Bit
Byte
0 Message Code (23h)
1 Ignore (01h)
7 6 5 4 3 2 1 0
Figure 3-3. IGNORE WIDE RESIDUE Message — Data Format
Table 3-6. IGNORE WIDE RESIDUE Message — Field Definitions
Ignore Invalid Data Bits (16-bit Transfers)
00h Reserved
01h DB(15 - 8)
02h - FFh Reserved

3.2.7 INITIATOR DETECTED ERROR (05h)

The initiator sends the INITIATOR DETECTED ERROR message to inform the SDLT tape drive that an error has occurred that does not preclude the drive from retrying the operation (for example, a bus parity error). The source of the error may either be related to previous activities on the SCSI bus or may be strictly drive-related. When the drive receives this message, it may attempt to re-transfer the last command, data, or status bytes using the RESTORE POINTERS message mechanism.
The drive’s response to and its handling of an INITIATOR DETECTED ERROR message are based on when, in the I/O process, the initiator sends the message. Table 3-7 summarizes the drive’s response.
81-81200-02 REV A01 January 2005 3-7
Supported SCSI Messages SDLT 600 SCSI Interface Guide
Table 3-7. Drive’s Response to INITIATOR DETECTED ERROR Message
Bus Phase Drive Response
SELECTION The drive discards the INITIATOR DETECTED ERROR message and then
enters the BUS FREE phase.
COMMAND The drive discards any Command Descriptor Block bytes fetched from the
initiator, sets the Sense Key to ABORTED COMMAND, and sets the Additional Sense Code to INITIATOR DETECTED ERROR MESSAGE RECEIVED. The drive then sends the CHECK CONDITION status and the TASK COMPLETE message and then enters the BUS FREE phase.
DATA The drive discards the INITIATOR DETECTED ERROR message, sets the
Sense Key to ABORTED COMMAND, and sets the Additional Sense Code to INITIATOR DETECTED ERROR MESSAGE RECEIVED. The drive then sends the CHECK CONDITION status and the TASK COMPLETE message and then enters the BUS FREE phase.
STATUS The drive sends a RESTORE POINTERS message, returns to the STATUS
phase, resends the STATUS command, and continues the I/O process.
MESSAGE INThe drive discards the INITIATOR DETECTED ERROR message, sets the
Sense Key to ABORTED COMMAND, and sets the Additional Sense Code to INITIATOR DETECTED ERROR MESSAGE RECEIVED. The drive then sends the CHECK CONDITION status and the TASK COMPLETE message and then enters the BUS FREE phase.

3.2.8 LOGICAL UNIT RESET (17h)

This message causes the drive to execute a logical unit reset function on the logical unit identified by the last IDENTIFY message. The logical unit reset function is the same as would be performed following a BUS DEVICE RESET message except only the logical unit selected is affected. The drive enters the BUS FREE phase as part of processing this message and aborts all commands to the selected logical unit.
3-8 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 3: SCSI Messages

3.2.9 MESSAGE PARITY ERROR (09h)

The initiator sends this message to tell the SDLT tape drive that the last message byte the drive passed to the initiator contained a parity error.
To indicate that it intends to send the message, the initiator sets the ATN signal before it releases ACK for the REQ/ACK handshake of the message that has the parity error. This provides an interlock so that the drive can determine which message has the parity error. If the drive receives this message under any other condition, it proceeds directly to the BUS FREE phase by releasing the BSY signal, signifying a catastrophic error.
The drive’s response to this message is to switch to the MESSAGE IN phase and re-send from the beginning all the bytes of the message that precipitated the MESSAGE PARITY ERROR message.

3.2.10 MESSAGE REJECT (07h)

The initiator or SDLT tape drive sends this message to indicate that the last message received was illegal or has not been implemented.
To indicate its intention to send this message, the initiator asserts the ATN signal before it releases ACK for the REQ/ACK handshake of the message that is to be rejected. The drive issues the MESSAGE REJECT message in response to any message it considers to be illegal or not supported. The drive sends this message to the initiator before requesting any additional message bytes.

3.2.11 NO OPERATION (08h)

If the SDLT tape drive requests a message, the initiator sends a NO OPERATION message if it does not currently have any other valid message to send. The drive ignores the NO OPERATION message.
81-81200-02 REV A01 January 2005 3-9
Supported SCSI Messages SDLT 600 SCSI Interface Guide

3.2.12 PARALLEL PROTOCOL REQUEST (extended message 04h)

PARALLEL PROTOCOL REQUEST (PPR) messages (as shown in Table 3- 4 ) are used to negotiate synchronous transfer agreements and wide data transfer agreements, and to set the protocol options between two SCSI devices.
Bit
Byte
0
1 Extended Message Length (06h)
2 Parallel Protocol Request (04h)
3 Transfer Period Factor
4 Reserved
5 REQ/ACK Offset
6 Transfer Width Exponent
7
7 6 5 4 3 2 1 0
Extended Message Identifier (01h)
Figure 3-1)
(see
Reserved DT_
REQ
Rsv’d
Figure 3-4. PARALLEL PROTOCOL REQUEST Message — Data Format
The PPR message is required to configure an SDLT tape drive. This command sets the transfer period, offset, transfer width, and clocking all in one message.
Support for the PPR message is indicated by the Clocking field in the Standard Inquiry page. The PPR message can also be used to set the transfer period, offset, and transfer width on an SDLT tape drive with an Ultra 2 interface card. To enable it, set the MODE SELECT Vendor Specific EEPROM parameter EnablePPRMsg to 1.
The PPR message allows the host and target devices to negotiate operating conditions of the SCSI bus. An SDLT tape drive responds to a PPR message with a reciprocal PPR message containing acceptable parameters for the interface. An SDLT tape drive never initiates a PPR negotiation.
Details about how to configure the PPR message are shown in Table 3-8 .
3-10 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 3: SCSI Messages
Table 3-8. Features of the PARALLEL PROTOCOL REQUEST Message
Field Description
DT_REQ Double Transition Clocking Request. This bit indicates a request for Double
Transition Clocking, which means that two units of data are transferred for each clock cycle. Support for the PPR message is indicated by the Clocking field in the Standard Inquiry page.
Transfer Width Exponent
Transfer Period Factor
Valid transfer widths for the SDLT tape drive are 8 bits (transfer width = 00h) and 16 bits (transfer width = 01h). Other transfer widths are reserved.
09h = 12.5 nsec Transfer Period, 80 MHz
0Ah = 25 nsec Transfer Period, 40 MHz
0Ch = 50 nsec Transfer Period, 20 MHz
19h = 100 nsec Transfer Period, 10 MHz
32h = 200 nsec Transfer Period, 5 MHz

3.2.13 RESTORE POINTERS (03h)

The SDLT tape drive sends the RESTORE POINTERS message to the initiator to direct the initiator to copy the most recently saved command, data, and status pointers for the I/O process to the corresponding current pointers. The command and status pointers are restored to the beginning of the present command and status areas. The data pointer is restored to the value at the beginning of the data area in the absence of a SAVE DATA POINTER message or to the value at the point at which the last SAVE DATA POINTER message occurred for that logical unit.
When the drive receives the RESTORE POINTERS message, it switches to the message in phase and returns MESSAGE REJECT.

3.2.14 SAVE DATA POINTER (02h)

The SDLT tape drive sends the SAVE DATA POINTER message to direct the initiator to copy the current data pointer to the saved data pointer for the current I/O process.
The drive sends this message before a disconnect during a data transfer. It may not send a SAVE DATA POINTER message if it intends to move directly to the STATUS phase. If the drive receives this message, it enters the message-in phase and returns MESSAGE REJECT.
81-81200-02 REV A01 January 2005 3-11
Supported SCSI Messages SDLT 600 SCSI Interface Guide

3.2.15 SYNCHRONOUS DATA TRANSFER REQUEST (extended message 01h)

This extended message allows the SDLT tape drive and initiator to agree on the values of the parameters relevant to synchronous transfers. The SYNCHRONOUS DATA TRANSFER REQUEST message has the format shown in Figure 3-5.
NOTE: The ANSI SPI-4 standard prohibits target devices from initiating
negotiations using the PARALLEL PROTOCOL REQUEST message. Instead, targets are required to negotiate using the WIDE DATA TRANSFER REQUEST and SYNCHRONOUS DATA TRANSFER REQUEST messages. The SDLT tape drive initiates negotiations starting with a WIDE DATA TRANSFER REQUEST message before transferring any data if transfer parameters have not been established or have been lost. See SPI-4.
Bit
Byte
0
1 Length (03h)
2 SYNCHRONOUS DATA TRANSFER REQUEST (01h)
3 Transfer Period
4 Transfer REQ/ACK Offset
7 6 5 4 3 2 1 0
Extended Message Identifier (01h)
Figure 3-1)
(see
Figure 3-5. SYNCHRONOUS DATA TRANSFER REQUEST Message — Data Format
A SCSI device initiates a SYNCHRONOUS DATA TRANSFER REQUEST message exchange whenever a previously arranged transfer agreement may have become invalid. The agreement becomes invalid after any condition that may leave the data transfer agreement in an indeterminate state, such as:
After any SCSI reset condition
After a TARGET RESET message
After a power cycle
After a WIDE DATA TRANSFER REQUEST message exchange.
The SYNCHRONOUS DATA TRANSFER REQUEST message exchange establishes an agreement between two SCSI devices on the clocking of the data used for DATA phase transfer between them.
3-12 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 3: SCSI Messages
This agreement applies to the DATA IN and DATA OUT phases only. All other information transfer phases must use asynchronous transfers.
The SDLT tape drive implements both the wide data transfer and synchronous data transfer options. If both wide and synchronous data transfers are used, the wide data transfer agreement must be negotiated first. If a synchronous data transfer agreement is in effect, the drive resets the synchronous agreement to asynchronous mode after accepting a WIDE DATA TRANSFER REQUEST message.
If the Transfer Period requested is less than the minimum value the drive supports, the drive adjusts the return value up to the minimum supported value.
Not all possible transfer periods between the minimum and maximum values are supported. If the Transfer Period requested is between the minimum and maximum supported values, but not exactly achievable by the drive, the drive returns the request value and the drive transmits data at the next lower speed it is capable of. The initiator may send data at the request speed. The maximum supported synchronous period is 5Dh (372 nsec). A request with a Transfer Period less than this returns a request for asynchronous mode.
Table 3-9. Transfer Periods and Transfer Rates
Transfer Period Transf e r R ate
0Ah 40 MHz, 25 nsec Transfer Period
0Bh 33 MHz, 30.3 nsec Transfer Period; Super DLTtape uses 37.5 nsec period
0Ch 20 MHz, 50 nsec Transfer Period
0Dh – 5Dh (4 * Transfer Period) nsec
The drive’s minimum supported value for Transfer Period is 0Ah when the bus is operating in LVD mode. When operating in SE (Single-Ended) mode, the minimum Transfer Period value is 0Ch.
When the Transfer REQ/ACK value is non-zero, the drive will transfer data using synchronous transfers; a Transfer REQ/ACK offset value of zero indicates asynchronous transfers. If the host requests a Transfer REQ/ACK offset value greater than the maximum value that the drive supports, the drive responds with the maximum value that it supports.
81-81200-02 REV A01 January 2005 3-13
Supported SCSI Messages SDLT 600 SCSI Interface Guide

3.2.16 WIDE DATA TRANSFER REQUEST (extended message 03h)

Figure 3-6 illustrates the message formats.
Bit
Byte
0
1 Extended Message Length (02h)
2 WIDE DATA TRANSFER REQUEST (03h)
3 Transfer Width Exponent
7 6 5 4 3 2 1 0
Extended Message Identifier (01h)
Figure 3-1)
(see
Figure 3-6. WIDE DATA TRANSFER REQUEST Message — Data Format
The SDLT tape drive initiates a WIDE DATA TRANSFER REQUEST message exchange whenever a previously arranged transfer width agreement may have become invalid. The agreement becomes invalid after any condition that may leave the data transfer agreement in an indeterminate state, such as:
After a hard reset condition
After a TARGET RESET message
After a power cycle.
The WIDE DATA TRANSFER REQUEST message exchange establishes an agreement between two SCSI devices on the width of the data path to be used for DATA phase transfer between them. This agreement applies to DATA IN and DATA OUT phases only. All other information transfer phases must use an eight-bit data path.
The drive implements both the wide data transfer option and synchronous data transfer option. If both wide and synchronous data transfers are used, the wide data transfer agreement must be negotiated first. If a synchronous data transfer agreement is in effect, the drive resets the synchronous agreement to asynchronous mode after accepting a WIDE DATA TRANSFER REQUEST message.
The transfer width established applies to all logical units. Valid transfer widths for the SDLT tape drive are 8 bits (transfer width = 00h) and 16 bits (transfer width = 01h). Other transfer widths are reserved.
3-14 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide SCSI Commands
This chapter describes the supported SCSI commands, options, and error recovery procedures implemented in the Quantum SDLT tape drive. This chapter does not fully reiterate the entire ANSI SCSI specification; for information of this nature, refer to the SCSI specification itself.
The web sites http://www.scsita.org and http://www.t10.org are also helpful sources of information.
81-81200-02 REV A01
CHAPTER 4

SCSI Commands

4.1 Overview of SCSI Command and Status Processing

The Quantum SDLT tape drive supports the SCSI-3 command set. The SDLT tape drive supports the SCSI commands listed in Tabl e 4-1.
Table 4-1. SCSI Commands Supported by SDLT Tape Drives
Command Operation Code Subsection
ERASE 19h Page 4-10
INQUIRY 12h Page 4-11
LOAD UNLOAD 1Bh Page 4-28
LOCATE 2Bh Page 4-30
LOG SELECT 4Ch Page 4-31
LOG SENSE 4Dh Page 4-39
MODE SELECT (6) / (10) 15h / 55h Page 4-67
MODE SENSE (6) / (10) 1Ah / 5Ah Page 4-107
PERSISTENT RESERVE IN 5Eh Page 4-135
81-81200-02 REV A01 January 2005 4-1
Overview of SCSI Command and Status Processing SDLT 600 SCSI Interface Guide
Table 4-1. SCSI Commands Supported by SDLT Tape Drives (Continued)
Command Operation Code Subsection
PERSISTENT RESERVE OUT 5Fh Page 4-142
PREVENT / ALLOW MEDIUM REMOVAL 1Eh Page 4-152
READ 08h Page 4-153
READ ATTRIBUTE 8Ch Page 4-156
READ BLOCK LIMITS 05h Page 4-181
READ BUFFER 3Ch Page 4-183
READ POSITION 34h Page 4-189
RECEIVE DIAGNOSTIC RESULTS 1Ch Page 4-194
RELEASE (10) 57h Page 4-196
RELEASE UNIT 17h Page 4-198
REPORT DENSITY SUPPORT 44h Page 4-199
REPORT DEVICE IDENTIFIER
A3h, SA= 05h
1
Page 4-204
REPORT LUNS A0h Page 4-206
REPORT SUPPORTED OPERATION CODES
REPORT SUPPORTED TASK MANAGEMENT
A3h, SA= 0Ch
A3h, SA= 0Dh
1
1
Page 4-208
Page 4-214
OPERATIONS
REQUEST SENSE 03h Page 4-216
RESERVE (10) 56h Page 4-228
RESERVE UNIT 16h Page 4-230
REWIND 01h Page 4-232
SEND DIAGNOSTIC 1Dh Page 4-233
SET DEVICE IDENTIFIER A4h Page 4-237
SPACE 11h Page 4-239
TEST UNIT READY 00h Page 4-241
VERIFY 13h Page 4-242
WRITE 0Ah Page 4-243
WRITE ATTRIBUTE 8Dh Page 4-245
4-2 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Table 4-1. SCSI Commands Supported by SDLT Tape Drives (Continued)
Command Operation Code Subsection
WRITE BUFFER 3Bh Page 4-249
WRITE FILEMARKS 10h Page 4-252
1. SA = Service Action
NOTES:1The SDLT tape drive does not act as an initiator on the SCSI
bus. Therefore, the drive does not 1) generate unsolicited interrupts to the host, 2) initiate its own SCSI commands, or
3) assert bus RESET.
2 The RECEIVE DIAGNOSTIC RESULTS and SEND
DIAGNOSTIC commands implement vendor-specific pages to test the drive during the manufacturing process. Quantum recommends that initiators specify only the non-page format variants of these commands (PF=0) for all pages except page 40h.

4.1.1 Status and Error Reporting

SCSI message-level errors are communicated by messages that are defined specifically for that purpose (for example, MESSAGE PARITY ERROR, MESSAGE REJECT). Message-level errors are also handled by drive-managed retries. Refer to Chapter 3, “SCSI Messages” for more detailed message-handling information.
SCSI command-level errors are communicated by a status code that the drive returns during the STATUS phase. This phase occurs at the end of each command unless one of the following events terminates the command:
ABORT TASK SET message
TARGET RESET message
Reset condition
Unexpected disconnect.
The status code is contained in bits 1 through 5 of the status byte. Bits 0, 6, and 7 are reserved.
Table 4-2 describes the status codes the drive returns.
81-81200-02 REV A01 January 2005 4-3
Overview of SCSI Command and Status Processing SDLT 600 SCSI Interface Guide
Table 4-2. Status Codes
Status Code
00h GOOD The drive successfully completed the command.
Definition Meaning
02h CHECK
CONDITION
08h BUSY The drive cannot currently service the command and has
18h RESERVATION
CONFLICT
An exception condition occurred and the drive has established a Contingent Allegiance condition.
discarded the CDB. The initiator may retry the command later.
The drive returns this status when an initiator attempts to reserve the drive when another initiator has already reserved it with a RESERVE UNIT, RESERVE (10), or PERSISTENT RESERVE OUT command. The drive never returns this status for INQUIRY or REQUEST SENSE commands.

4.1.2 DATA Phase Command Components

Many of the SCSI commands cause data to be transferred between the initiator and the SDLT tape drive. The content and characteristics of this data are command-dependent. Table 4 - 4 lists the information transmitted with each of the commands.
The drive uses the “Length in CDB” column of Table 4-4 to determine how much command-related data are to be transferred. Table 4-3 lists how the units (bytes or logical blocks) for the different Length fields are implied by the Length field name as follows:
Table 4-3. Units for Length Fields
Field Name Units Implied
Allocation Length Bytes of data the drive is allowed to send to the initiator.
Parameter List Length Bytes of data the initiator has available for the drive.
Transfer Length Logical number of data blocks or data bytes the initiator wants
transferred or verified.
Byte Transfer Length Bytes of data the initiator wants transferred.
The Data Out column in Table 4- 4 lists the information the initiator passes to the drive as part of the command. The Data In column lists the information the drive sends to the initiator. Numbers in
4-4 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
parentheses after an item indicate the item’s length in bytes. In some cases, additional length information is communicated during the DATA phase.
Table 4-4. DATA Phase Command Contents
Command Length in CDB Data Out (To Drive) Data In (From Drive)
ERASE 0 --- ---
INQUIRY Allocation --- Standard Inquiry or a Vital
Product Data page
LOAD UNLOAD 0 --- ---
LOCATE 0 --- ---
LOG SELECT Parameter List
--- ---
(must be 0)
LOG SENSE Allocation --- Log Page
MODE SELECT (6) / (10)
Parameter List Mode Parameter
Header (4) Block
---
Descriptor (8) Page(s)
MODE SENSE (6) / (10)
Allocation --- Mode Parameter
Header (4) Block Descriptor (8) Page(s)
PERSISTENT
Allocation --- Parameter Data
RESERVE IN
PERSISTENT RESERVE OUT
PREVENT ALLOW
Parameter
Parameter List ---
Length
0--- --­MEDIUM REMOVAL
READ Transfer --- Data
READ BLOCK
0 --- Block Length Limits LIMITS
READ BUFFER Allocation --- Buffer Offset and
Allocation Length and/ or Test Data
READ POSITION Determined by
Long Bit
RECEIVE
Allocation --- Diagnostic Page
--- Position Identifier or SCSI Logical Address
DIAGNOSTIC RESULTS
81-81200-02 REV A01 January 2005 4-5
Overview of SCSI Command and Status Processing SDLT 600 SCSI Interface Guide
Table 4-4. DATA Phase Command Contents (Continued)
Command Length in CDB Data Out (To Drive) Data In (From Drive)
REPORT DENSITY SUPPORT
Allocation --- Density Support
Header (4), Density Support Descriptors
REPORT DEVICE IDENTIFIER
Allocation --- Device Identification
Information
REPORT LUNS Allocation --- Supported LUNs List
REPORT SUPPORTED
Allocation --- Depends on Parameter
Va lu e
OPERATION CODES
REPORT SUPPORTED TASK MANAGEMENT
Allocation --- List of the Various Task
Management Functions (Supported, Unsupported)
FUNCTIONS
REQUEST SENSE Allocation --- Sense Data
REWIND 0 --- ---
SEND
Parameter List Diagnostic Page ---
DIAGNOSTIC
SET DEVICE
Parameter List Device ID ---
IDENTIFIER
SPACE 0 --- ---
TEST UNIT
0--- ---
READY
VERIFY 0 --- ---
WRITE Transfer Data ---
WRITE BUFFER Parameter List Microcode Image
---
Data or Test Data
WRITE
--- --- ---
FILEMARKS
4-6 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands

4.1.3 Unit Attention Condition

Queued Unit Attentions are implemented on the SDLT tape drive and are maintained separately for each valid LUN for each initiator. Unit Attentions are created in each of the following circumstances:
At power-on.
At Bus Reset
On a BUS DEVICE RESET message
When the medium may have changed asynchronously.
When another initiator changes the Mode parameters.
When a firmware (microcode) update has completed.
Change of SCSI bus transceivers (SE or LVD).
Up to three Unit Attentions may be queued for each initiator. If an initiator does not clear its queued Unit Attentions, any additional Unit Attention conditions are not reported.

4.1.4 Behavior at Power-On

The SDLT tape drive’s behavior at power-on consists of the following:
The drive’s SCSI lines are set to high impedance.
The design of the drive prevents it from generating any spurious signals on the SCSI bus during
power-on.
Within five seconds of power-on, the tape drive responds to SCSI bus selections and returns appropriate, normal responses. The drive returns tape motion commands with CHECK CONDITION status, Sense Key set to NOT READY, until the tape medium is ready.
The drive rewinds the tape to Beginning of Tape (BOT).
The drive goes through a calibration process at power-on and loading of media.
The drive recognizes multiple, successive SCSI bus resets and SCSI bus resets of arbitrarily long
duration. The drive recovers within the time limits specified above following the last SCSI bus reset.
81-81200-02 REV A01 January 2005 4-7
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands

4.1.5 Data Cache and Tape Write Interaction

The Quantum SDLT tape drive contains a data cache that buffers blocks and filemarks until it writes them to tape. This section describes what happens when the drive writes, or “flushes,” those blocks to tape. A MODE SELECT parameter allows the data cache to be disabled (unbuffered mode). In this mode, every WRITE command causes data to be written to the tape medium before the drive returns the STATUS byte and the TASK COMPLETE message to the host.
NOTE: Unbuffered mode is NOT recommended due to the poor performance that
may result.
The drive writes the contents of the write data cache to the tape medium under the following circumstances:
When the initiator issues a WRITE FILEMARKS command with the Immediate bit set to 0.
When data has been in the cache longer than the maximum time specified by the value of the
MODE SELECT command Write Delay Time parameter (the default is 10 seconds).
When the drive receives a non-write-type media access command.
When a RESET condition occurs.

4.2 SCSI Command Descriptions

The SCSI command descriptions that make up the rest of this chapter contain detailed information about each command the SDLT tape drive supports. The SCSI commands are presented in alphabetical order. Fields common to many of the SCSI commands are not repeated for every command; instead they are supported as shown in Table 4 - 5:
Table 4-5. Fields Common to Many SCSI Commands
Name of Field How Field is Supported in SCSI Commands
Logical Unit Number (LUN) LUN for the SDLT tape drive is 0.
Control All SCSI commands must have a Control byte, which is implemented as
described in SCSI Architecture Model – 3 (SAM–3).
Reserved Reserved bits, fields, bytes, and code values are set aside for future
standardization and must be set to 0. If the drive receives a command that contains non-zero bits in a reserved field or a reserved code value, the drive terminates the command with a CHECK CONDITION status and the Sense Key is set to ILLEGAL REQUEST.
81-81200-02 REV A01 January 2005 4-8
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Throughout this manual, multiple bytes that contain information about specific command parameters are portrayed as shown in the example of the Parameter List Length field (bytes 7 to 8) of the LOG SELECT command, shown as follows:
Bit
Byte
7 – 8
7 6 5 4 3 2 1 0
(Bytes 0 – 6)
(MSB)
Parameter List Length
(LSB)
This sample indicates that the most significant bit (MSB) of the field is bit 7 of byte 7; the least significant bit is bit 0 of byte 8. The shorthand version of presentation is used in this manual to save space.
This is an alternate, “shorthand” presentation for:
Bit
Byte
7 (MSB)
8
7 6 5 4 3 2 1 0
(Bytes 0 – 6)
Parameter List Length
(LSB)
81-81200-02 REV A01 January 2005 4-9
SDLT 600 SCSI Interface Guide SCSI Commands
ERASE Command (19h) SDLT 600 SCSI Interface Guide
81-81200-02 REV A01

4.3 ERASE Command (19h)

The ERASE command erases the data on the tape medium. The SDLT tape drive erases the data only if the Long bit is set to 1 and the drive receives the ERASE command while it is at Beginning of Tape (BOT). If the Long bit is set to 0, this command has no effect on the tape medium.
NOTE: The time required to completely erase a Super DLTtape II cartridge is
more than 3 hours.
Bit
Byte
0 Operation Code (19h)
1 Reserved Immed Long
2 – 4 Reserved
5 Control
7 6 5 4 3 2 1 0
Figure 4-1. ERASE Command Descriptor Block — Data Format
Table 4-6. ERASE Command Descriptor Block — Field Descriptions
Field Description
Immed Immediate. If set to 0, the drive does not return status until the selected operation
has completed. If set to 1, the drive returns status as soon as it initiates the operation.
Long Must be set to 1 to perform an erase operation. Issuing an ERASE command when
the tape is not at BOT is an ILLEGAL REQUEST. If set to 0, the drive performs no operation—the ERASE command does not affect the tape.
4-10 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide SCSI Commands
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
81-81200-02 REV A01

4.4 INQUIRY Command (12h)

The INQUIRY command allows the initiator to direct all attached devices to return information about themselves. SDLT devices respond by providing a variety of information, including their World Wide Name and other important characteristics. The SDLT tape drive identifies itself as a Sequential Access Storage Device that implements the SCSI-3 protocol.
NOTE: The tape drive does not need to access its tape medium to respond to the
INQUIRY command.
The drive can provide different categories of data in response to an INQUIRY command:
Standard Inquiry Data — contains basic data about the drive, including vendor-specific inquiry data that precisely identifies the revision of SDLT tape drive subsystem components.
Vital Product Data — comprises several pages of additional data. Each Vital Product Data page requires a separate INQUIRY command from the initiator. To see a list of specific Vital Product Data pages returned by this SDLT tape drive, refer to “Supported Vital Product Data Page (00h)”
on page 4-17.
An INQUIRY command is neither affected by—nor does it clear—a Unit Attention condition.
Bit
Byte
0 Operation Code (12h)
1 Reserved Obsolete EVPD
2 Page Code
3 – 4
5 Control
7 6 5 4 3 2 1 0
(MSB)
Allocation Length
(LSB)
Figure 4-2. INQUIRY Command Descriptor Block — Data Format
81-81200-02 REV A01 January 2005 4-11
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide
Table 4-7. INQUIRY Command Descriptor Block — Field Descriptions
Field Description
EVPD Enable Vital Product Data. If set to 0, the drive returns the Standard Inquiry Data.
If EVPD is set to 1, the drive returns the Vital Product Data Page specified by Page Code.
Page Code Specifies the Vital Product Data Page that the drive is to return when EVPD is set
to 1. Figure 4-5 on page 4-17 shows the Page Codes for the Vital Product Data pages the drive supports.
Allocation Length
Specifies the number of bytes of inquiry information the drive is allowed to return to the initiator during the command’s DATA IN phase. The drive does not return Error status if the value in this field truncates the requested information.
4-12 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands

4.4.1 Standard Inquiry Data Page

Figure 4-3 shows the format of the Standard Inquiry Data page returned by the drive.
Bit
Byte
0 Peripheral Qualifier Peripheral Device Type
1 RMB Reserved
2 Ve r si o n
3 Obsolete NormACA HiSup Response Data Format
4 Additional Length
5 SCCS ACC ALUA 3PC Reserved
6 BQue EncServ VS MultiP MChngr Obsolete Addr16
7 RelAdr Obsolete Wbus16 Sync Linked Obsolete CmdQue VS
8 – 15
16 – 31
7 6 5 4 3 2 1 0
(MSB)
Vendor Identification (QUANTUM)
(MSB)
Product Identification
(LSB)
(LSB)
(MSB)
32 – 35
(MSB)
36 – 55
56 Reserved Clocking QAS IUS
57 Reserved
(MSB)
58 – 59
(n – 1)
n
Version Descriptor (last version descriptor, if more than one)
Product Revision Level (hhss)
(LSB)
Vendor Specific Bytes
(LSB)
Version Descriptor (first version descriptor)
(LSB)
Figure 4-3. Standard Inquiry Data Page — Data Format
81-81200-02 REV A01 January 2005 4-13
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide
The following table contains field descriptions for the data the drive returns.
Table 4-8. Standard Inquiry Data Page — Field Descriptions
Field Name Val ue Description
Peripheral Qualifier 0 This field contains 000b if the command is directed to a
valid device. The field contains 011b if there is no device at the selected LUN.
Peripheral Device Type 1 This field contains 01h if the LUN is 0h, 8h if the LUN
selects an attached loader, or 1Fh if no device is attached to the selected LUN.
RMB 1 Removable Medium Bit. Always set to 1.
Version 04h The drive supports ANSI SCSI-3 per SPC-2.
NormACA 0 Normal ACA Supported. When set to 0, indicates that the
drive does not support setting the NACA bit to 1 in the Control byte of the CDB. When set to 1, indicates that the drive supports setting the NACA bit to 1.
HiSup 1 Hierarchical Support. When set to 0, indicates that the
drive does not support the hierarchical addressing model to assign LUNs to logical units. When set to 1, indicates that the drive does support the hierarchical addressing model to assign LUNs to logical units.
Response Data Format 2 This Standard Inquiry Data is in the format described in
the Version field.
Additional Length --- The drive uses this field to indicate the number of
additional bytes of INQUIRY Response Data available. The value depends on the number of version descriptors returned in the INQUIRY Response Data.
SCCS 0 SCC Supported. The drive does not contain an embedded
storage array controller component. Always set to 0.
ACC 0 Access Controls Coordinator. The drive does not contain
an access controls coordinator. Always set to 0.
ALUA 00b Asymmetric Logical Unit Access. Not supported. Always
set to 0.
3PC 0 Third-party Copy. Not supported. Always set to 0.
BQue 0 Tagged (Basic) Command Queuing. Not supported.
Always set to 0.
EncServ 0 Enclosure Services. The drive does not contain an
embedded enclosure services component. Always set to 0.
4-14 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Table 4-8. Standard Inquiry Data Page — Field Descriptions (Continued)
Field Name Val ue Description
VS 0 Vendor Specific. Both VS bits are always set to 0.
MultiP 0 Multi Port. The drive is a single-port device that does not
implement multi-port requirements. Always set to 0.
MChnger 0 Medium Changer. The drive does not support attached
medium changer commands sent to the drive’s LUN. Always set to 0.
Addr16 1 16-bit Addressing. Always set to 1 to indicate that the
drive supports 16-bit-wide SCSI addresses.
RelAdr 0 Relative Addressing. Not supported. Always set to 0.
WBus16 1 Wide Bus 16. Always set to 1 to indicate that the drive
supports 16-bit wide data transfers.
Sync 1 Synchronous Data Transfer. Always set to 1 to indicate
that the drive supports synchronous data transfers.
Linked 0 Linked Command Support. Not supported. Always set to
0.
CmdQue 0 Tagged Command Queuing. Not supported. Always set to
0.
Vendor Identification QUANTUM The value in this field is left-aligned and set to
“QUANTUM”. The remainder of the field is filled with space characters.
Product Identification SDLT600 For the SDLT 600 tape drive, this field is set to
“SDLT600”, left-aligned, filled with space characters to the end of the field.
Product Revision Level --- Contains 4 bytes of ASCII data that provide the drive’s
firmware revision levels. The first 2 bytes are the version number for servo code. The second 2 bytes are the version number of the SCSI/read/write code. When a firmware update is performed on the SDLT tape drive, the second two bytes of the revision level change to reflect that update.
Vendor Specific --- See “Vendor Specific Inquiry Data Page” on page 4-17
for details about what types of vendor-specific information are returned.
Clocking --- Indicates level of data clocking supported. Set to 00b if
only single-edge transfers are supported; set to 11b to indicate that both single- and dual-edge transfers are supported (Ultra 160).
81-81200-02 REV A01 January 2005 4-15
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide
Table 4-8. Standard Inquiry Data Page — Field Descriptions (Continued)
Field Name Val ue Description
QAS 0 Quick Arbitrate Supported. Not supported. Always set to
0.
IUS 0 Information Units Supported. Not supported. Always set
to 0.
Version Descriptors - Identifies the industry standards to which the drive
conforms. Note: As many version descriptors as apply for the drive are returned.
4-16 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Vendor Specific Inquiry Data Page
The following information precisely identifies the revision of SDLT tape drive subsystem components. Note: Page content is subject to change at any time.
Bit
Byte
36 Product Family Released Firmware
37 Firmware Major Version Number
38 Firmware Minor Version Number
39 EEPROM Format Major Version Number
40 EEPROM Format Minor Version Number
41 Firmware Personality
42 Firmware Subpersonality
43 Vendor Specific Subtype
44 Controller Hardware Version Number
45 Tape Drive EEPROM Version Number
46 Tape Drive Hardware Version Number
47 Media Loader Firmware Version Number
48 Media Loader Hardware Version Number
7 6 5 4 3 2 1 0
49 Media Loader Mechanical Version Number
50 Media Loader Present Flag
51 Library Present Flag
52 – 55 Module Revision
Figure 4-4. Vendor Specific Inquiry Data Page — Data Format
NOTE: Refer also to “Subsystem Components Revision Page (C1h)” on
page 4-26 for information about an alternate method for accessing these
same drive subsystem components.
81-81200-02 REV A01 January 2005 4-17
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide
Table 4-9. Vendor Specific Inquiry Data Page — Field Descriptions
Field Name Description
Product Family Indicates the data density of each of the SDLT tape drives as
follows:
Value Drive Density
Ah 110.0 / 220.0 GB
Bh 160.0 / 320.0 GB
Ch 300.0 / 600.0 GB
Released Firmware Differentiates between released and test versions of firmware.
When set to 1, indicates released code (Vxxx); when set to 0, indicates field test code (Txxx). Released code has no minor firmware version number (byte 38 is set to 0). For tracking purposes, field test and engineering versions of code have non­zero minor firmware version numbers.
Version Number Fields These fields display the various version numbers in binary
format, instead of ASCII.
Firmware Personality Numeric indicator of firmware personality. Note that when set
to 4, indicates OEM family.
Firmware Subpersonality Indicates the variant of the firmware personality. Always set to
1, indicating the primary firmware personality variant.
Vendor Specific Subtype Product identification.
Media Loader Present Flag When set to 0, indicates no loader present. Non-zero indicates
loader is present.
Library Present Flag When set to 0, indicates no library present. Non-zero indicates
library is present.
Module Revision A 4-byte ASCII string representing the revision level of the tape
drive’s module (the controller PCBA attached to the drive).
4-18 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands

4.4.2 Vital Product Data Pages

The following subsections describe the Vital Product Data Pages for the SDLT tape drive.
Supported Vital Product Data Page (00h)
The Supported Vital Product Data Page provides a directory of the Vital Product Data pages that the drive supports. The supported pages are:
Supported Vital Product Data Page (00h)
Unit Serial Number Page (80h)
Device Identification Page (83h)
Firmware Build Information Page (C0h)
Subsystem Components Revision Page (C1h).
Bit
Byte
0 Peripheral Qualifier Peripheral Device Type
1 Page Code (00h)
2 Reserved
3 Page Length (05h)
4 Supported Vital Product Data Page (00h)
5 Unit Serial Number Page (80h)
6 Device Identification Page (83h)
7 Firmware Build Information Page (C0h – Vendor Specific)
8 Subsystem Components Revision Page (C1h – Vendor Specific)
7 6 5 4 3 2 1 0
Figure 4-5. Supported Vital Product Data Pages — Data Format
81-81200-02 REV A01 January 2005 4-19
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide
Unit Serial Number Page (80h)
Figure 4-6 shows the format of the Unit Serial Number page the drive returns.
Bit
Byte
0 Peripheral Qualifier Peripheral Device Type
1 Page Code (80h)
2 Reserved
3 Page Length (10h)
4 – 19 Serial Number
7 6 5 4 3 2 1 0
Figure 4-6. Unit Serial Number Page — Data Format
Table 4-10. Unit Serial Number Page — Field Descriptions
Field Name Description
Serial Number The serial number given is the serial number of the module or the drive,
typically beginning with “MX”, indicating the site of manufacture. If the drive serial number is valid, it is reported; otherwise, the module serial number is reported. The serial number appears on the bar code label. The drive returns the serial number in ASCII format.
4-20 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Device Identification Page (83h)
Figure 4-7 shows the format of the Device Identification page the drive returns.
Bit
Byte
0 Peripheral Qualifier Peripheral Device Type
1 Page Code (83h)
2 Reserved
3 Page Length
4 – n Identification Descriptors
7 6 5 4 3 2 1 0
Figure 4-7. Device Identification Page — Data Format
Table 4-11. Device Identification Page — Field Descriptions
Field Name Description
Peripheral Qualifier
Peripheral Device Type
Contains 000b if the command is directed to a valid device. Contains 011b if there is no device at the selected LUN.
Contains 01h if the LUN is 0h, 8h if the LUN selects an attached library, or 1Fh if there is no device at the selected LUN.
Page Code A value of 83h identifies this as the Device Identification page.
Page Length Indicates the size of the returned Device Identification page.
Identification Descriptors
The drive always returns the Vendor-unique Logical Unit Identifier and the Logical Unit NAA Identifier. It may also return other identifiers. The following identifiers are described in this section:
Vendor-unique Logical Unit Identifier
Logical Unit NAA Identifier
81-81200-02 REV A01 January 2005 4-21
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide
Vendor-unique Logical Unit Identifier
Figure 4-8 shows the format of the Vendor-unique Logical Unit Identifier.
Bit
Byte
0 Protocol Identifier Code Set (2h)
1 PIV (0) Rsv’d Association (0) Identifier Type (1)
2 Reserved
3 Identifier Length
4 – 11
12 – 27
28 – n
7 6 5 4 3 2 1 0
(MSB)
Vendor Identification
(MSB)
Product Identification
(MSB)
Serial Number
Figure 4-8. Vendor-unique Logical Unit Identifier— Data Format
(LSB)
(LSB)
(LSB)
Table 4-12. Vendor-unique Logical Unit Identifier — Field Descriptions
Field Name Description
Protocol Identifier
Code Set Indicates the type of data found in the Identifier field. Set to 2h, indicating
PIV Protocol Identifier Valid. Set to 0, indicating that the value returned in the
Association Set to 0, indicating that the Identifier is associated with the logical unit.
Identifier Type Type of identifier.
4-22 January 2005 81-81200-02 REV A01
Set to 0.
ASCII graphic code (values 20h through 7Eh) data.
Protocol Identifier field should be ignored.
Value Description
1h T10 vendor identification
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Table 4-12. Vendor-unique Logical Unit Identifier — Field Descriptions (Continued)
Field Name Description
Identifier Length
Specifies the length in bytes of the Identifier field. If the Allocation Length field of the CDB is too small to transfer the entire identifier, the Identifier Length value is not adjusted to reflect the truncation.
Vendor Identification
Product Identification
The value in this field is left-aligned and set to “QUANTUM”. The remainder of the field is filled with space characters.
For the SDLT 600 drive, this field is set to “SDLT600”, left-aligned, and filled with space characters to the end of the field.
Serial Number The serial number given is the serial number of the module or the drive,
typically beginning with “MX”, indicating the site of manufacture. If the drive serial number is valid, it is reported; otherwise, the module serial number is reported. The serial number appears on the bar code label. The drive returns the serial number in ASCII format.
81-81200-02 REV A01 January 2005 4-23
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide
Logical Unit NAA Identifier
Figure 4-9 shows the format of the Logical Unit NAA Identifier.
Bit
Byte
0 Protocol Identifier Code Set (1)
1 PIV (0) Rsv’d Association (0) Identifier Type (3h)
2 Reserved
3 Identifier Length (08h)
4 – 11
7 6 5 4 3 2 1 0
(MSB)
NAA Identifier (binary)
Figure 4-9. Logical Unit NAA Identifier — Data Format
Table 4-13. Logical Unit NAA Identifier — Field Descriptions
Field Name Description
Protocol Identifier
Set to 0.
(LSB)
Code Set Indicates the type of data found in the Identifier field. Set to 1h, indicating
binary data.
PIV Protocol Identifier Valid. Set to 0, indicating that the value returned in the
Protocol Identifier field should be ignored.
Association Set to 0, indicating that the Identifier is associated with the logical unit.
Identifier Type Type of identifier.
Value Description
3h NAA identifier
Identifier Length
NAA Identifier Contains the Name Address Authority (NAA) identifier for the logical unit.
4-24 January 2005 81-81200-02 REV A01
Specifies the length in bytes of the Identifier field. If the Allocation Length field of the CDB is too small to transfer the entire identifier, the Identifier Length value is not adjusted to reflect the truncation.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Firmware Build Information Page (C0h)
Figure 4-11 shows the format of the Firmware Build Information page the drive returns.
Bit
Byte
0 Peripheral Qualifier Peripheral Device Type
1 Page Code (C0h)
2 Reserved
3 Page Length (28h)
4 – 7 Servo Firmware Revision
8 – 11 Servo Firmware Checksum
12 – 15 Servo EEPROM Checksum
16 – 19 Controller Firmware Checksum
20 – 43 Controller Firmware Build Date
7 6 5 4 3 2 1 0
Figure 4-10. Firmware Build Information Page — Data Format
Table 4-14. Firmware Build Information Page — Field Descriptions
Field Name Description
Servo Firmware Revision
Checksum The Servo Firmware, Servo EEPROM, and READ / WRITE Firmware
Controller Firmware Build Date
81-81200-02 REV A01 January 2005 4-25
Contains the revision number of the servo firmware.
checksums are binary numbers used for positive firmware and EEPROM identification.
Firmware Build Date. An ASCII string in DD-MM-YYYY HH:MM:SS format.
INQUIRY Command (12h) SDLT 600 SCSI Interface Guide
Subsystem Components Revision Page (C1h)
The following information precisely identifies the revision of SDLT tape drive subsystem components. Note: Page content is subject to change at any time.
Bit
Byte
0 Peripheral Qualifier Peripheral Device Type
1 Page Code (C1h)
2 Reserved
3 Page Length (39h)
4 Product Family Released Firmware
5 Firmware Major Version Number
6 Firmware Minor Version Number
7 EEPROM Format Major Version Number
8 EEPROM Format Minor Version Number
9 Firmware Personality
10 Firmware Subpersonality
11 Vendor Specific Subtype
12 Controller Hardware Version Number
13 Tape Drive EEPROM Version Number
7 6 5 4 3 2 1 0
14 Tape Drive Hardware Version Number
15 Media Loader Firmware Version Number
16 Media Loader Hardware Version Number
17 Media Loader Mechanical Version Number
18 Media Loader Present Flag
19 Library Present Flag
20 – 23 Module Revision
24 – 43 Unit Serial Number
Figure 4-11. Subsystem Components Revision Page — Data Format
4-26 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Table 4-15. Subsystem Components Revision Page — Field Descriptions
Field Name Description
Product Family Indicates the data density of each of the SDLT tape drives as
follows:
Value Drive Density
Ah 110.0 / 220.0 GB
Bh 160.0 / 320.0 GB
Ch 300.0 / 600.0 GB
Released Firmware Differentiates between released and test versions of firmware.
When set to 1, indicates released code (Vxxx); when set to 0, indicates field test code (Txxx). Released code has no minor firmware version number (byte 38 is set to 0). For tracking purposes, field test and engineering versions of code have non­zero minor firmware version numbers.
Version Number Fields These fields display the various version numbers in binary
format, instead of ASCII.
Firmware Personality Numeric indicator of firmware personality. Note that when set
to 4, indicates OEM family.
Firmware Subpersonality Indicates the variant of the firmware personality. Always set to
1, indicating the primary firmware personality variant.
Vendor Specific Subtype Product identification.
Media Loader Present Flag When set to 0, indicates no loader present. Non-zero indicates
loader is present.
Library Present Flag When set to 0, indicates no library present. Non-zero indicates
library is present.
Module Revision A 4-byte ASCII string representing the revision level of the tape
drive’s module (the controller PCBA attached to the drive).
Unit Serial Number The drive’s serial number; matches what is shown on the
exterior of the drive chassis.
81-81200-02 REV A01 January 2005 4-27
SDLT 600 SCSI Interface Guide SCSI Commands
LOAD UNLOAD Command (1Bh) SDLT 600 SCSI Interface Guide
81-81200-02 REV A01

4.5 LOAD UNLOAD Command (1Bh)

The LOAD UNLOAD command instructs the SDLT tape drive to load or unload the tape inside the data cartridge. If no data cartridge is in the drive, the LOAD UNLOAD command returns a CHECK CONDITION status with the Sense Key set to NOT READY. Likewise, if the drive receives a LOAD UNLOAD command with the Immediate bit set and then it receives another command that requires tape motion or if it receives a TEST UNIT READY command, the drive returns a CHECK CONDITION status with the Sense Key set to NOT READY.
Before executing the LOAD UNLOAD command, the drive writes any cached write data to the tape.
Bit
Byte
0 Operation Code (1Bh)
1 Reserved Immed
2 – 3 Reserved
4 Reserved Hold EOT ReTen Load
5 Control
7 6 5 4 3 2 1 0
Figure 4-12. LOAD UNLOAD Command Descriptor Block — Data Format
Table 4-16. LOAD UNLOAD Command Descriptor Block — Field Descriptions
Field Name Description
Immed Immediate. When set to 1, the drive returns status as soon as the operation starts.
When set to 0, the drive returns status after the operation has completed.
Hold When set to 1, indicates that Enhanced Medium Auxiliary Memory (EMAM) is
accessible upon completion of the command but the medium is not repositioned for access. When the Hold bit is set to 0 and the Load bit is set to 1, the medium is positioned for access. When both the Hold and Load bits are set to 0, EMAM is not accessible upon completion of the command.
EOT End of Tape. The drive ignores this bit unless both the EOT and Load bits are set
to 1, then the drive returns CHECK CONDITION status with Sense Key set to ILLEGAL REQUEST.
ReTen Retension. Ignored. Retension operations are not needed.
4-28 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Table 4-16. LOAD UNLOAD Command Descriptor Block — Field Descriptions (Continued)
Field Name Description
Load If the Load bit is set to 1 and the medium is already loaded, the drive writes any
cached data to the tape, rewinds the tape, and returns a GOOD status. If the drive unloaded the medium but the cartridge was not removed, a LOAD UNLOAD command causes the drive to load the tape to Beginning of Partition (BOP) again and make it ready for use.
If the Load bit is set to 0 and the medium is loaded, the drive writes any buffered data and filemarks to the tape, rewinds the tape to BOM, and unloads the medium back into the cartridge. At that point, the drive ejects the medium if not in a library. If the drive is in a library, the drive does not eject the medium, but waits for another command. If the medium is already unloaded, the drive takes no action. The drive returns a GOOD status.
81-81200-02 REV A01 January 2005 4-29
SDLT 600 SCSI Interface Guide SCSI Commands
LOCATE Command (2Bh) SDLT 600 SCSI Interface Guide
81-81200-02 REV A01

4.6 LOCATE Command (2Bh)

The LOCATE command performs high-speed positioning to a specified block address. Use the READ POSITION command to obtain the block address associated with the current position on tape. Then use the LOCATE command to position the tape at the same logical position for high-performance restore operations of particular blocks of data.
Bit
Byte
0 Operation Code (2Bh)
1 Reserved BT CP Immed
2 Reserved
3 – 6
7 Reserved
8 Partition
9 Control
7 6 5 4 3 2 1 0
(MSB)
Logical Object Identifier
Figure 4-13. LOCATE Command Descriptor Block — Data Format
Table 4-17. LOCATE Command Descriptor Block — Field Descriptions
Field Name Description
(LSB)
BT Block Type. The drive ignores this bit.
CP Change Partition. The drive does not support multiple partitions.
Always set to 0.
Immed Immediate. When set to 1, the drive returns status as soon as the
operation starts. When set to 0, the drive returns status after the operation has completed.
Logical Object Identifier
Partition Not applicable; the drive ignores this bit. See CP field above.
4-30 January 2005 81-81200-02 REV A01
Specifies the Logical Object Identifier to which the drive positions the medium.
SDLT 600 SCSI Interface Guide SCSI Commands
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
81-81200-02 REV A01

4.7 LOG SELECT Command (4Ch)

The LOG SELECT command allows the host to manage statistical information the SDLT tape drive maintains about its own hardware parameters and about the installed tape medium. Read the description of the “LOG SENSE Command (4Dh)” on page 4-39; it provides information about log page format, parameters, and supported pages.
Bit
Byte
0 Operation Code (4Ch)
1 Reserved PCR SP
2 PC Reserved
3 – 6 Reserved
7 – 8
9 Control
7 6 5 4 3 2 1 0
(MSB)
Parameter List Length
Figure 4-14. LOG SELECT Command Descriptor Block — Data Format
(LSB)
81-81200-02 REV A01 January 2005 4-31
LOG SELECT Command (4Ch) SDLT 600 SCSI Interface Guide
Table 4-18. LOG SELECT Command Descriptor Block — Field Descriptions
Field Name Description
PCR Parameter Code Reset. If this bit is set to 1 and the Parameter List Length field
is set to 0, all accumulated values of page codes 2, 3, and 32 are set to 0 and all threshold values are set to default. If PCR is set to 1 and the Parameter List Length field is set to a non-zero value, the drive terminates the command with CHECK CONDITION status, Sense Key set to ILLEGAL REQUEST, and Additional Sense Code (ASC) set to INVALID FIELD IN CDB. (See the Note under SP [Save Parameters] below.)
SP Save Parameters. When set to 1, indicates that after performing the specified
LOG SELECT operation the drive saves to nonvolatile memory all parameters identified as saveable by the DS bit in the log page. When set to 0, specifies that the drive does not save the parameters.
Note: If PCR and SP are both set to 1, the drive terminates the command with
a CHECK CONDITION status, Sense Key set to ILLEGAL REQUEST, and Additional Sense Code set to INVALID FIELD IN CDB.
PC Page Control. Defines the type of parameter values to be selected:
Code Type of Parameter Value
00b Current Threshold Values
01b Current Cumulative Values
10b Default Threshold Values
11b Default Cumulative Values
When the PC field is set to 10b and the Parameter List Length field is set to 0, all Current Threshold Values are reset to the Default Threshold Values.
When the PC field is set to 11b and the Parameter List Length field is set to 0, all Current Cumulative Values are reset to the Default Cumulative Values. This is equivalent to clearing all log pages that can be cleared.
Note: The drive ignores the PC field value if the PCR bit is set to 1.
Parameter List Length
Specifies the length, in bytes, of the LOG SELECT parameter list to be transferred from the initiator to the drive during the DATA OUT phase. A Parameter List Length of 0 indicates that no data is to be transferred. This condition is not considered an error.
4-32 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands

4.7.1 Overview: LOG SELECT Command Descriptor Block Errors

The following conditions constitute errors that the drive detects in relation to the CDB. The Request Sense Data is set to Sense Key of ILLEGAL REQUEST, and Additional Sense Code set to INVALID FIELD IN CDB.
The conditions that constitute errors are:
PCR bit is set to 1 and Parameter List Length field is not set to 0.
Both the PCR and SP bits are set to 1.
A Parameter List Length that would cause a parameter within a valid page to be truncated or
otherwise incompletely initialized.

4.7.2 Operation of LOG SELECT

The LOG SELECT command allows the initiator to modify and initialize parameters within the logs the drive supports.
The two ways to initialize the log parameters are:
1. Set the PCR bit to 1 in the LOG SELECT CDB; this clears all parameters.
2. Specify the log page and parameter values as the log parameters to clear individual pages. The
following pages can be cleared using this method:
Table 4-19. LOG SELECT Page-clearing Codes
Page Code Page Description
02h Write Error Count Page
03h Read Error Count Page
32h Compression Ratio Page
If an initiator sends multiple pages during the DATA OUT phase, it must send them in ascending order according to page code. Otherwise, the drive terminates the command with a CHECK CONDITION status, Sense Key set to ILLEGAL REQUEST, and Additional Sense Code set to INVALID FIELD IN PARAMETER LIST. The drive returns the same status if an unsupported page code appears in any header or if the specified page cannot be cleared.
81-81200-02 REV A01 January 2005 4-33
LOG SELECT Command (4Ch) SDLT 600 SCSI Interface Guide

4.7.3 LOG SELECT Log Page Format

Each log page begins with a 4-byte header followed by n number of log parameter blocks—one block for each parameter code. Each block, except for parameter code 05h, comprises 8 bytes. The parameter block for page code 05h is 12 bytes.
Bit
Byte
0 Page Code
1 Reserved
2 – 3
4 Log Parameter (First)
x + 3 Length (x)
n – y + 1 Log Parameter (Last)
n Length (y)
7 6 5 4 3 2 1 0
(MSB)
Page Length (n – 3)
Log Parameters
. .
Figure 4-15. LOG SELECT Log Page — Data Format
(LSB)
Table 4-20. LOG SELECT Log Page Header — Field Descriptions
Field Name Description
Page Code Specifies the log page to which this LOG SELECT command is directed.
Page Length Specifies the total number of bytes contained in this log page, not including the
4 bytes that make up the header.
Log Parameters
4-34 January 2005 81-81200-02 REV A01
Use one block for each parameter code.
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Bit
Byte
7 6 5 4 3 2 1 0
(MSB)
0 – 1
1
2
DU DS TSD ETC TMC LBIN LP
Parameter Code
3 Parameter Length (n – 3)
(MSB)
4 – n
1. The byte 2 fields are collectively referred to as the Parameter Control byte.
Parameter Value
Figure 4-16. LOG SELECT Log Page — Parameters Format
Table 4-21. LOG SELECT Log Parameters — Field Descriptions
Field Name Description
(LSB)
(LSB)
Parameter Code Parameter codes supported for the READ / WRITE error counter pages are
as follows:
Code Description
0000h Errors corrected without substantial delays
0001h Errors corrected with possible delays
0002h Total read / write errors
0003h Total read / write errors
0004h Total times correction algorithm processed. Always 0 for write
errors only.
0005h Total bytes processed
0006h Total uncorrected errors
8000h WRITE errors since last READ (page 02) or
READ errors since last WRITE (page 03)
8001h Total raw write error flags
8002h Total dropout error count
81-81200-02 REV A01 January 2005 4-35
LOG SELECT Command (4Ch) SDLT 600 SCSI Interface Guide
Table 4-21. LOG SELECT Log Parameters — Field Descriptions (Continued)
Field Name Description
8003h Total servo tracking errors
9000h-
Without substantial delay errors by channel
9007h
9080h­9087h
Write only: Possible delay errors assignable to specific channels
Read only: Raw sub-block read errors by channel
Note: Many of these errors are write, not read, errors and are
not to be included in read error-rate calculations. If these errors are used to try to identify bad channels, the bad channel may be on either the writing or reading drive.
Note: Parameter codes 00h, 01h, and 04h always have a value of 0.
Parameter value for 05h is eight bytes; the Parameter Length field is set to 8.
DU Disable Update. This bit is not defined for LOG SELECT; the drive ignores
any value in DU.
DS Disable Save. Not supported. DS and Target Save Disable (TSD) must be set
to 1. If DS or TSD or both are set to 0, the drive terminates the command with CHECK CONDITION status, Sense Key set to ILLEGAL REQUEST, and Additional Sense Code set to INVALID FIELD IN PARAMETER LIST.
TSD Target Save Disable. Not supported. TSD and DS must be set to 1. If TSD or
DS or both are set to 0, the drive terminates the command with CHECK CONDITION status, Sense Key set to ILLEGAL REQUEST, and Additional Sense Code set to INVALID FIELD IN PARAMETER LIST.
ETC Enable Threshold Comparison. When set to 1, the drive performs a
comparison with threshold values once the cumulative value is updated. Comparison criteria are defined in Threshold Met Criteria (TMC). If the comparison is met and the RLEC bit of MODE SELECT / SENSE Control Page 0Ah is set to 1, the drive generates a UNIT ATTENTION for all initiators. The drive sets the Additional Sense Code to THRESHOLD CONDITION MET. If the RLEC bit is 0 and the comparison is met, the drive does not generate a UNIT ATTENTION.
TMC Threshold Met Criteria. Once the criteria specified in this field are met, the
ETC bit is 1, and the RLEC bit in the MODE SENSE / SELECT Control Page is set to 1, the drive generates a UNIT ATTENTION for all initiators.
The criteria for comparison are:
Code Basis of Comparison
00b Every update of the cumulative value
4-36 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Table 4-21. LOG SELECT Log Parameters — Field Descriptions (Continued)
Field Name Description
01b Cumulative value equal to threshold value
10b Cumulative value not equal to threshold value
11b Cumulative value greater than threshold value
The Default Threshold Values are the maximum values that each
parameter can attain.
The Current Cumulative Values are the values computed since the last
reset of the tape drive by power-cycle, TARGET RESET, or SCSI RESET.
The Default Cumulative Values are the values to which each parameter
is initialized at a reset condition. Default value is 0.
By default, Current Threshold Values are set to Default Threshold
Va lu e s.
Note that all types of parameter values are changeable using LOG SELECT.
LBIN List Binary. Not used.
LP List Parameter. Always set this bit to 0 to indicate that parameter codes are
treated as data counters.
Parameter Length
Parameter Value Indicates the actual value of this log parameter.
Specifies the number of bytes in the parameter value.
81-81200-02 REV A01 January 2005 4-37
LOG SELECT Command (4Ch) SDLT 600 SCSI Interface Guide

4.7.4 Error Detection Summary in LOG SELECT Pages

The host issues a LOG SENSE command to initialize host-resident software that allows determination of:
The log pages the drive uses
The parameter codes and length of each parameter.
The following conditions constitute errors in the parameter block that cause the drive to return CHECK CONDITION status with Sense Data set to ILLEGAL REQUEST and Additional Sense Code set to INVALID FIELD IN PARAMETER LIST:
The drive receives a page header with unsupported page codes.
An incorrect log page length is specified in the page header.
An illegal parameter code is contained in a valid page code.
Parameter codes for a supported page are not sent in ascending order.
The LP bit is set to 1 in the parameter control byte.
The DS bit is set to 0 in the parameter control byte.
The TSD bit is set to 0 in the parameter control byte.
4-38 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide SCSI Commands
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
81-81200-02 REV A01

4.8 LOG SENSE Command (4Dh)

The LOG SENSE command allows the host to retrieve statistical information the SDLT tape drive maintains about its own hardware parameters or about the installed tape medium. This command complements the LOG SELECT command.
Bit
Byte
0 Operation Code (4Dh)
1 Reserved PPC SP (0)
2 PC Page Code
3 – 4 Reserved
5 – 6
7 – 8
9 Control
7 6 5 4 3 2 1 0
(MSB)
Parameter Pointer
(MSB)
Allocation Length
Figure 4-17. LOG SENSE Command Descriptor Block — Data Format
(LSB)
(LSB)
81-81200-02 REV A01 January 2005 4-39
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide
Table 4-22. LOG SENSE Command Descriptor Block — Field Descriptions
Field Name Description
PPC Parameter Pointer Control. When set to 0, indicates that the parameter data
requested from the drive starts with the parameter code specified in the Parameter Pointer field (bytes 5 – 6) and returns the number of bytes specified in the Allocation Length field (bytes 7 – 8) in ascending order of parameter codes from the specified log page. When set to 1, the drive returns only the parameters that have changed since the last time the page was read.
SP Save Parameters. Not supported. Must be set to 0. If the Save Parameters bit is
set to 1, the drive terminates the command with CHECK CONDITION status, Sense Key set to ILLEGAL REQUEST, and Additional Sense Code set to INVALID FIELD IN CDB.
PC Page Control. This field defines the type of parameter values to be returned:
Code Type of Parameter Values
00b Threshold Values
01b Cumulative Values
10b Default Threshold Values
11b Default Cumulative Values
The Default Threshold Values are the maximum values that each parameter
can attain.
The Current Cumulative values are the values computed since the last reset
of the drive by power-cycle, TARGET RESET, or SCSI RESET.
The Default Cumulative values are the values to which each parameter is
initialized at a reset condition. Default values are 0.
By default, Current Threshold Values are set to Default Threshold Values.
Page Code The Page Code field identifies the log page the initiator requested. If the drive
does not support the specified page, the drive terminates the command with CHECK CONDITION status, Sense Key set to ILLEGAL REQUEST, and Additional Sense Code set to INVALID FIELD IN CDB. The drive supports the following pages:
Page Code
00h Supported Pages Log Page Page 4-42
02h Write Error Log Page Page 4-43
Page Definition
03h Read Error Log Page Page 4-43
07h Last n Error Events Log Page Page 4-47
4-40 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Table 4-22. LOG SENSE Command Descriptor Block — Field Descriptions (Continued)
Field Name Description
0Ch Sequential Access Device Log Page Page 4-49
0Dh Temperature Log Page Page 4-51
2Eh TapeAlert Log Page Page 4-53
32h Read / Write Compression Ratio Log Page Page 4-57
33h Device Wellness Log Page Page 4-61
3Eh Device Status Log Page Page 4-64
Parameter Pointer
Allocation Length
The Parameter Pointer field allows the host to specify at which parameter within a log page the requested data should begin. For example, if a page supports parameters 0 through 5, and the Parameter Pointer contains 3, the drive returns only parameters 3, 4, and 5 to the host. Similarly, if a page supports parameters 1, 3, and 6, and the Parameter Pointer contains 2, the drive returns only parameters 3 and 6 to the host.
If the Parameter Pointer is larger than the highest numbered parameter on the page, the drive terminates the command with CHECK CONDITION status, Sense Key set to ILLEGAL REQUEST, and Additional Sense Code set to INVALID FIELD IN CDB.
Note that the drive always returns parameters within a page in ascending order according to the parameter code.
If the drive does not support a parameter code within a page, it does not return any data associated with that parameter.
Specifies the maximum number of bytes that the host allocated for returning data. The host uses this field to limit the size of data transfers to its own internal buffer size.

4.8.1 Error Summary in LOG SENSE Command Descriptor Block

The following conditions constitute errors the drive detects relating to the LOG SENSE CDB. The drive terminates the command with CHECK CONDITION status, Sense Key set to ILLEGAL REQUEST, and Additional Sense Code set to INVALID FIELD IN CDB.
Error conditions occur when:
The drive does not support the requested page.
The parameter pointer is larger than the highest numbered parameter on the page.
The SP bit is set to 1.
81-81200-02 REV A01 January 2005 4-41
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide

4.8.2 Supported Pages Log Page (Page 00h)

When the host requests Page 00h, the drive returns the 4-byte page header followed by the pages supported in ascending order, one byte for each.
Bit
Byte
0 Page Code (00h)
1 Reserved
2 – 3
4 Supported Pages Log Page (00h)
5 Write Error Log Page (02h)
6 Read Error Log Page (03h)
7 Last n Error Events Log Page (07h)
8 Sequential Access Device Log Page (0Ch)
9 Temperature Log Page (0Dh)
10 TapeAlert Log Page (2Eh)
11 Read / Write Compression Ratio Log Page (32h)
12 Device Wellness Log Page (33h)
7 6 5 4 3 2 1 0
(MSB)
Page Length (0Ah)
(LSB)
13 Device Status Log Page (3Eh)
Figure 4-18. Supported Pages LOG SENSE Page — Data Format
4-42 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands

4.8.3 Read (Page 03h) / Write (Page 02h) Error Log Page

Each log page begins with a 4-byte header followed by a number of log parameters.
Bit
Byte
0 Page Code
1 Reserved
2 – 3
7 6 5 4 3 2 1 0
(MSB)
Page Length
Figure 4-19. Read / Write Error LOG SENSE Page — Header Format
Table 4-23. Read / Write Error LOG SENSE Header — Field Descriptions
Field Name Description
Page Code Echoes the page code specified in the LOG SENSE CDB.
Page Length Specifies the total number of bytes contained in this log page, excluding the
4 bytes that make up the header.
(LSB)
81-81200-02 REV A01 January 2005 4-43
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide
Bit
Byte
7 6 5 4 3 2 1 0
(MSB)
0 –1
1
2
DU DS TSD ETC TMC LBIN LP
Parameter Code
3 Parameter Length
(MSB)
4 – n
1. The byte 2 fields are collectively referred to as the Parameter Control byte.
Parameter Value
Figure 4-20. Log Parameters Format for Read / Write Error LOG SENSE Page
Table 4-24. Log Parameters for Read / Write Error LOG SENSE Page —
Field Descriptions
Field Name Description
(LSB)
(LSB)
Parameter Code Parameter codes supported for the READ / WRITE error counter pages
are as follows:
Code Description
0000h Errors corrected without substantial delays
0001h Errors corrected with possible delays
0002h Total read / write errors
0003h Total read / write errors
0004h Total times correction algorithm processed. Always 0 for
write errors only.
0005h Total bytes processed
0006h Total uncorrected errors
8000h WRITE errors since last READ (page 02h) or
READ errors since last WRITE (page 03h)
8001h Total raw write error flags
4-44 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Table 4-24. Log Parameters for Read / Write Error LOG SENSE Page —
Field Descriptions (Continued)
Field Name Description
8002h Total dropout error count
8003h Total servo tracking errors
9000h-
Without substantial delay errors by channel
9007h
9080h­9087h
Write only: Possible delay errors assignable to specific channels
Read only: Raw sub-block read errors by channel
Note: Many of these errors are write, not read, errors and
are not to be included in read error-rate calculations. If these errors are used to try to identify bad channels, the bad channel may be on either the writing or reading drive.
Note: Parameter codes 00h, 01h, and 04h always return a value of 0.
DU Disable Update. When set to 0, indicates that the drive updates all log
parameter values. When set to 1, indicates that the drive does not update the log parameter values except in response to a LOG SELECT command. The drive sets this bit to 1 when accumulated values reach maximum. The drive also returns this bit set to 1 if the host set the bit in the last LOG SELECT command. Default is 0.
Note that for parameter types other than threshold and cumulative values, this bit is always set to 0.
DS Disable Save. Not supported. Always set to 1.
TSD Target Save Disable. Not supported. Always set to 1.
ETC Enable Threshold Comparison. When set to 1, indicates that the drive
performs comparison to threshold. When set to 0, indicates that the drive does not perform the comparison. The Control Mode Page of the MODE SELECT command sets this bit set to 1. Default is 0.
81-81200-02 REV A01 January 2005 4-45
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide
Table 4-24. Log Parameters for Read / Write Error LOG SENSE Page —
Field Descriptions (Continued)
Field Name Description
TMC Threshold Met Criteria. This field is valid only if the host sets the ETC bit
to 1. This field determines the basis for comparison. The host specifies this field using the LOG SELECT command. If the result of comparison is true (cumulative = threshold) and the MODE SELECT / SENSE Control Mode Page RLEC bit is set to 1, the drive generates a UNIT ATTENTION for all initiators. In that case, the drive sets the Sense Key to UNIT ATTENTION, the Additional Sense Code to LOG EXCEPTION, and the Additional Sense Code Qualifier to THRESHOLD CONDITION MET. If the RLEC bit in Control Mode Page is 0, the drive does not generate a UNIT ATTENTION.
Note that comparison is performed in real time. A LOG SENSE command need not be issued to get the CHECK CONDITION status. Once ETC is selected and the RLEC bit in Control Mode Page is set to 1, the drive issues a CHECK CONDITION status based on the criteria defined in the TMC bits if the criteria is met in real time. The CHECK CONDITION status does not identify for which parameter code the criterion is met. The host must issue a LOG SENSE command to read the counters to determine for which parameter code the criterion has been met.
The criteria for comparison are:
Code Basis of Comparison
00b Every update of the cumulative value
01b Cumulative value equal to threshold value
10b Cumulative value not equal to threshold value
11b Cumulative value greater than threshold value
LBIN List Binary. Not used.
LP List Parameter. The drive treats the parameter codes as data counters.
Always set to 0.
Parameter Length Specifies the number of bytes in the parameter value. All parameters are 4
bytes in length except parameter 0005h, which is 8 bytes in length.
Parameter Value Indicates the actual value of this log parameter.
4-46 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands

4.8.4 LAST n ERROR EVENTS Log Page (07h)

This page returns one parameter at a time that contains the ASCII text for the specified event log. The Parameter Number field in the CDB specifies the log event to return. The log events in EEPROM are numbered from 0 to 255, after which the number wraps back to 0. A maximum of 32 events are stored at a given time. The log event returned is the first one whose parameter code is equal to or greater than the parameter number specified in the CDB.
Bit
Byte
0 Page Code (07h)
1 Reserved
2 – 3
7 6 5 4 3 2 1 0
(MSB)
Page Length
Figure 4-21. Last n Error Events LOG SENSE Page — Header Format
(LSB)
81-81200-02 REV A01 January 2005 4-47
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide
Table 4-25. Last n Error Events LOG SENSE Header — Field Descriptions
Field Name Description
Page Code Echoes the page code specified in the LOG SENSE CDB.
Page Length Specifies the total number of bytes contained in this log page, excluding
the 4 bytes that make up the header.
Bit
Byte
7 6 5 4 3 2 1 0
(MSB)
0 – 1
Parameter Code
(LSB)
1
2
DU DS TSD ETC TMC LBIN LP
3 Parameter Length
(MSB)
4 – n
ASCII String for Event n
(LSB)
1. The byte 2 fields are collectively referred to as the Parameter Control Byte. For definitions of the bits that compose the Control Byte (the byte 2 in the above figure), refer to “Read (Page 03h) / Write (Page 02h) Error
Log Page” on page 4-43.
Figure 4-22. Log Parameters Format for Last n Error Events LOG SENSE Page
Table 4-26. Log Parameters for Last n Error Events LOG SENSE Page — Field Descriptions
Field Name Description
Parameter Code Parameter Code values are assigned from 0 to 63 (decimal), where 0 is
the oldest event stored and the highest Parameter Code returned is the most recent event.
ASCII String for Event n
The text of the parameter includes a “Packet #” that is a value from 0 to
255. The drive assigns this internal number when the packet is written to EEPROM. A value of 0 is normally the oldest packet, but packet numbers wrap back to 0 after reaching 255.
4-48 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands

4.8.5 Sequential Access Device Log Page (0Ch)

This page provides a standardized way to report the amount of data transferred between the tape drive and the host.
Bit
Byte
0 Page Code (0Ch)
1 Reserved
2 – 3
7 6 5 4 3 2 1 0
(MSB)
Page Length
Figure 4-23. Sequential Access Device LOG SENSE Page — Header Format
Table 4-27. Sequential Access Device LOG SENSE Header — Field Descriptions
Field Name Description
Page Code Echoes the page code specified in the LOG SENSE CDB.
Page Length Specifies the total number of bytes contained in this log page, excluding
the 4 bytes that make up the header.
(LSB)
Bit
Byte
0 – 1
1
2
3 Parameter Length
4 – 11 Parameter Value
1. The byte 2 fields are collectively referred to as the Parameter Control Byte.
7 6 5 4 3 2 1 0
(MSB)
Parameter Code
(LSB)
DU DS TSD ETC TMC Rsv’d LP
Figure 4-24. Log Parameters Format for Sequential Access Device LOG SENSE Page
81-81200-02 REV A01 January 2005 4-49
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide
Table 4-28. Sequential Access Device LOG SENSE Page Parameters — Field Descriptions
Field Name Description
Parameter Code Parameter codes supported for the Sequential Access Device Page are as follows:
Code Description
0000h Host Write Byte Count. This is the number of data bytes received
from application clients during WRITE command operations.
0001h Tape Write Byte Count. The number of data bytes written to the
media during WRITE command operations, not counting ECC and formatting overhead.
0002h Tape Read Byte Count. The number of data bytes read from the
media during READ command operations, not counting ECC and formatting overhead.
0003h Host Read Byte Count. The number of data bytes transferred to the
initiator(s) during READ command operations.
DU Disable Update. Always set to 0.
DS Disable Save. Not supported. Always set to 1.
TSD Target Save Disable. Not supported. Always set to 1.
ETC Enable Threshold Comparison. Threshold checking is not supported on this page.
Always set to 0.
TMC Threshold Met Criteria. Ignored. Always set to 0.
LP List Parameter. The drive treats the parameter codes as data counters. Always set
to 1.
Parameter Length
Specifies the number of bytes in the parameter value. All parameters are 8 bytes in length.
Parameter Value Indicates the actual value of this log parameter.
4-50 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands

4.8.6 Temperature Log Page (0Dh)

This page provides a standardized way to report the device temperature.
Bit
Byte
0 Page Code (0Dh)
1 Reserved
2 – 3
7 6 5 4 3 2 1 0
(MSB)
Page Length
Figure 4-25. Temperature LOG SENSE Page — Header Format
Table 4-29. Temperature LOG SENSE Header — Field Descriptions
Field Name Description
Page Code Echoes the page code specified in the LOG SENSE CDB.
Page Length Specifies the number of bytes available and depends on the parameters
requested.
(LSB)
Bit
Byte
0 – 1
2 DU DS TSD ETC TMC LBIN LP
3 Parameter Length (02h)
4 – 5
7 6 5 4 3 2 1 0
(MSB)
Parameter Code (Temperature)
(LSB)
(MSB)
Parameter Value
(LSB)
Figure 4-26. Log Parameters Format for Temperature Page
81-81200-02 REV A01 January 2005 4-51
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide
Table 4-30. Temperature LOG SENSE Parameters — Field Descriptions
Field Name Description
Parameter Code Parameter codes supported for the Temperature page are as follows:
Code Description
0000h Current operating temperature (degrees Celsius).
0001h Reference temperature (degrees Celsius). This is the maximum
reported sensor temperature at which the tape drive is capable of operating continuously without experiencing degradation beyond the limits, specified in the Product Manual for this product.
DU Disable Update. Always set to 0.
DS Disable Save. Not supported. Always set to 1.
TSD Target Save Disable. Not supported. Always set to 0.
ETC Enable Threshold Comparison. Threshold checking is not supported on this page.
Always set to 0.
TMC Threshold Met Criteria. Ignored. Always set to 0.
LBIN List Binary. Always set to 1.
LP List Parameter. The drive treats the parameter codes as data counters. Always set
to 1.
Parameter Length
Specifies the number of bytes in the parameter value. All parameters are 2 bytes in length.
Parameter Value Indicates the actual value of this log parameter.
4-52 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands

4.8.7 TapeAlert Log Page (2Eh)

This page returns results of the SDLT tape drive’s ongoing self-diagnosis, so that the drive’s behavior can be monitored and high reliability assured. The host typically reads the TapeAlert page from the drive at the beginning of each READ or WRITE activity, after any fatal errors occur during a READ or WRITE, at the end of any data cartridge when the READ or WRITE activity continues onto another data cartridge, and at the end of each READ or WRITE activity. The drive sets or clears the flags when the failure or corrective action occurs.
Bit
Byte
0 Page Code (2Eh)
1 Reserved
2 – 3
7 6 5 4 3 2 1 0
(MSB)
Page Length
Figure 4-27. TapeAlert LOG SENSE Page — Header Format
Table 4-31. TapeAlert Page LOG SENSE Header — Field Descriptions
Field Name Description
Page Code Echoes the page code specified in the LOG SENSE CDB.
Page Length Specifies the total number of bytes contained in this log page, excluding the
4 bytes that make up the header.
(LSB)
81-81200-02 REV A01 January 2005 4-53
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide
Bit
Byte
7 6 5 4 3 2 1 0
(MSB)
0 – 1
1
2
DU DS TSD ETC TMC LBIN LP
Parameter Code
3 Parameter Length (1)
4 Value of TapeAlert Flag (Flag is set when bit 0 is set to 1; bits 1–7 are reserved)
1. The byte 2 fields are collectively referred to as the Parameter Control Byte.
Figure 4-28. TapeAlert LOG SENSE Page — Parameters Format
Table 4-32. TapeAlert Page LOG SENSE Parameters — Field Descriptions
Field Name Description
Parameter Code Contains the Flag code. See Table 4-33 on page 4-55 for the
supported flags, level of severity, and the flag definitions.
(LSB)
Parameter Length Always set to 1.
Value of TapeAlert Flag If bit 0 is set to 1, indicates that TapeAlert has sensed a problem. See
Table 4-33 on page 4-55 for the supported flags and their definitions.
If bit 0 is set to 0, indicates that TapeAlert did not sense a problem and therefore did not set the flag.
4-54 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands
Table 4-33. TapeAlert Flags, Severity Levels, and Meanings
Severity
Flag
1 Read Warning Warning Problems reading data. There is no loss of data, but the
2 Write Warning Warning Problems writing data. There is no loss of data, but the
3 Hard Error Warning An error occurred during a read or write operation that
4 Media Critical Your data is at risk. Copy all important data from this
5 Read Failure Critical The data cartridge or the tape drive is damaged.
Level
1
Meaning
tape drive’s performance is reduced.
capacity of the tape is reduced.
the drive cannot correct: the operation has stopped.
data cartridge. Do not use the data cartridge again. Restart the operation using a different data cartridge.
Contact a service representative.
6 Write Failure Critical The tape medium is faulty or the drive is damaged.
Test the drive using a known-good data cartridge. If the problem persists, contact a service representative.
7 Media Life Warning The data cartridge has reached the end of its useful
life. Copy all important data to another data cartridge and discard the old data cartridge.
9 Write Protect Critical The data cartridge is write-protected. Set the write-
protection switch to enable writing or use a different data cartridge.
10 No Removal Informational The drive is busy and the data cartridge cannot be
ejected. Wait for the operation to complete before attempting to eject the data cartridge.
11 Cleaning Media
Informational The data cartridge in the drive is a cleaning cartridge.
For normal drive data-related operations, replace the cleaning cartridge with a data cartridge.
17 Read Only Format
19 Nearing Media Life
Warning The type of tape currently loaded into the drive is Read
Only on the SDLT tape drive.
Warning The data cartridge is nearing the end of its useful life.
You should use another data cartridge for your next backup. Store this data cartridge in a safe place in case you need to restore data from it.
81-81200-02 REV A01 January 2005 4-55
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide
Table 4-33. TapeAlert Flags, Severity Levels, and Meanings (Continued)
Severity
Flag
20 Clean Now Critical The drive needs to be cleaned. Make sure that all tape
Level
1
Meaning
operations have completed, eject the data cartridge and follow the appropriate steps to use a cleaning cartridge.
For detailed instructions about how to clean the tape drive using a cleaning cartridge, refer to the User Reference Guide for this product.
22 Expired Cleaning Media
Critical The cleaning cartridge in use has expired. Wait for all
tape drive operations to complete, then use a valid cleaning cartridge.
31 Hardware B Critical The drive may have a hardware fault. Contact a
service representative.
32 Interface Warning The drive has identified a problem with the interface to
or from the host.
34 Download Fail Warning The attempted firmware download failed.
36 Drive Temperature
Warning The temperature inside the drive exceeds the allowable
specifications.
Note: The drive issues this warning 3 degrees C
below the maximum temperature threshold so that you can provide additional cooling before potential damage occurs.
38 Predictive Failure
Critical A hardware failure of the drive is predicted. Call the
tape drive supplier help line to arrange for a replacement.
51 Tape Directory Invalid at Unload
1. Severity levels are Informational, Warning, and Critical. Informational flags provide a status-type message, Warning flags indicate that there is the possibility of loss of data, and Critical flags indicate the possibility of loss of data and that user intervention, a service call, or both may be required.
Warning A WRITE error prevented the directory from being
updated when the drive unloaded the tape.
4-56 January 2005 81-81200-02 REV A01
SDLT 600 SCSI Interface Guide Chapter 4: SCSI Commands

4.8.8 Read / Write Compression Log Page (32h)

This page begins with a 4-byte header followed by the log parameter blocks of 6 or 8 bytes, depending on the parameter code selected.
Bit
Byte
0 Page Code (32h)
1 Reserved
2 – 3
7 6 5 4 3 2 1 0
(MSB)
Additional Length
Figure 4-29. Read / Write Compression Ratio LOG SENSE Page — Header Format
Table 4-34. Read / Write Compression Ratio LOG SENSE Header — Field Descriptions
Field Name Description
Page Code Echoes the page code specified in the LOG SENSE CDB.
Additional Length Specifies the number of bytes available and depends on the parameters
requested.
(LSB)
Bit
Byte
0 –1
2 DU DS TSD ETC TMC LBIN LP
3 Parameter Length (02h)
4 – 5
7 6 5 4 3 2 1 0
(MSB)
Parameter Code
(LSB)
(MSB)
Compression Ratio x 100
(LSB)
Figure 4-30. Log Parameters Format for Read / Write Compression Ratio LOG SENSE Page
(Parameter Codes 00h and 01h)
81-81200-02 REV A01 January 2005 4-57
LOG SENSE Command (4Dh) SDLT 600 SCSI Interface Guide
Table 4-35. Log Parameters for Read / Write Compression Ratio LOG SENSE Page — Field
Descriptions (Parameter Codes 00h and 01h)
Field Name Description
Parameter Code
DU Disable Update. Always set to 0.
DS Disable Save. Not supported. Always set to 1.
TSD Target Save Disable. Not supported. Always set to 1.
ETC Enable Threshold Comparison. Not supported. Always set to 0.
TMC Threshold Met Criteria. Always set to 0.
LBIN List Binary. Not used.
LP List Parameter. The drive treats the parameter codes as data counters. Always
Parameter codes supported for the Read / Write Compression Ratio Page are as follows (for codes 00h and 01h only; codes 02h through 09h are detailed separately):
Code Description
00h READ Compression Ratio x 100
01h WRITE Compression Ratio x 100
set to 0.
Bit
Byte
0 – 1
2 DU DS TSD ETC TMC LBIN LP
3 Parameter Length (04h)
4 – 7
7 6 5 4 3 2 1 0
(MSB)
Parameter Code
(LSB)
(MSB)
Counter Value
(LSB)
Figure 4-31. Log Parameters Format for Read / Write Compression Ratio LOG SENSE Page
(Parameter Codes 02h through 09h)
4-58 January 2005 81-81200-02 REV A01
Loading...