This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are
protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy,
reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any
means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please
report them to us in writing.
If this is software or related software documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S.
Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S.
Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal
Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and
adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent
applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software
License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or
intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this
software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and
other measures to ensure the safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this
software or hardware in dangerous applications.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Oracle and Java are registered trademarks of Oracle and/or its
affiliates. Other names may be trademarks of their respective owners.
AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. Intel and
Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks
or registered trademarks of SPARC International, Inc. UNIX is a registered trademark licensed through X/Open Company, Ltd.
This software or hardware and documentation may provide access to or information on content, products, and services from third parties.
Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party
content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to
your access to or use of third-party content, products, or services.
xiv T10000: Interface Reference Manual • January 2011 • E20425-01
Preface
The Fibre Channel Interface Reference Manual is intended for independent
software vendors (ISVs) plus operating system designers and developers
implementing Fibre Channel on Oracle’s StorageTek T10000 Tape Drive.
This manual is also intended for solutions delivery engineers, systems
engineers; plus hardware, software, and service representatives.
This manual describes information about the StorageTek T10000A, T10000B,
and T10000C
to all models of the T10000. Where information changes, the following is used
to identify them:
•2FC = T10000A with a 2 Gb interface
•4FC = T10000A or T10000B
•T10000A
FC = Fibre Channel
Preface
Tape Drives. Unless otherwise specified, this information pert ains
or T10000C with a 4 Gb interface
or T10000B or T10000C
■Access to Oracle Support
Oracle customers have access to electronic support through My Oracle
Support. For information, visit http://www.oracle.com/support/contact.html or
visit http://www.oracle.com/accessibility/support.html if you are hearing
impaired.
■Related Publications
The following list contains the names of publications that provide additional
information about the StorageTek T10000 tape drive.
SCSI-3 Stream Commands (SSC-3)
* Indicates specific reference for that implementation of the Fibre Channel interface.
nd
Generation FC-GS-2 NCITS 288.200x, Rev. 5.3
rd
Generation FC-GS-3 Working Draft Rev. 6.2
ANSI INCITS:416:2006
ANSI INCITS:402:2005
ANSI NCITS:408:2005
T10/1611-D Revision 04a
E20425-01 • 1
Overview
■Overview
•Serial connection
•Copper (electrical) or fiber (optical) transmissions
•Multiple protocols (such as SCSI, IP, HIPPI, IPI-3)
•Information transparent
•100 – 400 MB data transfer rates
•Scalable for data rates, distance, media, and protocols
In 1994, the Fibre Channel Physical and Signaling Interface (FC–PH), or
ANSI X3.230–1994, was completed, differing from every other architecture at
the time. This specification married the strengths of channels, including high
throughput and low overhead, with the strengths of networks, including
flexibility, long distance capability, and high connectivity.
See Table 2 for a description of the Fibre Channel layers.
Table 2. Fibre Channel Lay ers
ULPsSCSIIPIIPSBCCSHIPPI
FC-4 •Upper Level Protocol Mapping
•Mapping of ULP functions and constructs
FC-3 Common Services
FC-2 Link Service
•Login and Logout services
•Basic and Extended Link services
Signaling Protocol
•Frames, Sequences, and Exchanges
•N_Ports, F_Ports, and Topologies
•Classes of Service (1, 2, an d 3)
•Buffer-to-Buffer/end-to-end flow control
FC-AL Arbitrated Loop Functions
Emulation Modes 3592 (MVS) and 3490 (VSM)
Access times
Tape load and thread to ready
File access (includes loading)
Rewind (maximum)
Unload time
16 s
57 s
115 s
32.5 s with the Sport cartridge
23 s
E20425-01 • Chapter 1 General Information 7
Specifications
External Power Supply Module
Table 5. Power Supply Physical Dim ensi ons
Measurement Specification
Width14.7 cm (5.77 in.)
Depth20.4 cm (8.04 in.)
Height4.7 cm (1.83 in.)
Weight:
1.4 kg (3.5 lb)
2.38 kg (5.25 lb) L-Series libraries
Table 6. Power Specifications
CharacteristicsSpecification
Input voltage88 to 264 VAC
Input frequency48 to 63 Hz
Power consumption58 W (drive only)
90 W (drive and power supply)
Power dissipation 420 Btu/hr
Environmental Requirements
Note: Although the T10000 tape drive will function over the full list of ranges
as specified below, optimal reliability will be achieved if the
environment is maintained between the recommended ranges.
Table 7. Environmental Specifications
DescriptionOptimum Recommended Ranges
Temperature
-Operating
-Shipping
-Storing
Relative Humidity
-Operating
-Shipping
-Storing
Wet bu lb (non-condensing)
-Operating
-Shipping
-Storing
22°C (72°F) 20° – 25°C (68° – 77°F) 10° to 40°C (50° to 104°F)
-40° to 60°C (-40° to 140°F)
10° to 40°C (50° to 104°F)
45% 40% – 50% 20% to 80%
10% to 95%
10% to 95%
29°C (84°F)
35°C (95°F)
35°C (95°F)
Important: Industry best practices recommends computer rooms maintain a
relative humidity of 40% to 50% for best performance.
8 T10000: Interface Reference Manual • January 2011 • E20425-01
Physical Interface
This chapter describes how the StorageTek tape drives attach to a Fibre
Channel (FC) interface and includes recommendations for hubs, cables, and
connectors.
■Topologies
StorageTek tape drives support the following topologies with either single or
dual port attachments:
•Arbitrated Loop—private loop, NL_Port to NL_Ports
•Arbitrated Loop—public loop, NL_Port to NL_Ports, and one FL_Port
•Fabric F_Port attachment
•Point to Point attachment
Note: Dual port technology provides a redundant path and allows
connections to two ports, which increases the flexibility of the drive.
Only one port on a drive may be active for data transfer at a time.
■Arbitrated Loop
2
Figure 3 is an example of a hub producing an arbitrated loop.
Figure 3. Arbitrated Loop
E20425-01 • 9
Hubs
■Hubs
Because of the fast growth and the increase in demand of fibre channel
attachments, hubs can provide cascading (multiple) loops within a fibre
channel network. StorageTek tape drives are designed to use hubs to provide
for an arbitrated loop which provides the following capabilities:
•Centralizes the attachment of the tape drives within the arbitrated loop
•Establishes connections with either copper or fiber optic cables
•Provides translation of physical media (such as copper to optical fiber)
•Provides an external power supply for the port bypass
•Provides port bypass functionality for port failures
•Allows cascading to increase tape drive and initiator attachment
•Supports the ability to power-on and -off, install or de-install tape drives
•Creates a central point of port management and monitoring of the drives
•Extends the distances between tape drives and initiators
■Giga-Bit Interface Converters
Hubs use Giga-bit Interface Converters (GBICs) to provide the physical
connection to the tape drives.
GBICs connectors are available for:
•High speed serial data (HSSDC)
•Copper, 9-pin shielded “D” (DB9)
•Shortwave non-OFC
•Longwave laser
These GBICs comply with ANSI Fibre Channel physical layer requirements.
■Considerations
Jitter is a consideration when selecting, installing, and configuring hubs within
a Fibre Channel network. Jitter is the deviation of timing of an exchange.
The accumulation of jitter occurs and continues to grow within a chain of
repeaters. As a signal is input to a repeater , jitter is not removed from the clo ck
and is transferred to the data at the output. At some level within the network,
jitter could exceed the allowable limit causing excessive errors. Assuring that
there are NL_Ports within the loop to reclock the signal, jitter will be minimized.
Loop Port State Machines (LPSM) are required to control the operation of the
loop and ensure Loop Initialization Protocol (LIP) is executed whenever a
reset or power-on occurs.
10 T10000: Interface Reference Manual • January 2011 • E20425-01
Limitations
N_Port
F_Port
There is no limit to cascading the number of hubs within a network as long as
the following guidelines are followed:
Note: Refer to the hub manufacturer’s requirements for cascading, the
•The length of the cable affects the number of allowable ports.
•The hub adds length to the cabling in the network.
•Use ports 1 and 4 to cascade to other hubs. This increases the p otential of
•Do not exceed the maximum number of hubs per cascade link.
•Configure the loop so the devices are properly positioned in relation to the
Considerations
following are just general guidelines.
dual port devices and redundant paths.
The maximum number of hubs before retiming is six (6) with short cables,
two (2) with maximum length cascade cables.
hub. Figure 4 is an example of cascading hubs.
Figure 4. Loop Containing a Switch and a Hub
E20425-01 • Chapter 2 Physical Interface 11
Considerations
Figure 5. Cascading Hubs
12 T10000: Interface Reference Manual • January 2011 • E20425-01
Redundant Paths
The tape drive interface cards are dual port to support redundant paths.
Figure 4 is an example of one server using hubs to provide redundant p aths to
the same device.
Figure 6. Redundant Paths
Cables and Connectors
■Cables and Connectors
Because the link to a port can be driven either optically or electrically, the term
“fibre” in Fibre Channel refers to either a fiber optic or a copper cable.
•Optical transmission occurs over both single and multi–mode fibers using
both laser and light emitting diodes (LEDs) for both short (770–850 nm)
and long (1300–1360 nm) wavelengths.
•Electrical transmissions occur over video coax, miniature coax, twin coax
(Twin Ax), or twisted pair.
Note: The two types of links, either fiber optic and/or copper, can be
integrated into a single network, as long as there is a Fabric, hub, or
other type of converter present.
Cable Guidelines
Guidelines for 1 Gb cable lengths and hubs per cascade include:
•Minimum cable length is 2 m (6.5 ft)
•Maximum cable length depends on the type of connection:
SM single-mode fiber
M5 mu lti-mod e ( 50 µm)
M6 mu lti-mod e (62 .5 µm)
TV video cable
MI miniature coax cable
TP tw i sted pair
Transmitter
L L lon g wa ve la se r (1,3 0 0 nm)
SL short wave laser with OFC (780 nm)
SN
LE long wave LE D
EL electrical
short wav e lase r without O FC (780 nm)
Distance
L long
I intermediate
S short
V very long
Interface Ports
The T10000 tape drive can support either short or long wavelength interface
ports. The tape drive is designed to accept the small form-factor pluggable
(SFP) transceivers in to the interface ports. It is acceptable to use one port as
short wave and one port as long wave (mixed).
Table 8 and Figure 7 list the cable and connector specifications.
Table 8. Cable Specifications
Data RateDistance
(maximum)
FC-0 CodeCableType Connector
Meters Feet
1.062 Gb/s 5001,640100-M5-SN-IMultimode850 nm Short wave Duplex LC
2.125 Gb/s 300984200-M5-SN-IMultimode850 nm Short wave Duplex LC
4.250 Gb/s 150492400-M5-SN-IMultimode850 nm Short wave Duplex LC
1.062 Gb/s 10,00032,808 100-SM-LC-LSingle mode1300 nm Long waveDuplex LC
2.125 Gb/s 10,00032,808200-SM-LC-L Single mode1300 nm Long waveDuplex LC
4.250 Gb/s 10,00032,808400-SM-LC-LSingle mode1300 nm Long waveDuplex LC
Figure 7 provides a description of the FC-0 codes.
Figure 7. Cable Marking Descriptions
14 T10000: Interface Reference Manual • January 2011 • E20425-01
Operations
This chapter describes how StorageTek tape drives operate using a Fibre
Channel (FC) interface.
Note: This document is defined by the requirements in FC-Tape
Revision 1.17. As updates occur to the FC-Tape document, this
document will be updated accordingly.
■Connections
The T10000 tape drives support connections for both:
•2FC = Direct N_Port, Arbitrated Loop, and a Fabric
•4FC = Direct N_Port and a Fabric
Arbitrated Loop
An arbitrated loop provides multiple connections for devices that share a single
loop, but only provides point-to-point connections between an initiator and
target during communications.
3
Note: Both public loops and private loops are supported.
As with SCSI protocol, when devices want to communicate on the bus, they
must arbitrate and win the connection before communications can begin. The
same goes with the arbitrated loop. Once a device is powered-on and
initialized on the loop, it must arbitrate and win to be able to communicate with
other devices on the loop.
Fabric Attachment
Fabric, or F_Ports, provide “direct” attachments to the tape drives. The Fabric
receives frames from a source N_Port and routes them to a destination N_Port
whose address identifier is specified within the frame.
E20425-01 • 15
Direct N_Port Attachment
■Direct N_Port Attachment
The T10000 tape drives support direct attachment to a host through a host bus
adapter (HBA) that creates an N-Port. The HBA sends and receives to and
from the tape drive.
■Addressing
StorageTek tape drives use: Port name, Node name, and Port ID for login
validation. The StorageTek registration ID is 24 bits consisting of:
•00104F (hex)
Table 9 indicates the Institute of Electrical and Electronics Engineers (IEEE)
registered format for Name Address Authority (NAA), company ID, and ve ndor
specific identifier for a total of 64 bits.
Table 9. Addressing Scheme
Most Significant Bit Least Significant Bit
63 60 59 3635 00
NAAIEEE Company IDVendor Specific Identifier
“0101” (b) 00 10 4F (hex)(to be assign e d)
All ports validate the logins by comparing Port Name, Node Name, and Port
ID. All three identifiers must match or this indicates the configuration has
changed and requires a Logout (LOGO).
Note: A LOGO terminates all open Exchanges between SCSI initiator and
target.
16 T10000: Interface Reference Manual • January 2011 • E20425-01
■Terms and Definitions
Tables throughout this chapter use the following terms for compliance with the
American National Standards Institute (ANSI) Fibre Channel Tape (FC–Tape)
Technical Report for the StorageTek implementation.
FC–Tape Terms
Allowed (A)Can be used between an initiator and a target (tape drive). For tape
drives, this is typically dependent on the particular feature or
parameter and its applicability to the request from an initiator.
Invokable (I)Can be used between an initiator and a target. Such as if a feature
is invoked
or parameter.
Prohibited (P)Can not be used between an initiator and a target.
Required (R)Must be used between an initiator and a target. Both the initiator
a
nd target must implement the feature or parameter.
Dash (–)Indicates this parameter is not meaningful.
, the recipient must implement and respond to the feature
Terms and Definitions
Blank ( )A blank entry indicates that the featur
InitiatorSCSI device that orig
TargetSCSI device that receives commands.
StorageTek Terms
Yes (Y)The StorageTek tape drive conforms to that comma nd,
No (N)The StorageTek tape drive does no
Originate (Orig.)Originates the exchange or SCSI command from the tape
Response (Resp.)Responds with an acknowledgement (R_RDY and/or
Transmission WordA four byte character containing 32 bits of information.
WordB yt e 0Byte 1Byte 2Byt e 3
e is not part of the feature set.
inates commands.
feature, or value.
t conform to that
command, feature, or value.
dr
ives.
da
ta) from the tape drives.
This
is the smallest information unit transmitted on Fibre
Channel.
n(MSB)Bits(LSB)
31 2423 1615 87 0
E20425-01 • Chapter 3 Operations 17
Loop Initialization Features
■Loop Initialization Features
Arbitrated loop initialization protocol assigns up to a possible 126 addresses to
different ports on the loop and builds a map of these addresses. The following
pages describe some loop initialization features StorageTek tape drives
perform.
Loop initialization must occur before operations on the loop can begin. The
Loop Initialization Primitive (LIP) sequence is a series of initialization frames
that establish NL_Ports on the loop.
Any NL_Port on the loop is capable of starting an initialization sequence by
transmitting LIP. When the next NL_Port detects the LIP sequence, it
retransmits it to the next NL_Port until the LIP sequence travels around the
loop to the NL_Port initiating the sequence. During loop initialization, NL_Port
addresses (AL_PA) are assigned (x’01’ to x’EF’).
NL_Port addresses (AL_PA) can be either hard (hardware assigned) or soft
(system assigned) during loop initialization.
NL_Ports attempt to establish their previous acquired address before
attempting to acquire another address when that NL_Port is powered-on or
experiences a power-on reset, recognizes a LIP (AL_PD or AL_PS) for that
port, or any other event that causes the NL_Port to lose communications.
Note: StorageTek tape drives may use a hard assigned address and attempt
to regain that address during loop initialization. If unable to obtain that
address, the tape drives accept soft addresses by the system.
Acquiring Addresses
When an NL_Port enters the loop (such as a power-on), it begin s init ializat ion
to acquire an address and to notify other ports there is a change in
configuration.
Note: If there is an exchange in process when a LIP begins, that exchange is
disrupted and possible frame corruption could occur and result in a
ULP timeout.
•If the NL_Port does not have a valid address, it begins the initialization
sequence with LIP(F7,F7).
•If the NL_Port has a valid address, it begins initialization with LIP
(F7,AL_PS).
18 T10000: Interface Reference Manual • January 2011 • E20425-01
Selective Reset
Selective resets perform a reset on the receiving port. These resets are help ful
for error recovery or reconfiguration of the loop. Any NL_Port that uses a
selective reset transmits a LIP(AL_PD,AL_PS).
•AL_PD field contains the address of the port being reset
•AL_PS contains the address of the port issuing the reset
Loop Failures
A loop failure is any of the following:
•A loss of Signal
•A loss of Synchronization for longer than R_T_TOV
If a Loop Failure occurs, the L_Port which detects the failure issues a
LIP(F8,AL_PS) if it has a valid AL_PA, or LIP(F8,F7) if it doesn’t.
Open Initializing State
Loop Initialization Features
The open initializing (OPEN-INIT) state performs the process of loop
initialization. When ports are in this state, initialization frames are transmitted
and received to identify the temporary loop master and to assign AL_PA
values. Entering this state assumes the loop is operational and sets the
Available BB_Credit equal to zero (0).
Loop Initialization Select Master
StorageTek tape drives support the process of selecting a Loop Initialization
Select Master (LISM) by using the device with the lowest PORT_NAME.
Note: If an FL_Port (fabric loop attachment) is present, it assumes t he role of
LISM.
Loop Initialization Fabric Assigned Address
StorageTek tape drives support the process of Loop Initialization Fabric
Assigned (LIFA) addresses. This process is supported when the tape drive is
operating in Public Loop mode.
Loop Initialization Previously Acquired
StorageTek tape drives support the process of Loop Initialization Previously
Acquired (LIP A) addresses. This process is supported when the t ape drive has
previously acquired an address.
E20425-01 • Chapter 3 Operations 19
Loop Initialization Features
Loop Initialization Hard Assigned
StorageTek tape drives support the process of Loop Initialization Hard
Assigned (LIHA) addresses. This process is supported when the tape drive is
first powered on and a configuration parameter enables it.
Loop Initialization Soft Assigned
StorageTek tape drives support the process of Loop Initialization Soft
Assigned (LISA) addresses. This process is supported when the hard
assigned address has been used by a different device or hard assigned
addressing is disabled.
Loop Initialization Report Position
StorageTek tape drives support the mapping process to build a map of the
AL_PA values according to their position on the loop. The temporary loop
master begins the procedure to create a Loop Initialization Report (LIRP).
This initialization report and map is done by using a 1-word frame identifier
with an offset value of one (1). As the frame is transmitted around the loop , the
next NL_Port increments the offset by a value of one and stores the
information in the AL_PA map.
Loop Initialization Loop Position
StorageTek tape drives support the process of Loop Initialization Loop Position
(LILP) by retransmitting this sequence when required.
Failure to Obtain a Loop Address
If an NL_Port is unable to obtain an address (fabric assigned, previously
assigned, hard assigned, or soft assigned) it goes into a non-participating
mode and immediately implicitly logs out all logged in ports.
If an NL_Port experiences a power-on reset, or recognizes a
LIP(AL_PD,AL_PS) it is not required to retain a previously acquired address to
use during the next loop initialization.
Private Loop Initialization Completion
At this point in loop initialization a private loop tape device has completed
initialization. It has acquired a private loop address of “00 00 xx.” The xx is its
assigned AL_PA.
The tape drive now waits for initiators, on this loop only, to complete a Port
Login (PLOGI), a Process Login (PRLI), and then to start executing tape
commands.
20 T10000: Interface Reference Manual • January 2011 • E20425-01
Public Loop Initialization Completion
The public loop tape device has now acquired a loop address of “00 00 xx” at
this point in initialization, where xx is its assigned AL_PA.
Next the tape drive will attempt a Fabric Login (FLOGI) with the loop FL_Port. If
the login is not successful, the tape drive will revert back to private loop
operation, see the Private Loop Initialization Completion description.
With the successful completion of the FLOGI, the tape drive has now acquired
its public loop address “DD AA xx.” Where DD is the fabric domain, AA is the
fabric area, and xx is the AL_PA.
The tape drive then attempts to Port Login (PLOGI) with the fabric directory
server to register with an RFC-4 request with the name service.
The tape drive now waits for initiators, on either this loop or fabric attached, to
complete a Port Login (PLOGI), a Process Login (PRLI), and then to start
executing tape commands.
Fabric F_PORT Attachment Initialization
Loop Initialization Features
In the absence of a loop environment the StorageTek tape drives will attempt to
initialize with a fabric. This is accomplished by doing a Fabric Login (FLOGI).
The FLOGI process will be attempted in each class of service that the tape drive
supports.
Once the FLOGI process is successful the tape drive will attempt to login
(PLOGI) with the fabric attached name server, if it exists. This process allows
the tape device to register its presence with the name server such that other
initiators may query the name server to find target tape drives to use.
The tape drive now waits for initiators on the fabric to complete a Port Login
(PLOGI), a Process Login (PRLI), and then to start executing tape commands.
E20425-01 • Chapter 3 Operations 21
Loop Initialization Features
Tape Drive States
Power Up
When the drive completes the power-on process both of the FC ports will be
enabled and will attempt to initialize on the attached FC topology.
When the drive completes the power-on process the LUN will be online and
capable of tape operations.
Offline
When the LUN is set to offline from the drive’s menu system, the state of the
Fibre Channel ports are not affected.
Commands like Inquiry that do not require the LUN to be online will still
execute normally.
For all other commands that require the LUN to be online, they will get a
Check Condition status. The Sense Key will be 5.
The ASC/ASCQ will be 0x2500.
Online
When the LUN is set to online from the drive’s menu system, the state of the
Fibre Channel ports are not affected. All commands may now be executed
with the LUN.
Power Down
In the process of powering down the drive, the Fibre Channel Protocol chip s will
lose power. The hub port bypasses will be activated.
Caution:
By powering down a drive, operations on these ports and/or other
ports on the loop may be adversely affected.
22 T10000: Interface Reference Manual • January 2011 • E20425-01
Arbitrated Loop Feature Set
■Arbitrated Loop Feature Set
StorageTek tape drives implement the following Fibre Channel feature set:
Table 10. FC-AL Feature Set
FeatureFC-TAPEStorageTekNotes
Initiator Target
Attempt to acquire Hard Address during LIHA
sequence of loop initialization following loss of
power, power-on reset, or recognition of LIP
(AL_PD or AL_PS)
LILP/LIRP:
Loop Master can originate
Non-loop Master L_Ports accept
LPEyx/LPByx/LPEfx (origination)APN2
MRKtx (origination)PPN3
Open Full Duplex - OPN(yx):
Open Originator can send
Open Recipient accepts
RR Y 4
R
R
A
A
R
R
I
R
R
R
A
A
R
R
I
R
Y
Y
Y
N
Y
Y1
N
Y5
Open Half Duplex - OPN(yy):
Open Originator can send
Open Recipient accepts
Open Multicast/Selective Replicate
OPN(yr), OPN(fr):
Open Originator
Notes:
I
R
PP N
I
R
Y
Y
1. The actual value is between 0 and the LOGIN_BB_Credit.
2. LPEfx is useful for resetting bypass circuits of NL_Ports which have lost their address.
3. Any NL_Port receiving an MRK attempts to forward it, StorageTek does not originate it.
4. This feature may be disabled by a configuration item change.
5. Our target will accept the Open Full Duplex but the FCP simplex protocol does not take
advantage of the full duplex capabilities.
E20425-01 • Chapter 3 Operations 23
Arbitrated Loop Feature Set
Login_BB_Credit Equals Zero
StorageTek tape drives advertise Login_BB_Credit =0. When
Login_BB_Credit=0 at the other L_Port, the following rules apply:
•The OPN originator must receive R_RDYs (receiver readys) from the tape
drive before transmitting a frame.
•The OPNed responder transmits R_RDYs for the number of buffers
available to receive frames.
Note: OPN Originators open as either full or half duplex regardless of the
value of the Login_BB_Credit.
Open and Close Latencies
When Login_BB_Credit=0, a latency exists while waiting for the t ape drives to
respond with two (2) R_RDYs. This exists for every OPN before frame
transmission can begin.
To improve the latencies 2-4 and 3-5, and StorageTek tape drives immediately
respond with at least 2 and as many as 5(depending on drive) R_RDYs on an
OPN. This is controlled by a configuration item.
Some NL_Ports reduce CLS latency in another way:
To prevent buffer overruns, a CLS Recipient is only required to have maximum
Login_BB_Credit, granted to any L_Port buffers, available before receiving the
next OPN.
24 T10000: Interface Reference Manual • January 2011 • E20425-01
Common Service Parameters
■Common Service Parameters
Table 11 lists the Common Service Parameters for Port Login (PLOGI):
Table 11. NL_Port Common Service Parameters, Port Login
Common Features:
Reserved131–30000–
Valid Vendor Version Level1290000
N_Port/F_Port1280000
Alternate BB_Credit Management 1270101
Reserved 126–19000–
Dynamic Half Duplex118000–
Reserved117000–
Payload Length 116000–
Buffer-to-Buffer Receive Data
115–0x‘0800’x‘0800’x‘0800’256
Field Size (min., see note)
Reserved 231–0000–
Reserved 331–0000–
Note: This is controlled by a configuration item.
–
1. With inline credit extender enabled. ?
2. With inline credit extender disabled.
26 T10000: Interface Reference Manual • January 2011 • E20425-01
FC Class 3
■FC Class 3
Fibre Channel provides several different strategies to ensure reliable
communications between devices. These strategies are called Classes of
Service. The tape drive supports the Class 3 level of service which provides
no notification of frame delivery or non-delivery. This class of service reduces
the number of frames (traffic) on the loop.
The start-of-frame (SOF) delimiter specifies the type of service used for each
frame during communications.
Table 13 indicates the two types of delimiters for Class 3 operations.
Table 13. Start of Frame Delimiters, Class 3
DelimiterAbbreviationTransmission Word Characters
SOF Initiate Class 3SOFi3K28.5D21.5D22.2D22.2
SOF Normal Class 3SOFn3K28.5D21.5D22.1D22.1
Note: Intermixing different classes of service is not supported.
The tape drives adhere to a set of operating characteristics that insure inter-
operability and reliability within a Class 3 loop environment is maintained.
Table 14 and Table 15 list Class 3 Service Parameters supported.
Class 3 Service Parameters, Port Login
Table 14 lists Class 3 Service Parameters for Port Login (PLOGI):
Table 14. Class 3 Service Paramete rs, Port L og in
ParametersWordBitsStorageTek ValueFC-
2FC
N_Port
Class validity0311111
Service Options: 030–16
Intermix Mode 030000–
Stacked Connect Requests 029–28000000–
Sequential Delivery 027000–
Dedicated Simplex 026000–
2FC
NL_Port
4FC
N_Port
Tape
Camp-On 025000–
Buffered Class 1024000–
Priority023000–
E20425-01 • Chapter 3 Operations 27
FC Class 3
Table 14. Class 3 Service Parameters, Po rt L ogin (Conti nu ed)
ParametersWordBitsStorageTek ValueFC-
Tape
Initiator Control: 015–0
2FC
N_Port
2FC
NL_Port
4FC
N_Port
Sequence Initiator X_ID
015–14000000–
reassignment
Initial Responder Process_Associator 013–1200000000
Sequence Initiator ACK_0 capable011000–
Sequence Initiator ACK_N Capable010000–
ACK generation assistance09000–
Initiator Data compression capable 080000
Initiator Data compression history
07–6000000–
buffer size = ‘00’b
Data Encryption Capable050000
Clock Synchronization Capable04000P
Recipient Control:131–16
ACK_0 Capable131000–
ACK_N Capable130000–
X_ID Interlock 129000–
Error Policy Supported128–27000000TBD
Categories per Sequence125–2400000000
Data compression capable1230000
Data compression history buffer size122–21000000–
Data decryption capable1200000
Clock synchronization capable119000A
Reserved – fabric specific 118–160000
Receive data field size (min.) 115–0x‘0800’x‘0800’x‘0800’256
Concurrent Sequences > 0 231–16x‘00FF’x‘00FF’x‘00FF’1
N_Port End-to-end Credit 214–0000–
Open Sequences per Exchange > 0 331–16x‘0001’x‘0001’x‘0001’1
Class 6 Multicast RX_ID 315–0000–
28 T10000: Interface Reference Manual • January 2011 • E20425-01
FC Class 3
Class 3 Service Parameters, Fabric Login
Table 15 lists Class 3 Service Parameters the tape drives support for Fabric
Login (FLOGI):
Table 15. Class 3 Service Parameters, Fabric Login
ParametersWordBitsStorageTek ValueFC-
2FC
N_Port
Class validity0311111
Service Options:
Intermix Mode 030000–
Stacked Connect Requests 029–28000–
Sequential Delivery 0271111
Dedicated Simplex 026000–
Receive data field size (min, see note)115–0x‘0800’x‘0800’x‘0800’256
Concurrent Sequences (min) 231–16000–
N_Port End-to-end Credit 214–0000–
Open Sequences per Exchange (min) 331–16000–
Reserved 315-0000–
Note:This is controlled by a configuration item.
E20425-01 • Chapter 3 Operations 29
FC-2 Features
■FC-2 Features
The FC-2 level provides the signaling protocol and specifies the rules and
requirements to transfer blocks of data.
The FC-2 level is the most complex level in Fibre Channel protocols and
provides the different classes of service, packetizing, sequencing, error
detection, and reassembling the transmitted data.
Table 16 lists other FC-2 features supported by the tape drive:
Table 16. Other FC-2 Features
Feature
InitiatorTarget
Addressing Scheme: (see note)
Node Name Format (registered format) RRY
Port Name Format (registered format) RRY
Frame Control (F_CTL):
Continue Sequence Condition RRY
Continuously increasing sequence count during
consecutive sequences within an Exchange
Ignore nonzero Continue Sequence valuesAAY
Sequence Chaining (C_S bit in F_CTL = 0) RRY
Optional Headers (all) PPN
Routing Control (R_CTL):
FC-4 Device_Data frame RRY
Extended Link_Data frame RRY
30 T10000: Interface Reference Manual • January 2011 • E20425-01
■Link Service Commands
Fibre Channel uses link service commands to manage functions such as port
management, Login, Logout, and abort operations. The tape drives support
both basic and extended link service commands to perform these operations.
Fabric Login (FLOGI) RP RP Y–
Get Alias_ID (GAID) PPN–
Link Service Reject
(LS__RJT)
Logout (LOGO) RRRRYY
Loop Initialize (LINIT)IPNY
Loop Port Control (LPC)IPNN
32 T10000: Interface Reference Manual • January 2011 • E20425-01
P P N–
ARYY
Link Service Commands
Table 18. Extended Link Services (Continued)
CommandFC-TAPEStorageTek
From
Initiator
Target
Response
From
Target
Initiator
Response
Drv
Orig.
Drv
Resp.
Loop Status (LSTS)IPNN
N_Port Activate Alias_ID
P P N–
(NACT)
N_Port Deactivate
P P N–
Alias_ID (NDACT)
N_Port Login (PLOGI) RRPNY
Process Login: (PRLI)RRPNY
PRLI Common Service
P–P NN
Parameters
Single Service
RRPNY
Parameter page per
request
Multiple Service
P–P NN
Parameter pages per
request
ACC contains only
–RP NY
those pages specified
Accept Response code
–RP NY
of Command executed
Process Logout (PRLO) IRIRYY
Quality of Service Request
P P N–
(QoSR)
Read Connection Status
P P N–
Block (RCS)
Read Exchange Concise
RR AAYY
(REC)
Read Exchange Status
PPN–
Block (RES)
Read Link Error Status
IRP NY
Block (RLS)
Request Sequence
AAAATBDTBD
Initiative (RSI)
Read Sequence Status
AAAATBDTBD
Block (RSS)
E20425-01 • Chapter 3 Operations 33
Link Service Commands
Table 18. Extended Link Services (Continued)
CommandFC-TAPEStorageTek
From
Initiator
Read Timeout V alue (RTV) PPN–
Read VC Status (RVCS) PPN–
Reinstate Recovery
Qualifier (RRQ)
Registered State Change
Notification (RSCN)
Report Node Capabilities
(RNC)
State Change Notification
(SCN)
State Change Registration
(SCR)
Test PPN–
Test Process Login State PPN–
Third Party Process
Logout (TPRLO)
IRIRYY
IRIRNY
IRP NY
PPN–
IPIPNN
IRP NY
Target
Response
From
Target
Initiator
Response
Drv
Orig.
Drv
Resp.
Table 19. FC-4 Link Services
CommandFC-TAPEStorageTek
From
Initiator
Sequence
Retransmission Request
(SRR)
Target
Response
IRP NY
From
Target
Initiator
Response
Drv
Orig.
Drv
Resp.
34 T10000: Interface Reference Manual • January 2011 • E20425-01
Responses to Link Services
Table 20 summarizes the response the tape drives generate when receiving
different Link Service requests when the drive NL_Port is n ot currently logged
in with the sending Port.
Table 20. Response to Link Services from Ports Not Logged-In
Link Service Commands
Frame
Received
ABTSDiscard and send LOGOBA_ACC, BA_RJT2
ADISCDiscard and send LOGOACC and LS_RJT 1
FANProcess the ELS request, no
LOGOACC ACC
PDISCDiscard and send LOGOACC and LS_RJT 1
PLOGIACC, LS_RJTACC
PRLIDiscard and send LOGOACC
PRLODiscard and send LOGOACC and LS_RJT 3
RSCNProcess the ELS request, no
Other Link
Services
Notes:
8. All three identifiers must match at login for Accepts (ACC) to be returned:
Port Not Logged In Port Logged In Notes
Process the ELS request, no
response required
response required.
Discard and send LOGOACC and LS_RJT
response required.
Process the ELS request, no
response required.
•Port ID,
•Port Name, and
•Node Name
If all three identifiers do not match a logout (LOGO) is returned.
If other conditions prevent execution of the ADISC or PDICS ELS, return a reject (LS_RJT) with
the appropriate reason code.
9. BA_ACC if valid RX_ID else BA_RJT
10. If PRLI has not been successfully completed, set the reason code to
“Image Pair Does Not Exist.”
E20425-01 • Chapter 3 Operations 35
Frame Transmission
C53567
Idles
S
O
F
Fra m e
Header
Data Field
(Plus optional Headers)
C
R
C
E
O
F
Idles
Word
0
1
2
3
4
5
Byte 0
R_C T L
CS_CTL
Typ e
SEQ _ID
Byte 1Byte 2
Byte 3
Destina tion_ID
So u rc e _ID
F_C T L
DF_CTLSEQ _C NT
RX_ID
OX_ID
Para mete r
■Frame Transmission
Figure 8 shows the frame format for transmission of data and commands over
Fibre Channel.
Figure 8. Frame and Frame Header Format
R_CTLRouting Control: Indicates the type of frame functions
Destination ID
Identifies the port destination
CS_CTLClass specific control field
Source ID Identifies the source
TypeIndicates the data structure
F_CTLFrame Control: Controls information within the frame
SEQ_IDSequence Identifier: Identifies sequences within an exchange
DF_CTLData Field Control: Indicates optional headers
SEQ_CNTSequence Count: Contains frame number within exchange
OX_IDOriginator Exchange ID: Identifies originator of exchange
RX_IDResponder Exchange ID: Identifies responder of exchange
ParameterContains unique parameters for exchange
36 T10000: Interface Reference Manual • January 2011 • E20425-01
■Exchange Management
Exchange (X) management is the overall control of operations over the Fibre
Channel interface between the originator and responder.
Refer to the FC–PH documents for rules and guidelines pertaining to Class 2
operation.
Note: For FCP, an exchange is a single SCSI command.
There are two fields in the frame header dealing with exchanges:
The exchange originator assigns a unique OX_ID to the exchange for the
transmission of in-order delivery of frames and assumes the frames are
processed in the order received. The exchange is open from the time the first
frame is sent until one of the following occurs:
•Timeout
•The exchange is aborted (ABTS or ABTX)
•An end-of-frame (EOF) delimiter is sent with the last sequence bit set
•A Logout (LOGO) is sent to or received from the Exchange responder
•A Link Service Command Reject (LS_RJT) is sent in response to an
ADISC or PDISC during target discovery
•A PLOGI is sent to the Exchange responder
E20425-01 • Chapter 3 Operations 37
Sequence Management
Exchange Responder
The exchange responders assign unique RX_ID values or use the value of
“FFFF.” The exchange responder considers an exchange open from the time it
receives the first frame of the first information unit until one of the following
occurs:
•The last frame of the last information unit is sent with the last sequence bit
set
•The exchange is aborted (ABTS)
•A Logout (LOGO) is sent to, or received from, the Exchange originator
•An LS_RJT is sent in response to an ADISC or PDISC during target
discovery
•A PLOGI is received
■Sequence Management
Sequence management deals with the actual order and transfer of frames
across Fibre Channel. The SEQ_ID and SEQ_CNT identify the order of
frames for reassembly at the responder.
Refer to the FC–PH documents for rules and guidelines pertaining to Class 2
operation.
38 T10000: Interface Reference Manual • January 2011 • E20425-01
Sequence Open
The tape drive considers a Sequence open from the time that the first frame of
the Sequence (the frame with the SOFi3 delimiter) is sent until one of the
following occurs:
•An end-of-frame (EOF) delimiter is sent with the last sequence bit set
•A LOGO is sent to, or received from, the Sequence responder
•The sequence is aborted with ABTS
The tape drive as a Sequence responder considers a Sequence open from the
time that the first frame of the Sequence (the frame with the SOFi3 delimiter)
is received until one of the following occurs:
•An end-of-frame (EOF) delimiter is sent with the last sequence bit set
•The Sequence is aborted using ABTS
•A LOGO is sent to, or received from, the Sequence originator
Sequence Identifier Usage
The sequence identifier (SEQ_ID) is a field in the frame header that sets one
frame apart from another indicating the order in which they occur. The
following paragraphs summarize the rules governing the reuse of SEQ_IDs.
Sequence Management
For sequences which transfer Sequence Initiative:
•A Port can reuse a SEQ_ID for the same Exchange following the
confirmation of Sequence delivery.
•A Port can reuse the SEQ_ID with a different Exchange (to the same, or a
different destination Port) immediately following transmission of the last
frame of the Sequence without waiting for confirmation of Sequence
delivery.
For sequences which do not transfer Sequence Initiative:
•Consecutive FCP_DATA Sequences for the same exchange follow the
FC-PH rules for streamed Sequences which include:
a. The first FCP_DA T A Seq uence after transfer of Sequence Initiative is
not a streamed Sequence. It can use any eligible SEQ_ID and the
SEQ_CNT can be either zero or a continuously increasing number.
b. The second and subsequent Sequences within the same exchange
are treated as streamed.
•Because frame delivery is not confirmed, the Sequence Initiator cannot
reuse a SEQ_CNT within a given Sequence.
For sequences beginning with a SEQ_CNT of zero, the SEQ_CNT cannot
wrap when reaching a hexadecimal count of “FFFF”.
For sequences beginning with a SEQ_CNT of ‘n’ (where n is not zero) the
SEQ_CNT can wrap when reaching a hexadecimal count of “FFFF” and
continue from zero up to a value of n-1.
E20425-01 • Chapter 3 Operations 39
Error Detection and Management
Sequence Errors
Sequence errors are managed as defined in FC–Tape with the following
additions:
1. If a frame with an SOFi3 delimiter is received and the SEQ_CNT is not
equal to zero or +1 from the SEQ_CNT of the last frame of the previous
Sequence of that Exchange.
2. If the SEQ_CNT of a received frame with an SOFn3 delimiter is not +1
greater than the previous frame received for that Sequence (such as a
frame was lost).
This also detects the case where a frame with an SOFn3 delimiter is
received for a SEQ_ID that is not currently open since the SEQ_CNT of
the previous frame for that Sequence is undefined.
3. If a frame with an SOFi3 delimiter is received and the previous Sequence
of that Exchange is still open.
4. If the relative offset in the parameter field of a received frame with an
SOFn3 delimiter is not equal to the (relative offset + the payload size) of
the previous frame received for that Sequence.
5. If the next frame of a Sequence is not received within E_D_TOV.
6. If, during the same Sequence Initiative, a Sequence is received which has
the same SEQ_ID as the previous Sequence of that Exchange.
When a Sequence error is detected by the tape drive, it discards that
Sequence, and all remaining Sequences for the Exchange containing the
Sequence in error. The tape drive attempts to take the appropriate action as
defined in FCP–2.
■Error Detection and Management
Error detection falls under two categories: Frame errors and link-level errors.
•Frame errors result in missing or corrupted frames which may ultimately
involve Upper Level Protocols to resolve.
•Link-level errors include errors such as loss of signal, loss of
synchronization, and timeouts.
Upper Level Protocols (ULP) provide for error detection and management by
using timeouts which is an inefficient mechanism to detect and recover from
frame transmission errors.
FC-2 layer protocols attempt to recover from errors through transmitting
frames, Extended Link Services commands, and Primitive Sequence
protocols (as defined in FCP-2)
A problem with Class 3 operation is that there is no confirmation of frame
delivery. Although, the originator can deduce some delivery of frames from:
40 T10000: Interface Reference Manual • January 2011 • E20425-01
Error Detection and Management
•Successfully receiving a command by:
•FCP Transfer ready was sent by the command recipient
•FCP read data was received
•A response was received
•Successfully receiving write data by:
•FCP Transfer Ready was received
•A response was received
However, FCP data and FCP responses cannot always be detected.
Currently, the FCP-2 defines detection of these missing frames by using
timeouts. For FCP responses, the target may request the initiator to send an
FCP confirmation to confirm receipt of the response. Refer to FCP-2 for a
more detailed description.
Caution:
Fibre Channel provides no error correction on
provide excellent error detection schemes, including:
•8B/10B encoding and decoding
•Disparity
•Cyclic redundancy checks
•Sequence errors and out-of-order delivery
From a tape drive standpoint, it is very important that error
detection and recovery ensure both the initiator and target are in
with block position on tape. Therefore; if the initiator suspects
sync
that the result of an error leaves the drive out of sync with the
initiator, the initiator should issue a Read Position command to
determine the location and to invoke the Upper Level Protocol
(FC-4) to reposition the tape if necessary.
8B/10B Encoding and Decoding
Fibre Channel uses a special process called encoding and decoding that is
designed to reduce distortion during transmission and aid in the detection of
errors at the receiving port. This process makes it highly likely that single and
multiple bit errors are detected.
Besides providing error detection, this process also balances the turning on
and off of the light for the loading of the optical fiber transmitters.
data during transfers but it does
The process of encoding uses an algorithm that takes the original 8 bits in
each byte and transforms them into 10 bits for transmission. The result is an
8B/10B encoding of a byte and is called a transmission character.
E20425-01 • Chapter 3 Operations 41
Error Detection and Management
Disparity
Fibre Channel uses a scheme along with the 8B/10B encoding to protect
transmission characters and aid in error detection called running disparity.
Running disparity adds a second dimension to the transmission of characters.
This dimension provides a balance of ones and zeros which helps protect
transmission characters and controls the heat output of the transmitter.
A negative running disparity is maintained following the transmission of the
end-of-frame (EOF) delimiter and remains negative until the transmission of
the next start-of-frame delimiter.
Because the running disparity within a frame is variable, two different EOF
delimiters are used depending on the content of the frame following the
transmission of the CRC.
Table 23. End of Frame Delimiters
DelimiterAbbreviationRDTransmission Word Characters
EOF Normal EOFnNeg.K28.5D21.4D21.6D21.6
Pos.K28.5D21.5D21.6D21.6
EOF TerminateEOFtNeg.K28.5D21.4D21.3D12.3
Pos.K28.5D21.5D21.3D21.3
EOF AbortEOFaNeg.K28.5D21.4D21.7D21.7
Pos.K28.5D21.5D21.7D21.7
EOF Normal
Invalid
EOFniNeg.K28.5D10.4D21.6D21.6
Pos.K28.5D10.5D21.6D21.6
CRC
Fibre Channel adds a third level of protection over the content of each frame
called a cyclic redundancy check (CRC). Each frame is protected by a 4-byte
CRC which provides a separate and independent error detection mechanism.
42 T10000: Interface Reference Manual • January 2011 • E20425-01
Fibre Channel Timers
■Fibre Channel Timers
StorageTek’s tape drives use the timer values in Table 24.
Table 24. Timer Summary
TimerValueImplemented By
InitiatorTargetStorageTek
AL_TIME15 msRRY
R_T_TOV100 msRRY
E_D_TOVPrivate = 2 sec.
Public = supplied + 2 sec.
R_A_TOV
R_A_TOV
RR_TOV
RR_TOV
REC_TOV > = E_D_TOV + 1 sec. (min.)RRY
ULP_TOV> = Operation specific timer +
Notes:
1. The division of R_A_TOV usage differs from the FC-PH because of the unique characteristics of
an Arbitrated Loop environment.
2. SCSI target devices that support Class 2 are required to implement this timer.
SEQ_QUAL
Private = 2 sec.
ELS
AUTH
SEQ_INIT
Private = 0 sec.
Public = 10 sec. (note 1)
Public = 10 sec.
2 sec.RY
> = REC_TOV +
2 x R_A_TOV
2 x RR_TOV
+ 1 sec.
ELS
R
R
RA
RR Y
RN
2
A
R
(note 2)
RY
Y
Y
Y
Arbitrated Loop Timeout
The Arbitrated Loop timeout value (AL_TIME) is two times the worst case
round-trip latency of a very large loop.
Receiver_Transmitter Timeout
The Receiver_Transmitter timeout value (R_T_TOV) is used by the receiver
logic to detect a loop failure.
E20425-01 • Chapter 3 Operations 43
Fibre Channel Timers
Error_Detect Timeout
The Error Detect Timeout value (E_D_TOV) is the maximum time permitted
for a Sequence Initiator between the transmission of consecutive data frames
within a single sequence. This is also the minimum time that a Sequence
Recipient waits for the reception of the next frame within a single sequence
before recognizing a Sequence timeout.
E_D_TOV includes the time required to gain access to the loop in addition to
the actual frame transmission time.
Resource Allocation Timeouts
The Resource Allocation Timeout (R_A_TOV) has two components:
•Sequence Qualifiers (SEQ_QUAL) defines the minimum time that an
initiator waits before reusing the sequence qualifiers (SEQ_ID and
SEQ_CNT).
•Extended Link Services (ELS) determines the minimum time the Originator
of an extended link service request waits for the response to a request as
a target.
Resource Recovery Timeout
The Resource Recovery Timeout (RR_TOV) is the minimum time the target
waits for an initiator to perform an exchange authentication following the
completion of the loop initialization.
REC Timeout
The Read Exchange Concise Timeout value (REC_T OV) is used to time rep ly
sequences and a polling interval for REC error detection. Refer to FCP-2 for a
detailed description.
Upper Level Protocol Timeout
The Upper Level Protocol Timeout (ULP_TOV) is used by the initiator to time
the completion of exchanges associated with the ULP operations. The timeout
values vary depending on the operations being timed.
44 T10000: Interface Reference Manual • January 2011 • E20425-01
FCP Feature Set
■FCP Feature Set
Fibre Channel Protocol (FCP) provides functions such as login and logout
parameters and the transfer of commands and data through the use of
Information Units. The FCP command set for the tape drives is SCSI-3.
Process Login Parameters
Table 25 and Table 26 on page 46 lists Process Login (PRLI) parameters
supported.
Table 25. PRLI Parameters
FeatureFC-Tape StorageTek
Initiator Target
Command + Data in same Sequence (Write) = 1PPN
Data Overlay Allowed = 1 (see note) IRY
Data + Response in same Sequence (Read) = 1 PPN
Establish Image Pair (bit 13) = 0 IRY
Establish Image Pair (bit 13) = 1RRY
SRR/REC Recovery Supported = 1RRY
Confirmed Completion Allowed =1IRY
Initiator Function =1RAN
Originator Process Associator PPN
Originator Process Associator Valid = 1PPN
Responder Process AssociatorPPN
Responder Process Associator Valid = 1PPN
Obsolete (Read XFER_RDY Disabled) = 1RRY
Target Function = 1ARY
Write XFER_RDY Disabled = 1PPN
If the initiator requests it, the use of data overlay is only allowed in response to an SRR
46 T10000: Interface Reference Manual • January 2011 • E20425-01
■FCP Information Units
WRITE CMDREAD CMD
T1
T1
FCP_CMD
FCP_CMD
I1
I3
I3
I4
I1
I4
I5
FCP_XFER_RDY
FCP_XFER_RDY
FCP_RSP
OR
FCP_RSP
FCP_CONF
FCP_CONF
(O PTIO N AL)
(O PTIO N AL)
DATA
DATA
DATA
DATA
DATA
DATA
DATA
FCP_RSP
DATA
DATA
DATA
DATA
DATA
Single Sequence
S ingle or Multiple Sequ en ces
Single Sequence
T6
T6
T12
T12
C 53565
OR
FCP_RSP
I5
Information units transfer data to and from the SCSI Initiator and SCSI Target
and include the following required units:
•T1 = Command and Task Management
•T6 = Write Data (such as Mode Select and Write commands)
•T12 = Response Received Confirmation
•I1 = Transfer Ready on a Write Command
•I3= Read Data (such as Mode Sense and Read commands)
•I4 = Response (such as Status)
Figure 9. Examples of Read and Write Information Units
FCP Information Units
E20425-01 • Chapter 3 Operations 47
FCP Information Units
Command Information Unit
The Command Information Unit (T1) is a single-frame sequence.
Table 27. FCP 8-Byte LUN
Byte 0Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6Byte 7
00LUN000000000000
For all commands that transfer data to the tape drive:
FCP_DL (data length) in the FCP_CMND payload always equals the number
of bytes being transferred for the command.
For SCSI commands which specify the transfer length in blocks in the
Command Data Block (CDB), the FCP_DL equals the Transfer_Length x the
Block_Size.
Note: If the FCP_DL value is less than the transfer length then FCP_DL data
will be transferred and the command will be terminated with Check
Condition. The Sense Key will be 0x5, the ASC will be 0x4B, and the
ASCQ will be 0x80.
For all commands that transfer data from the tape drive:
The SCSI Initiator is responsible for making sure the amount of data returned
is equal to the amount specified by FCP_DL. Even if Good Status is returned.
If the amount does not match FCP_DL, a command-specific ULP recovery
action needs to be invoked. Because there are no transfers of Sequence
Initiative during read operations, once the SCSI Target receives the T1
Information Unit, it may return Good status even thou gh some of the dat a was
not received by the SCSI Initiator. This can occur as the result of lost or
corrupted frames in the read data.
Note: The way a SCSI Initiator determines the correct amount of data is
returned depends on the implementation and includes counting the
number of bytes returned, computing the number of bytes received by
use of the relative offsets.
The FCP Command Reference Number (CRN) shall be used to ensure proper
ordering of Exchange’s (SCSI commands). CRN usage is enabled based on
I_T_L nexus by setting the Enable Command Reference Number (ECRN) bit
to one in the FC Mode Page (0x19) for the LUN. Task Management functions
shall set the CRN value to zero.
Note: The drive currently does not support command queuing, thus CRN’s
are not supported.
48 T10000: Interface Reference Manual • January 2011 • E20425-01
Transfer Ready Information Units
The Transfer Ready Information Unit (I1) is a single-frame sequence.
For write operations:
The FCP_XFER_RDY is sent before each write data sequence.
For read operations:
The FCP_XFER_RDY IU (I2) is not used during read type (data in) op erations.
This is indicated by setting the ‘READ XFER_RDY DISABLED’ bit during
process login.
Data Information Unit
The Data Information Units (T6 and I3) are either single- or multiple-frame
sequences.
The FCP_DATA IU transfers data associated with an operation. This data
includes logical data to or from tape, as well as command parameter data
(such as Mode Select data) or command response data (such as Mode Sense
data).
FCP Information Units
Write Data
For write data sequences (such as mode select and write commands), the
parameter field of the first frame sequence is set to the relative offset specified
by the corresponding FCP_XFER_RDY. Then use continuously increasing
relative offset values for subsequent frames.
Read Data
For read sequences (such as mode sense and read commands), the relative
offset on consecutive frames within a read sequence is continuously
increasing.
During read commands with multiple data (I3) sequences, Ports treat all data
sequences other than the first as streamed sequences and follow the rules
associated with streamed sequences.
Response Information Unit
The Response Information Unit (I4) are single- or multiple-frame sequences.
The first two bits (30 and 31) of the first word of a command status frame
payload fall into the following categories:
•00 = Successful and complete
•01 = Successful but incomplete
•10 = Unsuccessful but complete
•11 = Unsuccessful and incomplete
E20425-01 • Chapter 3 Operations 49
FCP Information Units
Because the first word of FCP_RSP frames are reserved in FCP, these bits
are set to zero, regardless of the content of the SCSI Status portion of the
payload. SCSI Initiators do not rely on word 0, bits 31 and 30 in FCP_RSP to
determine success or completion status of a command. An FCP_RSP
following a data-in sequence (I3) may or may not be treated as a streamed
sequence.
Residual Checking
Residual checking falls under the following categories:
•SCSI Targets that transfer exactly FCP_DL data bytes during the
FCP_DATA IUs set the FCP_RESID_UNDER to a value of ‘0’b.
When FCP_RESID_UNDER is set to ‘0’b, the SCSI Initiator tries to
determine if all of the expected data was transferred by comparing the
FCP_DL to the actual number of bytes transferred. If these values are not
the same, the ULP is notified so that the appropriate action can be taken.
•SCSI Targets that transfer less than FCP_DL data bytes during the
FCP_DATA IUs set the FCP_RESID_UNDER to a value of ‘1’b.
If the FCP_RESID_UNDER bit is set to ‘1’b, a transfer that did not fill the
buffer to the expected displacement. Failure to transfer FCP_DL bytes
does not necessarily indicate an error for some devices and commands.
•If the FCP_RESID_OVER bit is set, the transfer was truncated because
the data transfer required by the SCSI command extended beyond the
displacement value of FCP_DL. Those bytes that could be transferred
without violating the FCP_DL value may or may not have been transferred.
•Commands that do not contain an FCP_DATA IUs, FCP_RESID_UNDER
and FCP_RESID_OVER are set to ‘0’b, and the value of the FCP_RESID
is undefined.
50 T10000: Interface Reference Manual • January 2011 • E20425-01
FCP Information Units
Response Payload
Table 28 lists the FCP_RSP payload fields:
Table 28. FCP_RSP Payload
FeatureFC-TapeStorageTek
InitiatorTarget
FCP_CONF_REQARY
FCP_SNS_INFORIY
FCP_SNS_LEN (total)R 12826
FCP_SNS_LEN_VALIDRIY
Length of Additional Sense Bytes in FCP_SNS_INFOR 12018
FCP_RSP_INFORIY
FCP_RSP_LENR0 or 88
FCP_RSP_LEN_VALIDRIY
FCP_RESIDRRY
FCP_RESID_OVERRIY
FCP_RESID_UNDERRIY
Response Codes
The Response Code field (FCP_RSP_INFO) contains information that
describes the failures detected during the execution of an I/O Operation and
conforms to the following rules:
•The FCP_RSP_INFO does not contain link error information because FC-
PH provides the mechanisms for presenting these errors.
•The FCP_RSP_INFO does not contain SCSI logical unit error information
because that information is in the FCP_STATUS and FCP_SNS_INFO
fields.
•RSP_CODE values of 04h and 05h are not valid responses to SCSI
commands. The RSP_CODE is independent of the SCSI Status and
should be examined before interpretation of the SCSI Status.
•For other non-zero values of the RSP_CODE, the SCSI S tatus may not b e
valid.
E20425-01 • Chapter 3 Operations 51
FCP Information Units
•Table 29 indicates the result of a Task Management function in the
RSP_CODE of the FCP_RSP_INFO fields.
Table 29. FCP_RSP Codes
RSP_CODEDescription
00No failure or Task Management complete
01FCP_DATA length different than BURST_LEN
02FCP_CMND fields invalid
03FCP_DATA RO mismatch with FCP_XFER_RDY DATA_RO
04Ta sk Management function not performed or supported
05Task Management function supported but not perf ormed
06–FFReserved
The FCP_CONF IU is used by the Target to confirm reception of an FCP_RSP
IU at the initiator. Support for the FCP_CONF IU is negotiated via PRLI. A
Target request for an FCP_CONF IU from the initiator is indicated by the
Target setting the FCP_CONF_REQ bit in the FCP_STA TUS field cont ained in
the FCP_RSP. If the initiator does not need to perform any error detection or
recovery procedure, the initiator shall send an FCP_CONF IU if an FCP_RSP
is received with the FCP_CONF_REQ bit set in the FCP_STATUS field.
The initiator shall release Exchange information such as the Exchange St atu s
Block (ESB) after the FCP_CONF is sent. The Target shall retain Exchange
information and associated data until an FCP_CONF is received. See FCP-2
(4.4 Confirmed Completion of FCP-2 SCSI Commands) for a description of
the FCP_CONF_REQ bit and FCP_CONF usage.
If the initiator supports FCP_CONF as indicated in it’s PRLI page load, the
drive will always set the FLP_CONF_REG bit.
Task Management Flags and Information Units
All SCSI Initiators send Task Management functions using T1.
All SCSI Targets return FCP_RSP to Task Management functions using I4.
The RSP_CODE in the FCP_RSP_INFO field indicates the result of the Task
Management function. The SCSI Status byte and FCP_SNS_INFO are
ignored for I4 information units sent in response to a Task Management
function.
52 T10000: Interface Reference Manual • January 2011 • E20425-01
FCP Information Units
Table 30 lists the Task Management Flags the tape drives support:
Table 30. FCP Task Management Flags
FeatureFC-TapeStorageTek
Initiator Target
Terminate Task = 1PPN
Clear ACA = 1 (command queuing)RRN
Clear ACA = 1 (no command queuing)PPN
Target Reset = 1IRY
Clear Task Set = 1IRY
Abort Task Set = 1IRY
Logical Unit Reset = 1IRY
Task Attributes
Table 31 lists the FCP Task Attributes supported by the tape drives:
Table 31. FCP Task Attributes
FeatureFC-TapeStorageTek
Initiator Target
Untagged RRY
Simple Queue Type (depth = 1) IAY
Ordered Queue Type IAY
Head of Queue Typ e IAY
Auto Contingent Allegiance Type
IAY
Note: All Queue Types are accepted and behave the same.
E20425-01 • Chapter 3 Operations 53
SCSI Features
Other Features
Table 32 lists other FCP features supported:
Table 32. Other FCP Features
FeatureFC-TAPEStorageTek
Initiator Target
FCP_LUN (in FCP_Command) RRY
FCP_LUN (0)IRY
Inquiry of FCP_LUN (0)IRY
Inquiry of FCP_LUN (>0)IRY
Auto Contingent Allegiance (ACA)AAN
■SCSI Features
The following sections describe the SCSI features supported by the tape
drives.
Auto Contingent Allegiance
StorageTek tape drives do not support Auto Contingent Allegiance (ACA).
Asynchronous Event Notification
StorageTek tape drives do not support asynchronous event notification (AEN).
Command Linking
StorageTek tape drives do not support Command Linking. The Link and Flag
bits of the Command Descriptor Block must be set to zero.
■Status Byte
The target returns a status byte to the initiator at the completion of each
command during the Status phase unless the command is cleared or
interrupted. The tape drives support five status byte codes:
•Busy
•Check Condition
•Good
•Reservation Conflict
•Task Set Full
54 T10000: Interface Reference Manual • January 2011 • E20425-01
Busy
Busy (08) status occurs when the target:
•Is busy performing another operation
•Cannot accept a command
The normal initiator recovery from a Busy status is to reissue the command.
Check Condition
Check Condition (02) status occurs when any error, unit exception, or
abnormal condition that generates sense data occurs.
Check Condition status occurs when one of the following conditions exist:
•Issuing an invalid command or parameter
•Issuing a motion command to a device that is not ready
•Issuing a write-type command to a file-protected cartridge
•Issuing a forward motion command to a device at the physical end-of-tape
•Issuing a backspace operation to a device at the beginning-of-tape
Status Byte
•Detecting a deferred check condition
•Exceeding the retry operations for an interface error
•Detecting any error condition that prevents successful completion of an
operation
Good
Good (00) status indicates that the device successfully completed the
command.
Reservation Conflict
Reservation Conflict (18) status is returned whenever a SCSI initiator attempts
an operation that violates another initiator’s Logical Unit Reservation.
Task Set Full
Task Set Full (28) status is returned when the logical unit receives a command
and does not have enough resources to process it.
E20425-01 • Chapter 3 Operations 55
Public Loop SCSI Target Discovery
OPN(AL_PA)
IF OPN is successful, then
Send ADISC or PDISC to D_ID = hex ’0000’ || AL_PA
IF LOGO is returned or the Node Name or Port Name has changed, then
Send PLOGI to D_ID = hex ’0000’ || AL_PA
IF PLOGI is successful, then
IF no hard address conflicts or application tolerant of hard
address conflicts
Send PRLI to D_ID = hex ’0000’ || AL_PA
IF PRLI is successful, then
Send FCP_CMND with INQUIRY CDB to D_ID = hex ’0000’
||AL_PA(LUN_0)
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
NEXT AL_PA
■Public Loop SCSI Target Discovery
The following private loop discovery is used except that discovery of SCSI
Targets will be performed via the Simple Name Server or RSCN and the
function performed by ADISC/PDISC will be replaced by FAN.
■Private Loop SCSI Target Discovery
When the possibility of a configuration change exists, a SCSI Initiator may
want to rediscover the new configuration. The SCSI Target Discovery
procedure for a SCSI Initiator is:
For all valid AL_PAs:
In order to determine if an OPN was successful, the NL_Port must be able to:
1. Detect when an OPN has not been intercepted by the designated AL_PA.
2. Detect that an R_RDY or CLS has not been received from the AL_PA
56 T10000: Interface Reference Manual • January 2011 • E20425-01
specified in an OPN within E_D_TOV of sending that OPN.
3. Detect that a CLS was received in response to the OPN.
In this case, the Target Discovery procedure should be retried at a later
time.
4. Detect that the OPN or frame Extended Link Service failed.
If the SCSI Target Discovery procedure revealed a Hard Address conflict
(such as an NL_Port was unable to acquire its hard address), then the
application may choose to operate in spite of that conflict.
Private Loop SCSI Target Discovery
If this is the case, then the discovery procedure can continue with the PRLI
and subsequent SCSI INQUIRY command.
If the application is not tolerant of Hard Address conflicts, the SCSI Initiator
may choose not to use that NL_Port.
Using this SCSI Target Discovery procedure, the SCSI Initiator has the ability
to assemble a database consisting of Node name, Port name, and Port ID.
There are several confirmations a SCSI Initiator can perform on that database
to determine which SCSI Targets it can continue to communicate with that are
not defined by this document.
Note: Not all initiators perform the exact steps described in the above
algorithm, although a SCSI Initiator is required to issue ADISC or
PDISC to all SCSI Targets it is logged in with within RR_TOV of
receiving LIP if it wants to remain logged in with those SCSI Targets.
The ADISC/PDISC procedure is designed to avoid the abnormal termination
of all open Exchanges when a new device is attached to the loop, or when a
device powers on.
Note: Because devices are not required to respond to Class 3 frames that
have a D_ID which does not match the full 24-bit Port identifier of the
receiving NL_Port, this may result in timeouts during the SCSI target
discovery process if a SCSI initiator sends a frame to a Public NL_Port
using a D_ID of hex’0000’ or AL_PA or to a Private NL_Port using a
D_ID with the upper 16 bits non-zero.
Therefore, for performance reasons SCSI initiators should originate
PDISC or ADISC Exchanges by transmitting the ELS Sequence
without waiting for the response. SCSI initiators may need to originate
multiple concurrent Exchanges in order to hide multiple timeouts from
the user.
E20425-01 • Chapter 3 Operations 57
Private Loop SCSI Target Discovery
Clearing Effects of ULP, FCP, FC-PH, and FC-AL Actions
Table 33 lists the clearing effects of Fibre Channel actions:
Table 33. Clearing Effects
FCP SCSI Target Object
PLOGI parameters:
All logged-in initiatorsYYNNNNNNNN
Only ports initiating action––YN NNNNNN
Open sequences terminated:
For all initiator with OPN seq’s YYNN NY YYNY
Only ports initiating action––YN Y– ––Y–
Only for seq. with aborted
exchange
Login BB_ Credit_CNT:
All logged-in L_Ports YY–N NN NNNN
Only transmitting ports ––Y
Hard address acquisition
attempted
PRLI parameters cleared:
All logged-in initiatorsYYNN NN NNNN
Power On Reset
–––Y –– ––––
YYNN NN NNNN
LIP Reset
LOGO PLOGI
ABTS
PRLI PRLO
TPRLO
SCSI Target Reset
Clear Task Set
Abort Task Set
SCSI Logical
Unit Reset
Only ports of specific type––NN YY NNNN
Only ports initiating action––YN YN NNNN
Open exchanges aborted:
All tasks, all initiators, open
tasks
All tasks, port initiating action––YN Y–––Y–
Specific task, port initiating
action
58 T10000: Interface Reference Manual • January 2011 • E20425-01
YYNN NY YYNY
––N YN– ––N–
Table 33. Clearing Effects (Continued)
Private Loop SCSI Target Discovery
FCP SCSI Target Object
Power On Reset
LIP Reset
LOGO PLOGI
ABTS
PRLI PRLO
TPRLO
SCSI Target Reset
Clear Task Set
Abort Task Set
SCSI target mode page parameters restored from saved pages:
All initiatorsYYN NN YYNNY
Only ports initiating action––YN Y– –NN–
Pre-existing ACA, UA, and
deferred error conditions
cleared:
All initiatorsYYN NN YYNNY
Only ports initiating action––YN Y– –NN–
Device Reservations
For all SCSI initiatorsYYN NN YYNNY
Only for SCSI Initiator port
––YN Y– –NN–
initiating action
Persistent Device Reservations
For all SCSI initiatorsYNN NN NNNNN
Only for SCSI Initiator port
––NN N– –NN–
initiating action
SCSI Logical
Unit Reset
CRN (Command Reference Number)
For all SCSI initiatorsYYN NNYYNNY
Only for SCSI Initiator port
––YN Y– –NN–
initiating action
Prevent Allow Medium Removal state
For all SCSI initiatorsYYN NNYYNNY
Only for SCSI Initiator port
––NN Y– –NN–
initiating action
Exchange Information
For all SCSI initiatorsYYN NN YYNNY
Only for SCSI Initiator port
––YN Y– –NN–
initiating action
E20425-01 • Chapter 3 Operations 59
Private Loop SCSI Target Discovery
Device Reservations
The T10000 tape drives support the Reserve/Release management method
and also the Persistent Reservations management method. These methods
are defined in the ANSI SCSI-3 Primary Commands (SPC-2) standard.
•See Table 34 for the reservation restrictions placed on commands for the
Reserve/Release management method.
•See Table 35 on page 62 for the reservation restrictions placed on the
Persistent Reservations management method.
Each method lists the type of restriction for the command being performed:
Conflict Command will not be performed and the drive will terminate the
command with Reservation Conflict status.
Allowed Command will be allowed to execute to normal completion.
Table 34. Reserve/Release Manag ement Me th od
CommandAction when Reserved by a different Initiator
Erase (19h)Conflict
Inquiry (12h)Allowed
Load Display (06h)Conflict
Load/Unload (1Bh)Conflict
Locate (2Bh)Conflict
Log Select (4Ch)Conflict
Log Sense (4Dh)Allowed
Mode Select (15h/55h)Conflict
Mode Sense (1Ah/5Ah)Conflict
Persistent Reserve In (5Eh)Conflict
Persistent Reserve Out (5Fh)Conflict
Prevent/Allow Removal (1Eh)Prevent = 0, allowed
Prevent = NZ, conflict
Read (08h)Conflict
Read Attribute (8Ch) Conflict
Read Block Limit (05h)Allowed
Read Buffer (3Ch)Conflict
Read Media Serial Number (ABh–01h) Allowed
Read Position (34h)Conflict
60 T10000: Interface Reference Manual • January 2011 • E20425-01
CommandAction when Reserved by a different Initiator
Receive Diagnostic Results (1Ch) Conflict
Release Unit (17h/57h)Allowed, the reservation is not released.
Report Density Support (44h)Allowed
Report LUNs (A0h)Allowed
Report Supported Operations Codes (A3h–0Ch) Conflict
Report Supported Task Management
Conflict
Functions (A3h–0Dh)
Report Target Port Groups (A3h–0Ah)Allowed
Request Sense (03h)Allowed
Reserve Unit (16h/56h)Conflict
Rewind (01h)Conflict
Send Diagnostic (1Dh)Conflict
Space (11h)Conflict
Spin (A2h)Conflict
Spout (B5h)Conflict
Test Unit Ready (00h)Conflict
Verify (13h) Conflict
Write (0Ah)Conflict
Write Buffer (3Bh)Conflict
Write Filemarks (10h)Conflict
E20425-01 • Chapter 3 Operations 61
Private Loop SCSI Target Discovery
Table 35 lists the reservation restrictions placed on the Persistent
Reservations management method.
Table 35. Persistent Reservation Ma nage me nt Meth od
Management Functions (A3h–0Dh)
Report Target Port Groups
AllowedAllowed
(A3h–0Ah)
Request Sense (03h)AllowedAllowed
Reserve Unit (16h/56h)ConflictAllowed,
reservation is not changed
Rewind (01h)ConflictAllowed
Send Diagnostic (1Dh)ConflictAllowed
Space (11h)ConflictAllowed
Spin (A2h)ConflictAllowed
Spout (B5h)ConflictAllowed
Test Unit Ready (00h)ConflictAllowed
Verify (13h) ConflictAllowed
Write (0Ah)ConflictAllowed
Write Buffer (3Bh)ConflictAllowed
Write Filemarks (10h)ConflictAllow ed
E20425-01 • Chapter 3 Operations 63
Private Loop SCSI Target Discovery
64 T10000: Interface Reference Manual • January 2011 • E20425-01
Commands
This chapter defines the SCSI-3 commands for the StorageTek T10000 Tape
Drive with a Fibre Channel interface.
■Overview
StorageTek uses the SCSI-3 command set to transfer commands and data
over Fibre Channel. The following describes how StorageTek implements
these SCSI commands:
•A single command may transfer one or more logical blocks of data.
•The target may disconnect from the arbitrated loop to allow activity by
other SCSI devices while a device prepares to transfer data.
•On completion of normal commands (successful or unsuccessful), the
target returns a Status Byte to the initiator. Because most error and
exception conditions cannot be adequately described with a single status
byte, a Check Condition status code indicates that additional information is
available in the FCP Response Information Unit (IU).
•An initiator should never attempt to send a second command to a device
until the command in progress ends. The second command terminates
with a Check Condition status (Command Overrun).
4
■Commands
Table 36 lists the supported commands and references the appropriate page.
66 T10000: Interface Reference Manual • January 2011 • E20425-01
■Implementation Requirements
The initiator sends commands to the target using Command Descriptor Blocks
(CDBs). The CDBs contain a format that includes:
•Operation code
•Command parameters
•Control byte
For some commands, a list of parameters accompanies the request during
subsequent FCP_DATA Information Units.
For all commands, if there is an invalid parameter in the Command Descriptor
Block, then the device terminates the command without altering the medium
or executing the command.
Notes:
•The CDB Field in Byte 1, Bits 7-5, which was the LUN Field is now
reserved. The drive will ignore this field.
•RSVD indicates that “bit” is reserved.
Implementation Requirements
E20425-01 • Chapter 4 Commands 67
Command Descriptor Block
■Command Descriptor Block
Initiators use three types of CDBs to communicate commands to the targets:
•6–Byte commands (Table 37)
•10–Byte commands (Table 38)
•12-Byte commands (Table 39)
The first byte in the command descriptor block contains an operation code.
Table 37. 6-Byte Command Descriptor Block
ByteBit
76543210
0Operation Code
1Reserved Command Parameters
2
thru
4
5Control Byte
(MSB)
Command Parameters
Table 38. 10-Byte Command Descriptor Block
ByteBit
76543210
0Operation Code
1Reserved Command Parameters
2
thru
8
9Control Byte
(MSB)
Command Parameters
Table 39. 12-Byte Command Descriptor Block
ByteBit
76543210
(LSB)
(LSB)
0Operation Code
1Reserved Command Parameters
2
thru
9
10Reserved
11Control Byte
68 T10000: Interface Reference Manual • January 2011 • E20425-01
(MSB)
Command Parameters
(LSB)
Command Descriptor Block
Control Byte
The control byte is the last byte of every Command Descriptor Block and has
the following structure:
Table 40. Control Byte
ByteBit
76543210
5/9/11Vendor-specificReserved FlagLink
Parameter Value
Vendor-specificThese bits provide specific information about the device
(shall be zero).
Flag bitThe flag bit causes an interrupt in the initiator between linked
commands allowing the device to respond with Intermediate
status (shall be zero).
Link bitThe link bit allows the initiator to “link” or continue I/O process and
allows devices that support command linking to indicate to the
initiator the command was accepted by returning Intermediate
status to the initiator (shall be zero).
E20425-01 • Chapter 4 Commands 69
Erase Command
■Erase Command
The Erase command erases the remainder of the tape starting at the current,
logical position. Any buffered write data and filemarks are written on the tape
before the erase operation starts.
Note: At the completion of the Erase command, the tape is positioned at the
physical end-of-volume (PEOV) if the data security erase (DSE)
configuration option is set to full.
Table 41. Erase Command
ByteBit
76543210
0Operation Code (19h)
1Reserved ImmedLong
2
thru
4
5Control Byte
Parameter Value
Immed: Immediate 0 = Return status when erase is completed
Long: Long0 = Ignored, no erase performed
(MSB)
Reserved
1 = Return status when erase is started
1 = Erase to the physical end-of-volume starting at the
current logical position.
Note: Issuing a Test Unit Ready command after an Erase command with the
Immed bit set returns Busy status until the erase is complete.
(LSB)
70 T10000: Interface Reference Manual • January 2011 • E20425-01
Inquiry Command
■Inquiry Command
The Inquiry command returns information about the type and capabilities of a
SCSI device.
Table 42. Inquiry Command
ByteBit
76543210
0Operation Code (12h)
1Reserved CmdDtEVPD
2Page Code
3
thru
4
5Control Byte
(MSB)
Allocation Length
Parameter Value
CmdDt: Command support Data 0 = Do not return command support data
EVPD: Enable Vital Product Data 0 = Return normal inquiry data
1 = Return Vital Product Data
Page Code EVPD page to return
Allocation Length Specifies the maximum length of inquiry data to return
Notes:
•The Inquiry command returns 74 bytes of data. If the allocation length
is less than 74 bytes, the data is truncated.
•The Inquiry command returns check condition status only when the
requested data cannot be returned. This command will not clear any
pending unit attention conditions.
(LSB)
E20425-01 • Chapter 4 Commands 71
Inquiry Command
Inquiry Data Format
The Inquiry data format contains 74 bytes shown in Table 43.
Table 43. Inquiry Data Format
ByteBit
76543210
0Peripheral QualifierP eripheral Device Type
1RMBReserved
2ECMA Version
3AERCRSVDNormACAHiSupResponse Data Format
4A dditio n al Le ng th (n - 4)
5SCCSACC TGPS3PCReserved Protect
6BQueEncServVSMultiPMChngrReserved
7RelAdrReserved LinkedRSVD
8
80 T10000: Interface Reference Manual • January 2011 • E20425-01
■Load Display Command
The Load Display command (vendor specific) displays ASCII messages on
the virtual operator panel for that device. This command transfers 17 bytes of
data to the display. The data transferred contains one byte of display control
data and two, eight-byte ASCII messages.
•Messages in bytes 1–8 and 9–16 use the ASCII printable
character set.
•Non-printable characters are displayed as blanks.
•The format control byte controls the way the device displays
the remaining 16 bytes.
(LSB)
(LSB)
E20425-01 • Chapter 4 Commands 81
Load Display Command
Parameter Value
Overlay: New message overlay 000 = Display the message in bytes 1–8 or 9–16 until the
next command that initiates tape motion or the next Load
Display Command.
001 = Maintain the message in bytes 1–8 until the cartr idge is
unloaded. If the drive does not contain a cartridge when the
Load Display Command is received, the message will not be
changed.
010 = Maintain the message in bytes 1–8 and turn on the
Attention light until the drive is next loaded. If the drive is
loaded when the Load Display Command is received, the
command is ignored.
011 = Physically access the tape drive without changing the
message display.
1 11 = Display the message in bytes 1–8 until the tape drive is
unloaded, then display the message in bytes 9–16 until the
tape drive is loaded again. If the tape drive is not loaded
when the Load Display Command is issued, only the
message in bytes 9–16 are displayed.
Alt: Alternate message 0 = The device displays only the message specified in bit 2.
1 = The device alternately displays both messages specified
in bytes 1–8 and 9–16. Each message is displayed for about
two seconds, with 0.5 seconds between messages. Bits 2
and 3 are ignored.
Blink: Blinking message 0 = The message specified by the setting of bit 2 does not
blink.
1 = The message specified by the setting of bit 2 flashes on