Sun Microsystems storagetek sl500 Reference Manual

Sun Microsystems storagetek sl500 Reference Manual

Modular library system
Hide thumbs Also See for storagetek sl500:
Table of Contents

Advertisement

Quick Links

Sun StorageTek® SL500
Modular Library System
Interface Reference Manual
Part Number: 96122
Revision: F

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the storagetek sl500 and is the answer not in the manual?

Questions and answers

Summary of Contents for Sun Microsystems storagetek sl500

  • Page 1 Sun StorageTek® SL500 Modular Library System Interface Reference Manual Part Number: 96122 Revision: F...
  • Page 3 Sun StorageTek SL500 Modular Library System Interface Reference Guide Sun Microsystems, Inc. www.sun.com Part Number: 96122 July 2008 Revision: F...
  • Page 4 Copyright 2006, 2008 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, Californie 95054, Etats-Unis. Tous droits réservés. Sun Microsystems, Inc. a les droits de propriété intellectuels relatants à la technologie qui est décrit dans ce document. En particulier, et sans la limitation, ces droits de propriété intellectuels peuvent inclure un ou plus des brevets américains énumérés à...
  • Page 5 Summary of Changes Date Revision Description August 2004 Initial Release July 2005 See this revision for details. September 2006 See this revision for details. March 2007 See this revision for details. October 2007 See this revision for details. July 2008 Included engineering mark-ups: Note –...
  • Page 6 iv SL500: Interface Reference Manual • July 2008 Revision: F • 96122...
  • Page 7: Table Of Contents

    Contents Preface xxiii Organization xxiii Alert Messages xxiv Related Publications xxiv Additional Information xxv Sun’s External Web Site xxv Documentation and Download Web Sites Partners Site xxv Safety xxvi Fiber-optic Safety xxvi Laser Product Label xxvii Fiber-optic Cable Installation xxvii Fiber-optic Cable Handling xxviii General Information 1 The SCSI Bus Interface 1...
  • Page 8 SCSI Bus Physical Description 7 Characteristics SCSI Options Interface Cables External Daisy-Chain Connector Terminator Special Signals Differential Sense Terminator Power P-cable to A-cable Adapter 12 SCSI Bus Operations 15 Bus Phases Bus Free Arbitration Selection Reselection Information Transfer Bus Signals Signal Sources 19 Bus Conditions 20 Attention 20...
  • Page 9 Restore Pointers Message In Disconnect Message In Initiator Detected Error Out Abort Out Message Reject In/Out No Operation Out Message Parity Error Out Bus Device Reset Out Identify Message In/Out Message Sequencing and Handling 27 Synchronous Negotiations Wide Negotiations Status Byte 28 Good Check Condition Busy...
  • Page 10 Cables and Connectors 39 Cable Guidelines for Hubs 40 Giga-bit Interface Converters 40 Fibre Channel Operations 41 Fibre Channel Levels 41 Terms/Definitions 42 FC–Tape Terms Sun StorageTek Terms Error Detection and Management FC-0 Features 44 FC-0 and Initialization 44 Device States (FC-0, FC-1, FC-2) Power Up 44 Not Ready 44 Ready 44...
  • Page 11 Class 3 Service Parameters, Port Login Class 3 Service Parameters, Fabric Login Basic Commands Extended Commands Responses to Link Services Exchange Management Sequence Management Sequence Errors Timers Arbitrated Loop Timeout Receiver_Transmitter Timeout Error_Detect Timeout Resource Allocation Timeouts Resource Recovery Timeout REC Timeout Upper Level Protocol Timeout FC-3 Common Service Features...
  • Page 12 Implementation Requirements 85 Command Descriptor Block Control Byte 87 List of Supported Commands Operator Entries for Fibre Channel 89 Initialize Element Status 90 Initialize Element Status With Range 91 Inquiry 92 Standard Inquiry Data Definition 93 Supported Pages Definition 95 Unit Serial Number Page Definition 96 Device Identification Page 97 Log Sense 99...
  • Page 13 Fibre Channel Port Control Page 120 Low Voltage Differential SCSI Port Control Page 121 Informational Exceptions TapeAlert Page 122 Test Modes 123 Element Address Assignment Mode Page 124 Element Address Assignments 126 Mode Sense (6) 127 Mode Sense (6) Data 129 Mode Sense (6) Parameter Header Definition 129 Fibre Channel Logical Unit Page 130 Low Voltage Differential SCSI Logical Unit Page 131...
  • Page 14 Persistent Reserve In Data for Report Capabilities 173 Persistent Reserve Out 175 Position to Element 179 Prevent/Allow Medium Removal 180 Read Element Status 181 Read Element Status Data 182 Element Status Data Header Definition 183 Element Status Page Header Definition 184 Medium Transport Element Descriptor Definition 186 Storage Element Descriptor Definition 189 Import/Export Element Descriptor Definitions 192...
  • Page 15 Hardware Error, CAP 214 Hardware Error, Embedded Software 215 Hardware Error, Media Load/Eject Failed 215 Illegal Request Sense Key 215 Unit Attention Sense Key 216 Power On 216 SCSI Bus Reset 216 Bus Device Reset Message 216 LUN Reset 216 Target Reset 217 Not Ready to Ready Transition 217 CAP Element Accessed 217...
  • Page 16 Send Volume Tag 229 Send Volume Tag Parameter List 230 Test Unit Ready 231 Write Buffer 232 Cell Maps 235 Library Walls 235 Cartridge Cell Locations – Data Cartridges 235 Cell Maps 236 Default Element Mapping 236 Diagnostic and Cleaning Cartridge Locations 239 Partitioning Overview 241 Partitioning—Feature 241 Partitioning—General 242...
  • Page 17 Tables TABLE 2-1 SCSI Terminators 10 TABLE 2-2 SCSI Device Types into SCSI Bus Types 11 TABLE 3-1 Information Transfer Data 17 TABLE 3-2 Bus Signals 18 TABLE 3-3 Signal Source 19 TABLE 3-4 Messages 24 TABLE 3-5 Status Byte 28 TABLE 3-6 Reserve/Release Management Method 30 TABLE 3-7...
  • Page 18 TABLE 5-14 Exchange Content Header 62 TABLE 5-15 Sequence Content Header 63 TABLE 5-16 Timer Summary 65 TABLE 5-17 NL_Port Common Service Parameters, Port Login 67 TABLE 5-18 NL_Port Common Service Parameters, Fabric Login 68 TABLE 5-19 PRLI Parameters 69 TABLE 5-20 PRLI Accept FCP Services Parameter Page 70 TABLE 5-21...
  • Page 19 TABLE 6-17 Informational Exceptions TapeAlert Page Format 102 TABLE 6-18 TapeAlert Flags 103 TABLE 6-19 Mode Select (6) Command 105 TABLE 6-20 Mode Select Parameter (6) Header 106 TABLE 6-21 Fibre Channel Logical Unit Page 107 TABLE 6-22 SCSI (LVD) Logical Unit Page 108 TABLE 6-23 Fibre Channel Port Control Page 109 TABLE 6-24...
  • Page 20 TABLE 6-50 SCSI Port Control Page 148 TABLE 6-51 Informational Exceptions TapeAlert Control Page 149 TABLE 6-52 Element Address Assignment Page 150 TABLE 6-53 Transport Geometry Mode Page 152 TABLE 6-54 Device Capabilities Page 153 TABLE 6-55 Physical Configuration Page 158 TABLE 6-56 Module Type Definitions 165 TABLE 6-57...
  • Page 21 TABLE 6-83 Request Sense Command 208 TABLE 6-84 Request Sense Data 210 TABLE 6-85 Sense Key Code Descriptions 212 TABLE 6-86 Not Ready Sense Keys 213 TABLE 6-87 Hardware Error Sense Keys 214 TABLE 6-88 Illegal Request Sense Keys 215 TABLE 6-89 Unit Attention Sense Keys 216 TABLE 6-90...
  • Page 22 xx SL500: Interface Reference Manual • July 2008 Revision: F • 96122...
  • Page 23: Preface

    Preface This manual is intended for independent software vendors (ISVs), operating system designers and developers, hardware engineers, and software engineers responsible for implementing the Sun StorageTek version of the small computer system interface (SCSI) or Fibre Channel interface (FC) for the SL500 modular library system (referred to in this manual as “the SL500 library,”...
  • Page 24: Alert Messages

    Alert Messages Alert messages call your attention to information that is especially important or that has a unique relationship to the main text or graphic. Note – A note provides additional information that is of special interest. A note might point out exceptions to rules or procedures. A note usually, but not always, follows the information to which it pertains.
  • Page 25: Additional Information

    Additional Information Sun Microsystems, Inc. (Sun) offers several methods to obtain additional information. Sun’s External Web Site Sun’s external Web site provides marketing, product, event, corporate, and service information. The external Web site is accessible to anyone with a Web browser and an Internet connection.
  • Page 26: Safety

    Safety Fiber-optic Safety Warning – Possible Physical Injury. Eye hazard. Never look directly into a fiber-optic cable, a fiber-optic connector, or ■ a laser transceiver module. Hazardous conditions might exist from laser power levels that are capable of causing injury to your eyes. Be especially careful when you use optical instruments with this equipment.
  • Page 27: Laser Product Label

    Laser Product Label In accordance with safety regulations, a label on each Sun StorageTek Fibre Channel product identifies the laser class of the product and the place and date of the manufacturer. The label appears on top of a Fibre Channel tape drive and near the Fibre Channel connectors on a Fibre Channel tape library.
  • Page 28: Fiber-Optic Cable Handling

    Fiber-optic Cable Handling Observe these precautions when you handle fiber-optic cables: Do not coil the cable to less than 96 mm (3.75 in.) in diameter. ■ Do not bend the cable to less than 12 mm (0.5 in.) in radius. StorageTek ■...
  • Page 29: General Information

    C H A P T E R General Information This chapter describes the small computer system interface (SCSI) and the Fibre Channel interface (FC) for the SL500 tape library. This manual does not describe the Fibre Channel interface to the tape drives. The SCSI Bus Interface The libraries’...
  • Page 30 The SCSI Bus Interface The library supports SCSI-3 commands using LUN 0. The library and the tape drives have separate connections for attachment to the SCSI bus. Daisy-chain cables are available to interconnect devices on the SCSI bus but keep the total cable length to a minimum. FIGURE 1-1 is an example of a library and four tape drives that are daisy-chained to two initiators (or hosts).
  • Page 31: Benefits

    The SCSI Bus Interface Benefits FIGURE 1-1 is an example of a multi-initiator, multi-target configuration using a library and four tape drives. A small computer system interface also provides these benefits: Low overhead ■ High transfer rates ■ A high-performance buffered interface ■...
  • Page 32: The Fibre Channel Standard

    The Fibre Channel Standard The Fibre Channel Standard The Sun StorageTek implementation of Fibre Channel conforms to the American National Standards Institute (ANSI), National Committee for Information Technology Standards (NCITS) formerly X3. Overview Serial connection ■ Copper (electrical) or fiber (optical) transmissions ■...
  • Page 33 The Fibre Channel Standard Hub: Multiple ports ■ Standard approved length fibre optic and copper cables ■ Multimode laser operating at 780 nanometers (shortwave) non–OFC ■ Single mode laser operating at 1300 nanometers (longwave) ■ Cascading hub attachments ■ Gigabit Interface Converter (GBIC) connections in the hub ■...
  • Page 34 The Fibre Channel Standard 6 SL500: Interface Reference Manual • July 2008 Revision: F • 96122...
  • Page 35: Scsi Bus Physical Description

    C H A P T E R SCSI Bus Physical Description This chapter contains the physical description for the small computer system interface (SCSI) bus for the SL500 library, including: Characteristics ■ Interface cables ■ Special signals ■ P-cable to A-cable adapters ■...
  • Page 36: Scsi Options

    SCSI Options SCSI Options Note – You can use the Configuration menu from Library Console, to check the valid SCSI bus connections. The screen that displays the SCSI ID of the library should indicate either single-ended or differential. If the screen displays “Invalid Configuration,”...
  • Page 37: External

    Interface Cables The library supports the following cable types and specifications: Cable Type Description P-cable The SCSI-3 P-cable consists of 68 conductors: 16 data lines 9 control lines 2 parity lines 7 ground, reserved, or special signal lines A-cable The SCSI-2 A-cable consists of 50 conductors: 8 data lines 9 control lines 1 parity lines...
  • Page 38: Connector

    Interface Cables Connector The SCSI connector for the library and the tape drives is a high-density (HD), shielded, 68-pin, D-type connector for P-cable attachments. Terminator You must terminate all SCSI signals at each end of the SCSI bus by connecting a terminator to one of the SCSI connectors on the device at each end of the SCSI bus.
  • Page 39: Special Signals

    Special Signals Special Signals The library supports two special SCSI bus signals: Differential Sense (DIFFSENS) ■ Terminator Power (TERMPWR) ■ Differential Sense The differential sense (DIFFSENS) is a DC voltage level that distinguishes among the two SCSI alternatives: single-ended, and LVD: Single-ended: -0.35 V to +0.5 V LVD:...
  • Page 40: P-Cable To A-Cable Adapter

    P-cable to A-cable Adapter P-cable to A-cable Adapter Problems can occur when you mix SCSI devices that use P-cables with devices that use A-cables: The terminator power (TERMPWR) requirements for devices using a P-cable ■ have been increased to support a 16-bit data bus. Devices using an A-cable and supporting the SCSI-1 standard may not supply sufficient TERMPWR to operate on the SCSI bus.
  • Page 41 P-cable to A-cable Adapter FIGURE 2-1 for an example of this adapter and the terminated signals. FIGURE 2-1 A-cable to P-cable Adapter P Cable +DB(12) -DB(12) NOTE: +DB(13) The numbers shown are -DB(13) cable conductor numbers, not connector contact +DB(14) numbers.
  • Page 42 P-cable to A-cable Adapter 14 SL500: Interface Reference Manual • July 2008 Revision: F • 96122...
  • Page 43: Scsi Bus Operations

    C H A P T E R SCSI Bus Operations This chapter describes the seven elements that SCSI uses for controlling the interface, transferring data, issuing commands, and returning status for the SL500 library: Bus phases ■ Bus signals ■ Bus conditions ■...
  • Page 44: Bus Free

    Bus Phases The SCSI bus follows a specific sequence to go from one phase to another, shown in FIGURE 3-1. FIGURE 3-1 SCSI Bus Phases SELECTION MESSAGE OUT COMMAND DATA IN ARBITRATION FREE DATA OUT STATUS MESSAGE IN RESELECTION WAITING BUS CONTROL INFORMATION TRANSFER...
  • Page 45: Arbitration

    Bus Phases Arbitration The Arbitration phase allows an initiator (or target during reselection) to gain control of the SCSI bus. All devices requiring use of the bus assert their SCSI IDs to gain control. If multiple devices attempt to gain control of the bus at the same time, the device with the highest-priority SCSI ID obtains control over the bus.
  • Page 46: Bus Signals

    Bus Signals Bus Signals Communication between two devices on the SCSI bus occurs any time after they establish connection using the bus phases. When two devices communicate, one device acts as an initiator and the other device acts as a target. FIGURE 3-2 shows the source and direction of the SCSI bus signals.
  • Page 47: Signal Sources

    Signal Sources Signal Sources TABLE 3-3 indicates the source and phase of the SCSI bus signals. TABLE 3-3 Signal Source Bus Signals Bus Phase Bus Free Arbitration Selection I & T Reselection I & T Command Data In Data Out Status Message In Message Out...
  • Page 48: Bus Conditions

    Bus Conditions Bus Conditions SCSI uses bus conditions to interrupt operations and to handle errors. These conditions cause a SCSI device to accomplish certain actions by altering the bus phase sequence. The library supports five types of bus conditions: Attention ■...
  • Page 49: Reset

    Bus Conditions Reset The library recognizes three types of resets. It implements the SCSI hard reset alternative and the Bus Device Reset message. In addition, the library generates an implicit reset when the library is powered on. When a reset condition is detected, the library performs these actions: Clears all I/O processes and discontinues any current command in progress.
  • Page 50: Unit Attention

    Bus Conditions Unit Attention The Unit Attention Condition is a specific form of the Contingent Allegiance Condition. The target generates a Unit Attention condition for each initiator for: A hard reset condition ■ A power-on reset ■ A SCSI Bus Device Reset message ■...
  • Page 51: Pointers

    Pointers Pointers SCSI uses pointers to indicate the relative locations in memory of the initiator. The SCSI pointer architecture has two elements: Current The current element points to the next byte of information to be transmitted. This set of pointers is shared by all devices. Saved The saved element points to the beginning or initial I/O block being transmitted.
  • Page 52: Message System

    Message System Message System The message system allows SCSI devices to communicate for physical path management. There are two ways to transfer messages during the Information Transfer phase: Message In Messages from the target to the initiator Message Out Messages from the initiator to the target The ATN signal prompts the target to start the Message Out phase.
  • Page 53: Message Codes

    Message System Message Codes The following paragraphs explain the messages in TABLE 3-4 on page Command Complete Message In The library sends the Command Complete message (00) to the initiator to indicate that the execution of the command has completed and that valid status has been sent to the initiator.
  • Page 54: Message Reject In/Out

    Message System Message Reject In/Out Either an initiator or the library sends a Message Reject (07) to indicate the last message received was inappropriate or not supported. No Operation Out When a library receives a No Operation message (08), command processing continues without any action taken.
  • Page 55: Message Sequencing And Handling

    Message System Message Sequencing and Handling During the selection phase, the Identify message must be the first message out from the initiator to the library. This message initiates the message system. The library must receive an Identify message during the selection phase to enable it to respond to the attention line during subsequent phases.
  • Page 56: Status Byte

    Status Byte 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 by: An Abort message ■ Device Reset message ■ A “hard” reset condition ■...
  • Page 57: Reservation Conflict

    Multiple Initiator Support Reservation Conflict The library returns Reservation Conflict status (18) whenever a SCSI initiator attempts to access a logical unit or element that is reserved by another initiator. Multiple Initiator Support The library architecture supports multiple initiators with the following details: Up to 16 SCSI devices are supported.
  • Page 58: Device Reservations

    Device Reservations Device Reservations The library supports the Reserve/Release management method and the Persistent Reservations management method. These methods are defined in the ANSI SCSI-3 Primary Commands (SPC-3) standard. For the reservation restrictions placed on: The Reserve/Release management method, see TABLE 3-6.
  • Page 59: Table 3-7 Persistent Reservation Management Method

    Device Reservations TABLE 3-7 Persistent Reservation Management Method Command Non-registered Initiators Registered Initiators Initialize Element (07h) Conflict Allowed Initialize Element with Range Conflict Allowed (37h) Inquiry (12h) Allowed Allowed Log Sense (4Dh) Allowed Allowed Mode Select (15h/55h) Conflict Allowed Mode Sense (1Ah/5Ah) Conflict Allowed Move Medium (A5h)
  • Page 60 Device Reservations 32 SL500: Interface Reference Manual • July 2008 Revision: F • 96122...
  • Page 61: Fibre Channel Physical Interface

    C H A P T E R Fibre Channel Physical Interface This chapter describes how the Sun StorageTek SL500 tape library attach to Fibre Channel (FC), and it includes recommendations for hubs, cables, and connectors. Ports Library ports are N*_Ports in a Fibre Channel topology.
  • Page 62: Topologies

    Topologies Topologies StorageTek libraries support the following topologies with single port attachment: Arbitrated Loop—private loop ■ Arbitrated Loop—public loop ■ Direct fabric attachment ■ Arbitrated Loop In a Fibre Channel arbitrated loop, as with the SCSI protocol, when devices want to communicate on the bus, they must arbitrate and win the connection before communications can begin.
  • Page 63: Arbitrated Loop With Hub

    Topologies Arbitrated Loop with Hub Arbitrated loops become more viable when they include a hub, a device containing bypass circuitry for configurations of 8 to 16 ports. See FIGURE 4-1. FIGURE 4-1 Arbitrated Loop with Hub LIBRARY SERVER ENCLOSURE FIBRE CHANNEL TAPE TAPE...
  • Page 64: Considerations For Hubs

    Topologies The 19 inch rack space within the libraries supports the installation of Fibre Channel hubs or switches. This allows most of the fiber cabling to reside inside the library enclosure. 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 (see “Cascading Hubs”...
  • Page 65: Cascading Hubs

    Topologies Cascading Hubs 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 following are just general guidelines. Note that the length of the cable affects the number of allowable ports.
  • Page 66: Loop With A Switch And A Hub

    Topologies Loop with a Switch and a Hub A public arbitrated loop can include a hub that is attached to a fabric element, in this case a switch (see FIGURE 4-3). FIGURE 4-3 A Loop with a Hub Attached to a Switch SWITCH TAPE F_PORT...
  • Page 67: Cables And Connectors

    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 ■...
  • Page 68: Cable Guidelines For Hubs

    Cables and Connectors Cable Part Numbers Part numbers and descriptions for StorageTek Fibre Channel cables are listed in the table below. According to FIGURE 4-4, these cables would prompt the following FC-0 media information: 100-M5-SN-I. TABLE 4-2 Fiber-Optic Cables: 50 µm Multimode, SC-to-SC Connectors Description—Plenum rated Part Number 5 m (16.4 ft)
  • Page 69: Fibre Channel Operations

    C H A P T E R Fibre Channel Operations This chapter describes how the SL500 library operates using Fibre Channel. Fibre Channel Levels TABLE 5-1 shows the five levels and arbitrated loop (FC-AL) grouping of functions for transmission over a Fibre Channel interface. TABLE 5-1 Fibre Channel Levels Levels Function...
  • Page 70: Terms/Definitions

    Terms/Definitions Terms/Definitions Tables throughout this chapter use the following terms to show compliance with ANSI’s Fibre Channel Tape (FC–Tape) Technical Report and to show how Sun StorageTek implements them. FC–Tape Terms Allowed (A): Can be used between an initiator and a target (library or tape drive). This status is typically dependent on the particular feature or parameter and its applicability to the request from an initiator.
  • Page 71: Error Detection And Management

    Error Detection and Management Error Detection and Management In the Fibre Channel protocol, error detection falls into two categories: frame errors and link-level errors. Frame errors result in missing or corrupted frames, which may ultimately ■ involve the Fibre Channel protocol level to resolve. Link-level errors include errors such as loss of signal, loss of synchronization, ■...
  • Page 72: Fc-0 Features

    FC-0 Features FC-0 Features The FC-0 level defines the physical level of the Fibre Channel protocol. This includes media types, connectors, and the optical characteristics that are necessary for connecting ports. FC-0 and Initialization A minimum level of initialization occurs at the FC-0 level. When the library is powered on, this level assures that the links are active and initializes any shortwave laser transmitters.
  • Page 73: Fc-1 Features

    FC-1 Features FC-1 Features The FC-1 level of the Fibre Channel protocol defines the transmission protocol. This level includes the 8B/10B encoding/decoding scheme, word order transmission, and error detection. FC-1 and Initialization During initialization, the FC-1 level provides an encoded bit stream (primitive sequence) to the FC-0 level.
  • Page 74: Fc-Al Features

    FC-AL Features Because the running disparity within a frame is variable, two different EOF delimiters are used (see TABLE 5-3), depending on the content of the frame following the transmission of the CRC (see “CRC” on page 64). TABLE 5-3 End of Frame Delimiters Delimiter Abbreviation Transmission Word Characters...
  • Page 75: Address Processes

    FC-AL Features An NL_Port attempts to establish its previous acquired address before attempting to acquire another address. This occurs when the NL_Port is powered on, experiences a power-on reset, recognizes a LIP (AL_PD or AL_PS), or experiences any other event that causes the NL_Port to lose communications. Note –...
  • Page 76: Open State/Loop Initialization

    FC-AL Features Loop Initialization Soft Assigned StorageTek libraries 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 the hard-assigned addressing is disabled. 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 NL_Ports.
  • Page 77: Completion Processes

    FC-AL Features Selective Reset Selective resets perform a reset on the receiving port. These resets are helpful for error recovery or reconfiguration of the loop. Any NL_Port that uses a selective reset transmits a LIP(AL_PD,AL_PS). Refer to TABLE 5-28 for clearing effects. AL_PD field contains the address of the port being reset ■...
  • Page 78: Feature Set

    FC-AL Features The library then attempts to Port Login (PLOGI) with the fabric directory server to register with an RFC-4 request with the name service. The library now waits for initiators, on either this loop or fabric attached, to complete a Port Login (PLOGI), to complete a Process Login (PRLI), and then to start executing tape commands.
  • Page 79: Login_Bb_Credit Equals Zero

    Fabric F_PORT Attachment Initialization Login_BB_Credit Equals Zero StorageTek libraries 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 library ■ before transmitting a frame. The OPNed responder transmits R_RDYs for the number of buffers available to ■...
  • Page 80: Fc-2 Features

    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 protocol and provides the different classes of service, packetizing, sequencing, error detection, and reassembling the transmitted data.
  • Page 81: Class Of Service Parameters

    FC-2 Features Class of Service Parameters Fibre Channel provides several different strategies to ensure reliable communications between devices. These strategies are called Classes of Service. The libraries support 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.
  • Page 82: Class 3 Service Parameters, Port Login

    FC-2 Features Class 3 Service Parameters, Port Login TABLE 5-7 Class 3 Service Parameters, Port Login Parameters Word Bits Value FC-Tape Class validity Service Options: 30–16 Intermix Mode – Stacked Connect Requests 29–28 – Sequential Delivery – Dedicated Simplex – Camp-On –...
  • Page 83: Class 3 Service Parameters, Fabric Login

    FC-2 Features Class 3 Service Parameters, Fabric Login TABLE 5-8 Class 3 Service Parameters, Fabric Login Parameters Word Bits Value FC-Tape Class validity Service Options: Intermix Mode – Stacked Connect Requests 29–28 – Sequential Delivery Dedicated Simplex – Camp-On – Buffered Class 1 –...
  • Page 84: Table 5-9 Other Fc-2 Features

    FC-2 Features Other Signalling Formats and Controls TABLE 5-9 lists other FC-2 features supported by the libraries: TABLE 5-9 Other FC-2 Features FC-Tape Feature Initiator Target StorageTek Addressing Scheme: (see note) Node Name Format (registered format) Port Name Format (registered format) Frame Control (F_CTL): Continue Sequence Condition Continuously increasing sequence count during...
  • Page 85: Basic Commands

    FC-2 Features Basic Commands TABLE 5-10 lists the Basic Link Service commands: TABLE 5-10 Basic Link Services FC-Tape StorageTek From Target From Command Initiator Response Target Orig. Resp. No Operation (NOP) – – Abort Sequence (ABTS) Basic Accept (BA_ACC) – Basic Reject (BA_RJT) –...
  • Page 86 FC-2 Features TABLE 5-11 Extended Link Services (Continued) FC-Tape StorageTek From Target From Initiator Command Initiator Response Target Response Orig. Resp. Fabric Deactivate Alias_ID – (FDACT) Fabric Login (FLOGI) – Get Alias_ID (GAID) – Link Service Reject (LS__RJT) Logout (LOGO) Loop Initialize (LINIT) Loop Port Control (LPC) Loop Status (LSTS)
  • Page 87 FC-2 Features TABLE 5-11 Extended Link Services (Continued) FC-Tape StorageTek From Target From Initiator Command Initiator Response Target Response Orig. Resp. Read Exchange Status Block – (RES) Read Link Error Status Block (RLS) Request Sequence Initiative (RSI) Read Sequence Status Block (RSS) Read Timeout Value (RTV) –...
  • Page 88: Responses To Link Services

    FC-2 Features Responses to Link Services TABLE 5-12 summarizes the response the libraries generate when receiving different Link Service requests when the library NL_Port is not currently logged in with the sending NL_Port. TABLE 5-12 Response to Link Services from NL_Ports Not Logged-In Frame Received NL_Port Not Logged In...
  • Page 89 FC-2 Features Frame Format and Header FIGURE 5-1 shows the frame format for transmission of data and commands over Fibre Channel. FIGURE 5-1 Frame and Frame Header Format Data Field Frame Idles Idles (Plus optional Headers) Header Byte 3 Word Byte 0 Byte 1 Byte 2...
  • Page 90: Exchange Management

    FC-2 Features 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: OX_ID = Exchange originator ■...
  • Page 91: Sequence Management

    FC-2 Features 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.
  • Page 92: Sequence Errors

    FC-2 Features 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: The first FCP_DATA Sequence after transfer of sequence initiative is not a ■ streamed sequence.
  • Page 93: Timers

    FC-2 Features Timers Sun StorageTek libraries use the timer values in TABLE 5-16. TABLE 5-16 Timer Summary Implemented By Timer Value Initiator Target StorageTek AL_TIME 15 ms R_T_TOV 100 ms E_D_TOV Private = 2 s Public = supplied + 2 s R_A_TOV Private = 0 s SEQ_QUAL...
  • Page 94: Resource Allocation Timeouts

    FC-2 Features Resource Allocation Timeouts The Resource Allocation Timeout (R_A_TOV) has two components: Sequence Qualifiers ( ) defines the minimum time that an initiator waits ■ SEQ_QUAL before reusing the sequence qualifiers (SEQ_ID and SEQ_CNT). Extended Link Services ( ) determines the minimum time the Originator of an ■...
  • Page 95: Fc-3 Common Service Features

    FC-3 Common Service Features FC-3 Common Service Features TABLE 5-17 lists the Common Service Parameters the libraries support for Port Login (PLOGI): TABLE 5-17 NL_Port Common Service Parameters, Port Login Parameter Word Bits StorageTek FC-Tape FC-PH Version: Highest Version 31–24 Lowest Version 23–16 Buffer-to-Buffer Credit (min.)
  • Page 96: Table 5-18 Nl_Port Common Service Parameters, Fabric Login

    FC-3 Common Service Features TABLE 5-18 lists the Common Service Parameters the libraries support for Fabric Login (FLOGI): TABLE 5-18 NL_Port Common Service Parameters, Fabric Login NL-Port Parameter Word Bits StorageTek Originator FC-PH Version: Highest Version 31–24 Lowest Version 23–16 Buffer-to-Buffer Credit (min.) 15–0 –...
  • Page 97: Fc-4 (Fcp) Features

    FC-4 (FCP) Features FC-4 (FCP) Features 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 libraries is SCSI-3. Note –...
  • Page 98 FC-4 (FCP) Features TABLE 5-20 PRLI Accept FCP Services Parameter Page FCP Service Parameters Word Bits StorageTek SCSI FCP (08h) 31–24 x’08’ Reserved 23–16 Originator Process_Associator Valid Responder Process_Associator Valid Image Pair Established Reserved Accept Response Code 11–8 b’0001’ Reserved 7–0 Originator Process_Associator 31–0...
  • Page 99: Fcp Information Units

    FC-4 (FCP) Features FCP Information Units 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) ■...
  • Page 100: Command Information Unit

    FC-4 (FCP) Features Command Information Unit The Command Information Unit (T1) is a single-frame sequence. The library supports the “first level addressing” LUN field as defined in SAM–2. TABLE 5-21 illustrates this. TABLE 5-21 FCP 8-B byte LUN Byte 0 Byte 1 Byte 2 Byte 3...
  • Page 101: Transfer Ready Information Units

    FC-4 (FCP) Features 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) operations. This is indicated by setting the ‘READ XFER_RDY DISABLED’...
  • Page 102: Response Payload

    FC-4 (FCP) Features If the FCP_RESID_UNDER bit is set to 1b, 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 ■...
  • Page 103: Table 5-23 Fcp_Rsp Code

    FC-4 (FCP) Features TABLE 5-23 indicates the result of a Task Management function in the RSP_CODE of the FCP_RSP_INFO fields. TABLE 5-23 FCP_RSP Code RSP_CODE Description No failure or Task Management complete FCP_DATA length different than BURST_LEN FCP_CMND fields invalid FCP_DATA RO mismatch with FCP_XFER_RDY DATA_RO Task Management function not performed or supported Task Management function supported but not performed...
  • Page 104: Table 5-24 Command Confirmation Usage

    FC-4 (FCP) Features TABLE 5-24 Command Confirmation Usage Command No Confirm Implicit Confirm Explicit Confirm Library Motion Move Medium If not, check Always Check condition Position to Element Always Non-Customer Data Inquiry Always Log Sense Always Mode Select Always Mode Sense Always Persistent Reserve In Always...
  • Page 105: Task Management Flag And Information Units

    FC-4 (FCP) Features Task Management Flag 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.
  • Page 106: Public Loop Scsi Target Discovery

    FC-4 (FCP) Features Other Features TABLE 5-27 lists other FCP features supported: TABLE 5-27 Other FCP Features FC-TAPE Feature Initiator Target StorageTek FCP_LUN (in FCP_Command) FCP_LUN (0) Inquiry of FCP_LUN (0) Inquiry of FCP_LUN (>0) Auto Contingent Allegiance (ACA) Public Loop SCSI Target Discovery For 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...
  • Page 107 FC-4 (FCP) Features 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 specified in an OPN within E_D_TOV of sending that OPN.
  • Page 108: Clearing The Effects Of Fibre Channel Actions

    FC-4 (FCP) Features Clearing the Effects of Fibre Channel Actions TABLE 5-28 lists the clearing effects of ULP, FCP, FC-PH, and FC-AL Fibre Channel actions: TABLE 5-28 Clearing Effects FCP SCSI Target Object PLOGI parameters: All logged-in initiators Only ports initiating action –...
  • Page 109 FC-4 (FCP) Features TABLE 5-28 Clearing Effects (Continued) FCP SCSI Target Object Pre-existing ACA, UA, and deferred error conditions cleared: All initiators Only ports initiating action – – – – – Device Reservations For all SCSI initiators Only for SCSI initiator port –...
  • Page 110: Device Reservations

    FC-4 (FCP) Features Device Reservations The SL500 tape library 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. For the reservation restrictions placed on commands for the Reserve/Release management method, see TABLE 5-29.
  • Page 111: Table 5-30 Persistent Reservation Management Method

    FC-4 (FCP) Features TABLE 5-30 Persistent Reservation Management Method From Non-registered From Registered Command Initiators Initiators Initialize Element Conflict Allowed Initialize Element with Range Conflict Allowed Inquiry (12h) Allowed Allowed Log Sense (4Dh) Allowed Allowed Mode Select (15h/55h) Conflict Allowed Mode Sense (1Ah/5Ah) Conflict Allowed...
  • Page 112 FC-4 (FCP) Features 84 SL500: Interface Reference Manual • July 2008 Revision: F • 96122...
  • Page 113: Scsi Commands

    C H A P T E R SCSI Commands This chapter lists and describes the small computer system interface command structures for the SL500 library. TABLE 6-5 on page 88 contains a list of the commands, command codes, and page numbers that contain a description of the command.
  • Page 114: Command Descriptor Block

    Implementation Requirements Command Descriptor Block Initiators use three types of CDBs to communicate commands to the targets: 6–Byte commands (TABLE 6-1) ■ 10–Byte commands (TABLE 6-2) ■ 12-Byte commands (TABLE 6-3) ■ The first byte in the command descriptor block contains an operation code. TABLE 6-1 6-Byte Command Descriptor Block Byte Group Code...
  • Page 115: Control Byte

    Implementation Requirements Control Byte The control byte is the last byte of every Command Descriptor Block and has the following structure: TABLE 6-4 Control Byte Byte 5, 9, or 12 Vendor Specific Reserved NACA Flag Link Vendor Specific ■ Provides additional information about the device or for a command. NACA ■...
  • Page 116: List Of Supported Commands

    List of Supported Commands List of Supported Commands TABLE 6-5 Supported Commands Command and Page Number Hex Code Initialize Element Status on page 90 Initialize Element Status With Range on page 91 Inquiry on page 92 Log Sense on page 99 Mode Select (6) on page 105 Mode Select (10) on page 116 Mode Sense (6) on page 127...
  • Page 117: Operator Entries For Fibre Channel

    Operator Entries for Fibre Channel Operator Entries for Fibre Channel The Fibre Channel interface requires configuration of the library’s Port 0 address. You may configure the library for soft or hard addressing of this port. If you configure the library for hard addressing, you may input the Port 0 address yourself through the library’s operator panel or through the library’s StreamLine Library Console (SLC) if used.
  • Page 118: Initialize Element Status

    Initialize Element Status Initialize Element Status The host uses the Initialize Element Status command (07h) to request an inventory of the cartridge tapes held in the library. The library accepts this command for compatibility, but does not perform any action. At power-on the library performs an audit of and maintains the inventory during operations.
  • Page 119: Initialize Element Status With Range

    Initialize Element Status With Range Initialize Element Status With Range The Initialize Element Status With Range command (37h) is a request from the host to perform an inventory of a portion of the cartridge tapes within the library. The library accepts this command for compatibility, but does not perform any action. At power-on the library performs an audit of and maintains the inventory during operations.
  • Page 120: Inquiry

    Inquiry Inquiry The Inquiry command (12h) requests that the library send to the initiator information regarding the library’s parameters. TABLE 6-8 Inquiry Command Byte Operation Code (12h) Ignored Reserved (00h) CmdDt EVPD Page Code Allocation Length Control Byte (00h) Inquiry Command Definitions: CmdDt Command support data is not supported (0).
  • Page 121: Standard Inquiry Data Definition

    Inquiry Standard Inquiry Data Definition For the Inquiry command, the library returns 24h (36d) bytes of data in this format. TABLE 6-9 Standard Inquiry Data Byte Peripheral Qualifier Peripheral Device Type RMB (1) Reserved (0) Version (05h) Reserved (0) Norm HiSup Response Data Format ACA (0)
  • Page 122 Inquiry The library returns a value of 1, indicating the library uses the hierarchical HiSup addressing model to identify logical units. Response Data Format A value of 2 indicates the data found is in accordance with the SCSI-3 specification. Additional Length A value of 1Fh indicates there are 31 additional bytes of Standard Inquiry Data available to the initiator.
  • Page 123: Supported Pages Definition

    Inquiry Supported Pages Definition The library returns the following bytes of supported page data in this format. 6 bytes for LVD SCSI ■ 7 bytes for Fibre Channel ■ TABLE 6-10 Supported Pages Byte Peripheral Qualifier Peripheral Device Type Page Code (00h) Reserved (00h) Additional Page Length (03h for Fibre, 02h for LVD) Supported Page (00h)
  • Page 124: Unit Serial Number Page Definition

    Inquiry Unit Serial Number Page Definition The library returns 10h (16d) bytes of unit serial number page data in this format. TABLE 6-11 Unit Serial Number Page Byte Peripheral Qualifier Peripheral Device Type Page Code (80h) Reserved (00h) Additional Page Length (0Ch) (MSB) Unit Serial Number (LSB)
  • Page 125: Device Identification

    Inquiry Device Identification Page The library returns 36d bytes of device identification page data in this format: TABLE 6-12 Device Identification Page Data Byte Peripheral Qualifier Peripheral Device Type Page Code (83h) Reserved (00h) Additional Page Length (20h) Node Name Identifier Protocol Identifier (0) Code Set (1) PIV (1)
  • Page 126: Table 6-13 Fibre Channel Device Identification

    Inquiry Device Identification Page Definitions: Peripheral Qualifier The library returns a value of 000b indicating the specified peripheral device type is currently connected to this logical unit. If the command is sent to an unsupported logical unit, the value returned is 011b. (Note: xxxb indicates binary notation).
  • Page 127: Log Sense

    Log Sense Log Sense The Log Sense command (4Dh) enables the library to report its error logs and statistics to the initiator. TABLE 6-14 Log Sense Command Byte Operation Code (4Dh) Ignored Reserved (0) PPC (0) SP (0) Page Code Reserved (00h) Reserved (00h) (MSB)
  • Page 128: Supported Pages Format

    Log Sense Supported Pages Format page The Supported Pages Format page lists all the Log Sense page codes supported by the library. TABLE 6-15 Supported Pages Format Page Byte Page Code (00h) Reserved (00h) (MSB) Page Length (n - 3) (LSB) Supported Pages Page Code (00h) Last n Errors Events Page Code (07h)
  • Page 129: Last N Errors Events Page Format

    Log Sense Last n Errors Events Page Format The Last n Errors Events Page provides a list of the most recent errors events logged on the library. Each event is an ASCII string that includes a time stamp, a fault symptom code (FSC), and an optional mechanism. Note –...
  • Page 130: Informational Exceptions Tapealert

    Log Sense Informational Exceptions TapeAlert Page The Informational Exceptions TapeAlert page is read from the library at a minimum of: At the beginning of a write/read job occurring on a device inside the library, ■ even if media is not loaded in that device. Immediately after a fatal error during a write/read job occurring on a device ■...
  • Page 131: Tapealert Flags

    Log Sense Informational Exceptions TapeAlert Page Definitions: Parameter Code A 2-byte field which represents the TapeAlert Flag number. Disable Update is always 0, which indicates that the target updates the log parameter value instead of the initiator. Disable Save is always 1, which indicates saving the log is not supported. Target Save Disable is always 0.
  • Page 132 Log Sense TABLE 6-18 TapeAlert Flags (Continued) 0009h Library Humidity Set when general conditions inside the library exceed Limits the humidity specifications. 000Ah Library Temperature Set when general conditions inside the library exceed Limits the temperature specifications. 000Bh Library Voltage Limits Set when the voltage supply exceeds specifications.
  • Page 133: Mode Select (6)

    Mode Select (6) Mode Select (6) The 6-byte Mode Select command (15h) enables an initiator to specify certain operating parameters for the library. The library uses the saved or default versions of these parameters to configure itself during power-on or after a logical unit reset. The mode values sent to the library apply to all initiators.
  • Page 134: Mode Select (6) Data

    Mode Select (6) Mode Select (6) Data The initiator must provide mode parameter data in a parameter list including: “Mode Select (6) Parameter Header” on page 106 ■ “Fibre Channel Logical Unit Page” on page 107 ■ “Low Voltage Differential SCSI Logical Unit Page” on page 108 ■...
  • Page 135: Fibre Channel Logical Unit Page Definitions

    Mode Select (6) Fibre Channel Logical Unit Page The following table shows the format of the Fibre Channel Logical Unit page. TABLE 6-21 Fibre Channel Logical Unit Page Byte PS (0) SPF (0) Page Code (18h) Page Length (06h) Reserved Protocol Identifier (0) Reserved EPDC...
  • Page 136: Low Voltage Differential Scsi Logical Unit

    Mode Select (6) Low Voltage Differential SCSI Logical Unit Page The following table shows the format of the SCSI (LVD) Logical Unit Page. TABLE 6-22 SCSI (LVD) Logical Unit Page Byte PS (0) SPF (0) Page Code (18h) Page Length (06h) Reserved Protocol Identifier (1h) (MSB)
  • Page 137: Fibre Channel Port Control Page Definitions

    Mode Select (6) Fibre Channel Port Control Page The following table shows the format of the Fibre Channel Port Control page. TABLE 6-23 Fibre Channel Port Control Page Byte PS (0) Rsvd Page Code (19h) Page Length (06h) Reserved Protocol Identifier (0) DTFD PLPB DDIS...
  • Page 138: Low Voltage Differential Scsi Port Control

    Mode Select (6) Low Voltage Differential SCSI Port Control Page The following table shows the format of the SCSI (LVD) Port Control page. TABLE 6-24 SCSI (LVD) Port Control Page Byte PS (0) SPF (0) Page Code (19h) Page Length (06h) Reserved Protocol Identifier (1h) Reserved...
  • Page 139: Informational Exceptions Tapealert

    Mode Select (6) Informational Exceptions TapeAlert Page TABLE 6-25 defines the Informational Exceptions TapeAlert page. TABLE 6-25 Informational Exceptions TapeAlert Page Byte PS (0) SPF (0) Page Code (1Ch) Page Length (0Ah) Perf (0) Rsvd (0) EBF(0) EWasc DExcpt (1) Test Rsvd (0) LogErr (0)
  • Page 140: Test Modes

    Mode Select (6) Test Modes Two test mode options are supported in the current TapeAlert implementation. Test Mode for All Bits Supported Using the mode select command to initiate this test will set all of the flags supported by the TapeAlert implementation in the TapeAlert log page. The TapeAlert log sense page then can be read to give the host a snapshot of the supported flags.
  • Page 141: Element Address Assignment Mode

    Mode Select (6) Element Address Assignment Mode Page This table defines the Element Address Assignment Mode page. TABLE 6-26 Mode Select (6) Element Address Assignment Mode Page Byte PS (0) Rsvd (0) Page Code (1Dh) Parameter Length (12h) (MSB) First Medium Transport Element Address (LSB) (MSB) Number of Medium Transport Elements (0001h)
  • Page 142 Mode Select (6) Mode Select (6) Element Address Assignment Mode Page Definitions: The Parameters Saveable bibit is set to 0. Identifies the Element Address Assignment mode page. Page Code Parameter Length Indicates the length of the element address assignment parameter list. This field must be 12h, which indicates that there are an additional 12h (18d) bytes of parameter data following this byte.
  • Page 143: Element Address Assignments

    Mode Select (6) Element Address Assignments An initiator can modify the element addresses in the library using a Mode Select command. The four element types are: Medium transport (the hand) ■ Storage element (storage cells) ■ Import/export (cartridge access port and Pass-thru Port) ■...
  • Page 144: Mode Select (10)

    Mode Select (10) Mode Select (10) The10-byte Mode Select command (55h) enables an initiator to specify certain operating parameters for the library. The library uses the saved or default versions of these parameters to configure itself during power-on or after a logical unit reset. The mode values sent to the library apply to all initiators.
  • Page 145: Mode Select (10) Data

    Mode Select (10) 00h = No data transferred Parameter List Length ■ A value of 00h is not considered an error. Any other value is considered an error and is not supported. 14h = Mode Parameter Header and Informational Exceptions TapeAlert ■...
  • Page 146: Fibre Channel Logical Unit

    Mode Select (10) Fibre Channel Logical Unit Page The following table shows the format of the Fibre Channel Logical Unit page. TABLE 6-29 Fibre Channel Logical Unit Page Byte PS (0) SPF (0) Page Code (18h) Page Length (06h) Reserved Protocol Identifier (0) Reserved EPDC...
  • Page 147: Low Voltage Differential Scsi Logical Unit

    Mode Select (10) Low Voltage Differential SCSI Logical Unit Page The following table shows the format of the SCSI (LVD) Logical Unit Page. TABLE 6-30 SCSI (LVD) Logical Unit Page Byte PS (0) SPF (0) Page Code (18h) Page Length (06h) Reserved Protocol Identifier (1h) (MSB)
  • Page 148: Fibre Channel Port Control Page Definitions

    Mode Select (10) Fibre Channel Port Control Page The following table shows the format of the Fibre Channel Port Control page. TABLE 6-31 Fibre Channel Port Control Page Byte PS (0) Rsvd Page Code (19h) Page Length (06h) Reserved Protocol Identifier (0) DTFD PLPB DDIS...
  • Page 149: Low Voltage Differential Scsi Port Control

    Mode Select (10) Low Voltage Differential SCSI Port Control Page The following table shows the format of the SCSI (LVD) Port Control page. TABLE 6-32 SCSI (LVD) Port Control Page Byte PS (0) SPF (0) Page Code (19h) Page Length (06h) Reserved Protocol Identifier (1h) Reserved...
  • Page 150: Informational Exceptions Tapealert

    Mode Select (10) Informational Exceptions TapeAlert Page The following table defines the Informational Exceptions TapeAlert page. TABLE 6-33 Informational Exceptions TapeAlert Page Byte PS (0) SPF (0) Page Code (1Ch) Page Length (0Ah) Perf (0) Rsvd (0) EBF(0) EWasc DExcpt (1) Test Rsvd (0) LogErr (0)
  • Page 151: Test Modes

    Mode Select (10) Test Modes Two test mode options are supported in the current TapeAlert implementation. Test Mode for All Bits Supported Using the mode select command to initiate this test will set all of the flags supported by the TapeAlert implementation in the TapeAlert log page. The TapeAlert log sense page then can be read to give the host a snapshot of the supported flags.
  • Page 152: Element Address Assignment Mode

    Mode Select (10) Element Address Assignment Mode Page This table defines the Element Address Assignment Mode page. TABLE 6-34 Mode Select (6) Element Address Assignment Mode Page Byte PS (0) Rsvd (0) Page Code (1Dh) Parameter Length (12h) (MSB) First Medium Transport Element Address (LSB) (MSB) Number of Medium Transport Elements (0001h)
  • Page 153 Mode Select (10) Mode Select (6) Element Address Assignment Mode Page Definitions: The Parameters Saveable bit is set to 0. Identifies the Element Address Assignment mode page. Page Code Parameter Length Indicates the length of the element address assignment parameter list. This field must be 12h, which indicates that there are an additional 12h (18d) bytes of parameter data following this byte.
  • Page 154: Element Address Assignments

    Mode Select (10) Element Address Assignments An initiator can modify the element addresses in the library using a Mode Select command. The four element types are: Medium transport (the hand) ■ Storage element (storage cells) ■ Import/export (cartridge access port and Pass-thru Port) ■...
  • Page 155: Mode Sense (6)

    Mode Sense (6) Mode Sense (6) The 6-byte Mode Sense command (1Ah) enables the library to report its operating mode parameters to the initiator. The initiator can request one page or all pages of the mode parameters. ■ The initiator can use the Mode Select command to change the values of certain ■...
  • Page 156 Mode Sense (6) Mode Sense (6) Command Definitions: Disable Block Descriptors is ignored. Defines the type of parameters to be returned for the Mode Sense command, Page Control values include: 0h (00b) = Current Values: The library returns the current parameter values, including: Parameters set in the last successful Mode Select command.
  • Page 157: Mode Sense (6) Data

    Mode Sense (6) Mode Sense (6) Data The library returns the following mode sense data: A four-byte Mode Parameter Header followed by ■ One mode page or all mode pages in the order specified in the Page Code list. ■ The mode pages available are those defined for medium changers in the Fibre Channel standard, including: “Fibre Channel Logical Unit Page”...
  • Page 158: Fibre Channel Logical Unit

    Mode Sense (6) Fibre Channel Logical Unit Page The following table shows the format of the Fibre Channel Logical Unit page. TABLE 6-37 Fibre Channel Logical Unit Page Byte PS (0) SPF (0) Page Code (18h) Page Length (06h) Reserved Protocol Identifier (0) Reserved EPDC...
  • Page 159: Low Voltage Differential Scsi Logical Unit

    Mode Sense (6) Low Voltage Differential SCSI Logical Unit Page The following table shows the format of the SCSI (LVD) Logical Unit Page. TABLE 6-38 SCSI (LVD) Logical Unit Page Byte PS (0) SPF (0) Page Code (18h) Page Length (06h) Reserved Protocol Identifier (1h) (MSB)
  • Page 160: Fibre Channel Port Control Page Definitions

    Mode Sense (6) Fibre Channel Port Control Page The following table shows the format of the Fibre Channel Port Control page. TABLE 6-39 Fibre Channel Port Control Page Byte PS (0) Rsvd Page Code (19h) Page Length (06h) Reserved Protocol Identifier (0) DTFD PLPB DDIS...
  • Page 161: Low Voltage Differential Scsi Port Control

    Mode Sense (6) Low Voltage Differential SCSI Port Control Page The following table shows the format of the SCSI (LVD) Port Control page. TABLE 6-40 SCSI (LVD) Port Control Page Byte PS (0) SPF (0) Page Code (19h) Page Length (06h) Reserved Protocol Identifier (1h) Reserved...
  • Page 162: Informational Exceptions Tapealert Control

    Mode Sense (6) Informational Exceptions TapeAlert Control Page The following table shows the format of the Mode Sense (6) Informational Exceptions TapeAlert Control page. TABLE 6-41 Informational Exceptions TapeAlert Control Page Byte PS (0) SPF (0) Page Code (1Ch) Page Length (0Ah) Perf (0) Rsvd (0) EBF (0)
  • Page 163: Element Address Assignment Page Definition

    Mode Sense (6) Element Address Assignment Page Definition This table defines the Element Address Assignment page of the Mode Sense (6) command. TABLE 6-42 Mode Sense (6) Element Address Assignment Page Byte PS (1) Rsvd (0) Page Code (1Dh) Parameter Length (12h) (MSB) First Medium Transport Element Address (LSB)
  • Page 164 Mode Sense (6) Mode Sense (6) Element Address Assignment Page Definitions: The Parameters Saveable bit specifies that the library can save this page to non-volatile memory and returns a value of 1. Identifies the Element Address Assignment mode page and returns a Page Code value of 1Dh.
  • Page 165: Transport Geometry Mode Page Definition

    Mode Sense (6) Transport Geometry Mode Page Definition This table defines the Mode Sense Transport Geometry Mode page. TABLE 6-43 Transport Geometry Mode Page Byte PS (0) Rsvd Page Code (1Eh) Parameter Length (02h) Reserved (0) Rotate Member Number in Transport Element Set (00h) Transport Geometry Mode Page Definitions: The Parameters Saveable bit is set to 0.
  • Page 166: Device Capabilities Page Definition

    Mode Sense (6) Device Capabilities Page Definition TABLE 6-44 defines the Device Capabilities page of the Mode Sense command. TABLE 6-44 Device Capabilities Page Byte PS (0) Rsvd (0) Page Code (1Fh) Parameter Length (12h) Reserved (0h) StorDT StorI/E StorST StorMT Reserved (0h) Reserved (0h)
  • Page 167 Mode Sense (6) Device Capabilities Page Definitions: The Parameters Saveable bit is set to 0. This field identifies the Device Capabilities mode page and always contains a Page Code value of 1Fh. Parameter Length This field indicates the amount of device capabilities data following this byte. The library returns a value of 12h (18d).
  • Page 168 Mode Sense (6) Device Capabilities Page Definitions: I/E-> I/E This field identifies the support for the Move Medium command, where both the source, and the destination is a CAP cell. The library returns a value of 1. I/E -> ST This field identifies the support for the Move Medium command, where the source is a CAP cell, and the destination is a cartridge tape storage cell.
  • Page 169 Mode Sense (6) Device Capabilities Page Definitions: ST < > ST This field identifies support for the Exchange Medium command, where the source and destination 2 elements are a cartridge tape storage cell, and the destination 1 element is a cartridge tape storage cell. The library returns a value of 0.
  • Page 170: Mode Sense (10)

    Mode Sense (10) Mode Sense (10) The 10-byte Mode Sense command (5Ah) enables the library to report its operating mode parameters to the initiator. TABLE 6-45 Mode Sense (10) Command Byte Operation Code (5Ah) Ignored LLBA Reserved Page Control Page Code SubPage Code (00h) (MSB) Reserved...
  • Page 171 Mode Sense (10) 2h (10b) = Default Values: The library returns the default values. Page Control Requested pages are returned with each supported parameter set to its default Parameters not supported by the library are set to 0. Default values for the Element Address Assignment page are based on the configuration of the library.
  • Page 172: Mode Sense (10) Data

    Mode Sense (10) Mode Sense (10) Data The library returns the following mode sense data: A eight-byte Mode Parameter Header followed by: ■ One mode page or all mode pages in the order specified in the Page Code list. ■ The mode pages available are those defined for medium changers in the Fibre Channel standard, including a Fibre Channel Logical Unit page, a Fibre Channel Port Control page, a TapeAlert page, an Element Address Assignment page, a...
  • Page 173: Fibre Channel Logical Unit Page Definitions

    Mode Sense (10) Fibre Channel Logical Unit Page The following table shows the format of the Fibre Channel Logical Unit page. TABLE 6-47 Fibre Channel Logical Unit Page Byte PS (0) SPF (0) Page Code (18h) Page Length (06h) Reserved Protocol Identifier (0h) Reserved EPDC...
  • Page 174: Low Voltage Differential Scsi Logical Unit

    Mode Sense (10) Low Voltage Differential SCSI Logical Unit Page The following table shows the format of the SCSI (LVD) Logical Unit Page. TABLE 6-48 SCSI (LVD) Logical Unit Page Byte PS (0) SPF (0) Page Code (18h) Page Length (06h) Reserved Protocol Identifier (1h) (MSB)
  • Page 175: Fibre Channel Port Control

    Mode Sense (10) Fibre Channel Port Control Page The following table shows the format of the Fibre Channel Port Control page. TABLE 6-49 Fibre Channel Port Control Page Byte PS (0) Rsvd Page Code (19h) Page Length (06h) Reserved Protocol Identifier (0h) DTFD PLPB DDIS...
  • Page 176: Low Voltage Differential Scsi Port Control

    Mode Sense (10) Low Voltage Differential SCSI Port Control Page The following table shows the format of the SCSI (LVD) Port Control page. TABLE 6-50 SCSI Port Control Page Byte PS (0) SPF (0) Page Code (19h) Page Length (06h) Reserved Protocol Identifier (1h) Reserved...
  • Page 177: Informational Exceptions Tapealert Control

    Mode Sense (10) Informational Exceptions TapeAlert Control Page The following table shows the format of the Mode Sense (10) Informational Exceptions TapeAlert Control page. TABLE 6-51 Informational Exceptions TapeAlert Control Page Byte PS (0) SPF (0) Page Code (1Ch) Page Length (0Ah) Perf (0) Rsvd (0) EBF (0)
  • Page 178: Element Address Assignment Page Definition

    Mode Sense (10) Element Address Assignment Page Definition This table defines the Element Address Assignment page of the Mode Sense (10) command. TABLE 6-52 Element Address Assignment Page Byte PS (1) Rsvd (0) Page Code (1Dh) Parameter Length (12h) (MSB) First Medium Transport Element Address (LSB) (MSB)
  • Page 179 Mode Sense (10) Element Address Assignment Page Definitions: The Parameters Saveable bit specifies that the library can save this page to non-volatile memory and returns a value of 1. Identifies the Element Address Assignment mode page and returns a Page Code value of 1Dh.
  • Page 180: Transport Geometry Mode Page Definition

    Mode Sense (10) Transport Geometry Mode Page Definition This table defines the Mode Sense Transport Geometry Mode page. TABLE 6-53 Transport Geometry Mode Page Byte PS (0) Rsvd (0) Page Code (1Eh) Parameter Length (02h) Reserved (0) Rotate Member Number in Transport Element Set (00h) Transport Geometry Mode Page Definitions: The Parameters Saveable bit is set to 0.
  • Page 181: Device Capabilities Page Definition

    Mode Sense (10) Device Capabilities Page Definition TABLE 6-54 defines the Device Capabilities page of the Mode Sense (10) command. TABLE 6-54 Device Capabilities Page Byte PS (0) Rsvd (0) Page Code (1Fh) Parameter Length (12h) Reserved (0h) StorDT StorI/E StorST StorMT Reserved (0h)
  • Page 182 Mode Sense (10) Device Capabilities Page Definitions: The Parameters Saveable bit is set to 0. The Page Code field identifies the Device Capabilities mode page and always Page Code contains a value of 1Fh. Parameter Length This field indicates the amount of device capabilities data following this byte. The library returns a value of 12h (18d).
  • Page 183 Mode Sense (10) This field identifies the support for the Move Medium command, where both I/E -> I/E the source, and the destination is a CAP cell. The library returns a value of 1. I/E -> ST This field identifies the support for the Move Medium command, where the source is a CAP cell, and the destination is a cartridge tape storage cell.
  • Page 184 Mode Sense (10) This field identifies the support for the Exchange Medium command, where ST < > MT the source and destination 2 elements are a cartridge tape storage cell, and the destination 1 element is the hand. The library returns a value of 0. I/E <...
  • Page 185: Physical Configuration Page Definition

    Mode Sense (10) Physical Configuration Page Definition TABLE 6-55 defines the Physical Configuration page of the Mode Sense (10) command. This Mode Sense command enables the library to report a physical description of the library configuration. This table provides an example of the information contained in each 5-byte group: Byte Bit map of drives for column 1, module 1 Number of CAP cells for column 1, module 1...
  • Page 186: Table 6-55 Physical Configuration

    Mode Sense (10) To map SCSI addresses to module, row, column addresses, assign starting with the lowest numbered row, column and module for a cell type. Increase by row within a column of a module, and then increase columns for that module, then increase to the next module.
  • Page 187 Mode Sense (10) TABLE 6-55 Physical Configuration Page (Continued) Byte Numbers for column 8, module 1 Reserved (0) Numbers for column 9, module 1 Reserved (0) Numbers for column 10, module 1 Reserved (0) Numbers for column 11, module 1 Reserved (0) Module Type—Module 2 Number of columns in module 2...
  • Page 188 Mode Sense (10) TABLE 6-55 Physical Configuration Page (Continued) Byte Numbers for column 6, module 2 Reserved (0) Numbers for column 7, module 2 Reserved (0) Numbers for column 8, module 2 Reserved (0) Numbers for column 9, module 2 Reserved (0) Numbers for column 10, module 2 Reserved (0)
  • Page 189 Mode Sense (10) TABLE 6-55 Physical Configuration Page (Continued) Byte Numbers for column 4, module 3 Reserved (0) Numbers for column 5, module 3 Reserved (0) Numbers for column 6, module 3 Reserved (0) Numbers for column 7, module 3 Reserved (0) Numbers for column 8, module 3 Reserved (0)
  • Page 190 Mode Sense (10) TABLE 6-55 Physical Configuration Page (Continued) Byte Numbers for column 2, module 4 Reserved (0) Numbers for column 3, module 4 Reserved (0) Numbers for column 4, module 4 Reserved (0) Numbers for column 5, module 4 Reserved (0) Numbers for column 6, module 4 Reserved (0)
  • Page 191 Mode Sense (10) TABLE 6-55 Physical Configuration Page (Continued) Byte Reserved (0) Module Type—Module 5 Number of columns in module 5 Numbers for column 1, module 5 Reserved (0) Numbers for column 2, module 5 Reserved (0) Numbers for column 3, module 5 Reserved (0) Numbers for column 4, module 5 Reserved (0)
  • Page 192 Mode Sense (10) TABLE 6-55 Physical Configuration Page (Continued) Byte Numbers for column 10, module 5 Reserved (0) Numbers for column 11, module 5 Reserved (0) Module Type—Module 6 Number of columns in module 6 Numbers for column 1, module 6 Reserved (0) Numbers for column 2, module 6 Reserved (0)
  • Page 193: Table 6-56 Module Type Definitions

    Mode Sense (10) TABLE 6-55 Physical Configuration Page (Continued) Byte Numbers for column 8, module 6 Reserved (0) Numbers for column 9, module 6 Reserved (0) Numbers for column 10, module 6 Reserved (0) Numbers for column 11, module 6 Reserved (0) TABLE 6-56 Module Type Definitions Module Type Field Definitions...
  • Page 194 Mode Sense (10) TABLE 6-56 Module Type Definitions Module Type Field Definitions An 8U module with storage cells in the back between modules with storage cells in the back The last installed 8U module (with CAP) with drives in the back An 8U module (with CAP) with drives in the back The last installed 8U module (with CAP) with with storage cells in the back below a module containing drives The last installed 8U module (with CAP) with with storage cells in the back below a module containing...
  • Page 195: Move Medium

    Move Medium Move Medium The Move Medium command (A5h) moves a cartridge tape from one specific element location to another specific element location. The Mode Sense command provides a matrix with the valid source and destination element combinations for the Move Medium command. The Fast Load option on the library controls the completion of the move command when the destination element is a tape drive.
  • Page 196 Move Medium Move Medium Command Definitions: Transport Element This field defines the robot element to use and should contain the element Address address 00h. A value of 00h indicates use of the default hand. If any other value is entered it will be ignored. This field is the element address from which the cartridge tape is to be Source Element Address removed.
  • Page 197: Persistent Reserve In

    Persistent Reserve In Persistent Reserve In The Persistent Reserve In (5Eh) and Persistent Reserve Out (5Fh) commands resolve contention among multiple initiators and multiple-port targets within the system. The library uses the Persistent Reserve In command to identify which initiators are holding conflicting or invalid persistent reservations.
  • Page 198: Read Keys Data

    Persistent Reserve In Read Keys Data The Read Keys service action requests that the initiator return a list of all the current Reservation keys it has registered. TABLE 6-59 shows the format of the parameter data returned in response to a Persistent Reserve In command with the Read Keys service action.
  • Page 199: Read Reservations Data

    Persistent Reserve In Read Reservations Data The Read Reservations service action requests that the initiator return a description of all current Reservation keys it has registered. TABLE 6-60 for the format of the parameter data returned in response to a Persistent Reserve In command with the Read Reservations service action.
  • Page 200: Table 6-61 Reservation Descriptors Format

    Persistent Reserve In TABLE 6-61 Reservation Descriptors Format Byte (MSB) Reservation Key (LSB) (MSB) Obsolete (LSB) Reserved (00h) Scope Type Obsolete (00h) Reservation Descriptors Format Definitions: Reservation Key This value indicates the reservation key for the descriptor data that follows. The value in the Scope field indicates whether a persistent reservation applies Scope to an entire logical unit or to an element.
  • Page 201: Persistent Reserve In Data For Report Capabilities

    Persistent Reserve In Persistent Reserve In Data for Report Capabilities The format for the parameter data provided in response to a Persistent Reserve In command with the Report Capabilities service action is shown in TABLE 6-62. TABLE 6-62 Persistent Reserve In Parameter Data for Report Capabilities Byte (MSB) Length (0008h)
  • Page 202: Table 6-63 Read Reservations Parameter Data

    Persistent Reserve In The Persistent Reservation Type Mask field contains a bit map that indicates the persistent reservation types that are supported by the library. TABLE 6-63 Read Reservations Parameter Data Byte WR_EX EX_AC_ WR_EX Rsvd EX_AC Rsvd WR_EX Rsvd _AR (0) RO (1) _RO (0)
  • Page 203: Persistent Reserve Out

    Persistent Reserve Out Persistent Reserve Out The Persistent Reserve Out (5Fh) command reserves a target for the exclusive or shared use of an initiator. TABLE 6-64 Persistent Reserve Out Command Byte Operation Code (5Fh) Ignored Service Action Scope Type Reserved (00h) Reserved (00h) Reserved (00h) Reserved (00h)
  • Page 204 Persistent Reserve Out Persistent Reserve Out Command Definitions: Service Action This value indicates the action that will result from the Persistent Reservation Command: 00h = Register: ■ Register a reservation key with the library without generating a reservation. 01h = Reserve: ■...
  • Page 205: Table 6-65 Persistent Reserve Out Parameter List

    Persistent Reserve Out The parameter list for the Persistent Reserve Out command has this format: TABLE 6-65 Persistent Reserve Out Parameter List Byte (MSB) Reservation Key (LSB) (MSB) Service Action Reservation Key (LSB) (MSB) Obsolete (LSB) Rsvd Reserved (0h) SPEC-I- ALL- APTPL TGT-PT...
  • Page 206: Table 6-66 Persistent Reserve Out Service Actions And Valid Parameters

    Persistent Reserve Out TABLE 6-66 summarizes which fields are set by the application client and interpreted by the library for each service action and scope value. TABLE 6-66 Persistent Reserve Out Service Actions and Valid Parameters Service Action Service Allowed Reservation Reservation Action...
  • Page 207: Position To Element

    Position to Element Position to Element The Position to Element command (2Bh) is supported only for compatibility with existing applications. It causes the hand to be positioned to the specified destination element address. TABLE 6-68 Position to Element Command Byte Operation Code (2Bh) Ignored Reserved (00h)
  • Page 208: Prevent/Allow Medium Removal

    Prevent/Allow Medium Removal Prevent/Allow Medium Removal The Prevent/Allow Medium Removal command (1Eh) requests that the library enable or disable operator access to the cartridge access port (CAP). If allowed, the CAP may be unlocked and opened using the operator panel. ■...
  • Page 209: Read Element Status

    Read Element Status Read Element Status The Read Element Status command (B8h) requests that the library return the status of the elements in the library. TABLE 6-70 Read Element Status Command Byte Operation Code (B8h) Ignored VolTag Element Type Code (MSB) Starting Element Address (LSB)
  • Page 210: Read Element Status Data

    Read Element Status This field represents the maximum number of element descriptors to be Number of Elements transferred. This is an actual number of element descriptors to be transferred, not an element address range. CurData The current data bit specifies that the library shall return element status data without causing device motion.
  • Page 211: Element Status Data Header Definition

    Read Element Status Element Status Data Header Definition The library sends this header once for each Read Element Status command. TABLE 6-71 Element Status Data Header Definition Byte (MSB) First Element Address Reported (LSB) (MSB) Number of Elements Available (LSB) Reserved (00h) (MSB) Byte Count of Report Available (all pages, n-7)
  • Page 212: Element Status Page Header Definition

    Read Element Status Element Status Page Header Definition The library sends this header once for each type of element descriptors. TABLE 6-72 Element Status Page Header Byte Reserved Element Type Code PVolTag AVolTag Reserved (0) (MSB) Element Descriptor Length (LSB) Reserved (00h) (MSB) Byte Count of Report Available (all pages, n-7)
  • Page 213 Read Element Status Element Status Page Header Definitions: Element Type Code This field indicates the specific element type being reported by this element descriptor page. The types are: 01h = Medium Transport Element (hand) ■ 02h = Storage Element (cartridge tape storage cells) ■...
  • Page 214: Medium Transport Element Descriptor Definition

    Read Element Status Medium Transport Element Descriptor Definition Medium transport elements are robotic components capable of physically moving cartridges. The Medium Transport Element Descriptor defines the robot characteristics. TABLE 6-73 Medium Transport Element Descriptor Byte (MSB) Element Address (LSB) Reserved (00h) Except Rsvd (0) Full...
  • Page 215 Read Element Status Medium Transport Element Descriptor Definitions: Element Address This field contains the element address of the robot. This bit indicates the current operational state of the robot: Except 0 = The hand is operational. ■ 1 = The hand is in an abnormal state. The Additional Sense Code (ASC) and ■...
  • Page 216 Read Element Status The Identifier Type field indicates the format and assignment authority for the Identifier Type identifier and is set to 0 (not supported) for the Medium Transport Element Descriptor: 0h = Vendor Specific Identifier Length This field indicates the length of the Identifier field and is set to 0 (not supported) for the Medium Transport Element Descriptor.
  • Page 217: Storage Element Descriptor Definition

    Read Element Status Storage Element Descriptor Definition Storage elements are the main cartridge tape storage cells of the library.The Storage Element Descriptor describes a storage cell. TABLE 6-74 Storage Element Descriptor Byte (MSB) Element Address (LSB) Reserved (00h) Access Except Rsvd (0) Full Reserved (00h)
  • Page 218 Read Element Status Storage Element Descriptor Definitions: Element Address This field contains the element address of the storage element reported. This bit indicates access is allowed to the storage element by the hand. Access The library returns a value of 1. Except This bit indicates the operational state of the storage element: 0 = The storage element is in a normal state.
  • Page 219 Read Element Status The Identifier Type field indicates the format and assignment authority for the Identifier Type identifier and is set to 0 (not supported) for the Storage Element Descriptor: 0h = Vendor Specific Identifier Length This field indicates the length of the Identifier field and is set to 0 (not supported) for the Storage Element Descriptor.
  • Page 220: Import/Export Element Descriptor Definitions

    Read Element Status Import/Export Element Descriptor Definitions Import/Export elements are the CAP and/or Pass-thru cells of the library. The Import/Export Element Descriptor describes a CAP cell. TABLE 6-75 Import/Export Element Descriptor Byte (MSB) Element Address (LSB) InEnab ExEnab Access Except ImpExp Full Reserved (00h)
  • Page 221 Read Element Status Import/Export Element Descriptor Definitions: Element Address This field contains the element address of the import/export element reported. Operator Intervention Required bit 0 = No operator intervention required to make the CAP accessible ■ 1 = Operator intervention required to make the CAP accessible ■...
  • Page 222 Read Element Status 0 = The element is enabled (for example a magazine or drive has been ■ installed or has been logically enabled) 1 = The element is disabled ■ This field provides the type of medium currently present in the element as Medium Type determined by the medium changer.
  • Page 223 Read Element Status The Media Type field along with the Media Domain field provides a hierarchy Media Type of information that indicates the type of media in the element. If the Media Domain field is 01h, the value reported for the Media Type field identifies in ASCII the type of DLT cartridge: S = The element contains an SDLT I cartridge.
  • Page 224: Data Transfer Element Descriptor Definitions

    Read Element Status Data Transfer Element Descriptor Definitions Data transfer elements are the tape drives in the library. The Data Transfer Element Descriptor Definitions page describes a tape drive. The following table shows the data returned when the DvcID bit in the command is set to 0. TABLE 6-76 Data Transfer Element Descriptor When DvcID = 0 Byte (MSB)
  • Page 225 Read Element Status Data Transfer Element Descriptor When DvcID = 0 Definitions: Element Address This bit contains the element address of the data transfer element reported. This bit indicates access is allowed to the data transfer element by the hand: Access 0 = Access is not allowed to the tape drive element by the hand.
  • Page 226 Read Element Status This field specifies the code set used for the identifier field and is set to 0 (not Code Set supported) for the Data Transfer Element Descriptor (DvcID = 0): 0h = Reserved Identifier Type The Identifier Type field indicates the format and assignment authority for the identifier and is set to 0 (not supported) for the Data Transfer Element Descriptor (DvcID = 0): 0h = Vendor Specific...
  • Page 227 Read Element Status If the Media Domain field is 4Ch (4Ch is ‘L’), the value reported for the Media Media Type (cont.) Type field identifies in ASCII the type of LTO cartridge: 1 = The element contains a 100 GB Generation 1 LTO cartridge. ■...
  • Page 228: Data Transfer Element Descriptor Definitions

    Read Element Status Data Transfer Element Descriptor Definitions Data transfer elements are the tape drives in the library. The Data Transfer Element Descriptor Definitions page describes a tape drive. The following table shows the data returned when the DvcID bit in the command is set to 1. TABLE 6-77 Data Transfer Element Descriptor When DvcID = 1 Byte (MSB)
  • Page 229 Read Element Status Data Transfer Element Descriptor (DvcID = 1) Definitions: Element Address This bit contains the element address of the data transfer element reported. This bit indicates access is allowed to the data transfer element by the hand: Access 0 = Access is not allowed to the tape drive element by the hand.
  • Page 230 Read Element Status The Identifier Type field indicates the format and assignment authority for the Identifier Type identifier: 0h = No assignment authority was used, and consequently there is no guarantee that the identifier is globally unique. In other words, the identifier is vendor specific.
  • Page 231 Read Element Status If the Media Domain field is 4Ch (4Ch is ‘L’), the value reported for the Media Media Type (cont.) Type field identifies in ASCII the type of LTO cartridge: 1 = The element contains a 100 GB Generation 1 LTO cartridge. ■...
  • Page 232: Release

    Release (6) Release (6) The 6-byte Release command (17h) enables the initiator to release unit or element reservations of the library as set using a previous Reserve command. Performing a unit release of a library that has no active reservations is not considered an error.
  • Page 233: Release (10)

    Release (10) Release (10) The 10-byte Release command (57h) enables the initiator to release unit reservations of the library as set using a previous Reserve command and optionally to perform a release for a third party initiator. Performing a unit release of a library that has no active reservations is not considered an error.
  • Page 234: Report Luns

    Report LUNS Report LUNS The Report LUNS command (A0h) returns to the initiator the known LUNs to which the initiator can send commands. TABLE 6-80 Report LUNs Command Byte Operation Code (A0h) Ignored Reserved (0h) Select Report Reserved (0h) (MSB) Allocation Length (LSB) Reserved (00h)
  • Page 235: Report Luns Data Definition

    Report LUNS Report LUNs Data Definition The library returns the following data for the Report LUNs command. TABLE 6-81 Report LUNs Data Byte 0 to 3 (MSB) LUN list length (LSB) 4 to 7 Reserved (0) 8 to 15 (MSB) First LUN Descriptor (LSB) n -7...
  • Page 236: Request Sense

    Request Sense Request Sense The Request Sense command (03h) requests the library transfer sense data to the initiator. Note – A reset or an abort message clears the contingent allegiance. TABLE 6-83 Request Sense Command Byte Operation Code (03h) Ignored Reserved (00h) Desc (0h)
  • Page 237: Sense Data

    Request Sense Sense Data Sense data is available when: The previous command to the specified I_T_L nexus terminated with Check ■ Condition status. Multiple errors might occur during the processing of a single SCSI command. The sense key reflects the first error that occurred. The previous command to the specified I_T_L nexus terminated with an ■...
  • Page 238: Request Sense Data Definitions

    Request Sense Request Sense Data Definitions TABLE 6-84 shows the Request Sense Data Definitions. TABLE 6-84 Request Sense Data Byte Valid (0) Error Code (70h) Segment Number (00h) Reserved (0h) Sense Key (MSB) Information (00h) (LSB) Additional Sense Length (n-7) (MSB) Command Specific Information (00h) (LSB)
  • Page 239 Request Sense Request Sense Data Definitions: Valid This bit indicates if the Information field contains valid data. The library does not return data in the Information field. The value is 0. This bit indicates if the error is current or deferred. Error Code The library returns only current errors.
  • Page 240: Sense Key

    Request Sense Sense Key The Sense Key field provides basic information about an error. TABLE 6-85 lists the Sense Keys with an explanation for each code. The Sense Key field, with the Additional Sense Code and Additional Sense Code Qualifier fields, provides a description about the error.
  • Page 241: Not Ready Sense Key Codes

    Request Sense Not Ready Sense Key Codes If a command is sent when the library is not ready, it generates a Not Ready error code. The following codes describe the conditions of the library that can generate Not Ready codes. TABLE 6-86 Not Ready Sense Keys Description Sense Key...
  • Page 242: Not Ready, Cleaning Cartridge Installed

    Request Sense Not Ready, Cleaning Cartridge Installed The library is performing an Auto Clean function on the data transfer element (tape drive) requested. Note – While the cleaning cartridge remains in the drive, the library processes host commands normally. If a host requests a data mount to the drive being cleaned, then the library rejects the command and sends the Not Ready sense key (02), with ASC 30 and ASCQ 03 (Cleaning Cartridge Installed).
  • Page 243: Hardware Error, Embedded Software

    Request Sense Hardware Error, Embedded Software The library generates a hardware error when an unexpected condition is detected by the embedded software that controls the SCSI interface. This error is used for arbitrary limitations of the embedded software. Hardware Error, Media Load/Eject Failed The library generates a hardware error when a load or eject fails to complete.
  • Page 244: Unit Attention Sense Key

    Request Sense Unit Attention Sense Key The library generates a Unit Attention sense key for all initiators if the library needs to inform the host of an asynchronous event. The following pages describe library conditions that generate Unit Attention errors. TABLE 6-89 Unit Attention Sense Keys Description Sense Key...
  • Page 245: Target Reset

    Request Sense Target Reset The library generates this type of Unit Attention to all initiators after the library is clear of all I/O processes following the Target reset. Not Ready to Ready Transition The library generates this type of Unit Attention when the library transitions to a ready state from a not ready state.
  • Page 246: Aborted Command Sense Key

    Request Sense Aborted Command Sense Key The library generates an Aborted Command error code when a SCSI command is aborted because of a SCSI protocol error. The initiator might not register a Check Condition status related to these errors because of the nature of the aborted commands, but the sense data is available.
  • Page 247: Request Volume Element Address

    Request Volume Element Address Request Volume Element Address The Request Volume Element Address command (B5h) requests that the library return the results of a previous Send Volume Tag command. TABLE 6-91 Request Volume Element Address Command Byte Operation Code (B5h) Ignored VolTag Reserved (0h)
  • Page 248 Request Volume Element Address Request Volume Element Address Command Descriptions: VolTag (Volume Tag) This bit indicates whether volume tag (VolTag) information is to be reported in response to this command: 0 = Volume Tag information is not reported. ■ 1 = Volume Tag information is reported. ■...
  • Page 249: Volume Element Address Header Definition

    Request Volume Element Address Volume Element Address Header Definition The Volume Element Address Header is sent once for each command. TABLE 6-92 Volume Element Address Header Byte (MSB) First Element Address Reported (LSB) (MSB) Number of Elements Available (LSB) Reserved (0h) Send Action Code (5h) (MSB) Byte Count of Report Available (all pages, n-7)
  • Page 250: Reserve (6)

    Reserve (6) Reserve (6) The 6-byte Reserve command (16h) allows the initiator to perform unit reservations or element reservations. Unit reservations are reservations of the library as a whole. Element reservations are reservations of specific elements of the library. TABLE 6-93 Reserve Command Byte Operation Code (16h) Ignored...
  • Page 251: Element List Descriptor Definitions

    Reserve (6) Element List Descriptor Definitions An Element List is required if the Element bit is set. The list consists of 0 to 16 instances of the Element List Descriptor. TABLE 6-94 Element List Descriptor Byte (MSB) Reserved (00h) (LSB) (MSB) Number of Element (LSB)
  • Page 252: Other Commands And Reservations

    Reserve (6) Other Commands and Reservations Unit and element reservations are released or canceled by: A “Release” command from the same initiator ■ A Task Management reset: ■ Bus Device Reset Message ■ Target Reset ■ LUN Reset ■ An interface reset ■...
  • Page 253: Reserve (10)

    Reserve (10) Reserve (10) The 10-byte Reserve command (56h) allows the initiator to perform unit reservations. Unit reservations are reservations of the library as a whole. Another capability of the Reserve (10) command as opposed to the Reserve (6) command is the ability to do third party reservations. The third party reservation allows the reservation of a logical unit within a logical unit on behalf of another SCSI device.
  • Page 254: Other Commands And Reservations

    Reserve (10) Other Commands and Reservations Unit and element reservations are released or canceled by: A Release command from the initiator that owns the reservation (original ■ initiator or the third party) A Task Management reset: ■ Bus Device Reset Message ■...
  • Page 255: Send Diagnostic

    Send Diagnostic Send Diagnostic The Send Diagnostic command (1Dh) requests the library to perform a self- diagnostic test. The library may support some self tests in the future but for now considers this command to be a no-operation. The self-test includes initialization diagnostics and calibration of the library. The extended diagnostics provide random cartridge motions and additional calibration features.
  • Page 256: Send Diagnostic Data

    Send Diagnostic Send Diagnostic Data For extended diagnostics, the initiator must provide Send Diagnostic parameter data in a parameter list that include. A page code ■ Diagnostic parameters ■ TABLE 6-97 Send Diagnostic Data Byte Page Code Reserved (00h) (MSB) Page Length (0004h) (LSB) (MSB)
  • Page 257: Table 6-98 Send Volume Tag Command

    Send Volume Tag Send Volume Tag The Send Volume Tag command (B6h) is a request for the library to transfer a volume tag template. The template corresponds to a VOLSER label template and is used by the library to search for desired elements. A subsequent Request Volume Element Address command is used to transfer the results of this search.
  • Page 258: Send Volume Tag Parameter List

    Send Volume Tag This field indicates the length in bytes of the Parameter List that follows the Parameter List Length command: 00h = No data is transferred ■ 28h = A Volume Identification Template is transferred ■ A value of 0 is not considered an error. ■...
  • Page 259: Table 6-100 Test Unit Ready Command

    Test Unit Ready Test Unit Ready The Test Unit Ready command (00h) allows the initiator to determine if the library is powered-on and ready to accept additional commands. This is not a request for a library self-test. The Test Unit Ready command returns a Good status if the library is ready to accept additional commands.
  • Page 260: Table 6-101 Write Buffer Command

    Write Buffer Write Buffer The Write Buffer command (3Bh) updates the functional microcode for the library. A sequence of one or more Write Buffer commands that updates the microcode is called a download. A change in the initiator from one Write Buffer command to another in a multiple- transfer download is considered a new download process request, and terminates the active process.
  • Page 261 Write Buffer Write Buffer Command Descriptions: Mode This field indicates the type of download to be performed. The library supports two modes: 110b = Download Microcode with Offsets This mode is used for multiple transfer downloads. ■ The first Write Buffer command must contain data for the start of the image ■...
  • Page 262 Write Buffer 234 SL500: Interface Reference Manual • July 2008 Revision: F • 96122...
  • Page 263: Library Walls

    A P P E N D I X Cell Maps This appendix describes the SL500 Library System walls, cartridges cells (slots), and location scheme. Library Walls There are three types of walls in the library: Left side wall, which consists of 4-cartridge cell arrays ■...
  • Page 264: Cell Maps

    Default Element Mapping to the rear wall, and the columns increase to column 8 at the front of the right wall. The rear wall of the library is column 9 for drives, or 9 through 11 for expansion cells. 4. Row number – The row numbers start at 1 in a module for the first accessible row within a column.
  • Page 265 Default Element Mapping FIGURE A-1 Base Module Slots COLUMNS COLUMN COLUMNS LEFT SIDE WALL REAR WALL RIGHT SIDE WALL Robot Park Zone L204_165 1. Slots available for customer data cartridges 2. Slots only available when an expansion module is installed 3.
  • Page 266 Default Element Mapping FIGURE A-2 Base Module and Drive Expansion Module Slots COLUMNS COLUMN COLUMNS LEFT SIDE WALLS REAR WALLS RIGHT SIDE WALLS Robot Park Zone Expansion Identification Label L204_106 1. Slots available for customer data cartridges 2. Slots only available when an expansion module is installed 3.
  • Page 267: Diagnostic And Cleaning Cartridge Locations

    Diagnostic and Cleaning Cartridge Locations TABLE A-2 Slot Counts for Different Configurations Base module Base module + 1 drive expansion module Base module + 2 drive expansion modules Base module + 3 drive expansion modules Base module + 4 drive expansion modules Note: When the CAP slots are used for storage slots, add the number in that column to the number in the total slots column.
  • Page 268 Diagnostic and Cleaning Cartridge Locations 240 SL500: Interface Reference Manual • July 2008 Revision: F • 96122...
  • Page 269: Partitioning—Feature

    A P P E N D I X Partitioning Overview Note – It is not possible to Partition an LVD SCSI library. This section only applies to an SL500 Fibre Channel library. The SL500 library can now be partitioned into various sections. Briefly stated, this means that instead of one library—with all its cartridge slots, tape drives, and CAPs—being a single entity, the library and these components can now be divided into multiple sections, up to a maximum of eight partitions.
  • Page 270: Partitioning—General

    Partitioning—Feature Partitioning—General Partitioning has terms associated with it that you and your customer must understand to effectively use the feature. In certain cases, these terms redefine some concepts that are familiar with users of the traditional, non-partitioned library configuration. A “partition” is defined as the process of dividing portions of a library into discrete sections.
  • Page 271 Partitioning—Feature For example, Partition 1 could be setup with: ■ Host 1, LUN 0, Target Port 0 ■ Host 2, LUN 0, Target Port 0 ■ Partition 2 could be setup with: ■ Host 1, LUN 1, Target Port 0 ■...
  • Page 272: Partitioning—Location Numbering

    Partitioning—Feature Partitioning—Location Numbering Location numbering is composed of four digits: Library number, Module number, Row number, and Column number. In a non-partitioned library configuration, the location number for the library always begins with the number “0.” For partitioned libraries, however, the library number will change to the partition number.
  • Page 273: Common Unassigned Caps

    Partitioning—Feature If Partition 1 requests a CAP import operation, the procedure is: The operator selects Partition 1’s CAP through either the local operator panel or ■ StreamLine Library Console. The CAP button on the base module is pressed. ■ The top CAP door is opened. All remaining CAP doors remain closed. ■...
  • Page 274: Mixed Caps

    Partitioning—Feature The cartridge is placed into a slot within the requesting host’s partition. ■ In a second instance, assume that Partition 2 requests a CAP export operation of a cartridge. Since it is a common CAP, the operation would be: The operator selects the CAP through either the local operator panel or ■...
  • Page 275: The Cap Button—Its Function In Partitioned Libraries

    Partitioning—Feature For common CAPs, one or more partitions can share those CAP slots not ■ designated as split assigned. For split assigned CAPs, several configurations are possible. For example, the 4- ■ slot CAP in a base module could be split assigned to Partition 1; the top four slots in the drive expansion module’s CAP could be split assigned to Partition 2;...
  • Page 276: Cartridge Exporting

    Partitioning—Feature The customer has the CAP in module 1 configured as a split CAP. The top slot belongs to Partition 1 and the remaining slots belong to Partition 2. Partition 2 selects the CAP in the base module, presses the CAP button and opens the CAP to import a cartridge.
  • Page 277: Partitioning—Configurations

    Partitioning—Configurations Partitioning—Configurations For CLI configuration entries, you must keep the following in mind for partitioned libraries: 1. Library firmware must be version 1220 or higher. 2. Be sure you have configured the reserved slots for diagnostic cartridges (use the reserved <number of cell> | <print> command) before enabling partitioned. The reserved slots will appear as black (unavailable, masked from the customer’s cartridge database) when the customer displays the library interior in StreamLine Library Console.
  • Page 278: Library And Tape Drive Configurations

    Library and Tape Drive Configurations Library and Tape Drive Configurations Note – You might not be able to use the StreamLine Library Console to configure the library and tape drives. Use the CLI commands in the following tables or type help lib or help drive for a list of the commands.
  • Page 279 Library and Tape Drive Configurations TABLE B-1 CLI Commands for Library Configuration (Continued) lib setconfig Sets the specified library's Fibre Channel or SCSI configuration orientlabel <host|oppanel> Sets the host (Sun) orientlabel parameter. This option <all|left8|left7|left6|right6|right7|right8> causes the bar-code label on the cartridge to be presented See Note at Right <partition>...
  • Page 280: Partitioning—Library Console

    Partitioning—Library Console Partitioning—Library Console Once enabled, customers can set a library’s partitions through the StreamLine Library Console interface. The basic procedures are described in the SL500 User’s Guide, part 96116. 252 SL500: Interface Reference Manual • July 2008 Revision: F • 96122...
  • Page 281 Glossary This glossary defines terms and abbreviations in this and other product related publications. backplane The main circuit board inside electronic equipment that contains the central Numerics processing unit, the bus, memory sockets, expansion slots, and other components. (GLS 2N A PDU that supplies power to the redundant Glossary) AC power grid and the third and fourth accessory racks.
  • Page 282 cell The location in the library in which a tape assemblies, and each array holds up to 16 tape cartridge is stored. Synonymous with slot. drive tray assemblies. cell array An array that holds multiple drive bay A partitioned section of the tape drive cartridges when not in use.
  • Page 283 Ethernet A local-area, packet-switched network • Optional touch screen operator control technology. Originally designed for coaxial panel cable, it is now found running over shielded, twisted-pair cable. Ethernet is a 10- or 100- megabytes-per-second LAN. (GLS Glossary) export The action in which the library places a get An activity in which a robot obtains a cartridge into the cartridge access port so that the cartridge from a cell or drive.
  • Page 284 hot-pluggable The capability that allows a CSE to replace FRUs while power to the FRU is maintained. This feature allows hardware magazine A removable array that holds maintenance actions and hardware upgrades to cartridges and is placed into the cartridge access proceed without disrupting subsystem port (CAP).
  • Page 285 power distribution unit (PDU) A device for the distribution of AC line power from one inlet to multiple outlets. Multiple PDUs provide higher safety barrier A motor-driven barrier that availability because the power continues if one separates the service areas of the front interface PDU (or its alternating current [AC] source if the assembly from the rest of the library so that PDUs use separate AC sources) loses power.
  • Page 286 tape drive An electromechanical device that moves magnetic tape and includes mechanisms for writing and reading data to and from the wrist A mechanism in the robot assembly that tape. (GLS Glossary) allows the robot to access the outer and inner storage walls.
  • Page 287: Index

    Index basic link data frame 56 services 57 Numerics BB_Credit 67 8B/10B encoding 45 benefits of SCSI 3 BSY signal 18 abort buffer-to-buffer credit 67 exchange 57 message 25 conditions 20 sequences 57 device reset message 26 phases 15 about the interface 1 signals 18 ABTS 57 Bus Free phase 16...
  • Page 288 port login 54 Data clearing effects, Fibre Channel 80 Bus parity signal 18 close latencies 51 Bus signal 18 codes data FCP response 74 and response, in same sequence 69 Command field size 67 phase 17 Information Transfer phase 17 signal 18 information unit 73 command...
  • Page 289 link error status block 59 disparity 45 sequence 64 encoding/decoding 45 errors. See also failures FC-2 establish Class 3 service 53 image pair, PRLI 69 frame format/header 61 streaming 57 FC-3 67 ESTC 57 FC-4 69 estimate credit 57 other features 78 ESTS 57 task attributes 77 examples...
  • Page 290 contents 61 minimum lengths 7 exchange management 62 part numbers 9 format 61 types of 8 illustration of 61 interlock 56 sequence management 63 intermix mode 54 Invokable (definition of) 42 GAID 58 GBIC 5 label, laser product xxv get alias 58 laser product label xxv glossary 253 latencies 51...
  • Page 291 low-voltage differential SCSI (LVD) numbering cartridges cable impedance 8 data cell locations 235 characteristics 7 diagnostic & cleaning cartridges 239 compatibility 11 terminators 10 TERMPWR 11 open LPSM 36 latencies 51 originators 51 sequence 63 management, Fibre Channel optional headers 56 error detection 43 options, SCSI 8 exchange 62...
  • Page 292 precautions, handling fiber-optic cables xxvi Required (definition of) 42 private loop initialization completion 49 RES 59 PRLI 58 Reselection phase 17 PRLO 58 resellers xxiii process reservation login (PRLI) 58 conflict 29 logout (PRLO) 58 device 82 Reserve command Process Associator 69 element list definitions 223 Prohibited (definition of) 42 Reset...
  • Page 293 saved pointers 23 options 54 parameters SCN 59 class 3 55 SCR 59 port login, class 3 54 SCSI signals adapters 12 direction & source 18 alternatives 7 sources 19 benefits 3 table of 19 bus phases 15 simple queue 77 bus signals 18 single-ended SCSI characteristics 7...
  • Page 294 Target (definition of) 42 XFER_RDY Disabled 69 target discovery 78 task attributes 77 zero credits 51 terminator power 11 types 10 terms FC Tape 42 StorageTek 42 test process login state 59 third party process logout 59 timeout values arbitrated loop 65 error detect 65 read exchange concise 66 receiver_transmitter 65...
  • Page 296 ORLDWIDE : 1-650-960-1300 EADQUARTERS THE NETWORK IS THE COMPUTER Sun Microsystems, Inc. All rights reserved. Sun, Sun Microsystems, and the Sun logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the SUN™ ©2006 United States and other countries.

Table of Contents