Quantum DLT TAPE DRIVE LIBRARY User Manual

/LEUDU\,QWHUIDFH6SHFLILFDWLRQ/LEUDU\,QWHUIDFH6SHFLILFDWLRQ/LEUDU\,QWHUIDFH6SHFLILFDWLRQ
'/7

'/77DSH'ULYH
$
DLT Tape Drive Library Interface Specification, 6464162-03 A01, June 2006, Made in USA.
Quantum Corporation provides this publication “as is” without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability or fitness for a particular purpose. Quantum Corporation may revise this publication from time to time without notice.
COPYRIGHT STATEMENT
Copyright 2006 by Quantum Corporation. All rights reserved.
Your right to copy this document is limited by copyright law. Making copies or adaptations without prior written authorization of Quantum Corporation is prohibited by law and constitutes a punishable violation of the law.
TRADEMARK STATEMENT
Quantum, the Quantum logo, DLT, DLTtape, and the DLTtape logo are registered trademarks of Quantum Corporation in the U.S. and other countries. The DLT logo, GoVault, DLTSage, and SuperLoader are trademarks of Quantum Corporation. All other trademarks are the property of their respective companies.

Contents

Preface x
Chapter 1 Protocol 1
Tape Drive States.............................................................................................................. 1
General Status Data.......................................................................................................... 2
Chapter 2 Single Byte Library Commands 3
[0x00] – ATTENTION ...................................................................................................... 3
Bit 7 – No ID....................................................................................................5
Bit 6 – In Flux ..................................................................................................5
Bit 5 – Cartridge Present ...............................................................................6
Bit 4 – Hardware Error ..................................................................................6
Bit 3 – Cleaning Requested ...........................................................................6
Bit 2 – Compress Enabled .............................................................................6
Bit 1 – Write Protect .......................................................................................6
Bit 0 – OK to Eject...........................................................................................6
Bit 7 – OK to Load ..........................................................................................8
Bit 6 – TapeAlert Capable .............................................................................8
Bit 5 – Reserved (prior use)...........................................................................8
DLT Tape Drive Library Interface Specification iii
Contents
Bits 0 to 4 - Tape Motion Status....................................................................8
Bit 7 – Load Complete .................................................................................10
Bit 6 – Cleaning Cartridge Expired............................................................10
Bit 5 – Cleaning Required ...........................................................................10
Bit 4 – Ex Status Changed ...........................................................................10
Bit 3 – Prevent Removal ..............................................................................11
Bit 2 – Reserved for Future Products ........................................................11
Bit 1 – Reserved (prior use).........................................................................11
Bit 0 – Reserved (prior use).........................................................................11
[0x02] – UNLOAD.......................................................................................................... 11
[0x22] – EJECT.................................................................................................................11
[0x29] – DTD STATUS LOG SENSE ............................................................................ 12
[0x32] – UNLOAD AND EJECT................................................................................... 12
[0x33] – SEQUENTIAL-ACCESS DEVICE LOG PAGE............................................ 12
[0x34] – VHF DATA....................................................................................................... 13
[0x38] – SET AUTO LOAD MODE TO FULL LOAD ...............................................13
[0x39] – SET AUTO LOAD MODE TO NO LOAD ................................................... 13
[0x03] – RESET................................................................................................................ 14
Compression ...................................................................................................................14
[0xn6] – SET SCSI ID...................................................................................................... 15
[0xn7] – SET DENSITY .................................................................................................. 17
[0x08] – SEND TAPE DATA 1 ...................................................................................... 18
[0x09] – LOAD ................................................................................................................ 20
[0x0A] – CODE UPDATE REQUEST........................................................................... 20
[0x0B] – REPORT SERIAL NUMBER (deprecated)................................................... 21
[0x0C] – SEND TAPE DATA 2 ..................................................................................... 23
[0xnD] – SET TAPE DRIVE SPEED ............................................................................. 24
[0x13] – SEND TAPE DATA 3 ...................................................................................... 25
Bits 4 to 7 - Reserved....................................................................................25
Bits 0 to 3 (Media Type) ..............................................................................26
Bit 7 – SFP......................................................................................................27
Bits 0 to 6 – Reserved...................................................................................27
[0x14] – SEND CURRENT TAPEALERT DATA ....................................................... 28
[0x15] – RUN BHC TEST (Implementation in Progress) .......................................... 33
[0x18] – SET SOFTWARE FILE PROTECT .................................................................33
[0x20] – DISABLE EJECT ON SCSI UNLOAD........................................................... 34
[0x30] – ENABLE EJECT ON SCSI UNLOAD ........................................................... 34
[0x40] – DISABLE AUTO TAPE THREAD................................................................. 34
[0x50] – ENABLE AUTO TAPE THREAD..................................................................35
[0x60] – DISABLE SHORT TAPE MODE.................................................................... 35
[0x70] – ENABLE SHORT TAPE MODE .................................................................... 35
[0x80] – SEND EXTENDED STATUS.......................................................................... 36
DLT Tape Drive Library Interface Specification iv
Contents
Bit 7 – Reset (Clear on Read) ......................................................................37
Bits 4 to 6 – Reserved...................................................................................37
Bits 0 to 3 – Command Error Code (Clear on Read) ...............................37
Bits 4 to 7 – Reserved...................................................................................38
Bits 0 to 3 – Interface Type..........................................................................38
Bit 7 – Reserved ............................................................................................39
Bit 6 – Command Active (Implementation in Progress) ........................39
Bit 5 – Max. Safe Temp. Exceeded .............................................................39
Bit 4 – Backward Compatible Capable......................................................39
Bit 3 – Short Tape Mode Enabled...............................................................39
Bit 2 – Auto Tape Thread Disabled ...........................................................39
Bit 1 – SCSI Eject Enabled on SCSI Unload Command ..........................39
Bit 0 – Buckle Error ......................................................................................40
Bit 7 – Sense Key Valid (Implementation in Progress) ...........................40
Bits 4 to 6 – Reserved...................................................................................40
Bits 0 to 3 – Sense Key (Implementation in Progress).............................40
[0x90] – SEND DEVICE ID NUMBERS....................................................................... 41
[0x23] – SEND TAPE DATA 4 ...................................................................................... 42
[0x24] – SEND WRITE ERRORS................................................................................... 43
[0x25] – SEND READ ERRORS .................................................................................... 44
[0x28] – SEND TSERVO ERRORS................................................................................ 46
[0x5B] – ENABLE AUTOMATION/DEVICE INTERFACE — TRANSPORT
PROTOCOL MODE................................................................................................ 47
[0xFD] – FORCE CLEANING REQUESTED ON ...................................................... 47
[0xFE] – FORCE CLEANING REQUIRED ON.......................................................... 48
[0xFF] – FORCE CLEANING OFF............................................................................... 48
Chapter 3 Multiple Byte Library Commands 49
[0x55] – MODE SELECT................................................................................................ 49
[0x5A] – MODE SENSE .................................................................................................50
Mode Page Data..............................................................................................................51
Chapter 4 Set and Get Fibre Configuration 53
Set Fibre Configuration Command Packet................................................................. 54
Bit 7 – Port A Enable....................................................................................55
DLT Tape Drive Library Interface Specification v
Contents
Bit 6 – Reserved ............................................................................................55
Bit 5– Reserved .............................................................................................56
Bit 4– Reserved .............................................................................................56
Bit 3 – Force Point to Point Port A.............................................................56
Bit 2 – Reserved (Future Force Point to Point Port B).............................56
Bit 1 – Reserved ............................................................................................56
Bit 0 – Reserved ............................................................................................56
Set Fibre Configuration Response Packet................................................................... 57
Get Fibre Configuration Command Packet................................................................ 59
Bits 1 to 7 – Reserved...................................................................................60
Bit 0 – Actual Loop ID .................................................................................60
Get Fibre Configuration Response Packet.................................................................. 60
Bit 7 – Port A Enabled..................................................................................62
Bit 6 – Reserved ............................................................................................62
Bits 5 to 4 – Reserved...................................................................................62
Bit 3 – Force Point to Point Port A.............................................................62
Bit 2 – Reserved (Future Force Point to Point Port B).............................62
Bit 1 – Reserved ............................................................................................62
Bit 0 – Tape Drive Is Dual Port...................................................................63
Bit 7 – Reserved ............................................................................................63
Bits 4 to 6 – Port A Topology......................................................................63
Bits 0 to 3 – Port A Speed ............................................................................64
Bit 7 – Reserved ............................................................................................64
Bits 4 to 6 – Reserved...................................................................................64
Bits 0 to 3 – Reserved...................................................................................64
Packet Use........................................................................................................................ 66
Chapter 5 Exceptions 67
Chapter 6 Tape Load and Unload Guidelines 69
Tape Load Sample Scenarios ........................................................................................70
Tape Unload Sample Scenarios.................................................................................... 76
General Notes ................................................................................................................. 81
Glossary 82
DLT Tape Drive Library Interface Specification vi

Figures

Figure 1 General Soft Load Sequence in Automation...................................... 75
Figure 2 General Soft Unload Sequence in Automation..................................80
DLT Tape Drive Library Interface Specification vii

Tables

Table 1 General Status Packet Description ........................................................... 4
Table 2 Tape Drive Type ......................................................................................... 5
Table 3 Current Tape Format.................................................................................. 7
Table 4 Tape Motion Status..................................................................................... 9
Table 5 Setting the Tape Drive SCSI ID............................................................... 16
Table 6 Commands to Set Input Density for Write Operations....................... 17
Table 7 Tape Data Packet 1 Description.............................................................. 19
Table 8 Serial Number Packet Description.........................................................22
Table 9 Tape Data Packet 2 Description.............................................................. 23
Table 10 Tape Data Packet 3 Description.............................................................. 25
Table 11 Media Type................................................................................................ 26
Table 12 TapeAlert Data Packet Description........................................................ 28
Table 13 TapeAlert Flags, Severity Levels, and Meanings................................. 29
Table 14 Extended Status Packet Description ...................................................... 36
Table 15 Command Error Codes............................................................................37
Table 16 Tape Drive Interface Types ..................................................................... 38
Table 17 Device ID Numbers Packet Description................................................ 41
DLT Tape Drive Library Interface Specification viii
Tables
Table 18 Tape Data 4 Data Packet Description .................................................... 42
Table 19 Write Error Data Packet Description ..................................................... 43
Table 20 Read Error Data Packet Description ...................................................... 45
Table 21 Tservo Error Packet Description.............................................................46
Table 22 Set Fibre Configuration Command Packet Description...................... 54
Table 23 Set Fibre Configuration Response Packet Description........................ 57
Table 24 Command Status Settings........................................................................ 58
Table 25 Get Fibre Configuration Command Packet Description..................... 59
Table 26 Get Fibre Configuration Response Packet Description....................... 61
Table 27 Port A Topology Settings......................................................................... 63
Table 28 Port A Speed Settings............................................................................... 64
Table 29 Status Bits for Tape Load and Unload................................................... 70
Table 30 ATTENTION Command Received by Tape Drive (Baseline Status
Packet Returned).......................................................................................71
Table 31 Data Cartridge Inserted into Tape Drive...............................................72
Table 32 Purposely Restrained Take-up Reel To Create Hardware Error....... 72
Table 33 Tape Drive Now Recovered from Hardware Error............................. 73
Table 34 Tape Drive Calibrating on Tape ............................................................. 73
Table 35 Tape Drive Reading Data (Directory Read).......................................... 74
Table 36 Tape Drive Has Recovered from a Load Error and Is Ready............. 74
Table 37 ATTENTION Command Received by Tape Drive (Baseline Status
Packet Returned).......................................................................................76
Table 38 Unload Command Issued to Tape Drive .............................................. 77
Table 39 Tape Drive Attempts To Unload Tape to the Buckle Point................ 77
Table 40 Tape Path Is Purposely Blocked To Force a Hardware Error ............ 77
Table 41 Servo Tries To Clear the Hardware Error ............................................. 78
Table 42 Servo Has Returned to a Determinant State......................................... 78
Table 43 Tape is Ready To Unload......................................................................... 78
Table 44 Eject Command Issued to Tape Drive ................................................... 79
Table 45 Tape Path Was Clear, and Eject Was Successful.................................. 79
DLT Tape Drive Library Interface Specification ix

Preface

This document describes the DLT® tape drive library interface implemented for two-way communication between a library tape drive (referred to as a “tape drive” in the remainder of this document) and a tape library system (referred to as a “library” in the remainder of this document). The tape drive communicates with the library over an RS-422 serial port set to 9600 baud, 8 bits per character, no parity, and 1 stop bits. All data sent through the interface to and from the tape drive consists of bit-wise encoded hex values, unless otherwise noted in the description.
Audience This document serves firmware engineers and technicians who support
DLT tape drives. It also serves firmware engineers and technicians who integrate DLT tape drives into automated systems such as libraries.
Purpose This document provides information about how DLT tape drives interact
in a library system, including:
Communications
Commands
•Errors
Cartridge handling
DLT Tape Drive Library Interface Specification x
Products Supported This document pertains to the following DLT tape drives:
SDLT 220
SDLT 320
SDLT 600
•DLT-S4
Document Organization This document is organized as follows:
Preface
Chapter 1, Protocol
, describes communication between the library
and the tape drive.
Chapter 2, Single Byte Library Commands commands.
Chapter 3, Multiple Byte Library Commands commands.
Chapter 4, Set and Get Fibre Configuration that set the Fibre Channel configuration in the tape drive or get Fibre Channel configuration information from the tape drive. This chapter applies to the DLT-S4 tape drive only.
Chapter 5, Exceptions
, describes tape drive behavior before it has
established normal operation or when it detects a hardware error.
Chapter 6, Tape Load and Unload Guidelines LOAD and UNLOAD status contained in the Library Interface General Status Packet, and provides examples of LOAD and UNLOAD failures.
The document concludes with a Glossary.
Notational Conventions This document uses the following conventions:
, describes single byte
, describes multiple byte
describes the commands
, discusses the primary
Note: Notes emphasize important information related to the main
topic.
Caution: Cautions indicate potential hazards to equipment and are
included to prevent damage to equipment.
DLT Tape Drive Library Interface Specification xi
Preface
Warning: Warnings indicate potential hazards to personal safety and
are included to prevent injury.
This document uses the following:
Tape Drive System — Refers to the complete system including the cartridge.
Tape Drive — Refers to just the tape drive and does not include the cartridge.
Right side of the tape drive — Refers to the right side as you face the component being described.
Left side of the tape drive — Refers to the left side as you face the component being described.
Power cycle — Means to turn the tape drive or system on, then turn them off (or off, then on).
Dimensions in figures — All dimensions are shown with no units specified (Inches understood unless otherwise specified).
Related Documents
Document No. Document Title Document Description
6464191-xx Automation Device
Interface — Transport Layer Specification
Describes the Automation/Drive Interface – Transport Protocol (ADT) implemented for two-way communication between a tape drive and a library.
6464192-xx Automation Devices
Command Set Specification
Describes the Automation Devices Command (ADC) Set Specification implemented for two-way communication between a tape drive and a library.
81-81281-xx DLT-S4 Interface
Reference Guide
Provides host interface command information specific to the tape drive.
DLT Tape Drive Library Interface Specification xii
Preface
Document No. Document Title Document Description
81-81278-xx DLT-S4 Product
Manual
81-81279-xx DLT-S4 Product
Specification
81-81283-xx DLT-S4 Quick Start
Guide
81-85002-xx SDLT 220 and SDLT
320 Product Manual
81-81110-xx SDLT 220 and SDLT
320 User Reference Guide
81-85001-xx SDLT 220 and SDLT
320 SCSI Interface Guide
Provides specification and usage instructions for your tape drive
Provides hardware, performance, environment, shock and vibration, and regulatory specifications for the tape drive
Provides “quick” instructions on how to install and run your tape drive
Provides specification and usage instructions for your tape drive
Provides brief specification and usage instructions for your tape drive
Provides SCSI command information specific to the tape drive.
81-81184-xx SDLT 600 Product
Manual
Provides specification and usage instructions for your tape drive
81-81220-xx SDLT 600 User
Reference Guide
Provides brief specification and usage instructions for your tape drive
81-81202-xx SDLT 600 Fibre
Channel Interface Guide
81-81200-xx SDLT 600 SCSI
Interface Guide
Provides Fibre Channel command information specific to the tape drive.
Provides SCSI command information specific to the tape drive.
DLT Tape Drive Library Interface Specification xiii
SCSI Standards 0
Copies of the approved version of the SCSI standards may be obtained from:
Global Engineering Documents 15 Inverness Way, East Englewood, CO 80112 (800) 854-7179 or (303) 397-2740
Contacts Quantum company contacts are listed below.
Preface
Quantum Corporate Headquarters
To order documentation on this or other Quantum products, contact:
Quantum Corporation 141 Innovation Drive Irvine, CA 92617 (949) 856-7800 (800) 284-5101
Technical Publications
To comment on existing documentation send e-mail to:
doc-comments@quantum.com
Quantum Home Page 0
Visit the Quantum home page at:
www.quantum.com
0
0
DLT Tape Drive Library Interface Specification xiv
Preface
Customer Support 0
The Quantum Customer Support Department provides a 24-hour help desk that can be reached at:
North/South America: (949) 725-2100 or (800) 284-5101 Asia/Pacific Rim:
APAC Headquarters: (International Code) + 65 6334 0660 Specific countries: www.quantum.com/ServiceandSupport/
ContactServiceandSupport/DLTSupportAPAC// Index.aspx
Europe/Middle East/Africa: (International Code) + 44 1256 848 766
Send faxes for the Customer Support Department to:
North/South America: (949) 725-2176 Asia/Pacific Rim: (International Code) + 65 6432 2830 Europe/Middle East/Africa: (International Code) + 44 1256 848 777
Send e-mail for the Customer Support Department to:
North/South America: http://www.quantum.com/am/service_support/
Index.aspx
Asia/Pacific Rim: apachelp@quantum.com Europe/Middle East/Africa: eurohelp@quantum.com
DLT Tape Drive Library Interface Specification xv
Preface
DLT Tape Drive Library Interface Specification xvi
Chapter 1

1Protocol

This chapter describes communication between the library and the tape drive.

Tape Drive States 1

The tape drive interface is in the IDLE state after any reset or power-up, and remains IDLE until it receives a valid command from the library.
ATTENTION or data request
In response to the returns a command-specific data packet to the library.
The tape drive is now in the COMMAND state. It remains in this state until it receives the next byte.
If the next byte received is a valid command, the tape drive initiates the appropriate action, then returns to IDLE.
If the next byte received is NOT a valid command, the tape drive clears the communication interface and goes to the IDLE state.
DLT Tape Drive Library Interface Specification 1
ATTENTION or data request command, the tape drive
Chapter 1 Protocol

General Status Data

General Status Data 1
When the library requests General Status data, the tape drive returns a General Status Packet. If the General Status Packet contains error information, the library can request an Extended Status Packet. Using the Extended Status Packet, the library reads additional information about the error.
DLT Tape Drive Library Interface Specification 2
Chapter 2

2Single Byte Library Commands

The library uses commands to get information from the tape drive or to initiate tape drive action. The only time the tape drive accepts a command other than the valid
ATTENTION command or data request command. At any other time,
it discards any data it does not recognize as an request command.
This chapter presents single byte commands. For information on multiple byte commands, see chapter 3, Multiple Byte Library Commands
All undefined and not-yet-implemented commands put the tape drive interface into the IDLE state, causing the tape drive to put an invalid command status in the Command Error Code field of the Extended Status Packet.
ATTENTION or data request command is after it receives a
ATTENTION or data
.
[0x00] – ATTENTION 2
The tape drive returns a General Status Packet, which contains eight bytes of information, and the tape drive interface enters the COMMAND state.
Note: This command affects only the tape drive interface. It does not
stop tape motion.
DLT Tape Drive Library Interface Specification 3
Table 1 General Status Packet Description
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
Table 1 shows the packet structure.
Byte
0
1
2
3
4
5
6
7
Bit
76543210
Product Type
Servo Firmware Version
Policy Firmware Version
No ID In Flux Cartridge
Present
OK to
Load
Load
Complete
TapeAlert
Capable
Cleaning
Cartridge
Expired
Rsv’d (prior
use)
Cleaning Required
Hardware
Error
Current Tape Format
Ex Status Changed
Cleaning
Reques-
ted
SCSI ID
Prevent
Removal
Com­press
Enabled
Tape Motion Status
Rsv’d Rsv’d
Write
Protect
(prior
use)
OK to
Eject
Rsv’d
(prior
use)
[Byte 0] – Product Type 2 Contains information that informs the library about what model of tape
drive is installed. Table 2
DLT Tape Drive Library Interface Specification 4
shows the tape drive type.
Table 2 Tape Drive Type
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
Bit Tape Drive Type
0x14 SDLT 220
0x15 SDLT 320
0x17 SDLT 600
0x18 DLT-S4
[Byte 1] – Servo Firmware Version
[Byte 2] – Policy Firmware Version
[Byte 3] – Status 1 2
Contains the SDLT servo firmware version as a hexadecimal number.
2
Contains the SDLT policy firmware version as a hexadecimal number.
2
Bit 7 – No ID 2
No SCSI ID is present from any source.
In Flux 2
Bit 6
The tape drive sets this bit when it cannot ensure that returned status values are valid. After initialization, this bit remains set until the tape drive either knows it has no data cartridge present or it has determined the format of the currently loaded data cartridge. Once the cleared, the library interface is ready to accept commands other than
ATTENTION and the returned data will accurately reflect the state of the
system.
In Flux bit has
The tape drive may set this bit when it sets a both the power-on self-test (POST) errors have occurred.
DLT Tape Drive Library Interface Specification 5
In Flux bit and the Hardware Error bit indicates that one or more
Hardware Error value. Setting
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
Bit 5 – Cartridge Present 2
A cartridge is loaded in the tape drive.
Hardware Error 2
Bit 4
A hardware fault exists in the tape drive. If the tape drive sets both this bit and the
Bit 3
Indicates the tape drive has requested a head cleaning.
If the request for cleaning is urgent (for example, normal operation may not complete successfully), the tape drive also sets a second status bit,
Cleaning Required (refer to Bit 5 – Cleaning Required on page 10).
If normal operation may be affected, but is expected to complete successfully, the tape drive does not set the second status bit.
In Flux bit, it indicates a POST failure occurred.
Cleaning Requested 2
This bit operates only with the bit not set. In this way, the cleaning request occurs only when a cleaning is possible; that is, when a data cartridge can be removed or inserted or when a data cartridge is not mounted in the tape drive.
Compress Enabled 2
Bit 2
The current compression command for the next write command.
Write Protect 2
Bit 1
Prevents the tape drive from writing data.
OK to Eject 2
Bit 0
The tape is in the unloaded state and it is okay to send the EJECT command (0x22).
OK to Eject bit set or the Cartridge Present
DLT Tape Drive Library Interface Specification 6
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
[Byte 4] – SCSI ID 2 Contains the current SCSI bus ID of the tape drive as a hexadecimal
number.
[Byte 5] – Current Tape Format
Table 3 Current Tape Format
Reports the current format of the loaded tape. Table 3 shows the values and formats.
2
Bit Current Format
0x00 No tape
0x01 Unknown format
0x02 Cleaning cartridge
0x09 20/40 GB on DLTtape IV (for SDLT 320)
0x0A 35/70 GB on DLTtape IV (for SDLT 320)
0x0B 40/80 GB on DLTtape IV (for SDLT 320)
0x0C 40/80 GB on DLTtape IV (for SDLT 320)
0x10 110/220 GB on Super DLTtape I (for SDLT 220)
0x11 160/320 GB on Super DLTtape I (for SDLT 320)
0x12 300/600 GB on Super DLTtape II (for SDLT 600)
0x13 800/1600 GB on DLTtape S4 (for DLT-S4)
Note: The tape drive must set
Load Complete before the library can
read the tape format from the tape drive (refer to [Byte 7] –
Status 3 on page 10).
DLT Tape Drive Library Interface Specification 7
[Byte 6] – Status 2 2
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
Bit 7 – OK to Load 2
The tape drive has ejected a data cartridge and is ready to accept another data cartridge. After issuing an this bit to verify that the tape drive has fully ejected the previous data cartridge.
Note: This bit does not indicate removal of the data cartridge from
the tape drive by the library mechanism.
Bit 6
TapeAlert Capable 2
The firmware currently running the tape drive supports the reporting of TapeAlert flags over the library interface.
EJECT command, the library must check
Reserved (prior use) 2
Bit 5
Bits 0 to 4 - Tape Motion Status 2
Bits 0 through 4 contain these values, which report the current tape drive operation. Table 4
DLT Tape Drive Library Interface Specification 8
shows tape motion status.
Table 4 Tape Motion Status
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
Bit Field Value Definition Description
0x0 Idle There is currently no tape motion with
the loaded data cartridge.
0x1 Rewinding The tape drive is currently rewinding
the loaded data cartridge.
0x2 Seeking The tape drive is currently positioning
the loaded data cartridge.
0x3 Reading The tape drive is currently reading data
from the loaded data cartridge.
0x4 Writing The tape drive is currently writing data
on the loaded data cartridge.
0x5 Erasing The tape drive is currently erasing data
from the loaded data cartridge.
0x6 Cleaning The tape drive has a cleaning cartridge
loaded that is currently in use.
0x7 Loading The tape drive is currently loading a
data cartridge.
0x8 Unloading The tape drive is currently unloading a
data cartridge, ejecting a data cartridge, or both.
0x9 Ready for code
update
0xA Updating
Code
The tape drive is waiting for the code update tape to load.
The tape drive is currently updating its firmware.
0xB Calibrating The tape drive is currently calibrating.
DLT Tape Drive Library Interface Specification 9
[Byte 7] – Status 3 2
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
Bit 7 – Load Complete 2
The tape drive sets this bit to indicate to the library that the data cartridge has completed loading and is ready for use. Unloading the data cartridge clears this bit.
Bit 6
Cleaning Cartridge Expired 2
The cleaning cartridge has exceeded its use count and needs to be replaced. This bit is valid only in the following circumstances:
• After attempting a cleaning application
• Until the next cleaning cartridge is inserted
•Until a power cycle
Bit 5
Cleaning Required 2
When set in conjunction with the Cleaning Requested status (see Bit 3 –
Cleaning Requested on page 6), this bit tells the library that it is necessary
to cycle a head-cleaning cartridge through the tape drive before attempting any further tape operation. If the tape drive sets the
Requested
head-cleaning cartridge through the tape drive at the next best opportunity.
Bit 4
Indicates that the Extended Status Packet has changed since it was last read. After the library issues a tape drive clears this bit.
DLT Tape Drive Library Interface Specification 10
status but does not set this bit, it tells the library to cycle a
Ex Status Changed 2
SEND EXTENDED STATUS command, the
Cleaning
Chapter 2 Single Byte Library Commands
[0x02] – UNLOAD
Bit 3 – Prevent Removal 2
Indicates that at least one initiator, using the SCSI PREVENT MEDIUM
REMOVAL
prevented. The bit is clear if no initiator has requested that data cartridge removal be prevented, and only when all initiators have allowed data cartridge removal. Bus reset, internal resets, and power cycles clear this bit.
Bit 2
Bit 1 – Reserved (prior use) 2 Bit 0 – Reserved (prior use) 2
command, has requested that data cartridge removal be
Reserved for Future Products 2
[0x02] – UNLOAD 2
The tape drive unloads the currently loaded cartridge. This command takes the tape to the unload position, but does not eject the cartridge. To complete the unload sequence, a separate follow this
UNLOAD command.
EJECT command (0x22) must
[0x22] – EJECT 2
The tape drive ejects the data cartridge from either the loaded or unloaded state. This command functions the same as the
EJECT
command (0x32).
DLT Tape Drive Library Interface Specification 11
UNLOAD AND
Chapter 2 Single Byte Library Commands
[0x29] – DTD STATUS LOG SENSE
[0x29] – DTD STATUS LOG SENSE 2
The tape drive returns log page data about the Data Transfer Device (DTD) primary port; specifically, it returns only the DTD Primary Port Status log parameter of the DTD Status log page. The information includes port identification and current status; for example, link negotiation process, signal, conflict, speed, topology, and N_Port ID if the tape drive is using Fibre Channel. If the tape drive is using parallel SCSI, the information includes bus mode, SCSI address, and so forth.
Note: This command is only available on the DLT-S4 tape drive.
For details about the DTD port status data, see the ADC draft standard at
www.t10.org
.
[0x32] – UNLOAD AND EJECT 2
The tape drive ejects the data cartridge from either the loaded or unloaded state. This command functions the same as the command (0x22).
EJECT
[0x33] – SEQUENTIAL-ACCESS DEVICE LOG PAGE 2
The tape drive returns log page data about the number of bytes read or written and whether cleaning is required.
For details about the Sequential-Access Device log page, see the SSC-2 standard at www.t10.org
DLT Tape Drive Library Interface Specification 12
.
Chapter 2 Single Byte Library Commands
[0x34] – VHF DATA
[0x34] – VHF DATA 2
The tape drive returns the 4-byte Very High Frequency (VHF) Data section of the very high frequency data parameter of the DTD Primary Port Status log page.
Note: To clear bits 0 or 1 of “Byte 3” of the VHF Data, the Single Byte
Command 0x14, or 0x29 (respectively), must be executed. These two commands are only available on the DLT-S4 drive.
For details about the contents of the VHF Data, refer to the ADC draft standard at www.t10.org
.
[0x38] – SET AUTO LOAD MODE TO FULL LOAD 2
Enables the drive to automatically perform a full load of the cartridge, and ready it for access. The drive auto-loads the cartridge as soon as the media has reached the point where the tape drive mechanics are able to take control of the cartridge and seat it in the drive.
This parameter takes precedence over the host and default settings. The setting will persist over an internal reset and bus reset. This setting is cleared by the following events:
• The library sends a
• The tape drive cycles power
SET AUTO LOAD MODE TO NO LOAD command
[0x39] – SET AUTO LOAD MODE TO NO LOAD 2
Enables the drive to NOT automatically load the cartridge once it reaches the point where the tape drive mechanics are able to take control of the cartridge and seat it in the drive. The cartridge will remain at the unseated point until the library issues a load command to the drive. This
DLT Tape Drive Library Interface Specification 13
Chapter 2 Single Byte Library Commands
[0x03] – RESET
parameter takes precedence over the host and default settings. The setting persists over an internal reset and bus reset.
This is the drive’s default setting.
Note: If the library does not issue either of the auto load mode
commands, the load mode may be changed by the host using mode page 0x0A, Control Mode page. See SPC-3, mode parameters for Control Mode Page.
The legacy library may opt to use the multiple byte mode commands to change the auto load mode field. See Mode Page Data additional information. The behavior, using this method to change the auto load mode field, is described in ADC specification INCITS 403-2005.
on page 51 for
[0x03] – RESET 2
The tape drive runs its power-on self-test (POST) and restarts its firmware.

Compression 2

There are several ways to set compression in the tape drive:
•EEPROM
• Library
• Host Interface Mode page
The following is the order of precedence:
1 EEPROM
setting takes precedence over all other methods. Refer to the Interface Reference Guide for your product for detailed information.
DLT Tape Drive Library Interface Specification 14
ForceComp Parameter – This SCSI changeable EEPROM
Loading...
+ 69 hidden pages