Page 2 - Notice; Hewlett-Packard makes no; Revision History; Version
2 Notice The information contained in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall no...
Page 3 - The Purpose of this Manual; Note; Related Documents; Documents Specific to HP Ultrium Drives
3 The Purpose of this Manual This is one of five volumes that document HP Ultrium drives. This volume provides background information for driver and application developers. The following products are covered. Capacities are when the drive is using data compression with a compression ratio of 2:1, wh...
Page 4 - Documentation Map; Drives—general
4 Documentation Map The following will help you locate information in the 6-volume Technical Reference Manual: Drives—general Installation and Configuration Operation SCSI Drives FC Drives Connectors 1 HW Integration: ch. 7 1 HW Integration: ch. 4 Controller architecture 6 Background: ch. 4 Front Pa...
Page 6 - SCSI Drives
6 Dealing with Errors Ultrium Features SCSI Drives FC Drives Error Codes 1 HW Integration: ch. 10 1 HW Integration: ch. 6 Handling errors 2 SW Integration: ch. 5 How error correction works 6 Background: ch. 4 Logs—see the LOG SENSE command 3 SCSI: ch. 4 Recovering from write and read errors 2 SW Int...
Page 7 - General Documents and Standardization
7 General Documents and Standardization ■ Small Computer System Interface (SCSI-1 ) , ANSI X3.131-1986. This is the ANSI authorized standard for SCSI implementation, available through ANSI ■ Enhanced Small Computer System Interface (SCSI-2), ANSI X3T9.2-1993 Rev. 10L, available through ANSI Copies o...
Page 9 - Interface Implementation 13; contents
Contents 9 The Purpose of this Manual 3 Related Documents 3 Documents Specific to HP Ultrium Drives 3 Documentation Map 4 General Documents and Standardization 7 1 Interface Implementation 13 The SCSI Interface 13 Supported Messages 14 Supported Commands 14 SCSI Features 15 Design Approach 15 Power-...
Page 10 - Commands—Introduction 31
10 Contents 2 Messages 25 Message Out Support (Parallel SCSI only) 25 Message In Support (Parallel SCSI only) 26 Extended Message Support 27 Status 29 3 Commands—Introduction 31 Summary 31 Command Details 32 Pre-Execution Checks 32 Bad LUN Check 32 Deferred Error Check 33 Diagnostic Status Check 33 ...
Page 13 - Interface Implementation; Chapter 2; The SCSI Interface
Interface Implementation 13 Interface Implementation HP Ultrium drives use SCSI-3 as the interface to connect to the host system.This chapter gives an overview of how the interface operates. Full details of the messages are given in Chapter 2 and of commands in Chapter 3 and Chapter 4 . The SCSI Int...
Page 14 - 4 Interface Implementation; Supported Messages; The following messages are supported by the drives:; Supported Commands; Mandatory and Extended commands and most Optional commands.
14 Interface Implementation Supported Messages The following messages are supported by the drives: ■ ABORT ■ BUS DEVICE RESET ■ COMMAND COMPLETE ■ DISCONNECT ■ IDENTIFY ■ IGNORE WIDE RESIDUE ■ INITIATOR DETECTED ERROR ■ MESSAGE PARITY ERROR ■ MESSAGE REJECT ■ NO-OP (no operation) ■ RESTORE POINTERS ...
Page 15 - Interface Implementation 15; Chapter 3, “Commands—; SCSI Features; Design Approach; Soft Resets
Interface Implementation 15 Inter fa ce Imple m en ta tio n For implementation details on these commands, see Chapter 3, “Commands— Introduction” and Chapter 4, “Commands” . SCSI Features Design Approach The features supported by the drive are based on standards, both official and de facto. The driv...
Page 16 - Abort Handling
16 Interface Implementation default setting. The known base state is defined in the SCSI-3 specification and includes the following: ■ The current I/O process is aborted. ■ Any queued I/O processes from other initiators are removed. ■ All reservations are cleared. ■ All mode values are reset to thei...
Page 17 - Command
Interface Implementation 17 Inter fa ce Imple m en ta tio n GOOD status immediately. A REQUEST SENSE command will give NO SENSE . An INQUIRY command will return the required data and give GOOD status. Command Abort Processing ERASE Long erase is aborted as quickly as possible without corrupting tape...
Page 18 - Bus Parity Errors
18 Interface Implementation Bus Parity Errors (Parallel SCSI only) On detecting a bus parity error during a Command or Data Out phase or receiving an Initiator detected error message during a Data In or Status phase, the drive attempts to retry the bus phase. A Restore Pointers message is sent to th...
Page 19 - Interface Implementation 19; Disconnect Strategy
Interface Implementation 19 Inter fa ce Imple m en ta tio n to ABORTED COMMAND with additional sense of 4800h (Initiator Detected Error).If the subsequent message is rejected with an Message Parity Error, then the drive goes to Status phase and sends CHECK CONDITION status. The sense key is set to A...
Page 20 - Fibre Channel Operation; “Fibre Channel Logical Unit Control Mode Page” on page 86; Fibre Channel Addressing; Names
20 Interface Implementation the initiator that least recently connected before processing the command for the new initiator. See “Sense Data Management” on page 131 for more details. Fibre Channel Operation Note This applies only to Fibre Channel drives. The following sections have information speci...
Page 21 - Interface Implementation 21; Addresses; Each Fibre Channel port also has a; Port Address; which is assigned during; HP’s Implementation of Names and Addresses; The HP implementation uses three adjacent IEEE Registered Names:
Interface Implementation 21 Inter fa ce Imple m en ta tio n Addresses Each Fibre Channel port also has a Port Address which is assigned during loop initialization and/or Fabric Login. This is a 24-bit value in the following format: The AL_PA is the Arbitrated Loop Physical Address. This is normally ...
Page 22 - Implications for Libraries; Normally a standalone drive will operate using its own ‘hard’ names.
22 Interface Implementation The values of the names can be obtained using the Device Identification Vital Product Information Page (part of the INQUIRY command). Implications for Libraries ■ Normally a standalone drive will operate using its own ‘hard’ names. ■ The drive knows it is in a library or ...
Page 23 - Interface Implementation 23; Field Replaceable Units; XX; Descriptions of Signals; Signal; Busy
Interface Implementation 23 Inter fa ce Imple m en ta tio n still tied low, so in this case it will use the soft name last downloaded. This will allow drive access without confusing the host. Field Replaceable Units An FRU code identifies which part of the hardware is considered to have failed. Thes...
Page 25 - Messages; Message Out Support; Name
Messages 25 Messages This chapter includes all SCSI messages, both supported and unsupported. Parts of this chapter come from Section 5, Logical Characteristics, of the SCSI standards (see page 13).The message system provides an initiator and a target on the SCSI bus with a means of managing communi...
Page 26 - Message In Support
26 Messages Message In Support (Parallel SCSI only) Message Parity Error 09h The initiator has detected a parity error in a message. The drive will retry the message. (See “ “Message In Support (Parallel SCSI only) ” below for details). If the message is received immediately after an Identify messag...
Page 27 - Extended Message Support
Messages 27 Message s Extended Message Support Ignore Wide Residue 23h This message is sent by the drive to the host to indicate that a byte on a wide bus is not valid.This is supported whenever a wide transfer is active. It should be sent at the end of the data phase. The standard action of the dri...
Page 28 - complete the negotiation.
28 Messages Synchronous Data Transfer Request Wide Data Transfer Request Parallel Protocol Request Parallel Protocol Request 04h The drive will never initiate a Parallel Protocol Request transfer negotiation but will expect the initiator to do so.If the message is received after selection and before...
Page 29 - Status; Transfer Period
Messages 29 Message s Fields: Status A Status byte is sent from the drive to the host during the Status phase at the end of each command as specified in the SCSI specification, unless the command has been cleared by an ABORT message, by a BUS DEVICE RESET message, or by a hard reset.The Status bytes...
Page 30 - BUSY; This status will never be returned by an HP Ultrium tape drive.; RESERVATION CONFLICT; : Returned if the drive is reserved by another party. See the
30 Messages 08h BUSY : The drive is unable to execute the command at this time. Try again later. The drive tries to avoid using this status code during normal operation. It can sometimes be used after commands have been aborted, during power-on and if there are multiple selecting initiators. 10h INT...
Page 31 - Commands—Introduction; Chapter 4; Summary; Opcode
Commands—Introduction 31 Commands—Introduction This chapter contains general notes relating to the SCSI commands listed in Chapter 4 . Summary The following table is a summary of the SCSI commands for sequential access devices, showing the operation code: Opcode (hex) Command Name Opcode (hex) Comma...
Page 32 - 2 Commands—Introduction; Command Details; Bad LUN Check
32 Commands—Introduction Command Details The command descriptions in this section are listed in alphabetical order of command name. Each command is described briefly. This is followed by a list of pre-execution checks which are described below. The Command Descriptor Block (CDB) is then given, with ...
Page 33 - Commands—Introduction 33; is; Deferred Error Check; Diagnostic Status Check
Commands—Introduction 33 Co m m an ds — In tro ductio n ■ If no IDENTIFY message is supplied, the LUN is taken from the host’s Command Descriptor Block. ■ If an IDENTIFY message is supplied, the LUN in the host’s Command Descriptor Block is ignored ■ If the LUN is unsupported, and the host command i...
Page 34 - 4 Commands—Introduction; Fixed Bit Check
34 Commands—Introduction Fixed Bit Check For the READ , VERIFY and WRITE commands, a Fixed bit set to 1 indicates that the length parameter of the command is for fixed block mode. If fixed block mode is selected then the block size in the Mode Select block descriptor must not be zero. Otherwise CHEC...
Page 35 - Commands—Introduction 35; Media Access Check
Commands—Introduction 35 Co m m an ds — In tro ductio n ■ The sense key specific bit is set and the sense key specific bytes will be a field pointer. ■ The command/data bit is set, indicating that the illegal parameter was in the command. Note Command descriptor blocks are scanned from left (bit 7) ...
Page 36 - 6 Commands—Introduction; Media Information Check; , and additional sense of 3E00
36 Commands—Introduction Media Information Check During power-on and following a SCSI reset, knowledge of the whereabouts of the cartridge is unavailable. It is not possible to execute commands which assume that this knowledge is available until the drive has recovered from the power-on or reset.The...
Page 37 - Media Write Check; Reservation Check
Commands—Introduction 37 Co m m an ds — In tro ductio n Media Write Check This checks whether the media is write-protected. If it is, CHECK CONDITION is reported with a sense key of DATA PROTECT and additional sense of 2700h (write-protected). Parameter List Check For LOG SELECT , MODE SELECT and so...
Page 38 - 8 Commands—Introduction; Unit Attention Check; Command Descriptor Block; Control byte; all
38 Commands—Introduction Unit Attention Check This checks if a UNIT ATTENTION condition exists for the host which sent the command. If it does, the drive reports CHECK CONDITION status with a sense key of UNIT ATTENTION . The remaining sense data will be set according to the unit attention condition...
Page 40 - 0 Commands—Introduction
Page 41 - Commands; sections of the SCSI specification (see
Commands 41 Commands This chapter describes all SCSI commands. Parts of the chapter are based on sections of the SCSI specification (see page 13 ). For general notes on the command descriptions, see Chapter 3 . 4
Page 42 - Command Descriptor Block:; Immed
42 Commands ERASE 19h The ERASE command is used to erase data on tape from the current logical position. The Long bit is used to decide whether the ‘old’ data is physically overwritten or not. Pre-Execution Checks: Command Descriptor Block: CDB Fields: Note The only use for short erase is to truncat...
Page 43 - Warning EOM (drive error code 2C98h) will only be given if the; Erase Specific Status:; Event
Commands 43 Co m m an ds Warning EOM (drive error code 2C98h) will only be given if the tape was logically positioned past EOT immediately prior to this command. Erase Specific Status: Event Status Key Additional Sense The erase fails CHECK CONDITION HARDWARE ERROR 5100h (erase failure)
Page 44 - LUN
44 Commands INQUIRY 12h I NQUIRY tells the drive to return information about the basic operating parameters to the host. These parameters cannot be changed. The drive returns Inquiry data to the host in a data-in phase. Note This command is immune from most of the pre-execution checks that other com...
Page 45 - INQUIRY Data Pages; data as specified by the Page Code field when EVPD is one.
Commands 45 Co m m an ds INQUIRY Data Pages Returned Data: I NQUIRY returns its standard data if the EVPD bit is zero, or returns a page of data as specified by the Page Code field when EVPD is one. Standard Inquiry Data Format (LUN0) This is the data returned by the drive in response to an Inquiry ...
Page 46 - HP
46 Commands The Standard Inquiry Data is based on the SCSI 3 standard for Standard Inquiry Data.For the LUN to which the drive is attached, the Peripheral Qualifier field is set to 000b, the Peripheral Device Type field is set to 01h, the Removable Medium (RMB) flag is set to 1 and the Device-type m...
Page 47 - Inquiry Data Fields
Commands 47 Co m m an ds Inquiry Data Fields Peripheral Qualifier 000b 011b There is a device on the logical unit selected, so the LUN field in the identify message was 0. The LUN field in the identify message has specified an unsupported logical unit. This means any LUN other than 0. Peripheral Dev...
Page 49 - Vendor Specific data may be sent after the Product Revision Level.; Vital Product Data Pages; returned by the; command when the EVPD bit is set and the; Supported Vital Product Data Pages Page; its EVPD bit set to one and its Page Code field set to 0.; Value
Commands 49 Co m m an ds Vendor Specific data may be sent after the Product Revision Level. Vital Product Data Pages The following tables describe the vital product data pages. These pages are returned by the INQUIRY command when the EVPD bit is set and the appropriate Page Code is set in the Comman...
Page 50 - Unit Serial Number Page
50 Commands This page contains a list of all the VPD page-codes supported by the drive. Unit Serial Number Page The Unit Serial Number Page contains a single value which is a 10-byte ASCII string. The string, with the Vendor Identification and Product Identification fields in the standard Inquiry da...
Page 51 - Device Identification Page; Identification Descriptors are constructed as follows:; Defined Identifiers; returned depends on which port the Inquiry is sent to.; Code Set
Commands 51 Co m m an ds Device Identification Page The Device Identification page contains information that identifies the tape drive uniquely. For SCSI, a combination of the Vendor ID and Serial Number is returned. For Fibre Channel, the Port and Device Names are returned as well. Identification D...
Page 53 - the addressed port is Port B.; Drive Component Revision Levels Pages; CCCCCCCCCCCC
Commands 53 Co m m an ds Port Identifier (FC only) The Port Identifier will be set to 1 if the addressed port is port A, and set to 2 if the addressed port is Port B. SCSI Type 3 Identifier (SCSI only) Drive Component Revision Levels Pages 7 6 5 4 3 2 1 0 0 Reserved (0) Code Set (1) 1 Reserved (0) I...
Page 54 - Date; Variant
54 Commands The Drive Component Revision Levels pages contain details of the revisions of each of the major sub assemblies of the drive. For any given product, if these pages are the same then the drive has been built with the same components and with the same manufacturing process.Each entry is a n...
Page 55 - unload
Commands 55 Co m m an ds LOAD/UNLOAD 1Bh The LOAD / UNLOAD command allows the host to specify that a tape cartridge present in the drive is either made ready for data transfer (“loaded”) or disabled for data transfer (if Prevent Media Removal is set). It can also cause the cartridge to be ejected fr...
Page 56 - Loading a Cartridge; Hold; ReTen; Load
56 Commands Load/Unload Specific Status: Following a successful LOAD command, CHECK CONDITION is posted to all initiators other than the initiator of the LOAD command. The sense key is set to UNIT ATTENTION , with additional sense of 2800h (not ready to ready transition). There is an exception to th...
Page 57 - Unloading a Cartridge
Commands 57 Co m m an ds ■ If the Load was issued by some other host (or was an autoload) and completed successfully, CHECK CONDITION is reported, with a sense key of UNIT ATTENTION and additional sense of 2800h (not ready to ready transition). ■ If the Load was issued by the current host and failed...
Page 58 - The; command moves the current logical position to the position; BT
58 Commands LOCATE 2Bh The LOCATE command moves the current logical position to the position specified by the command. The new position is specified by the offset from start of the media in terms of blocks. The first block (that is, BOT) is block address 0.Any unwritten data is written to tape befor...
Page 59 - Locate Specific Status:; Block
Commands 59 Co m m an ds Locate Specific Status: Block Address The Block Address specifies the number of blocks and filemarks between BOM and the position to be located. Partition Not supported. Event Status Key Additional Sense EOD encountered CHECK CONDN BLANK CHECK 0005h (EOD encountered). EOM en...
Page 60 - command causes log data on the drive to be reset to its default; Otherwise; status is returned, the sense key is set to; PCR
60 Commands LOG SELECT 4Ch The Log Select command causes log data on the drive to be reset to its default value or to be set to an initiator specific value. Pre-Execution Checks: Command Descriptor Block: CDB Fields: The following are valid combinations of values for the PCR (Parameter Code Reset), ...
Page 61 - SP; Parameter
Commands 61 Co m m an ds SP 0 The Save Page (SP) flag is not supported and must be set to 0. PC The Page Control field defines the type of parameter values to be selected: 00b or 10b No operation is performed. The Parameter List Length must be zero. If it is not, check condition invalid field in CDB...
Page 62 - LOG SENSE; allows the host to read the drive’s logs. A single log is returned; status is reported. Sense data will be as described in; PC
62 Commands LOG SENSE 4Dh LOG SENSE allows the host to read the drive’s logs. A single log is returned with each invocation of LOG SENSE . Pre-Execution Checks: The Page Code must match one of the supported log page codes. If it does not, then CHECK CONDITION status is reported. Sense data will be a...
Page 63 - Log Page Format; number of parameters. The page header has the following format:; command only, the four bytes shown above are sent for each; command one or more parameters is sent. See the actual; Allocation
Commands 63 Co m m an ds Log Page Format All log pages except Page 0 consist of a page code header followed by a number of parameters. The page header has the following format: The page code is a byte value that uniquely identifies which Log Page is being returned. The Page Length indicates the numb...
Page 64 - Supported Log Pages Page; This SCSI log may be recovered using a; command with the PC field
64 Commands Supported Log Pages Page This SCSI log may be recovered using a Log Sense command with the PC field set to anything and the Page Code field set to 00h. The page lists the page codes of other logs supported by the drive. It can neither be reset nor written.The page has the following forma...
Page 65 - Write Error Counters Log Page; This data can be reset to zero, but not written.
Commands 65 Co m m an ds Write Error Counters Log Page The Write Error Counters log is page 02h. The Page Length is 38h. There are seven parameters, 0 through 6. Parameters 0 through 2 are not supported and are returned as zero. All fields are four bytes long.All these counters are updated when the ...
Page 66 - Read Error Counters Log Page; to the current tape and are cleared when the tape is unloaded.; Sequential Access Device Log Page; Five parameters are supported, all eight bytes long:
66 Commands Read Error Counters Log Page The Read Error Counters log is page 03h. The Page Length is 38h. There are seven parameters, 0 through 6. Parameters 0 through 2 are not supported and are returned as zero. All fields are four bytes long.All these counters are updated when the data set is phy...
Page 67 - across hard resets and power cycles.; TapeAlert Log Page; by a; command. Specific flags may be cleared when corrective action
Commands 67 Co m m an ds A non-zero value of the cleaning required parameter indicates that a condition requiring cleaning has been detected and a subsequent cleaning cycle has not yet been completed. The cleaning required parameter shall be persistent across hard resets and power cycles. TapeAlert ...
Page 69 - Tape Usage Log Page; Description
Commands 69 Co m m an ds Tape Usage Log Page The Tape Usage Log Page code is 30h. There are nine parameters. These are all read directly from the LTO-CM Tape Usage Log.This data can be neither reset nor written. Tape Capacity Log Page The Tape Capacity Log Page code is 31h. The Page Length is 20h. T...
Page 70 - Data Compression Log Page; The Data Compression Log Page code is 32h and the page length is 4Ch.; Performance Data Log Page
70 Commands Data Compression Log Page The Data Compression Log Page code is 32h and the page length is 4Ch. There are ten parameters, 0 through 9. Parameters 0 and 1 are two bytes long. Parameters 2 through 9 are each 4 bytes long.The supported fields are listed below. Parameters 2 through 9 occur a...
Page 71 - reset when the log page is reset. The parameters are as follows.; Native data rate
Commands 71 Co m m an ds All the parameters relate to the current tape. They are all cleared when the tape is unloaded, except Parameter 4, which is never cleared. All data will be reset when the log page is reset. The parameters are as follows. 2 Maximum data rate 2 After each data set has been log...
Page 72 - MODE SELECT
72 Commands MODE SELECT 15h/55h M ODE SELECT is used to send configuration data to the drive. Both 6-byte and 10-byte versions of the command are supported.The Mode Select parameter list is transferred from the host to the drive during the data-out phase. It contains zero or more bytes of informatio...
Page 73 - PF; Parameter List
Commands 73 Co m m an ds 10-Byte version CDB Fields: Specific Status: Following a successful Mode Select command, Unit Attention status is posted to all initiators other than the initiator of the Mode Select command. The sense 1 Reserved (0) PF Reserved (0) SP (0) 2 Reserved (0) 3 Reserved (0) 4 Par...
Page 74 - Mode Parameter Pages; Mode Page Representation
74 Commands key is set to UNIT ATTENTION . Additional sense is set to 2A01h (mode parameters changed). Mode Parameter Pages Mode data is recovered from the drive by means of a Mode Sense command. After modification, it is returned to the drive via a Mode Select command. In real-life, many hosts do n...
Page 75 - HP Ultrium drives support the following pages:; only; Mode Parameter Header; data. It is always returned at the start of Mode Sense data.
Commands 75 Co m m an ds Mode Parameter Pages HP Ultrium drives support the following pages: ■ “Read-Write Error Recovery Mode Page” on page 78 ■ “Disconnect-Reconnect Page” on page 79 ■ “Control Mode Page” on page 81 ■ “Data Compression Log Page” on page 70 ■ “Device Configuration Page” on page 83 ...
Page 76 - Header Fields; Mode Data Length
76 Commands 10-byte Header The 10-byte Mode Parameter header has the following format: Header Fields 7 6 5 4 3 2 1 0 0 (MSB) Mode Data Length 1 (LSB) 2 Medium Type [00h] 3 WP Buffered Mode [001b] Speed (0) 4 Reserved (0) 56 (MSB) Block Descriptor Length 7 (LSB) Mode Data Length MODE SELECT: Mode Dat...
Page 77 - The format of the Mode Parameter block descriptor is as follows:; Mode Parameter Block Descriptor Fields:; and
Commands 77 Co m m an ds Mode Block Descriptor The format of the Mode Parameter block descriptor is as follows: Mode Parameter Block Descriptor Fields: 2 The drive will report GOOD status for WRITE and WRITE FILEMARKS commands as soon as all the data or marks specified in the command have been trans...
Page 78 - Read-Write Error Recovery Mode Page; The Read-Write Error Recovery Mode Page has the following format:; EER; PER; DTE; DCR
78 Commands Read-Write Error Recovery Mode Page The Read-Write Error Recovery Mode Page has the following format: Read-Write Error Recovery Page Fields: 7 6 5 4 3 2 1 0 0 PS (0) Rsvd (0) Page Code {01h} 1 Additional Page Length {0Ah} 2 Reserved (0) TB (0) Res (0) EER (1) PER [0] DTE (0) DCR (0) 3 Re...
Page 79 - Disconnect-Reconnect Page; Read Retry Count; Write Retry Count
Commands 79 Co m m an ds Disconnect-Reconnect Page SCSI Drives The Disconnect-Reconnect Page has the following format for SCSI drives: Read Retry Count The number of times the drive will attempt its recovery algorithm during a read operation before reporting an unrecoverable error. 0 The drive will ...
Page 80 - FC Drives
80 Commands FC Drives The Disconnect-Reconnect Page has the following format for FC drives: Disconnect-Reconnect Page Fields: 7 6 5 4 3 2 1 0 0 PS (0) Rsvd (0) Page Code {02h} 1 Additional Page Length {0Eh} 2 Buffer Full Ratio (0) 3 Buffer Empty Ratio (0) 4 (MSB) Bus Inactivity Limit (0) 5 (LSB) 6 (...
Page 81 - Control Mode Page; FAA; FAB
Commands 81 Co m m an ds Note If the host does not grant disconnect privilege in its IDENTIFY message these parameters become meaningless. The drive will stay connected on the bus for the duration of an operation or until the host sends a mid-operation IDENTIFY granting disconnect privilege. Control...
Page 82 - Control Mode Page Fields:; Data Compression Characteristics Page; Data Compression Characteristics Mode Page Fields:; DCE
82 Commands Control Mode Page Fields: Data Compression Characteristics Page The Data Compression Characteristics Mode page is defined as follows: Data Compression Characteristics Mode Page Fields: Autoload Mode 0 If a cartridge is inserted, the drive pulls it in and threads the tape. 1 or 2 When a c...
Page 83 - Device Configuration Page
Commands 83 Co m m an ds Device Configuration Page The drive supports the Device Configuration Page, which has the following format: DDE Data Decompression Enable Read only. It will have the value of 1, indicating that compression is enabled. RED Report Exception on Decompression Read only. It will ...
Page 85 - Medium Partitions Mode Page; the fields are changeable. The Partition Size will be patronized.
Commands 85 Co m m an ds Medium Partitions Mode Page The Medium Partitions Mode Page has the following format. Note that none of the fields are changeable. The Partition Size will be patronized. Rsmk 0 The Report Set Marks flag should be clear since this feature is not supported. AVC 0 The Automatic...
Page 86 - None of the fields in this mode page are changeable.; Fibre Channel Logical Unit Control Mode Page; This page is supported for Fibre Channel only:
86 Commands None of the fields in this mode page are changeable. Fibre Channel Logical Unit Control Mode Page This page is supported for Fibre Channel only: Maximum Additional Partitions 0 Zero is returned, indicating that no additional partitions are present or supported. Additional Partitions Defi...
Page 87 - Fibre Channel Port Control Mode Page; PLPB; DDIS
Commands 87 Co m m an ds Fibre Channel Port Control Mode Page This page is supported for Fibre Channel only: The Fibre Channel Port Control Page allows you to set the initialization and addressing behavior of the Fibre Channel interface. EPDC 0 The target does not use the precise delivery function a...
Page 89 - Information Exceptions Mode Page; through the; Test
Commands 89 Co m m an ds Information Exceptions Mode Page The Information Exceptions Mode page is used to control exception reporting through the “TapeAlert Log Page” on page 67 : 7 6 5 4 3 2 1 0 0 PS (0) Rsvd (0) Page Code {1Ch} 1 Page Length {0Ah) 2 Perf (0) Reserved (0) DExcpt Test Rsvd (0) LogEr...
Page 90 - will be reported with a sense key of; and additional sense of 2600h (invalid field in parameter list).; Interval Timer
90 Commands Note that if an attempt is made to set or clear a flag that is not supported by the drive, CHECK CONDITION will be reported with a sense key of ILLEGAL REQUEST and additional sense of 2600h (invalid field in parameter list). LogErr 0 Log Errors bit. This bit must be zero, indicating that...
Page 92 - DBD
92 Commands 10-Byte Version CDB Fields: 3 Reserved (0) 4 Allocation Length 5 Control 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 0 Operation Code (5Ah) 1 Reserved (0) DBD Reserved (0) 2 PC Page Code 3 (MSB) Reserved (0) 6 (LSB) 7 (MSB) Allocation Length 8 (LSB) 9 Control DBD Disable Block Descriptors flag 0 All...
Page 94 - PREVENT/ALLOW MEDIUM REMOVAL; Prevent
94 Commands PREVENT/ALLOW MEDIUM REMOVAL 1Eh PREVENT / ALLOW MEDIUM REMOVAL tells the drive to enable or disable the removal of the cartridge.When cartridge removal is prevented, the front panel eject button is completely disabled (though a ‘forced eject’ will still work). An Unload command issued b...
Page 95 - READ
Commands 95 Co m m an ds READ 08h READ transfers zero or more data blocks to the host starting at the current logical position. Pre-Execution Checks: If both the SILI and Fixed bits are set, CHECK CONDITION status is reported. Sense data is as described in the Illegal Field Checks. The field pointer...
Page 96 - SILI; Fixed
96 Commands If the fixed flag is set and the Transfer Length field is not zero and the Suppress Illegal Length Indicator (SILI) flag is clear, a sequence of blocks of the currently configured block length is to be returned, the number of blocks being indicated in the Transfer Length field. If there ...
Page 97 - Read Specific Status:; the initiator with; of that block and; status (ILI will be reported as described; the last block that was partially returned.
Commands 97 Co m m an ds Read Specific Status: 1 The Transfer Length field specifies the length of the transfer in blocks. The size of each block (in bytes) is specified by the current block length specified in the Mode Parameter block descriptor. If SILI = 0, a sequence of blocks of the currently c...
Page 98 - Early warning end of medium information is not reported on
98 Commands Note Early warning end of medium information is not reported on reads. Residue Information: The Valid bit will be set. The information bytes will be as follows: Failure to read data through media error or non-fatal drive error CHECK COND’N MEDIUM ERROR Additional sense is set to 1100h (u...
Page 99 - READ ATTRIBUTE
Commands 99 Co m m an ds READ ATTRIBUTE 8Ch The READ ATTRIBUTE command allows an application client to read attribute values to MAM (Medium Auxiliary Memory) and also to discover what MAM exists at the device server. Pre-Execution Checks: If the MAM is not accessible because there is no tape in the ...
Page 101 - Returned Data for Service Actions:; Attribute Values Service Action; “MAM Attribute Data” on page 103; Attribute List Service Action; The format of the returned data is as follows:
Commands 101 Co m m an ds Returned Data for Service Actions: Attribute Values Service Action This service reads the values of attributes for the specified volume and partition, starting at the First Attribute ID. The attributes are returned in ascending numerical order. The format of the returned da...
Page 102 - Partition List Service Action
102 Commands The Available Data field specifies the length in bytes of the following data. If the amount of parameter data sent to the application client is reduced due to insufficient allocation length, the Available Data field shall not be altered.A two-byte Attribute ID is returned for each attri...
Page 103 - MAM Attribute Data; Attribute ID; Format
Commands 103 Co m m an ds The Number of Volumes Available indicates the number of partitions available. Since Ultrium drives do not support multiple volumes, this is 1. MAM Attribute Data Attribute data sent with a WRITE ATTRIBUTE command or returned in response to a READ ATTRIBUTE command has the f...
Page 104 - Attribute ID Values; changes or updates as follows.; Device Common Attributes
104 Commands Attribute ID Values The values in the Attribute ID field are assigned according to the source of changes or updates as follows. Device Common Attributes The device server maintains and updates the contents of these attributes within the MAM when it and the associated tape are present. A...
Page 105 - command by the
Commands 105 Co m m an ds Remaining Capacity in Partition and Maximum Capacity in Partition These are native capacities in MB, assuming no data compression. Load Count The number of times this tape has been fully loaded. This parameter should not be reset by any action of the device server. MAM Spac...
Page 106 - Medium Common Attributes; identifies the manufacturer’s serial number for the
106 Commands Medium Common Attributes These attributes are hard coded into the MAM at manufacture time. The attributes defined are shown in Table 16. All the attributes are read-only (Read-Only = 1). The Medium Manufacturer field should contain a value listed in the Vendor Identification list (see A...
Page 107 - Host Common Attributes
Commands 107 Co m m an ds The MAM Capacity is the total capacity of the MAM, in bytes, at manufacture time. It does not indicate the free space of a ‘blank’ MAM as some of the MAM space may be reserved for device-specific use that is inaccessible to the application client.The Medium Type and Medium ...
Page 109 - default action will be to load/unload at the beginning of media.
Commands 109 Co m m an ds The Partition User Text Label is a user level identifier for the partition specified in the CDB Partition Number fieldThe Load/Unload at Partition attribute indicates whether the media can be loaded or unloaded at the Partition specified in the CDB Partition Number field. I...
Page 110 - READ BLOCK LIMITS; tells the drive to return data defining the maximum block
110 Commands READ BLOCK LIMITS 05h R EAD BLOCK LIMITS tells the drive to return data defining the maximum block size that it can support. Note that this is the maximum supportable, not the fixed block size. Pre-Execution Checks: Command Descriptor Block: Read Block Limits Data: Illegal Field Reserva...
Page 111 - READ BUFFER; reads data from the memory on the drive and sends it to the; status is; Mode
Commands 111 Co m m an ds READ BUFFER 3Ch R EAD BUFFER reads data from the memory on the drive and sends it to the initiator. The value of the Mode field determines whether only the 4-byte descriptor is returned, only the data is returned, or whether both are returned. Pre-Execution Checks: If any o...
Page 113 - The format of the 4-byte descriptor for Mode 00000b is as follows:
Commands 113 Co m m an ds Returned Data: The format of the 4-byte descriptor for Mode 00000b is as follows: The format of the 4-byte descriptor for Mode 00011b is as follows: 23h 03000000h + Buffer Offset (in other words, +48 MB) Processor Memory Not all of the Processor Memory space is accessible. ...
Page 115 - command returns data representing the current logical; TCLP; Long
Commands 115 Co m m an ds READ POSITION 34h The READ POSITION command returns data representing the current logical position to the host. The position is the count of all marks and blocks between BOM and the current logical position. The first block is block 0.Two forms of the command are supported,...
Page 116 - terminate with; status. The sense key will be set to; Returned Data—Short Read Position:; The format of the 20 bytes of data returned in short format for; Returned Data Fields:; BOP
116 Commands The Long bit and the TCLP bit must be equal. If they are not, the command will terminate with CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST with additional sense of 2400h (invalid field in CDB). Returned Data—Short Read Position: The format of the 20 bytes of data...
Page 117 - Returned Data—Long Read Position:; The format of the 32 bytes of data returned in long format for
Commands 117 Co m m an ds Returned Data—Long Read Position: The format of the 32 bytes of data returned in long format for READ POSITION is as follows: Returned Data Fields: Most of the fields are the same as for the Short format. The new fields are as follows: BPU Block Position Unknown 0 The First...
Page 118 - MPU; Partition Number; File Number
118 Commands MPU Mark Position Unknown 0 The File Number and Set Number fields are valid. 1 Mark position is unknown. If set, then the File Number and Set Number fields are undefined. This would be set only after a “hard” read error which resulted in the setting of positioning error sense such as 3B...
Page 119 - RECEIVE DIAGNOSTICS RESULTS; tells the drive to return data from the last; If the drive not is connected to a compatible enclosure, a; with Sense key of; and additional sense of
Commands 119 Co m m an ds RECEIVE DIAGNOSTICS RESULTS 1Ch R ECEIVE DIAGNOSTIC RESULTS tells the drive to return data from the last diagnostic test requested through the SEND DIAGNOSTIC command. If none has been sent, the data refers to the power-on self-test. Pre-Execution Checks: Command Descriptor...
Page 120 - Data Returned; Page Format for Write:; Page Format for Read:
120 Commands If other invalid pages are requested, CHECK CONDITION will result with status of ILLEGAL REQUEST and additional sense of 2601h, “parameter not supported”. Data Returned Page Code 70h — Self-Test (Read/Write) Page Format for Write: No parameters are needed. Sending this page is equivalen...
Page 121 - RELEASE UNIT; enables the host to release any reservation it may have on the; The 10-byte RELEASE UNIT command is supported by all drives. Its; Third-Party Device ID
Commands 121 Co m m an ds RELEASE UNIT 17h/57h R ELEASE UNIT enables the host to release any reservation it may have on the drive. Reserving a device is a way of ensuring exclusive access to that device from a single initiator for the period of the reservation. The drive may be reserved using a RESE...
Page 122 - Release Unit Specific Status:; Status is returned as follows:; If the drive is reserved by another host,; rd Pty
122 Commands 10-Byte Only Release Unit Specific Status: Status is returned as follows: ■ If the drive is not reserved, GOOD status is reported. ■ If the drive is reserved by another host, GOOD status is reported. ■ If the drive is reserved by this host for this host, the reservation status is cleare...
Page 123 - REPORT DENSITY SUPPORT; command returns details about the tape formats; Media
Commands 123 Co m m an ds REPORT DENSITY SUPPORT 44h The Report Density Support command returns details about the tape formats supported by the drive.The data is returned as a header and a series of descriptor blocks. Pre-Execution Checks Command Descriptor Block CDB Fields Illegal Field Deferred Er...
Page 124 - blocks with the following format:
124 Commands Header The available length gives the total amount of data that is available to be returned. Descriptor Blocks The header is followed by one or more Report Density Support descriptor blocks with the following format: 7 6 5 4 3 2 1 0 0 (MSB) Available Density Descriptor Length 1 (LSB) 2 ...
Page 125 - The values reported for the Ultrium 2 format tapes are as follows:
Commands 125 Co m m an ds The values reported for the Ultrium 2 format tapes are as follows: 24 (MSB) Density Name 31 (LSB) 32 (MSB) Description 51 (LSB) 7 6 5 4 3 2 1 0 Primary Density Code 42h This is reported via the MODE SENSE command. Secondary Density Code 42h Not used WRTOK The Write OK flag ...
Page 126 - REPORT LUNS; command allows the host to retrieve information about what
126 Commands REPORT LUNS A0h Description: The Report LUNS command allows the host to retrieve information about what logical units the drive supports. The standard drive only has a single LUN. Pre-Execution Checks: Command Descriptor Block: CDB Fields: Data Returned: Illegal Field 7 6 5 4 3 2 1 0 0 ...
Page 128 - REQUEST SENSE; “Sense Data Management” on page 131
128 Commands REQUEST SENSE 03h The REQUEST SENSE command transfers sense data held within the drive to the host during a data-in phase. The data is valid in the following circumstances: ■ After reporting CHECK CONDITION status to the host. ■ After a command has terminated with an unexpected BUS FREE...
Page 129 - Request Sense Data; command following the reporting of; Logical Unit
Commands 129 Co m m an ds CDB Fields: Request Sense Data The following diagram shows the format of the data returned for the REQUEST SENSE command following the reporting of CHECK CONDITION by the drive: Logical Unit Number This field is ignored. Allocation Length 0 No data is transferred to the hos...
Page 130 - Returned Sense Data Fields:
130 Commands Returned Sense Data Fields: Valid 1 Indicates that the information bytes contain valid information as defined in the SCSI specification. Error Code 70h Indicates that the error is current , that is, it is associated with the command for which CHECK CONDITION status has been reported. 71...
Page 131 - Sense Data Management; single host the following sense data is maintained:; sense; Bit Pointer; Chapter 10 of the; Hardware; , Volume 1 of the HP Ultrium Technical Reference Manual
Commands 131 Co m m an ds Sense Data Management The drive maintains three sets of sense data for every initiator on the bus. For a single host the following sense data is maintained: ■ Current sense ■ U NIT ATTENTION sense 1 The Sense Key Specific Bytes are valid. This will only happen when the byte...
Page 132 - Current Sense; Current sense; Clearing Current Sense:; UNIT ATTENTION Sense
132 Commands ■ D EFERRED ERROR sense Unless otherwise stated, all the following descriptions apply to the sense data for a single host whose command is being executed. Current Sense Current sense is the data that is returned in response to a REQUEST SENSE command. It is modified or updated in the fo...
Page 133 - DEFERRED ERROR Sense
Commands 133 Co m m an ds ■ Power On, SCSI Reset, Bus Device Reset ■ Media inserted ■ A load command executed by a third party ■ Mode Sense parameters changed by another initiator ■ Drive firmware has been updated U NIT ATTENTION sense will persist for a host until the host sends a command that has ...
Page 134 - Bus Release Deferred Errors:
134 Commands ■ The operation was abandoned without status (that is, a bus release occurred) after what the drive perceived was a catastrophic error or when an error occurred following the drive’s honoring of an ABORT message. Following the bus release, the drive performed “cleanup” activity that fai...
Page 135 - occurs while trying to complete the read, the sense generated is a; . It is therefore possible but highly unlikely to have; sense flagged for a command without immediate report.; Sense Keys; Code
Commands 135 Co m m an ds about to be transferred, or was being transferred. If an error subsequently occurs while trying to complete the read, the sense generated is a DEFERRED ERROR . It is therefore possible but highly unlikely to have DEFERRED ERROR sense flagged for a command without immediate ...
Page 136 - Additional Sense Codes
136 Commands Additional Sense Codes This section contains a list of all the additional sense codes that an HP Ultrium drive can return, in numerical order. The Sense Keys under which each code could appear are also listed. The ASCQ bytes are present at bytes 12 and 13 of the sense data. 8h BLANK CHE...
Page 139 - XXh
Commands 139 Co m m an ds 3B 00h Sequential positioning error A command has failed and left the logical position at an unexpected location. 3D 00h Invalid bits in Identify message An illegal Identify message has been received by the drive at the start of a command. 3E 00h Logical unit has not self-c...
Page 140 - Error Codes; Hardware Integration Guide; , Volume 1 of the HP Ultrium Technical
140 Commands Error Codes The error codes that can be reported in bytes 16 and 17 are listed in Chapter 10 of the Hardware Integration Guide , Volume 1 of the HP Ultrium Technical Reference Manual. 53 02h Medium removal prevented An UNLOAD command has failed to eject the tape because medium removal h...
Page 144 - tells the drive to position the tape at BOM (beginning of media).
144 Commands REWIND 01h R EWIND tells the drive to position the tape at BOM (beginning of media). Before rewinding, the drive writes any write-behind data in the buffer to tape. Once a rewind is started, it will complete even if the SCSI operation is aborted (for example, if the host selects and sen...
Page 145 - SEND DIAGNOSTIC; tells the drive to perform either its standard self-test, or; is reported. Sense data will be as described in Illegal
Commands 145 Co m m an ds SEND DIAGNOSTIC 1Dh S END DIAGNOSTIC tells the drive to perform either its standard self-test, or diagnostics specified in the parameter list on itself. The parameter list is transferred to the drive in a series of data-out phases; each 8-byte data-out phase specifies a dia...
Page 146 - DevOffl
146 Commands Data Required No data is required if the standard self-test is to be performed. Otherwise, a single diagnostic page must be provided as a parameter. Specific Status Any Send Diagnostic command received with a Enclosure Services page number (01h to 0Fh) will generate CHECK CONDITION with...
Page 147 - With a tape
Commands 147 Co m m an ds Standard Self-Test With a tape inserted: If Self-Test = 1 and UntOffl = 0, a test is performed that does not affect the contents of the tape. This test is a more extensive set of the tests carried out at power-on.If UntOffl = 1, the tape contents can be overwritten and will...
Page 148 - The Code field must be 0, 1 or 3. If it is not then
148 Commands SPACE 11h S PACE provides a variety of positioning functions that are determined by Code and Count fields in the Command Descriptor Block. Both forward (towards EOM) and reverse (towards BOM) positioning are provided. Any unwritten data in the buffer is flushed to tape before the space ...
Page 149 - Space Specific Status:; Count; EOD; BOM; EOM
Commands 149 Co m m an ds Space Specific Status: If the drive fails to space either from a medium error or from some sort of non- fatal drive error, CHECK CONDITION status is reported. The sense key will be set to MEDIUM ERROR . Additional sense depends on the nature of the error. The two most commo...
Page 151 - TEST UNIT READY; checks if the drive is ready for commands that access the
Commands 151 Co m m an ds TEST UNIT READY 00h T EST UNIT READY checks if the drive is ready for commands that access the tape. This is done by the pre-execution Media Access check; it is not a request for a self-test. If the drive has a tape loaded, the command returns a GOOD status. Otherwise, CHEC...
Page 153 - BCmp; Verification
Commands 153 Co m m an ds BCmp 0 The Byte compare option is not supported, so this bit must be 0. Fixed 0 The Verification Length field specifies the length of the data to be verified in bytes. 1 The Verification field specifies the length of the data to be verified in blocks. The size of each block...
Page 154 - WRITE 0Ah
154 Commands WRITE 0Ah Zero or more blocks of data are transferred from the host to tape starting at the current logical position.It is recommended that the Buffered Mode field of the MODE SELECT Parameter is set to either 1 or 2 so that Immediate reporting is enabled; upon a write command the drive...
Page 155 - Write Specific Status:; “Additional Sense Codes” on page 136; Transfer Length
Commands 155 Co m m an ds CDB Fields: Write Specific Status: See also the “Additional Sense Codes” on page 136 for a variety of possible hard errors.An attempt to write to a write-protected cartridge will produce a CHECK CONDITION with a sense key of DATA PROTECT and additional sense of 2700h (write...
Page 159 - Parameter List Format:; ascending numerical order. For details of attribute data see
Commands 159 Co m m an ds CDB Fields: Parameter List Format: The parameter list has the following format. The attributes should be sent in ascending numerical order. For details of attribute data see “MAM Attribute Data” on page 103 . Volume Number The number of the volume within the MAM. The number...
Page 160 - Caution
160 Commands WRITE BUFFER 3Bh Write Buffer is used to transfer data into memory on the drive for the purposes of diagnostics, tests or firmware upgrade. The data is placed into one of the drive buffers depending on the Mode and Buffer ID fields of the command. Caution Do not attempt to use the buffe...
Page 162 - Memory Sizes; Main Buffer; Buffer Offset; Buffer ID
162 Commands Memory Sizes Main Buffer Memory: The Main Buffer Memory is 64 MBTwo areas of the Main Buffer Memory (000000h–0FFFFFh and FC0000h– FFFFFFh) are used by the firmware. These should not be written to and should not be expected to retain values that are written to them.Avoiding these areas, ...
Page 163 - Main Processor
Commands 163 Co m m an ds Main Processor Memory: Not all the Processor Memory space is accessible. The following table shows valid address segments: SCSI Burst Buffer: The buffer is 192 Kb, that is, addresses from 00000h through 30000h. PCA EEPROM: The write range is limited to 100h bytes, starting ...
Page 164 - WRITE FILEMARKS; causes the specified number of filemarks to be written; sense is identical to status for the; WSmk
164 Commands WRITE FILEMARKS 10h W RITE FILEMARKS causes the specified number of filemarks to be written beginning at the current logical position on tape.If the Immed bit is set, GOOD status may be reported and the marks left in the data buffer. Otherwise, all buffered data and marks are written be...
Page 165 - Glossary; rules are for transforming the way data is represented.; ratio of between 2:1 and 4:1 depending on the nature of the data.; glossary
glossary 165 Glossary algorithm A rigorous set of rules for a procedure. In the context of data compression, the rules are for transforming the way data is represented. ANSI American National Standards Institute, which sets standards for, amongst other things, SCSI and the safety of electrical devic...
Page 166 - See
166 glossary (16-bit) data transfer, two bytes are transferred at the same time instead of a single byte. HP Ultrium drives support asynchronous, synchronous and wide transfers. decompression A procedure in which the original data is generated from compressed data. DSIT Data Set Information Table. P...
Page 168 - spacing; synchronous; see; TapeAlert
168 glossary Ultra2 SCSI can transfer data at up to 80 MB/s wide, using a cable of up to 25 meters total length for a single device, or up to 12 meters for two or more devices (it is also known as “Fast40”). Ultra3 or Ultra160 can transfer data at up to 160 MB/s wide. Cable lengths are as for Ultra2...
Page 169 - Index; index
Index 169 Index A abort handling 16 Aborted Command 136 ACK signal 24 additional sense codes 130 , 136 addressing, fibre channel 20 algorithms 165 compression 83 decompression 83 ANSI 3 , 165 append error 139 asynchronous 165 asynchronous data transfer 13 ATN signal 24 B Bad LUN check 32 bit pointer...