Summary of Contents for Sun Oracle Storage Tek T10000
Page 1
StorageTek T10000 Tape Drive Fibre Channel Interface Reference Manual Part Number: E20425-01 January 2011 Submit comments about this document to STP_FEEDBACK_US@ORACLE.COM.
Page 2
Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
T10000C • T10000A or T10000C or T10000B FC = Fibre Channel ■ Access to Oracle Support Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/support/contact.html visit http://www.oracle.com/accessibility/support.html if you are hearing impaired. ■...
Page 16
Preface ■ Documentation, Support, and Training Web Site: http://www.oracle.com/index.html Documentation: Customer: http://www.oracle.com/technetwork/indexes/documentation/ index.html Employee: http://docs.sfbay.sun.com/ Partner: https://spe.sun.com/spx/control/Login Downloads: Customer: http://www.oracle.com/technetwork/indexes/downloads/ index.html Employee: https://dlrequest-zn-dlapps1.sfbay.sun.com/usr/login Support: http://support.oracle.com/CSP/ui/flash.html Training: http://www.oracle.com/global/us/education/sun_select_country.html xvi T10000: Interface Reference Manual • January 2011 • E20425-01...
Replaced the title page • Revised the copyright page The part number was changed to an Oracle part number. Removed the Summary of Changes and added a What’s New section in the frontmatter of the manual. Added information about the T10000C tape drive.
Page 18
What’s New xx T10000: Interface Reference Manual • January 2011 • E20425-01...
General Information This chapter contains an overview about the Fibre Channel specifications for Oracle’s StorageTek T10000 Tape Drive, which conforms to the: • American National Standards Institute (ANSI), • National Committee for Information Technology Standards (NCITS) • Table 1 lists the documents that help define this implementation.
Overview ■ Overview • Serial connection • Copper (electrical) or fiber (optical) transmissions • Multiple protocols (such as SCSI, IP, HIPPI, IPI-3) • Information transparent • 100 – 400 MB data transfer rates • Scalable for data rates, distance, media, and protocols In 1994, the Fibre Channel Physical and Signaling Interface (FC–PH), or ...
Implementation ■ Implementation Tape Drive: • NL_Port Arbitrated loop (conforming to the FC–Tape) • FCP (SCSI-3) command set for tape (serial) devices • Class 3 level of service • Class 2 level of service (future) • Private Loop NL_Port attach operation •...
Tape Drive Description ■ Tape Drive Description Size: The T10000 tape drive is a small, modular, high-performance tape drive designed for high-capacity storage of data. The drive is: • Height = 8.89 cm (3.5 in.) • Width = 14.6 cm (5.75 in.) •...
Page 23
Tape Drive Description Figure 1. Tape Drive Rear View T10000A and T10000B 1. Drive status LED Ethernet port 2. Recessed switch (service only) Encryption status LED 3. Tape transport interface (TTI) connector 7. Power supply connector 4. Fibre Channel, LC interface ports (2) A & B Figure 2.
Physical Interface This chapter describes how the StorageTek tape drives attach to a Fibre Channel (FC) interface and includes recommendations for hubs, cables, and connectors. ■ Topologies StorageTek tape drives support the following topologies with either single or dual port attachments: •...
Hubs ■ Hubs Because of the fast growth and the increase in demand of fibre channel attachments, hubs can provide cascading (multiple) loops within a fibre channel network. StorageTek tape drives are designed to use hubs to provide for an arbitrated loop which provides the following capabilities: •...
Considerations Limitations 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. • The length of the cable affects the number of allowable ports. •...
Cables and Connectors Redundant Paths The tape drive interface cards are dual port to support redundant paths. Figure 4 is an example of one server using hubs to provide redundant paths to the same device. Figure 6. Redundant Paths ■ Cables and Connectors Because the link to a port can be driven either optically or electrically, the term “fibre”...
Cables and Connectors Interface Ports The T10000 tape drive can support either short or long wavelength interface ports. The tape drive is designed to accept the small form-factor pluggable (SFP) transceivers in to the interface ports. It is acceptable to use one port as short wave and one port as long wave (mixed).
Operations This chapter describes how StorageTek tape drives operate using a Fibre Channel (FC) interface. Note: This document is defined by the requirements in FC-Tape Revision 1.17. As updates occur to the FC-Tape document, this document will be updated accordingly. ■...
Direct N_Port Attachment ■ Direct N_Port Attachment The T10000 tape drives support direct attachment to a host through a host bus adapter (HBA) that creates an N-Port. The HBA sends and receives to and from the tape drive. ■ Addressing StorageTek tape drives use: Port name, Node name, and Port ID for login validation.
Terms and Definitions ■ Terms and Definitions Tables throughout this chapter use the following terms for compliance with the American National Standards Institute (ANSI) Fibre Channel Tape (FC–Tape) Technical Report for the StorageTek implementation. FC–Tape Terms Allowed (A) Can be used between an initiator and a target (tape drive). For tape drives, this is typically dependent on the particular feature or parameter and its applicability to the request from an initiator.
Loop Initialization Features ■ Loop Initialization Features Arbitrated loop initialization protocol assigns up to a possible 126 addresses to different ports on the loop and builds a map of these addresses. The following pages describe some loop initialization features StorageTek tape drives perform.
Loop Initialization 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). • AL_PD field contains the address of the port being reset •...
Loop Initialization Features Loop Initialization Hard Assigned StorageTek tape drives support the process of Loop Initialization Hard Assigned (LIHA) addresses. This process is supported when the tape drive is first powered on and a configuration parameter enables it. Loop Initialization Soft Assigned StorageTek tape drives support the process of Loop Initialization Soft Assigned (LISA) addresses.
Loop Initialization Features Public Loop Initialization Completion The public loop tape device has now acquired a loop address of “00 00 xx” at this point in initialization, where xx is its assigned AL_PA. Next the tape drive will attempt a Fabric Login (FLOGI) with the loop FL_Port. If the login is not successful, the tape drive will revert back to private loop operation, see the Private Loop Initialization Completion description.
Loop Initialization Features Tape Drive States Power Up When the drive completes the power-on process both of the FC ports will be enabled and will attempt to initialize on the attached FC topology. When the drive completes the power-on process the LUN will be online and capable of tape operations.
Arbitrated Loop Feature Set ■ Arbitrated Loop Feature Set StorageTek tape drives implement the following Fibre Channel feature set: Table 10. FC-AL Feature Set Feature FC-TAPE StorageTek Notes Initiator Target Attempt to acquire Hard Address during LIHA sequence of loop initialization following loss of power, power-on reset, or recognition of LIP (AL_PD or AL_PS) LILP/LIRP:...
Arbitrated Loop Feature Set Login_BB_Credit Equals Zero StorageTek tape drives advertise Login_BB_Credit =0. When Login_BB_Credit=0 at the other L_Port, the following rules apply: • The OPN originator must receive R_RDYs (receiver readys) from the tape drive before transmitting a frame. •...
Common Service Parameters ■ Common Service Parameters Table 11 lists the Common Service Parameters for Port Login (PLOGI): Table 11. NL_Port Common Service Parameters, Port Login Parameter Word Bits StorageTek Value FC-Tape N_Port NL_Port N_Port FC-PH Version: Highest Version 31–24 x ‘09’...
Common Service Parameters Table 12 lists the Common Service Parameters the tape drive supports for Fabric Login (FLOGI): Table 12. NL_Port Common Service Parameters, Fabric Login Parameter Word Bits StorageTek Value NL-Port Originator N_Port NL_Port N_Port FC-PH Version: x ‘09’ x ‘09’...
FC Class 3 ■ FC Class 3 Fibre Channel provides several different strategies to ensure reliable communications between devices. These strategies are called Classes of Service. The tape drive supports the Class 3 level of service which provides no notification of frame delivery or non-delivery. This class of service reduces the number of frames (traffic) on the loop.
Page 46
FC Class 3 Table 14. Class 3 Service Parameters, Port Login (Continued) Parameters Word Bits StorageTek Value Tape N_Port NL_Port N_Port Initiator Control: 15–0 Sequence Initiator X_ID 15–14 – reassignment Initial Responder Process_Associator 13–12 Sequence Initiator ACK_0 capable – Sequence Initiator ACK_N Capable –...
FC Class 3 Class 3 Service Parameters, Fabric Login Table 15 lists Class 3 Service Parameters the tape drives support for Fabric Login (FLOGI): Table 15. Class 3 Service Parameters, Fabric Login Parameters Word Bits StorageTek Value Tape N_Port NL_Port N_Port Class validity Service Options:...
FC-2 Features ■ FC-2 Features The FC-2 level provides the signaling protocol and specifies the rules and requirements to transfer blocks of data. The FC-2 level is the most complex level in Fibre Channel protocols and provides the different classes of service, packetizing, sequencing, error detection, and reassembling the transmitted data.
Link Service Commands ■ Link Service Commands Fibre Channel uses link service commands to manage functions such as port management, Login, Logout, and abort operations. The tape drives support both basic and extended link service commands to perform these operations. Basic Commands Table 17 lists the Basic Link Service commands:...
Link Service Commands Extended Commands Table 18 lists the Extended Link Service commands: Note: If the tape drive receives a request for Extended Link Services which are not supported, the tape drive returns a Link Services Command Reject (LS_RJT) with a reason code of “Command Not Supported”. Table 18.
Page 51
Link Service Commands Table 18. Extended Link Services (Continued) Command FC-TAPE StorageTek From Target From Initiator Initiator Response Target Response Orig. Resp. Loop Status (LSTS) N_Port Activate Alias_ID – (NACT) N_Port Deactivate – Alias_ID (NDACT) N_Port Login (PLOGI) Process Login: (PRLI) PRLI Common Service...
Link Service Commands Table 18. Extended Link Services (Continued) Command FC-TAPE StorageTek From Target From Initiator Initiator Response Target Response Orig. Resp. Read Timeout Value (RTV) – Read VC Status (RVCS) – Reinstate Recovery Qualifier (RRQ) Registered State Change Notification (RSCN) Report Node Capabilities (RNC) State Change Notification...
Link Service Commands Responses to Link Services Table 20 summarizes the response the tape drives generate when receiving different Link Service requests when the drive NL_Port is not currently logged in with the sending Port. Table 20. Response to Link Services from Ports Not Logged-In Frame Port Not Logged In Port Logged In...
Frame Transmission ■ Frame Transmission Figure 8 shows the frame format for transmission of data and commands over Fibre Channel. Figure 8. Frame and Frame Header Format Da ta Field Fra me Id les Id les (Plus op tiona l Hea d ers) Hea d er Byte 1 Byte 2...
Exchange Management ■ 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: •...
Sequence Management Exchange Responder The exchange responders assign unique RX_ID values or use the value of “FFFF.” The exchange responder considers an exchange open from the time it receives the first frame of the first information unit until one of the following occurs: •...
Sequence Management Sequence Open The tape drive considers a Sequence open from the time that the first frame of the Sequence (the frame with the SOFi3 delimiter) is sent until one of the following occurs: • An end-of-frame (EOF) delimiter is sent with the last sequence bit set •...
Error Detection and Management Sequence Errors Sequence errors are managed as defined in FC–Tape with the following additions: 1. If a frame with an SOFi3 delimiter is received and the SEQ_CNT is not equal to zero or +1 from the SEQ_CNT of the last frame of the previous Sequence of that Exchange.
Error Detection and Management • Successfully receiving a command by: • FCP Transfer ready was sent by the command recipient • FCP read data was received • A response was received • Successfully receiving write data by: • FCP Transfer Ready was received •...
Error Detection and Management Disparity Fibre Channel uses a scheme along with the 8B/10B encoding to protect transmission characters and aid in error detection called running disparity. Running disparity adds a second dimension to the transmission of characters. This dimension provides a balance of ones and zeros which helps protect transmission characters and controls the heat output of the transmitter.
Fibre Channel Timers ■ Fibre Channel Timers StorageTek’s tape drives use the timer values in Table Table 24. Timer Summary Timer Value Implemented By Initiator Target StorageTek AL_TIME 15 ms R_T_TOV 100 ms E_D_TOV Private = 2 sec. Public = supplied + 2 sec. R_A_TOV Private = 0 sec.
Fibre Channel Timers Error_Detect Timeout The Error Detect Timeout value (E_D_TOV) is the maximum time permitted for a Sequence Initiator between the transmission of consecutive data frames within a single sequence. This is also the minimum time that a Sequence Recipient waits for the reception of the next frame within a single sequence before recognizing a Sequence timeout.
FCP Feature Set ■ FCP Feature Set Fibre Channel Protocol (FCP) provides functions such as login and logout parameters and the transfer of commands and data through the use of Information Units. The FCP command set for the tape drives is SCSI-3. Process Login Parameters Table 25 Table 26 on page 46...
FCP Information Units ■ 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) •...
FCP Information Units Command Information Unit The Command Information Unit (T1) is a single-frame sequence. Table 27. FCP 8-Byte LUN Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 For all commands that transfer data to the tape drive: FCP_DL (data length) in the FCP_CMND payload always equals the number of bytes being transferred for the command.
FCP Information Units 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’...
FCP Information Units Because the first word of FCP_RSP frames are reserved in FCP, these bits are set to zero, regardless of the content of the SCSI Status portion of the payload. SCSI Initiators do not rely on word 0, bits 31 and 30 in FCP_RSP to determine success or completion status of a command.
FCP Information Units • Table 29 indicates the result of a Task Management function in the RSP_CODE of the FCP_RSP_INFO fields. Table 29. FCP_RSP Codes RSP_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...
SCSI Features Other Features Table 32 lists other FCP features supported: Table 32. Other FCP Features Feature FC-TAPE StorageTek Initiator Target FCP_LUN (in FCP_Command) FCP_LUN (0) Inquiry of FCP_LUN (0) Inquiry of FCP_LUN (>0) Auto Contingent Allegiance (ACA) ■ SCSI Features The following sections describe the SCSI features supported by the tape drives.
Status Byte Busy Busy (08) status occurs when the target: • Is busy performing another operation • Cannot accept a command The normal initiator recovery from a Busy status is to reissue the command. Check Condition Check Condition (02) status occurs when any error, unit exception, or abnormal condition that generates sense data occurs.
Public Loop SCSI Target Discovery ■ Public Loop SCSI Target Discovery The following private loop discovery is used except that discovery of SCSI Targets will be performed via the Simple Name Server or RSCN and the function performed by ADISC/PDISC will be replaced by FAN. ■...
Page 75
Private Loop SCSI Target Discovery If this is the case, then the discovery procedure can continue with the PRLI and subsequent SCSI INQUIRY command. If the application is not tolerant of Hard Address conflicts, the SCSI Initiator may choose not to use that NL_Port. Using this SCSI Target Discovery procedure, the SCSI Initiator has the ability to assemble a database consisting of Node name, Port name, and Port ID.
Private Loop SCSI Target Discovery Device Reservations The T10000 tape drives support the Reserve/Release management method and also the Persistent Reservations management method. These methods are defined in the ANSI SCSI-3 Primary Commands (SPC-2) standard. • Table 34 for the reservation restrictions placed on commands for the Reserve/Release management method.
Page 79
Private Loop SCSI Target Discovery Table 34. Reserve/Release Management Method (Continued) Command Action when Reserved by a different Initiator Receive Diagnostic Results (1Ch) Conflict Release Unit (17h/57h) Allowed, the reservation is not released. Report Density Support (44h) Allowed Report LUNs (A0h) Allowed Report Supported Operations Codes (A3h–0Ch) Conflict...
Commands This chapter defines the SCSI-3 commands for the StorageTek T10000 Tape Drive with a Fibre Channel interface. ■ Overview StorageTek uses the SCSI-3 command set to transfer commands and data over Fibre Channel. The following describes how StorageTek implements these SCSI commands: •...
Page 84
Commands Table 36. Supported SCSI Commands (Continued) Command Code Reference Page Mode Sense 1Ah / 5Ah SPC-2 Persistent Reserve In SPC-2 Persistent Reserve Out SPC-2 Prevent/Allow Media Removal Read Read Attribute SPC-4 Read Block Limits Read Buffer SPC-2 Read Media Serial Number ABh –...
Implementation Requirements ■ Implementation Requirements The initiator sends commands to the target using Command Descriptor Blocks (CDBs). The CDBs contain a format that includes: • Operation code • Command parameters • Control byte For some commands, a list of parameters accompanies the request during subsequent FCP_DATA Information Units.
Command Descriptor Block ■ Command Descriptor Block Initiators use three types of CDBs to communicate commands to the targets: • 6–Byte commands (Table • 10–Byte commands (Table • 12-Byte commands (Table The first byte in the command descriptor block contains an operation code. Table 37.
Command Descriptor Block Control Byte The control byte is the last byte of every Command Descriptor Block and has the following structure: Table 40. Control Byte Byte 5/9/11 Vendor-specific Reserved Flag Link Parameter Value These bits provide specific information about the device Vendor-specific (shall be zero).
Erase Command ■ Erase Command The Erase command erases the remainder of the tape starting at the current, logical position. Any buffered write data and filemarks are written on the tape before the erase operation starts. Note: At the completion of the Erase command, the tape is positioned at the physical end-of-volume (PEOV) if the data security erase (DSE) configuration option is set to full.
Inquiry Command ■ Inquiry Command The Inquiry command returns information about the type and capabilities of a SCSI device. Table 42. Inquiry Command Byte Operation Code (12h) Reserved CmdDt EVPD Page Code (MSB) thru Allocation Length (LSB) Control Byte Parameter Value CmdDt: Command support Data ...
Inquiry Command Inquiry Data Format The Inquiry data format contains 74 bytes shown in Table Table 43. Inquiry Data Format Byte Peripheral Qualifier Peripheral Device Type Reserved ECMA Version AERC RSVD NormAC HiSup Response Data Format Additional Length (n - 4) SCCS TGPS Reserved...
Page 91
Inquiry Command Parameter Value 000b = Peripheral device is connected to this logical unit Peripheral Qualifier 011b = Not capable of supporting a device on this logical unit 01h = Device is a sequential access device (tape drive) Peripheral Device Type 1Fh = Device does not exist or is offline RMB: Removable Medium Bit...
Page 92
Inquiry Command Parameter Value RelAdr: Relative Address 0 = Not supported Linked: Linked commands 0 = Not supported CmdQue: Command Queuing 0 = Not supported Vendor Identification STK = StorageTek, Sun Microsystems (ASCII) Product Identification: T10000A = Drive is a T10000A Device type in ASCII T10000B = Drive is a T10000B...
Inquiry Command Parameter Value Version Descriptor Standards supported by this device: 0000h = Empty 0077h = SAM-3_ANSI_INCITS.402:2005 0314h = SPC-3_ANSI_INCITS.408:2005 0403h = SSC-3 T10/1611-D Revision 04a 0A11h = FCP-3_ANSI_INCITS.416:2006 Vital Product Data Pages There are three vital product data pages that contain specific information: 00h = Supported vital product data pages (Table 44)...
Inquiry Command Table 45. Device Serial Number Page Byte Peripheral Qualifier Peripheral Device Type Page Code (80h) Reserved Page Length (OCh) (MSB) thru Serial Number (ASCII) (LSB) Page Code = 80h returns the tape drive serial number in ASCII. Table 46. Device Identification Page Byte Peripheral Qualifier Peripheral Device Type...
Page 95
Inquiry Command Table 46. Device Identification Page (Continued) Byte (MSB) thru Port Identifier (binary) (LSB) Port Number Identifier Reserved Code Set (1) Reserved Association (1) Identifier Type (4) Reserved Identifier Length (04h) (MSB) thru Port Identifier (binary) (LSB) Target Port Group Reserved Code Set (1) Reserved...
Page 96
Inquiry Command Parameter Value Identifier Type 3h = Identifier field contains a 64 bit IEEE registered format address, also known as a World Wide Name. 4h = Identifier field contains a 4 byte port number Length in bytes of the WWN or Port Number Identifier Identifier Length Contains the device WWN ...
Load Display Command ■ Load Display Command The Load Display command (vendor specific) displays ASCII messages on the virtual operator panel for that device. This command transfers 17 bytes of data to the display. The data transferred contains one byte of display control data and two, eight-byte ASCII messages.
Page 100
Load Display Command Parameter Value Overlay: New message overlay 000 = Display the message in bytes 1–8 or 9–16 until the next command that initiates tape motion or the next Load Display Command. 001 = Maintain the message in bytes 1–8 until the cartridge is unloaded.
Load/Unload Command ■ Load/Unload Command The Load/Unload command loads or unloads tape from the device. Any buffered write data and filemarks are written on the tape before an unload starts. Caution: If the drive is in Buffered Mode and a previous command terminated with Check Condition status (such as buffered data unwritten to tape and the condition was not cleared or otherwise recovered), the drive will discard any unwritten buffered data and...
Page 102
Load/Unload Command Parameter Value 0 = Return status when load or unload is complete Immed: Immediate 1 = Return status when load or unload is started Hold Not supported 0 = Normal load/unload EOT: End-Of-Tape 0 = Tape is unloaded from BOT 0 = Do not retention the tape ...
Locate Command ■ Locate Command The Locate command requests the tape drive to position the tape to a specified block address. Any buffered write data and filemarks are written on the tape before this operation starts. Table 52. Locate Command Byte Operation Code (2Bh) Reserved...
Log Select Command ■ Log Select Command The initiator uses the Log Select command to manage information about the device or media. Table 53. Log Select Command Byte Operation Code (4Ch) Reserved Reserved (MSB) thru Reserved (LSB) (MSB) thru Parameter List (LSB) Control Byte Parameter...
Log Sense Command Log Sense Page Format Each log page begins with a four–byte page header followed by variable– length log parameters. Table 55. Log Sense Page Format Byte Reserved Page Code Reserved (MSB) thru Page Length (n-3) (LSB) Log Parameter(s) Log Parameter (First) x + 3 (Length = x)
Log Sense Command Log Sense Parameter Format Table 56. Log Sense Parameter Format Byte (MSB) thru Parameter Code (LSB) RSVD Parameter Length (n-3) (MSB) thru Parameter Value (LSB) Parameter Value Parameter Code Identifies the log parameter being transferred DU: Disable Update 0 = Drive updates log parameter value DS: Disable Save...
Log Sense Command Log Sense Supported Pages The Log Sense supported pages report which pages the tape drive supports. Table 57 lists pages for the T10000A or T10000B tape drives while Table 58 on page 91 lists the pages for the T10000C tape drive. Table 57.
Log Sense Command Write Error Counter Page The Write Error Counter page (02h) reports write statistical errors. Each parameter is a counter incriminated by the target each time a corresponding event occurs. Table 59. Write Error Counter Page Codes Parameter Description Length Default...
Log Sense Command Non-Medium Error Page The Non-Medium Error page (06h) reports a count of recoverable errors other than read/write failures. Table 61. Non-Medium Error Page Codes Parameter Description Length Default Code (bytes) Threshold 0000h Non-medium error count FFFFFFFF Sequential Access Device Page The Sequential Access Device page (0Ch) returns counts of data bytes transferred to and from tape and information about cleaning in binary format.
Log Sense Command TapeAlert Page The TapeAlert Log Sense page (2Eh) is read from a tape drive at the following times, as a minimum: • At the beginning of a write/read job, after the media is loaded. • Immediately after a fatal error during the write/read job. •...
Page 113
Log Sense Command Table 63. TapeAlert Flags (Continued) Code Flag Name Description Length (bytes) 0009h Write Protect Write command was issued to a write- protected tape 000Ah No Removal A manual unload or Unload command was issued while the drive was in prevent removal state –...
Page 114
Log Sense Command Table 63. TapeAlert Flags (Continued) Code Flag Name Description Length (bytes) 0020h Interface Having problems with the interface, SCSI parity errors detected 0021h Eject Media Eject the media and retry, load failure not tape snap 0022h Download Fail Microcode update failed 0023h Drive Humidity...
Log Sense Command Vendor Unique Port Statistics Page The Vendor Unique Port Statistics page (3Bh) reports error counts and small form-factor plug (SFP) information for each Fibre Channel port on the drive. Table 65. Vendor Port Statistics Page Codes Parameter Description Length Default...
Log Sense Command Vendor Unique Drive Statistics Page The T10000C Vendor Unique Drive Statistics page (3Ch) reports a variety of vendor unique drive statistics. Table 66. T10000C Vendor Drive Statistics Page Codes Parameter Description Length Default Code (Bytes) Threshold 0100h Read forward data checks all FF's 0101h...
Page 120
Log Sense Command Table 66. T10000C Vendor Drive Statistics Page Codes (Continued) Parameter Description Length Default Code (Bytes) Threshold 0300h Channel read bytes processed all FF's 0301h Device read bytes processed all FF's 0302h Channel write bytes processed all FF's 0303h Device write bytes processed all FF's...
Page 121
Log Sense Command Table 66. T10000C Vendor Drive Statistics Page Codes (Continued) Parameter Description Length Default Code (Bytes) Threshold 1101h Servo general purpose counter head 1 all FF's 1200h Servo vote out head 0 all FF's 1201h Servo vote out head 1 all FF's 1202h Servo no data available head 0...
Mode Select Command ■ Mode Select Command The Mode Select command specifies options and parameters for a device. StorageTek recommends the host system perform a Mode Sense command before each Mode Select command to determine the current settings and to avoid any unwanted alterations to other Mode Select fields.
Page 124
Mode Select Command Mode Select data consists of a header, an optional block descriptor, and optional page formatted data: Parameter Value PF: Page Format 0 = Vendor specific format (same as PF = 1) 1 = Page formatted data follows block descriptor, or header SP: Save Parameters ...
Mode Select Command Parameter Value LBP_W 0 = Protection Information is not included with the data Logical Blocks Protected during transferred when writing. 1 = Protection Information is included with the data transferred when writing. Notes: • If the Logical Block Protection Method field is set to zero, the LBP_W bit is set to zero.
Mode Sense Command ■ Mode Sense Command The Mode Sense (6) and Mode Sense (10) commands return the current operating modes and parameters of a device to the host. The Mode Sense commands also return the default parameters or information on which fields and bits can be changed using the Mode Select command.
Mode Sense Command Parameter Value LLBAA: Long LBA Accepted 0 = Normal DBD: Disable Block Descriptor 0 = Return block descriptor after header 1 = Do not return the block descriptor PC: Page Control 00b = Current values 01b = Changeable values 10b = Default values Page Code: Mode page to return 00h = No page data...
Mode Sense Command Mode Sense Header Data Mode Sense—6 Byte Command returns a 4-byte header. Table 85. Mode Sense (6) Header Data Byte Mode Data Length Medium Type Buffered Mode Speed Block Descriptor Length Mode Sense—10 Byte Command returns an 8-byte header Table 86.
Mode Sense Command Mode Sense Block Descriptor Data Table 87. Mode Sense Block Descriptor Data Byte Density Code (MSB) thru Block Count (LSB) Reserved (MSB) thru Block Length (LSB) Parameter Value Density Code 4Ah = T10000A default density 4Bh = T10000B default density 4Ch = T10000C default density Block Count ...
Mode Sense Command Disconnect–Reconnect Page – Table 89. Mode Sense Disconnect Reconnect Page Byte SPF (0) Page Code (02h) Page Length (0Eh) Buffer full ratio Buffer empty ratio (MSB) thru Bus Inactivity Limit (LSB) (MSB) thru Disconnect Time Limit (LSB) (MSB) thru Connect Time Limit...
Page 145
Mode Sense Command Parameter Value PS: Parameters Savable 0 = Not supported SPF: SubPage Format 0 = Mode page format Buffer Full Ratio 0 = Not supported Buffer Empty Ratio 0 = Not supported Bus Inactivity Limit 0 = Not supported Disconnect Time Limit 0 = Not supported Connect Time Limit...
Mode Sense Command Control Data Protection Mode Page This Mode Sense page returns information about the current Data Integrity Validation (DIV) mode. Mode Sense Block Descriptor Data, Block Length field now has 2,097,156 for the upper limit in fixed block mode when the DIV mode is enabled. Table 90.
Mode Sense Command Parameter Value LBP_W_R: Drive reports a: Logical Blocks Protected during • DIV CRC error as a deferred error if in buffered mode Write Reporting • Current error if in non buffered mode Note: Bit values 00b and 01b are Ignored. Value Drive behavior when the validation of write data fails Report a Check Condition using Sense Code of...
Mode Sense Command Device Configuration Page Table 93. Mode Sense Device Configuration Page Byte SPF (0) Page Code (10h) Page Length (0Eh) RSVD Active Format Active Partition Write Buffer Full Ratio Read Buffer Empty Ratio (MSB) thru Write Delay Time (LSB) RSMK SOCF...
Page 150
Mode Sense Command Parameter Value RSMK: Report Setmarks 0 = Setmarks not supported AVC: Automatic Velocity Control 1 = Speed automatically selected SOCF: Stop On Consecutive Filemarks 00b = Stop read ahead when buffer is full RBO: Recover Buffer Order 0 = Not supported REW: Report Early Warning 0 = Report early warning only on Write and Write...
Mode Sense Command Fibre Channel Port Control Page Table 95. Fibre Channel Port Control Page (19h) Byte SPF (0) Page Code (19h) Page Length (06h) Reserved DTFD PLPB DDIS ALWI DTIPE DTOLI (MSB) thru Reserved (LSB) Reserved RR_TOV units Resource Recovery Time Out Value (RR_TOV) Parameter Value PS: Parameters Savable...
Persistent Reserve In Command ■ Persistent Reserve In Command The Persistent Reserve In command returns information about registered persistent reservation keys and the currently active persistent reservations. Table 99. Persistent Reserve In Command Byte Operation Code (5Eh) Reserved Service Action (MSB) thru Reserved...
Persistent Reserve In Command Read Keys Parameter Data A Persistent Reserve In command with a Service Action of 00h (Read Keys) will return a list of the reservation keys for all currently registered initiators. Table 100. Read Keys Parameter Data Byte (MSB) thru...
Persistent Reserve In Command Report Capabilities Parameter Data A Persistent Reserve In command with a Service Action of 02h (Report Capabilities) will return information about persistent reservation features. Table 103. Report Capabilities Parameter Data Byte (MSB) thru Length (0008h) (LSB) Reserved SIP_C ATP_C...
Persistent Reserve Out Command ■ Persistent Reserve Out Command The Persistent Reserve Out command is used to register Reservation Keys and create Persistent Reservations using these keys. Table 105. Persistent Reserve Out Command Byte Operation Code (5Fh) Reserved Service Action Scope Type (MSB)
Persistent Reserve Out Command Registering a Reservation Key An initiator must register a key before performing any other Persistent Reserve Out commands. To register a key, the initiator sends a Persistent Reserve Out command with the Service Action field set to Register (0h), and the Parameter List length set to 18h.
Persistent Reserve Out Command Clearing all Persistent Reservations and Keys To clear all Persistent Reservations and key registrations, a registered initiator sends a Persistent Reserve Out command with a Service Action field of Clear (03h). The Scope and Type fields are ignored. The Parameter List Length is set to 18h.
Prevent/Allow Medium Removal Command ■ Prevent/Allow Medium Removal Command The Prevent/Allow Medium Removal command enables and disables the unload switch. The switch is enabled unless this command is used. Table 107. Prevent/Allow Medium Removal Command Byte Operation Code (1Eh) (MSB) thru Reserved (LSB)
Read Command ■ Read Command The Read command transfers the next record or records from tape to the host. After successful completion of a Read Command, the tape is positioned after the last block read. Table 108. Read Command Byte Operation Code (08h) Reserved SILI...
Page 167
Read Command Notes: • Setting of the Fixed bit is only allowed if the fixed block length is not zero. In fixed block mode, the record size is specified by the block length. The Mode Sense command reports the fixed block length. •...
Read Command Data Integrity Validation—Read Operations During read operations when DIV mode is enabled, all Read commands should have a transfer length that includes both the user data and the appended 4 bytes of Protection Information. Note: Use the Mode Select command Page 0Ah, Subpage F0h, to enable the DIV mode.
Read Attribute Command Attribute Values—Service Action Returns parameter data containing the requested attributes in ascending numerical order by attribute value and in the following format. Table 110. Read Attribute with Attribute Values—Service Action Format Byte (MSB) thru Available Data (n-3) (LSB) Attributes Attribute 0...
Read Attribute Command Medium Auxiliary Memory Attribute Format Each medium auxiliary memory (MAM) attribute is communicated between the application client and device server in the following format. Table 111. Medium Auxiliary Memory Attribute Format Byte (MSB) thru Attribute Identifier (0224h) (LSB) Read Reserved...
Read Attribute Command Attribute List—Service Action Returns parameter data contains the attribute identifiers for the attributes that are not in the unsupported state and not in the nonexistent state in the specified partition and volume number. Table 112. Read Attribute with Attribute List—Service Action Format Byte (MSB) thru...
Read Attribute Command Volume List—Service Action Returns parameter data identifying the supported number of volumes. The contents of Volume Number, Partition Number, and First Attribute Identifier fields in the CDB shall be ignored. Table 113. Read Attribute with Volume List—Service Action Format Byte (MSB) thru...
Read Attribute Command Partition List—Service Action Returns parameter data identifying the supported number of partitions supported in the specified volume. The contents of Partition Number, and First Attribute Identifier fields in the CDB shall be ignored. Table 114. Read Attribute with Partition List—Service Action Format Byte (MSB) thru...
Read Block Limits Command ■ Read Block Limits Command The Read Block Limits command establishes the longest and shortest record size supported by the tape drive. This command returns six bytes of data. • When the DIV feature is not enabled the Maximum Block Length reported by the Read Block Limits command is 2,097,152 bytes.
Read Buffer Command ■ Read Buffer Command The Read Buffer Command retrieves trace dump data. Any buffered write data and filemarks are written on the tape before this operation starts. Table 117. Read Buffer Command Byte Operation Code (3Ch) Reserved Mode Buffer ID (MSB)
Page 177
Read Buffer Command Notes: • The tape drive must be unloaded when reading dump, permanent error trace, or event log data. The minimum allocation length is 4096 bytes. • Multiple Read Buffer commands may be required to read the entire contents of a particular buffer.
Read Media Serial Number Command ■ Read Media Serial Number Command The Read Media Serial Number Command returns the serial number of the currently mounted tape. Table 120. Read Media Serial Number Command Byte Operation Code (ABh) Reserved Service Action (01h) (MSB) thru Reserved...
Read Position Command ■ Read Position Command The Read Position command returns information about the current logical and physical block address of the tape. This command returns 20 bytes of data from the logical unit. Note: Block addresses are used with the Locate and Recover Buffered Data commands.
Read Position Command Read Position Data Table 123. Read Position Data Byte BYCU RSVD PERR RSVD Partition Number (MSB) thru Reserved (LSB) (MSB) thru First Block Location (LSB) (MSB) thru Last Block Location (LSB) Reserved (MSB) thru Number of Blocks in Buffer (LSB) (MSB) thru...
Page 182
Read Position Command Parameter Value Partition Number 0 = Only partition supported First Block Address of the next record in the buffer assuming the next host operation is a write. Last Block Address of the next record on tape assuming the next operation is a write.
Read Position Command Physical Position Indicator Data Table 124. Physical Position Indicator Data Byte Wrap Section Track Density Length Section Layout Cartridge Type Last Tape Speed Next Tape Speed (MSB) thru Partition Size (LSB) (MSB) thru Host Side ID (LSB) (MSB) thru Device Side ID...
Page 184
Read Position Command Parameter Value Length Tape length 2h = Standard cartridge 4h = Sport cartridge Section Layout Number of sections 01 = One section Cartridge Type 10h = Data tape 20h = Code load tape 40h = Dump tape Last Tape Speed 0h = Low speed 1h = High speed...
Receive Diagnostic Results Receive Diagnostic Results Page Format Table 126. Receive Diagnostic Results Page Format Byte Page Code Reserved (MSB) thru Page Length (n-3) (LSB) (MSB) Diagnostic Parameter thru (LSB) Parameter Value Page Code Identifies Diagnostic Page Note: The page length reflects the absolute length of the page, and is not adjusted because of the allocation length.
Release Unit Command ■ Release Unit Command The Release Unit command cancels reservations made by the Reserve Unit Command. If the unit is reserved by another initiator, good status is returned, but the unit is not released. If the unit is not currently reserved, good status is also returned. Table 127.
Release Unit Command Parameter Value 3rd Party: Third party reservations 0 = Cancel reservations for current host (not supported) Long ID: SCSI ID for third party release 0 = Not supported Reservation Identification 0 = Not supported Third Party Device ID 0 = Not supported Parameter List Length 0 = Not supported...
Report Density Support Command ■ Report Density Support Command The Report Density command returns information about the density codes and recording formats. Table 129. Report Density Support Command Byte Operation Code (44h) Reserved Media (MSB) thru Reserved (LSB) (MSB) thru Allocation Length (LSB) Control Byte...
Report Density Support Command Report Density Support Data Table 130. Density Support Header Byte (MSB) thru Available Density Support Length (LSB) (MSB) thru Reserved (LSB) (MSB) thru Density Support Block Descriptor (LSB) Parameter Value Available Density Support Control data that follows. Length 36h = One density support block returned for T10000A 6Ah = Two density support blocks returned for T10000B...
Report Density Support Command Density Support Block Descriptor Table 131. Density Support Data Block Descriptor Byte Primary Density Code Secondary Density Code WRTOK Deflt Reserved (MSB) thru Reserved (LSB) (MSB) thru Bits per MM (LSB) (MSB) thru Media Width (LSB) (MSB) thru Tracks...
Page 192
Report Density Support Command Parameter Value Secondary Density Code 4Ah = Primary density code, no secondary density code for T100000A 4Bh = Primary density code, no secondary density code for T100000B 4Ch = Primary density code, no secondary density code for T10000C 0 = Writes not permitted with this density code ...
Page 193
Report Density Support Command Parameter Value Description ASCII description for this recording format T1 – 500 GB = T10000A recording format TS – 120 GB = T10000A Sport tape T1 – 1000 GB = T10000B recording format TS –...
Report Supported Operation Codes Command All_Commands Parameter Data Format The Report Supported Operation Codes All_Commands Parameter Data Format begins with a four-byte header that contains the length in bytes of the parameter data followed by a list of supported commands. The list of command descriptors contains all commands supported by the logical unit.
Report Supported Operation Codes Command One_Command Parameter Data Format The Report Supported Operation Codes One_Command Parameter Data Format contains information and a usage map for bits in the CDB for the command and service action field. Table 137. One_Command Parameter Data Byte Reserved CTDP...
Page 199
Report Supported Operation Codes Command Parameter Value Support 000b Data about the requested SCSI command is not currently available. All data after byte 1 is not valid. A subsequent request for command support data may be successful. 001b The device server does not support the requested command.
Report Supported Operation Codes Command Command Timeouts Descriptor The Command Timeouts Descriptor returns timeout information for commands supported by the logical unit based on the time from the start of processing for the command to its reported completion. Values returned in the command timeouts descriptor do not include times that are outside the control of the device.
Report Target Port Groups Command ■ Report Target Port Groups Command The Report Target Port Groups command sends target port group information to the host. Table 141. Report Target Port Groups Command Byte Operation Code (A3h) Reserved Service Action (0Ah) (MSB) thru Reserved...
Report Target Port Groups Command Report Target Port Group Parameter Data Format The format for the parameter data returned by the Report Target Port Groups command is shown in the following table. Table 142. Report Target Port Group Parameter Data Format Byte (MSB) thru...
Report Target Port Groups Command Target Port Group Descriptor Format There shall be one target port group descriptor for each target port group. Table 143. Target Port Group Descriptor Format Byte PREF Reserved Asymmetric Access State T_SUP O_SUP Reserved U_SUP S_SUP AN_SUP AO_SUP...
Report Target Port Groups Command Parameter Value AN_SUP 0 = Not supported AO_SUP 1 = Active / Optimized is supported Target Port Group 1 = Target port group identification Status Code 0 = No status available Vendor Specific ...
Request Sense Command ■ Request Sense Command The Request Sense command transfers sense data to the initiator. Table 145. Request Sense Command Byte Operation Code (03h) (MSB) thru Reserved (LSB) Allocation Length Control Byte Allocation Length: Maximum length of sense data to return to the host. The device currently supports 26 bytes of sense data.
Request Sense Command Sense Data Table 146. Sense Data Format Byte Valid Response Code (70h or 71h) Reserved Filemark RSVD Sense Key (MSB) thru Information (LSB) Additional Sense Length (n–7) (MSB) thru Command Specific Information (LSB) Additional Sense Code Additional Sense Code Qualifier Field Replaceable Unit Code SKSV (MSB)
Request Sense Command Parameter Value 0 = Normal EOM: End Of Media 1 = A Forward command encountered End Of Media, or a Reverse Space command encountered BOT. 0 = Normal ILI: Illegal Length Indication 1 = Requested record size did not match actual record size Sense Key Indicates general type of error or other condition.
Request Sense Command Table 148. Progress Indication Sense Key Not Ready or No Sense Specific Data Byte SKSV Reserved (MSB) thru Progress Indication (LSB) Parameter Value SKSV: 0 = Progress indication not valid Sense Key Specific Fields Valid 1 = Progress indication valid.
Request Sense Command Sense Keys Table 149 lists the Sense Keys that provides basic information about an error. The Sense Key, with the ASC and ASCQ, provides a description about an error. Table 149. Sense Key Code Descriptions Code Description No Sense...
Request Sense Command Additional Sense Codes and Qualifiers Table 150 lists the Additional Sense Code and Qualifiers found in Bytes 12 and 13 of the sense data. These codes provide additional information about an error. Table 150. Sense Key with ASC and ASCQ Byte Description No additional sense information...
Page 213
Request Sense Command Table 150. Sense Key with ASC and ASCQ (Continued) Byte Description Tape length error (short tape error) Sequential positioning error Tape position error at beginning-of-tape Reposition error (CU ERP failed and we are lost) Erase failure (long erase check) Peripheral device write fault (used when a prior check message locks out a load display command) Drive reported failure...
Page 214
Request Sense Command Table 150. Sense Key with ASC and ASCQ (Continued) Byte Description DMA error during data phase Erase fault Cartridge fault (a load/eject command failure reported by CSL) Unload tape failure (tape unload check) Parameter list length error (mode select or other parameter data was truncated) Invalid command operation code (first byte of CDB is not a supported cmd) Logical block address out of range...
Page 215
Request Sense Command Table 150. Sense Key with ASC and ASCQ (Continued) Byte Description CSL not ready (no cartridge loaded) Load command received and the load is in progress Not ready to ready transition (medium may have changed) Power on or reset occurred Parameters changed Mode parameters changed by another host Log parameters changed by another host...
Page 216
Request Sense Command Table 150. Sense Key with ASC and ASCQ (Continued) Byte Description I/O process terminated due to errors Unrecovered read error during FCP-2 recovery SCSI parity error (retries not successful) Initiator detected error message received Invalid message error Command phase error Data phase error Command timeout...
Reserve Command ■ Reserve Command The Reserve Unit command reserves a device for the exclusive use of one initiator. The device returns Reservation Conflict status if any other initiator sends a command to the device except for Sense, Inquiry, or Release Unit Commands.
Page 218
Reserve Command Parameter Value Parameter List Length 0 = Not supported 3rd Pty 0 = Not supported LongID 0 = Not supported Reservation ID 0 = Not supported Third Party Device ID 0 = Not supported 200 T10000: Interface Reference Manual • January 2011 •...
Rewind Command ■ Rewind Command The Rewind command causes the device to rewind the media to the beginning-of-tape (BOT). The device writes any buffered write data on tape before the rewind starts. Caution: If the drive is in Buffered Mode and a previous command terminated with Check Condition status (such as, buffered data unwritten to tape and the condition was not cleared or otherwise recovered), the drive will discard any unwritten buffered data and...
Security Protocol In Command ■ Security Protocol In Command The Security Protocol In (SPIN) command returns information about security and encryption Table 154. Security Protocol In Command (SPIN) Byte Operation Code (A2h) Security Protocol (MSB) thru Security Protocol Specific (LSB) INC512 Reserved Reserved...
Security Protocol In Command Security Protocol Information Pages Supported Security Protocol List A request of Security Protocol of 00h and a Security Protocol Specific 0000h will return a list of supported security protocols. Table 155. Security Protocol List Byte (MSB) Reserved thru (LSB)
Security Protocol In Command Tape Data Encryption Pages Tape Data Encryption In Supported Page A request of Security Protocol of 20h and a Security Protocol Specific 0000h will return a list of supported values for the Security Protocol Specific field supported by the SPIN command.
Security Protocol In Command Tape Data Encryption Out Supported Page A request of Security Protocol of 20h and a Security Protocol Specific 0001h will return a list of supported values for the Security Protocol Specific field supported by the Security Protocol Out (SPOUT) command. Table 158.
Security Protocol In Command Parameter Value External data encryption control capable EXTDECC: External data encryption control capable 00b = The external data encryption control capability is not supported Configuration prevented CFG_P: Configuration prevented 01b = Drive is configured to allow changes of data encryption parameters Data Encryption Algorithm Descriptor Table 160.
Page 225
Security Protocol In Command Table 160. Data Encryption Algorithm Descriptor (Continued) Byte (MSB) thru Security Algorithm Code (80010010h) (LSB) Parameter Value Algorithm valid for mounted volume AVFMV 0 = Not valid or no volume mounted 1 = Valid Supplemental decryption key capable ...
Page 226
Security Protocol In Command Parameter Value DKAD_C Decryption KAD capable when Decryption Mode is Decrypt or Mixed • 00b = Not specified (Not supported) • 01b = Drive requires a U-KAD provided by the Host for decrypting operations. If not provided with SPOUT command Set Data Encryption page then terminate the command with Check Condition with sense key set to Illegal Request and the ASC set to Incomplete ...
Security Protocol In Command Supported Key Formats Page A request of Security Protocol of 20h and a Security Protocol Specific 0011h will return a list of all supported key formats. Table 161. Supported Keys Formats Page Byte (MSB) thru Page Code (0011h) (LSB) (MSB) thru...
Security Protocol In Command Data Encryption Management Capabilities Page A request of Security Protocol of 20h and a Security Protocol Specific 0012h will return information about encryption management features supported. Table 162. Data Encryption Capabilities Management Page Byte (MSB) thru Page Code (0012h) (LSB) (MSB)
Security Protocol In Command Parameter Value PUBLIC bit supported in the Set Data Encryption page PUBLIC_C 1 = Supported Data Encryption Status Page A request of Security Protocol of 20h and a Security Protocol Specific 0020h will return the current data encryption status. Table 163.
Page 230
Security Protocol In Command Parameter Value I_T nexus of the saved data encryption parameters I_T Nexus Scope 000b = Public 001b = Local 010b = All I_T Nexus Logical block encryption scope of the saved data encryption parameters Logical Block 000b = Public ...
Security Protocol In Command Key-Associated Data Descriptors List The following key association descriptors are returned in the Key Descriptor Type order. Table 164. Key Association Descriptor Type Byte Key Descriptor Type Reserved Authenticated (MSB) thru Key Descriptor Length in bytes (LSB) (n-3) (MSB)
Security Protocol In Command Next Block Encryption Status Page A request of Security Protocol of 20h and a Security Protocol Specific 0021h will return the next block encryption status. Table 165. Next Block Encryption Status Byte (MSB) thru Page Code (0021h) (LSB) (MSB) thru...
Security Protocol In Command Parameter Value Encryption mode external status EMES 0 = Not supported Raw decryption mode disabled status RDMDS 0 = Not supported Key-Associated Data The key-associated data descriptors are only returned on Encryption Descriptors List Status 6h.
Security Protocol In Command SPIN Implementation Notes The following table lists the possible key-associated data (KAD) parameters reported in the Next Block Encryption Status page. Table 167. Key-Associated Data Reported Parameters (SPIN) Key-Associated Descriptors Record Decryption Read Encryption U-KAD A-KAD Nonce Metadata Information...
Security Protocol Out Command ■ Security Protocol Out Command The Security Protocol Out (SPOUT) command specifies the Tape Data Encryption security protocol to be used when encrypting and decrypting. Table 168. Security Protocol Out Command (SPOUT) Byte Operation Code (B5h) Security Protocol (20h) (MSB) thru...
Security Protocol Out Command Set Data Encryption Page A request of Security Protocol of 20h and a Security Protocol Specific 0010h will select the data encryption capabilities of the drive. Table 169. Set Data Encryption Page Byte (MSB) thru Page Code (0010h) (LSB) (MSB) thru...
Page 237
Security Protocol Out Command Parameter Value Scope of the data encryption parameters Scope 000b = Public 001b = Local 010b = All I_T Nexus 0 = Not locked Lock 1 = Locked CEEM Check external encryption mode 00b = Vendor Specific (Ignored) ...
Security Protocol Out Command Key-Associated Data Descriptors List The following key association descriptors must be provided in Key Descriptor Type order. Notes: • If the U-KAD descriptor is not present when Encryption Mode is enabled a 30 byte Key Descriptor of all zeroes is used. •...
Security Protocol Out Command SPOUT Implementation Notes The following table lists the possible Key-Associated Data (KAD) parameters supported in the Set Data Encryption page. Table 171. Key-Associated Data Reported Parameters (SPOUT) Key-Associated Descriptors Record Decryption Read Encryption U-KAD A-KAD Nonce Metadata Information Mode...
Page 240
Security Protocol Out Command Note: The references in the following paragraphs refer to SSC-3. • If the SECURITY PROTOCOL or the SECURITY PROTOCOL SPECIFIC field is set to a reserved or unsupported value. The device server shall terminate the command with CHECK CONDITION status, with the sense key set to ILLEGAL REQUEST, and the additional sense code set to INVALID FIELD IN CDB.
Page 241
Security Protocol Out Command If the bit is set to one and there is no volume mounted the device server shall terminate the command with CHECK CONDITION status and set the sense key to ILLEGAL REQUEST and the additional sense code to INVALID FIELD IN PARAMETER DATA.
Page 242
Security Protocol Out Command The device server shall terminate the command with CHECK CONDITION, with the sense key set to ILLEGAL REQUEST, and the additional sense code set to INCOMPLETE KEY-ASSOCIATED DATA SET. • If a nonce value descriptor is included and the algorithm and the device server supports application client generated nonce values The value in the KEY DESCRIPTOR field shall be used as the nonce value for the encryption process.
Send Diagnostic Command ■ Send Diagnostic Command The Send Diagnostic command provides a self-test that verifies the operation of the device. Any buffered write data and filemarks are written on the tape before this operation starts. Table 172. Send Diagnostic Command Byte Operation Code (1Dh) Reserved...
Space Command ■ Space Command The Space command moves the logical position of the tape. Any buffered write data and filemarks are written on the tape before this operation starts. Note: The Space command does not always move tape. Table 173. Space Command Byte Operation Code (11h) Reserved...
Page 245
Space Command Notes: 1. A zero in the Count field does not move tape. 2. If a filemark is encountered during a Space Blocks command, Check Condition status is returned and the tape is positioned past the filemark. The Valid and Filemark bits in the sense data are set and the Information Bytes are set to the Count minus the actual number of blocks moved (not counting the filemark).
Test Unit Ready Command ■ Test Unit Ready Command The Test Unit Ready command checks if a device is loaded and ready to receive a command that accesses the media, such as Read or Write commands. Table 174. Test Unit Ready Command Byte Operation Code (00h) (MSB)
Verify Command ■ Verify Command The Verify command reads one or more blocks of data from the tape without transferring the data to the host. Table 175. Verify Command Byte Operation Code (13h) Reserved VLBPM Immed BYTCMP Fixed (MSB) thru Verification Length (LSB) SILI...
Page 248
Verify Command Parameter Value Immed: Immediate Immediate 0 = Return status when verify is completed BYTCMP: Byte compare Byte compare 0 = Medium verification Fixed Block mode 0 = Variable block 1 = Fixed block Verification Length Number of bytes or blocks to verify SILI: Suppress Illegal Length Suppress Illegal Length Indication Indication...
Write Command ■ Write Command The Write command transfers one or more blocks of data from the host to tape. Table 176. Write Command Byte Operation Code (0Ah) Reserved Fixed (MSB) thru Transfer Length (LSB) Control Byte Parameter Value Fixed Indicates the block mode for data transfer: 0 = Variable block mode.
Page 250
Write Command Notes: 1. Setting of the fixed bit is only allowed if the fixed block length is not zero. If block length is 0, the drive is in variable block mode. In fixed block mode, the record size is specified by the block length. The Mode Sense command reports the block length.
Write Command Data Integrity Validation—Write Operations During write operations when DIV mode is enabled, all Write commands must have a transfer length that includes both the user data and the appended 4 bytes of Protection Information. Note: Use the Mode Select command Page 0Ah, Subpage F0h, to enable the DIV mode.
Write Buffer Command ■ Write Buffer Command The Write Buffer command updates the functional microcode for the drive. The process of updating microcode is called a download. A change in the initiator from one Write Buffer command to another during a download is interpreted as a new download process request and terminates the active process.
Page 253
Write Buffer Command Parameter Value Mode Indicates the type of download: 06h = Download Microcode with Offsets Multiple transfers are required to download the microcode. The first Write Buffer command must contain data for the start of the image. Subsequent Write Buffer commands must transfer data in sequential order.
Write Filemarks Command ■ Write Filemarks Command The Write Filemarks command writes one or more filemarks on tape starting at the current logical position. Table 178. Write Filemarks Command Byte Operation Code (10h) Reserved WSmk Immed (MSB) thru Transfer Length (LSB) Control Byte Parameter...
The terms DIV or DIF are also referred to as Protection Information (PI). ■ Data Integrity Validation Oracle’s StorageTek T10000-Series tape drive supports the Data Integrity Validation (DIV) feature. This feature provides end-to-end protection of user data during a transfer.
Page 256
Data Integrity Validation 4. The transfer lengths (CDB bytes 2-4) for these commands must include the additional 4 bytes of Protection Information. 5. During Reading or Writing with DIV mode enabled the Target returns a Check condition if a PI miscompare is detected. 238 T10000: Interface Reference Manual •...
Reed-Solomon CRC ■ Reed-Solomon CRC The following is a sample ‘C program’ to generate the Reed Solomon CRC on an i386 class processor: Figure 1. Reed Solomon CRC Program Example (Sheet 1 of 4) #include <unistd.h> #include <stdio.h> /*--------------------------------------------------------------------------------------------------- ...
Vendor Unique SB-2 CRC ■ Vendor Unique SB-2 CRC The following is a sample ‘C program’ to generate the SB-2 CRC on an i386 class processor. Figure 2. SB-2 CRC Program Example (Sheet 1 of 6) /********************************************************************* * File: sbbyte.c * Description: 32bit implementation of the CRC32 LFSR....
Page 262
Vendor Unique SB-2 CRC Figure 2. SB-2 CRC Program Example (Sheet 2 of 6) #include <unistd.h> #include <stdio.h> /*******************************************************************************/ */ */ /* CRC LOOKUP TABLE */ /* ========================================== */ /* The following CRC lookup table was generated automagically */ ...
Vendor Unique Intel CRC32C ■ Vendor Unique Intel CRC32C The following is a sample ‘C program’ to software generate the Intel CRC32C on an i386 class processor. This example also includes the assembly language code to utilize the Nehalem class server with SSE4_2 support to generate this CRC with the hardware CRC32 instructions.
Page 268
Vendor Unique Intel CRC32C Figure 3. CRC32C Program Example (Sheet 2 of 8) #include <unistd.h> #include <stdio.h> /*******************************************************************************/ */ */ /* CRC LOOKUP TABLE */ /* ========================================== */ /* The following CRC lookup table was generated automagically */ ...
Page 271
Vendor Unique Intel CRC32C Figure 3. CRC32C Program Example (Sheet 5 of 8) #define NAME "CRC-32C" #define WIDTH #define POLY 0x1EDC6F41 #define INIT 0xFFFFFFFF #define INIT_REFLECTED 0xFFFFFFFF #define REFIN TRUE #define REFOUT TRUE #define XOROUT 0XFFFFFFFF #define CHECK 0xE3069283 /* NOTE: The CHECK is for the standard 9 byte test data of ...
Glossary This glossary defines terms and abbreviations Additional Sense Bytes The additional sense used in this manual. For definitions of other Fibre bytes contain data specific to either or both the Channel or StorageTek terms refer to the command or peripheral device, and further glossary in the appropriate document.
Page 276
Glossary select another port to send data to or receive Buffer-to-Buffer A method of transferring data from that same port. information in which neither the initiator nor receiver of the information knows the contents. Arbitrated Loop A topology in Fibre Channel that provides multiple connections for devices Byte A group of eight bits.
Page 277
Glossary Disparity A form of error detection for frame transmission. Running disparity adds a second dimension to the transmission of characters that Delimiter In FC, a special transmission word provides a balance of ones and zeros and helps that marks either the beginning, or ending, of a protect transmission characters and controls the frame in an FC transmission.
Page 278
Glossary initiator, and prohibited when originated by a FC-PH-2 An extension of the FC Physical and drive. Signaling Interface defined in the ANSI X3.230- 1994 that specifies several extra protocol levels. ESTC Estimate Credit command FC-0 The level of the FC-PH-1 Standard that Estimate Credit (ESTC) The Estimate Credit defines the physical level.
Page 279
Glossary Fiber Distributed Data Interface (FDDI) An Frame Header The first field in a frame that NCITS standard for transmitting data at 100 contains addressing information, as well as other mega-baud over fiber optic cable. control information, about the frame. Fiber Optic Cable A jacketed cable of thin FRU Field replaceable unit.
Page 280
Glossary HSSDC High speed serial data connectors. IU See information unit. StorageTek tape drives use this type of connector at the interface card. Hub A piece of hardware, separate from the actual FC interface accessible on the backplane Jitter The deviation of timing in an exchange. of a device, which houses the port bypass circuitry for configurations of 8 to 16 ports per hub.
Page 281
Glossary LIP See Loop initialization primitive. Mb/s Abbreviation for megabits per second. LIRP Loop Initialization Report. MB/sec Abbreviation for megabytes per second. LIS_HOLD_TIME Loop Initialization Sequence Hold time. Mb/sec Abbreviation for megabits per second. LISM Loop Initialization Select Master. Mode Select Command The command used in Fibre Channel that specifies operational Login The FC-required process used by any parameters and options for a logical unit.
Page 282
Glossary nm Abbreviation for nanometers. speed transmission method is good for short distances only. Contrast with serial transmission. No Operation (NOP) The No Operation command used in Basic Link Services. It is Payload The portion of the data field in a frame, prohibited when originated by the initiator, and not part of the optional header data, that contains prohibited when originated by a drive.
Page 283
Glossary PRLI See Process Login. Read Link Error Status Block The Read Link Error Status Block command used in Extended PRLO See Process Logout. Link Services. It is invokable when originated by the initiator, allowable when originated by a drive, Process Login (PRLI) The Process Login and prohibited when originated by a drive.
Page 284
Glossary RLS See Read Link Error Status Block. Sequence Management frame that separates one sequence from another. See SEQ_ID. RMC See Remove Connection. Serial Transmission A transmission in which RNC See Report Node Capabilities Information. bits are sent in a stream in a single fiber. Contrast this with a parallel transmission.
Page 285
Glossary Transmission Word A four-byte character containing 32 bits of information, which is the smallest information unit transmitted on Fibre Channel. ULP Upper level protocol. ULP_TOV Upper Level Protocol timeout value. VolSafe A Sun StorageTek feature that provides write once, read many (WORM) technology to VolSafe-designated tape cartridges.
Page 290
Index FC-AL feature set 23 timers 43 versions 25, 26 feature set 45 Fibre Channel See commands 31 information units 47 flags other features 54 TapeAlert 94 task attributes 53 task 52 FCP_RSP 51 FLOGI 32 FC-PH 2 frame feature set, arbitrated loop 23 control features 30 Fibre Channel header...
Page 291
Index IEEE addressing 16 implementation 3 laser Information Units longwave 13 command 48 shortwave 13 data 49 latencies 24 overview 47 LED transmissions 13 read data 49 LIFA 19 response 49 LIHA 20 task management flags 52 LILP 20 transfer ready 49 limitations of hubs 11 write data 49 link error status block 33...
Page 292
Index logout services 32 data compression page data 131 longwave laser 13 description 122 loop device configuration page 132 addresses 18 disconnect reconnect page 127 arbitrated 15 header data 124 failures 19 logical unit control page 134 initialization port control page 135 fabric assigned address 19 read/write error recovery 112, 126, 129, features 18...
Page 293
Index private loop initialization completion 20 parameter formats, TapeAlert 94 PRLI 33, 45 part numbers PRLO 33 cables 13 PRML technology 4 reference documentation 1 process partial response, maximum likelihood 4 login 33 partition list, service action 157 login parameters 45 Partner Agreement xvii logout 33 Partners Web site xvii...
Page 296
Index tape drive See T10000 Tape Drive TapeAlert VC status 34 flags 94 VolSafe 80 Log Sense command 94 volume list, service action 156 Mode Select command 119, 120, 121, 136, 137, 138 target 17 target discovery 56 Web sites xvi Target Port Descriptor Format 188 WORM 80 Target Port Group Descriptor Format 187...
Need help?
Do you have a question about the Storage Tek T10000 and is the answer not in the manual?
Questions and answers