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.
Table 38Unload Command Issued to Tape Drive .............................................. 77
Table 39Tape Drive Attempts To Unload Tape to the Buckle Point................ 77
Table 40Tape Path Is Purposely Blocked To Force a Hardware Error ............ 77
Table 41Servo Tries To Clear the Hardware Error ............................................. 78
Table 42Servo Has Returned to a Determinant State......................................... 78
Table 43Tape is Ready To Unload......................................................................... 78
Table 44Eject Command Issued to Tape Drive ................................................... 79
Table 45Tape Path Was Clear, and Eject Was Successful.................................. 79
DLT Tape Drive Library Interface Specificationix
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.
AudienceThis 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.
PurposeThis document provides information about how DLT tape drives interact
in a library system, including:
•Communications
•Commands
•Errors
•Cartridge handling
DLT Tape Drive Library Interface Specificationx
Products SupportedThis document pertains to the following DLT tape drives:
•SDLT 220
•SDLT 320
•SDLT 600
•DLT-S4
Document OrganizationThis 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 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 ConventionsThis 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 Specificationxi
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 TitleDocument Description
6464191-xxAutomation 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-xxAutomation 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-xxDLT-S4 Interface
Reference Guide
Provides host interface
command information
specific to the tape drive.
DLT Tape Drive Library Interface Specificationxii
Preface
Document No.Document TitleDocument 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-xxSDLT 220 and SDLT
320 Product Manual
81-81110-xxSDLT 220 and SDLT
320 User Reference
Guide
81-85001-xxSDLT 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-xxSDLT 600 Product
Manual
Provides specification and
usage instructions for your
tape drive
81-81220-xxSDLT 600 User
Reference Guide
Provides brief specification
and usage instructions for
your tape drive
81-81202-xxSDLT 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.
This chapter describes communication between the library and the tape
drive.
Tape Drive States1
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 Specification1
ATTENTION or data request command, the tape drive
Chapter 1 Protocol
General Status Data
General Status Data1
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 Specification2
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] – ATTENTION2
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 Specification3
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 IDIn FluxCartridge
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
Compress
Enabled
Tape Motion Status
Rsv’dRsv’d
Write
Protect
(prior
use)
OK to
Eject
Rsv’d
(prior
use)
[Byte 0] – Product Type2 Contains information that informs the library about what model of tape
drive is installed. Table 2
DLT Tape Drive Library Interface Specification4
shows the tape drive type.
Table 2 Tape Drive Type
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
BitTape Drive Type
0x14SDLT 220
0x15SDLT 320
0x17SDLT 600
0x18DLT-S4
[Byte 1] – Servo Firmware
Version
[Byte 2] – Policy Firmware
Version
[Byte 3] – Status 12
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 ID2
No SCSI ID is present from any source.
– In Flux2
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 Specification5
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 Present2
A cartridge is loaded in the tape drive.
– Hardware Error2
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 Requested2
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 Enabled2
Bit 2
The current compression command for the next write command.
– Write Protect2
Bit 1
Prevents the tape drive from writing data.
– OK to Eject2
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 Specification6
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
[Byte 4] – SCSI ID2 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
BitCurrent Format
0x00No tape
0x01Unknown format
0x02Cleaning cartridge
0x0920/40 GB on DLTtape IV (for SDLT 320)
0x0A35/70 GB on DLTtape IV (for SDLT 320)
0x0B40/80 GB on DLTtape IV (for SDLT 320)
0x0C40/80 GB on DLTtape IV (for SDLT 320)
0x10110/220 GB on Super DLTtape I (for SDLT 220)
0x11160/320 GB on Super DLTtape I (for SDLT 320)
0x12300/600 GB on Super DLTtape II (for SDLT 600)
0x13800/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 Specification7
[Byte 6] – Status 22
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
Bit 7 – OK to Load2
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 Capable2
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 Status2
Bits 0 through 4 contain these values, which report the current tape drive
operation. Table 4
DLT Tape Drive Library Interface Specification8
shows tape motion status.
Table 4 Tape Motion Status
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
Bit Field
ValueDefinitionDescription
0x0IdleThere is currently no tape motion with
the loaded data cartridge.
0x1RewindingThe tape drive is currently rewinding
the loaded data cartridge.
0x2SeekingThe tape drive is currently positioning
the loaded data cartridge.
0x3ReadingThe tape drive is currently reading data
from the loaded data cartridge.
0x4WritingThe tape drive is currently writing data
on the loaded data cartridge.
0x5ErasingThe tape drive is currently erasing data
from the loaded data cartridge.
0x6CleaningThe tape drive has a cleaning cartridge
loaded that is currently in use.
0x7LoadingThe tape drive is currently loading a
data cartridge.
0x8UnloadingThe tape drive is currently unloading a
data cartridge, ejecting a data cartridge,
or both.
0x9Ready for code
update
0xAUpdating
Code
The tape drive is waiting for the code
update tape to load.
The tape drive is currently updating its
firmware.
0xBCalibratingThe tape drive is currently calibrating.
DLT Tape Drive Library Interface Specification9
[Byte 7] – Status 32
Chapter 2 Single Byte Library Commands
[0x00] – ATTENTION
Bit 7 – Load Complete2
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 Expired2
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 Required2
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 Specification10
status but does not set this bit, it tells the library to cycle a
– Ex Status Changed2
SEND EXTENDED STATUS command, the
Cleaning
Chapter 2 Single Byte Library Commands
[0x02] – UNLOAD
Bit 3 – Prevent Removal2
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 Products2
[0x02] – UNLOAD2
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] – EJECT2
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 Specification11
UNLOAD AND
Chapter 2 Single Byte Library Commands
[0x29] – DTD STATUS LOG SENSE
[0x29] – DTD STATUS LOG SENSE2
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 EJECT2
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 PAGE2
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 Specification12
.
Chapter 2 Single Byte Library Commands
[0x34] – VHF DATA
[0x34] – VHF DATA2
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 LOAD2
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 LOAD2
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 Specification13
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] – RESET2
The tape drive runs its power-on self-test (POST) and restarts its
firmware.
Compression2
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 Specification14
ForceComp Parameter – This SCSI changeable EEPROM
Loading...
+ 69 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.