Seagate Viper 200 Scsi Interface Manual

Lto tape drive
Table of Contents

Advertisement

Quick Links

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . .
Viper 200
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . .
LTO Tape Drive
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . .
SCSI Interface Manual
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . .

Advertisement

Table of Contents
loading

Summary of Contents for Seagate Viper 200

  • Page 1 ..Viper 200 ........
  • Page 2 ..Viper 200 ........
  • Page 3 © 2001 Seagate Removable Storage Solutions, LLC. All rights reserved Manufacturing Part Number: 100109647, Rev. B Seagate and the Seagate logo are trademarks of Seagate Technology, LLC. Viper is a trademark of Seagate Removable Storage Systems, LLC. Other product names are trademarks or registered trademarks of their owners.
  • Page 4 Important Information About This Manual All information contained in or disclosed by this document is proprietary to Seagate Technology. By accepting this material, the recipient agrees that this material and the information contained therein are held in confidence and in trust and will not be used, reproduced in whole or in part, nor its contents revealed to others, except to meet the purpose for which it was delivered.
  • Page 5: Table Of Contents

    Page iv LTO SCSI Interface Manual Contents Introduction About This Manual ...................... 1 SCSI Interface Overview ANSI SCSI Bus Standards ................... 2 Cabling and Connectors ..................2 SCSI Conformance ..................... 3 General features....................3 Interface standards conformance ................. 3 LTO Conformance....................... 3 Strategy........................
  • Page 6 Contents Page v Command Descriptor Blocks ..................17 Command Descriptor Block Formats ..............17 Operation Code Format..................18 Control Byte Format ....................18 Command Status .......................19 Status Byte Format....................19 Status Codes.......................19 ERASE........................20 Command Descriptor Block.................20 Completion Status ....................21 INQUIRY ........................22 Command Descriptor Block.................22 Standard Inquiry Data Page ................23 Supported Vital Product Data (VPD) Page (00h) ..........24 Unit Serial Number Page (80h) ................25 Device Identification Page (83h) .................26...
  • Page 7 Page vi LTO SCSI Interface Manual Tape Capacity Log (31h) ..................49 Data Compression Log (32h) ................49 Completion Status ....................50 MODE SELECT ......................51 Command Descriptor Block................51 Mode Select Parameters ..................52 Mode Parameter Header ..................53 Block Descriptor ....................
  • Page 8 Contents Page vii Read Buffer Descriptor..................82 MAM Page Definitions ..................82 Completion Status ....................83 READ POSITION.......................84 Command Descriptor Block.................84 Read Position Data .....................84 Completion Status ....................88 RECEIVE DIAGNOSTIC RESULTS ................89 Command Descriptor Block.................89 Returned Data .....................89 Completion Status ....................90 RELEASE UNIT ......................91 Command Descriptor Blocks................91 Completion Status ....................92 REPORT DENSITY SUPPORT .................93...
  • Page 9 Page viii LTO SCSI Interface Manual Command Descriptor Block................114 Space-by-Count Functions ................115 Space to EOD....................115 Completion Status .................... 116 TEST UNIT READY ....................117 Command Descriptor Block................117 Completion Status .................... 117 VERIFY ........................118 Command Descriptor Block................118 Verify Command Operation ................
  • Page 10: Introduction

    SCSI controller facilitates easy integration into a variety of systems. About This Manual The information in this manual applies specifically to the Viper 200 drive. For drive- specific installation and operational information, including SCSI connection information, refer to the Installation Guide or Product Description Manual for the...
  • Page 11: Scsi Interface Overview

    The drives have an internal SCSI controller integrated into the drive electronics. Each device ID on the SCSI bus may drive up to 16 logical units (LUN). Seagate LTO drives support only LUN 0.
  • Page 12: Scsi Conformance

    The term SCSI is used wherever it is not necessary to distinguish between the versions of SCSI. LTO Conformance Seagate LTO drives conform to the requirements of the Generation 1 SCSI Common Command Set Advisory Document (AU1-SCSI) for Ultrium format devices.
  • Page 13: Strategy

    Page 4 LTO SCSI Interface Manual Strategy Reset Condition When a reset is issued to the tape drive, the SCSI bus clears all uncompleted commands, releases all SCSI device reservations, sets the tape drive to default modes, and returns to the Bus Free phase. Unit Attention Condition The Unit Attention condition in the tape drive typically results from the following conditions:...
  • Page 14: Buffered Mode

    SCSI Interface Overview Page 5 Buffered Mode Buffered Mode allows the most efficient operation of a tape drive. The drive defaults to Buffered mode. In this mode, the drive signals Command Complete when all requested data for a Write command has been transferred from the host to the tape drive buffer.
  • Page 15: Disconnect/Reconnect Function

    Page 6 LTO SCSI Interface Manual Disconnect/Reconnect Function When the drive is performing a task not requiring communication with the Initiator or when the tape drive determines that a relatively long time has passed with no bus activity, it disconnects from the SCSI bus. Examples are: •...
  • Page 16: Variable And Fixed Mode Recording

    SCSI Interface Overview Page 7 remains higher than normal, use a cleaning cartridge to clean the read/write heads. If this procedure does not clear the problem, change to a new tape cartridge. If a hard error (unrecoverable error) occurs during operation, the drive terminates operation immediately and returns a Check Condition.
  • Page 17: Library Features

    Page 8 LTO SCSI Interface Manual The SCSI Read Block Limits command returns the minimum and maximum block sizes that the Viper drive can support. The Block Limits data is not modified to reflect the current mode of writing—fixed or variable. The Block Limits returned data is not modified to reflect the current block size for the next fixed-mode Write.
  • Page 18 SCSI Interface Overview Page 9 the library via the RS-422 interface. The Viper acts as a bridge, passing commands, data, and status between the initiator and the library, as specified in the Library Interface Encapsulated SCSI Protocol Manual. In SCSI Medium Changer terminology, the library or autoloader appears as an “independent medium changer,”...
  • Page 19: Scsi Messages And Status Codes

    LTO SCSI Interface Manual SCSI Messages and Status Codes SCSI Messages The SCSI message codes, descriptions, and directions are given in the following table. Each of these SCSI messages are supported by the Seagate LTO drive. Code Description Direction Command Complete...
  • Page 20: Outbound Messages

    SCSI Messages and Status Codes Page 11 Message Hex Code Definition Message This message is sent to the initiator when the message received by Reject the drive is unsupported or inappropriate. Restore This message causes the initiator to reset its data transfer pointers Pointers to the values they held when the last Save Data Pointers message was sent.
  • Page 21: Extended Messages

    Page 12 LTO SCSI Interface Manual Extended messages The following table lists extended SCSI messages and their definitions. Hex Code Message Definition Synchronous The drive will never initiate a Synchronous data transfer negotia- Data Transfer tion, but will expect the initiator to do so. Request If the message is received after selection and before command phase, it will then go to Message In phase and respond with a valid...
  • Page 22 SCSI Messages and Status Codes Page 13 State or Phase Description Data In Phase If the host detects a parity error while data is being transferred from the drive and asserts ATN, the drive: ♦ Terminates the transfer of data. ♦...
  • Page 23: Message Exception Handling

    Page 14 LTO SCSI Interface Manual Message exception handling Message exceptions are handled as described in the following tables. The numbers in the tables identify the actions that the drive takes when an exception under the identified conditions occurs. The actions are listed following the tables. Phase During Which ATN is Raised Message Selection...
  • Page 24 SCSI Messages and Status Codes Page 15 Actions: 1. The Message Out Reject disables the feature and continues. In case of Message In Disconnect, the drive disables further “Disconnects” on the current command. In case of Message In SDTR, both the initiator and the drive go to asynchronous mode.
  • Page 25: Scsi Commands

    Page 16 LTO SCSI Interface Manual SCSI Commands This chapter describes the SCSI commands for the LTO tape drive. Command Set The following table shows the SCSI commands for sequential access devices implemented by the drive. Group Code Command Page Test Unit Ready Rewind Request Sense...
  • Page 26: Conventions

    SCSI Commands Page 17 Conventions The commands in this chapter are listed in alphabetical order. Each command is described, its Command Descriptor Block (CDB) illustrated, and the Completion Status is given. Bits and fields defined in the ANSI SCSI documents that are not used by the drive are not described in this document.
  • Page 27: Operation Code Format

    Page 18 LTO SCSI Interface Manual Field Descriptions Field Byte Bits Description Operation The Operation Code is made up of the Group Code and the Com- Code mand Code. See Operation Code Format, below. Ignored The LUN field is residual from the SCSI-1 days and is ignored. Logical Unit Command...
  • Page 28: Command Status

    SCSI Commands Page 19 Command Status When the tape drive competes a command it responds with a status byte. The format of the status byte is shown below. Status Byte Format Bits Byte Reserved Status Code Field Descriptions Field Byte Bits Description Reserved...
  • Page 29: Erase

    Page 20 LTO SCSI Interface Manual ERASE The Erase command marks the tape, from the current position to the end of tape, as erased. Command Descriptor Block Bits Byte Operation Code (19h) Ignored LUN Reserved Immed Long Reserved Reserved Reserved Control Field Descriptions Field...
  • Page 30: Completion Status

    SCSI Commands Page 21 Completion Status Code Message Description • Good Status The drive remains in any previously set modes. • The drive is ready to perform any appropriate command. Note: If Immed is 1, then Good Status only indicates that the command is valid.
  • Page 31: Inquiry

    Page 22 LTO SCSI Interface Manual INQUIRY The Inquiry command requests that the drive return information about itself. If an Inquiry command is received from an Initiator with a pending Unit Attention Condition (before the drive reports Check Condition status), the drive performs the Inquiry command and does not clear the Unit Attention Condition.
  • Page 32: Standard Inquiry Data Page

    SCSI Commands Page 23 then that page is returned. Otherwise, Check Condition status is returned. The Sense Key is set to Invalid Request (5) and the additional Sense to Invalid Field in CDB (2400). Standard Inquiry Data Page Bits Byte Peripheral Qualifier Peripheral Device Type Reserved...
  • Page 33: Supported Vital Product Data (Vpd) Page (00H)

    TransDis Always 0, indicating Transfer Disable is not supported. CmdQ Always 0, indicating Command Queuing is not supported. Vendor 8-15 8 bytes of ASCII data: “SEAGATE” followed by 1 space. Identifica- tion Product 16-31 16 bytes of ASCII data: “ULTRIUM06242-XXX“.
  • Page 34: Unit Serial Number Page (80H)

    SCSI Commands Page 25 Bits Byte Board Serial Number Page Code Base Mechanical Serial Number Page Code Drive Status Page Code Field Descriptions Field Bytes Bits Description Peripheral Quali- Always 000b. fier Peripheral Device Normally 01h to indicate a sequential access device. Type 7Fh indicates that a logical unit is not present.
  • Page 35: Device Identification Page (83H)

    Page 26 LTO SCSI Interface Manual Bits Byte Page code Reserved Page Length 4-15 Drive Serial Number Field Descriptions Field Bytes Bits Description Peripheral Qualifier Always 000b. Peripheral Device Normally 01h to indicate a sequential access device. Type 7Fh indicates that a logical unit is not present. This value is returned when an invalid LUN is specified.
  • Page 36: Drive Component Revision Levels Pages (C0H, C1H)

    SCSI Commands Page 27 Bits Byte Reserved Identifier Length Identification Descriptor Field Descriptions Field Bytes Bits Description Code Set 1 = Identification Descriptor contains binary data. 2 = Identification Descriptor contains ASCII data. Identifier 1 = Identification Descriptor is Vendor ID and Product ID from Type Standard Inquiry Data Page, followed by Serial Number from the Unit Serial Number Page.
  • Page 37: Drive Component Serial Number Page (C2H,C3H,C4H,C5H,C6H)

    Page 28 LTO SCSI Interface Manual Field Bytes Bits Description Compo- 4-29 26 bytes of ASCII data, identifying the component. nent “SCSI FIRMWARE “ = SCSI Firmware Revision Page “SERVO FIRMWARE “ = Servo Firmware Revision Page Version 30-48 19 bytes of ASCII data, “XXXXXXXXXXXXXXXXXX” Date 49–72 24 bytes of ASCII data, “YYYY/MM/DD...
  • Page 38 SCSI Commands Page 29 Bits Byte Peripheral Qualifier Peripheral Device Type Page Code Reserved Page Length Drive State CmdFwd Alerts Rsvd NoRemovUnit Rsvd Rsvd Clean Reserved Lun1Cmd AutoloadMode Reserved Cartridge Type Cartridge Format (0) Cartridge Capacity, MSB Cartridge Capacity, LSB Port A Transport Type Port A Selection ID, MSB Port A Selection ID...
  • Page 39 Page 30 LTO SCSI Interface Manual Field Bytes Bits Description Unit Rsvd 0 = The unit is not reserved. The Initiator Selection Address field is invalid. 1 = An initiator has reserved the device. The Initiator Selection Ad- dress field contains the Selection Address of the initiator. BusReset 0 = No reset in process.
  • Page 40 SCSI Commands Page 31 Drive State Field Values The Medium Auxiliary Memory (MAM) can be accessed only in the states indicated. Value State Description Accessible DRIVE EMPTY NOT READY No cartridge in drive, but no commands may be issued or cartridge inserted. DRIVE EMPTY READY No cartridge in drive.
  • Page 41: Completion Status

    Page 32 LTO SCSI Interface Manual Completion Status Code Message Description ♦ The tape is not moved; the current position is maintained. Good Status ♦ The drive remains in any previously set modes. ♦ The drive is ready to perform any appropriate command. Check Condition Use the Request Sense command to retrieve status information.
  • Page 42: Load Unload

    SCSI Commands Page 33 LOAD UNLOAD The Load Unload command may be used to load or unload a cartridge. This command may also be used to request that the retension function be performed. Command Descriptor Block Bits Byte Operation Code (1Bh) Ignored LUN Reserved Immed...
  • Page 43 Page 34 LTO SCSI Interface Manual Medium Loadable Position Hold Reten Load Description No action taken, Good Status is returned. Load the medium to the Loaded position. The medium will be ready at BOT. Check condition, sense data 02/3A/03. Load the medium to the Loaded position and perform the retension operation.
  • Page 44: Completion Status

    SCSI Commands Page 35 If the Immediate (Immed) flag is 1, then the drive validates the command and waits for any previous command from any host to complete, including any immediate commands currently being processed, and for any buffered data to be flushed to tape.
  • Page 45: Locate

    Page 36 LTO SCSI Interface Manual LOCATE The Locate command moves to a specified position on the tape. Before the locate operation is performed, all buffered data and filemarks are transferred to tape. On completion, the logical position is before the specified location.
  • Page 46: Completion Status

    SCSI Commands Page 37 Completion Status Code Message Description ♦ The tape is positioned to the logical block address specified. Good ♦ The drive remains in any previously set mode. Status ♦ The drive is ready to perform any appropriate command. Note: If Immed is 1, then Good Status only indicates that the command is valid.
  • Page 47: Log Select

    Page 38 LTO SCSI Interface Manual LOG SELECT The Log Select and Log Sense commands work in conjunction to allow the host to control and obtain statistical information about cartridge usage and error rates. This information consists of counters of particular events. The Log Select command is used to reset the log counters to their default values.
  • Page 48: Log Pages

    SCSI Commands Page 39 Field Bytes Bits Description Control See Control Byte Format on page 18. Note: Pages 00h, 0Ch, 30h, and 31h cannot be reset by Log Select. The drive does not maintain a separate set of log parameters for each initiator. Therefore, a Log Select command affects all initiators.
  • Page 49 Page 40 LTO SCSI Interface Manual Disable 0 = Enables update of accumulated value when the corresponding Update event occurs. (DU) 1 = Disables update of all accumulated values within a log page when the corresponding event occurs. The drive sets this bit to indicate that the accumulated value of the parameter has reached its maximum value so that the drive can no longer in- crement any Parameter Values.
  • Page 50: Completion Status

    SCSI Commands Page 41 When a counter reaches the maximum, the counter is no longer incremented. If a maximum value for the parameter size is reached, the count does NOT roll over and continue counting. When any counter of a page reaches maximum, all counters of that page are no longer incremented.
  • Page 51: Log Sense

    Page 42 LTO SCSI Interface Manual LOG SENSE The Log Select and Log Sense commands work in conjunction to allow the host to control and obtain statistical information about cartridge usage and error rates. This information consists of counters of particular events. Log Sense data is obtained by specifying a log page in the Page Code field of the Log Sense CDB.
  • Page 52: The Parameter Pointer Field

    SCSI Commands Page 43 Field Bytes Bits Description Allocation The Allocation Length field specifies the maximum amount of mem- Length ory space (in bytes), which the initiator has reserved for Log Sense data. The drive returns the number of bytes contained in the requested page, or the requested Allocation Length, whichever is less.
  • Page 53 Page 44 LTO SCSI Interface Manual See Page Supported Log Pages Log Tape Usage Log Tape Capacity Log Data Compression Log Only one log page is transferred to the host with each Log Sense command. The Page Code field (Byte 2) of the CDB specifies the page to be transferred. A four-byte page header precedes the parameter data for each page.
  • Page 54: Supported Log Pages Log (00H)

    SCSI Commands Page 45 Field Descriptions Field Bytes Bits Description Parameter Identifies the log parameter returned. Log Parameters are always Code returned in ascending order. Disable 0 = Enables update of accumulated value when the corresponding Update event occurs. (DU) 1 = Disables update of all accumulated values within a log page when the corresponding event occurs.
  • Page 55: Write Error Counters Log (02H)

    Page 46 LTO SCSI Interface Manual Bits Byte Vendor Unique Error Counters (3Ah) Drive Usage Log (3Ch) Field Descriptions Field Bytes Bits Description Page Code Page Always 0Ah, indicating the page length. Length Supported Always 00h, the page code of the Supported Log Pages Log Log Pages Write Error Always 02h, the page code of the Write Error Counters Log...
  • Page 56: Read Error Counters Log (03H)

    SCSI Commands Page 47 Read Error Counters Log (03h) The Read Error Counters Log records read errors. The parameters on this page can be reset to 0 with the Log Select command. Page Code Page Length Parame- Description Length Always 0. Always 0.
  • Page 57: Tape Usage Log (30H)

    Page 48 LTO SCSI Interface Manual All parameters are one byte long. Each parameter is either zero to indicate the corresponding condition has not occurred or one to indicate that the corresponding condition has occurred. The log page is used in conjunction with Information Exceptions Mode Page (1Ch) that controls the action taken by the drive when a flag is set and sets various other control mechanisms of the Tape Alert system.
  • Page 58: Tape Capacity Log (31H)

    SCSI Commands Page 49 Parameter Description Length Total Data Sets Written Total Write Retries Total Unrecovered Write Errors Total Suspended Writes Total Fatal Suspended Writes Total Data Sets Read Total Read Retries Total Unrecovered Read Errors Reserved Reserved Total Suspended Append Writes Tape Capacity Log (31h) The Tape Capacity Log returns information about the tape capacity.
  • Page 59: Completion Status

    Page 50 LTO SCSI Interface Manual The first four-byte parameter of a pair represents millions of bytes (10 .) The second four-byte parameter of a pair represents the difference between the millions of bytes and the total number of bytes as a positive number in the range of 0 to 999,999. Thus the total number of bytes is the first four-byte parameter in bytes plus the second four-byte parameter.
  • Page 60: Mode Select

    SCSI Commands Page 51 MODE SELECT The Mode Select command allows the host to assign device parameters to the drive. After a power-on or SCSI reset condition, the drive sets its device parameters to the default values. By issuing a Mode Select command, the host can change the device parameters.
  • Page 61: Mode Select Parameters

    Page 52 LTO SCSI Interface Manual Field Bytes Bits Description Control See Control Byte Format on page 18. A value in the Parameter List Length field that truncates a parameter list causes the drive to return a Check Condition, and the request sense data is set to Illegal Request.
  • Page 62: Mode Parameter Header

    SCSI Commands Page 53 Mode Parameter Header 6-Byte CDB Mode Parameter Header Bits Byte Mode Data Length Reserved Buffered Mode Speed Block Descriptor Length Field Descriptions Field Bytes Bits Description Mode Data Mode Select: Always 0. Length Mode Sense: The number of bytes of data available. Mode Select: Ignored.
  • Page 63: Block Descriptor

    Page 54 LTO SCSI Interface Manual Field Descriptions Field Bytes Bits Description Mode Data Mode Select: Always 0. Length Mode Sense: The number of bytes of data available. Mode Select: Ignored. Mode Sense: 0 = The cartridge is not write protected. 1 = the cartridge is write protected.
  • Page 64: Mode Parameter Pages

    SCSI Commands Page 55 Mode Parameter Pages There are several mode parameter pages of different formats that allow you to set different drive parameters. The following mode parameter pages are supported: Mode Parameter Page See Page Disconnect/Reconnect Page (02h) Control Mode Page (0Ah) Data Compression Control Page (0Fh) Sequential Access Device Configuration Page (10h) Information Exceptions Mode Page (1Ch)
  • Page 65: Control Mode Page

    Page 56 LTO SCSI Interface Manual Bits Byte Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Maximum Burst Size, MSB Maximum Burst Size, LSB Reserved Reserved Reserved Reserved Field Descriptions Field Bytes Bits Description Page Always 02h, indicating the Disconnect/Reconnect Page Code Additional Always 0Eh, indicating that 14 parameter bytes follow the Page...
  • Page 66: Data Compression Control Page

    SCSI Commands Page 57 Reserved Reserved Field Descriptions Field Bytes Bits Description Page Always 0Ah, indicating the Control Mode Page. Code Additional Always 06h, indicating that 6 parameter bytes follow the Page Page Length byte. Length RLEC 0 = Drive does not Report Log Exception Conditions (RLEC) (de- fault).
  • Page 67: Sequential Access Device Configuration Page

    Page 58 LTO SCSI Interface Manual Field Bytes Bits Description 0 = Data compression is disabled. 1 = Data Compression is Enabled (DCE) (default). The drive com- presses data before writing to tape. Always 1, indicating that the drive is Data Compression Capable (DCC).
  • Page 68: Information Exceptions Mode Page

    SCSI Commands Page 59 Field Bytes Bits Description Active For- Always 0, indicating that changing formats is not supported Active Parti- Always 0, indicating that multiple partitions are not supported tion Write Buffer Always 0, indicating that buffer management is handled by the Full Ratio drive.
  • Page 69: Drive Capabilities Control Mode Page

    Page 60 LTO SCSI Interface Manual Test Flag Number Test Flag Number Test Flag Number, LSB Field Descriptions Field Bytes Bits Description Page 1Ch, indicating the Information Exceptions Mode Page. Code Additional Always 0Ah, indicating that 10 parameter bytes follow the Page Page Length byte.
  • Page 70: Interface Control Mode Page

    Support POST Mode 0 = Enable POST (default) 1 = Disable POST Inquiry String 0 = Standard Seagate Viper Inquiry string (default) Control 1 = Factory test only Inquiry string 1 2 = Factory test only Inquiry string 2 Firmware...
  • Page 71 Page 62 LTO SCSI Interface Manual Reserved CmdFwd 2StopBits Alerts Port A Transport Type Port A Present Selection ID, MSB Port A Present Selection ID Port A Present Selection ID, LSB Port B Transport Type Port B Present Selection ID, MSB Port B Present Selection ID Port B Present Selection ID, LSB Next Selection ID...
  • Page 72: Completion Status

    SCSI Commands Page 63 Field Bytes Bits Description Port B 9-11 Always 0 for SCSI drives Present Selection Next Se- The SCSI device ID that the drive will change to the next time it is lection ID reset. This is provided to obviate the need for changing address jumpers.
  • Page 73: Mode Sense

    Page 64 LTO SCSI Interface Manual MODE SENSE The MODE SENSE command allows the host to determine various drive parameters. These parameters are sent from the drive to the host as data formatted in a parameter list. This command is complementary to the Mode Select command that sets device parameters.
  • Page 74 SCSI Commands Page 65 Field Bytes Bits Description Page Control specifies the type of values to be returned. 00b = Report current values. 01b = Report changeable values. Any bit that can be changed by Mode Select is set to 1; otherwise, the bits are set to 0. 10b = Report default values.
  • Page 75: Mode Sense Data

    Page 66 LTO SCSI Interface Manual Field Bytes Bits Description Page Control specifies the type of values to be returned. 00b = Report current values. 01b = Report changeable values. Any bit that can be changed by Mode Select is set to 1; otherwise, the bits are set to 0. 10b = Report default values.
  • Page 76 SCSI Commands Page 67 Field Descriptions Field Bytes Bits Description Mode Data Mode Select: Always 0. Length Mode Sense: The number of bytes of data available. Medium Identifies the type of media currently in the drive. Type 0 = Data Cartridge 1 = Cleaning Cartridge Mode Select: Ignored.
  • Page 77: Block Descriptor

    Page 68 LTO SCSI Interface Manual Field Bytes Bits Description Speed This field indicates the tape speed. 0 = Default 3 = 2.077 m/sec (meter/second) 4 = 2.576 m/sec 5 = 3.097 m/sec 6 = 3.643 m/sec 7 = 4.153 m/sec Block 0 = No Block Descriptor follows.
  • Page 78: Mode Parameter Pages

    SCSI Commands Page 69 Mode Parameter Pages There are several mode parameter pages that allow you to retrieve different drive parameters. The format of these pages is described in the Mode Select command, starting on page 42. The following mode parameter pages are supported: Mode Parameter Page See Page Disconnect/Reconnect Page...
  • Page 79: Park Unpark

    Page 70 LTO SCSI Interface Manual PARK UNPARK The Park Unpark command with the park bit set requests that the drive park the load arm in preparation for transport. The Park Unpark command with the park bit not set requests that the drive load arm be unparked.
  • Page 80: Prevent Allow Media Removal

    SCSI Commands Page 71 PREVENT ALLOW MEDIA REMOVAL The Prevent Allow Medium Removal command requests that the target enable or disable the removal of the medium from the drive. The drive will not allow medium removal if any initiator currently has medium removal prevented. If medium removal is prevented and the medium is in the loaded position, then: •...
  • Page 81: Completion Status

    Page 72 LTO SCSI Interface Manual Completion Status Code Message Description • The drive is ready to perform any appropriate command. Good Status • The drive remains in any previously set mode. • The tape position is not changed. Check Condition Use the Request Sense command to retrieve status information.
  • Page 82: Read

    SCSI Commands Page 73 READ The READ command transfers one or more bytes or blocks from the drive to the Initiator beginning with the next block on tape. If the Fixed flag is clear and Transfer Length is not zero, then a single block of the length in Transfer Length is transferred.
  • Page 83 Page 74 LTO SCSI Interface Manual Field Descriptions Field Bytes Bits Description Operation The Operation Code for Read is 08h. Code Ignored The LUN field is residual from the SCSI-1 days and is ignored. Logical Unit SILI 0 = Return Check Status when an incorrect block length is de- tected.
  • Page 84: Read Command Operation

    SCSI Commands Page 75 long and Check Condition status. If a block that is shorter than the configured length is encountered before the sequence is complete, the blocks up to that block are returned followed by all of that block and Check Condition status. The current position is set after the last block that was returned or partially returned.
  • Page 85 Page 76 LTO SCSI Interface Manual End of Tape (EOT) or End-of-Partition (EOP) When the end-of-tape or end-of-partition position is encountered, the command terminates with a Check Condition and Medium Error (03h) sense key. The Valid bit (byte 0, bit 7) and the EOM bit (byte 2, bit 6) are set. The Residual Length field is then set as follows: •...
  • Page 86 SCSI Commands Page 77 The drive reports the Incorrect Length error based on the Suppress Incorrect Length Indicator (SILI) bit as follows: • If the actual block length exceeds the CDB Transfer Length, the Incorrect Length error is reported. • If the actual block length is smaller than the CDB Transfer Length and the SILI bit is 1, the drive ignores (that is, suppresses) the Incorrect Length error.
  • Page 87: Completion Status

    Page 78 LTO SCSI Interface Manual Variable Mode Residual Data When the Fixed bit is reset (0), the residual data is always set to the CDB Transfer Length. For example, assume the following: • The drive is currently positioned before block N. •...
  • Page 88: Read Block Limits

    SCSI Commands Page 79 READ BLOCK LIMITS The Read Block Limits command requests that the drive return the maximum and minimum block sizes that it supports. The minimum block length is always reported as 1 byte, the maximum as 2 -1 bytes.
  • Page 89: Completion Status

    Page 80 LTO SCSI Interface Manual Field Descriptions Field Bytes Bits Description Reserved All reserved bits must be 0. Maximum Always FFFFFFh, indicating a maximum block length of 2 -1 bytes. Block Length Minimum Always 0001h, indicating a minimum block length of 1. Block Length Completion Status...
  • Page 90: Read Buffer

    SCSI Commands Page 81 READ BUFFER The Read Buffer command reads data from the memory on the drive and sends it to the initiator. This command is used in conjunction with the Write Buffer command as a diagnostic function for testing the drive buffer memory and confirming the SCSI bus integrity.
  • Page 91: Read Buffer Descriptor

    Page 82 LTO SCSI Interface Manual A Mode of 0001b requests that data from the Medium Auxiliary Memory or EEPROM is returned. A Mode of 0010b requests that only the data from the buffer is returned. A Mode of 0011b requests that only the 4-byte descriptor header is returned. A Buffer ID value for which there is no buffer associated will result in an all zero header.
  • Page 92: Completion Status

    SCSI Commands Page 83 optional page that has not been created will result in a check condition LUN NOT READY AUXILIARY MEMORY NOT ACCESSIBLE. Page ID Access Description FFFFFFh All pages. FFFFFEh Page of pages. 000001h Cartridge Manufacturer’s Information 000002h Media Manufacturer’s Information (optional) 0000F0h- Drive Manufacturer Support (cleaning tape only)
  • Page 93: Read Position

    Page 84 LTO SCSI Interface Manual READ POSITION The Read Position command reports the block address of the current data block. The current data block is the first data block that would be read from the current tape partition if a Read command were issued. Command Descriptor Block Bits Byte...
  • Page 94 SCSI Commands Page 85 Bits Byte Reserved Reserved Partition Number (0) Reserved Reserved First Block Location, MSB First Block Location First Block Location First Block Location, LSB Last Block Location, MSB Last Block Location Last Block Location Last Block Location, LSB Reserved Number of blocks in buffer, MSB Number of blocks in buffer...
  • Page 95 Page 86 LTO SCSI Interface Manual The following table shows the fields in the Read Position Data when Long and TCLP bits are set to 1. Bits Byte Reserved Reserved Reserved Reserved Reserved Partition Number, MSB (0) Partition Number (0) Partition Number (0) Partition Number, LSB (0) Block Number, MSB...
  • Page 96 SCSI Commands Page 87 Field Bytes Bits Description Block 8-15 This field indicates the number of logical blocks including filemarks Number between beginning-of-medium and the current logical position. File 16-23 This field indicates the number of filemarks between beginning-of- medium and the current logical position. Number 24-31 This field is always 0.
  • Page 97: Completion Status

    Page 88 LTO SCSI Interface Manual Completion Status Code Message Description • The drive is ready to perform any appropriate command. Good Status • The drive remains in any previously set mode. • The tape is not moved. Check Use the Request Sense command to retrieve status information. Possible Condition Sense Keys are: Code...
  • Page 98: Receive Diagnostic Results

    SCSI Commands Page 89 RECEIVE DIAGNOSTIC RESULTS The Receive Diagnostic Results command requests that the results of a previously executed Send Diagnostics command be sent to the initiator. Command Descriptor Block Bits Byte Operation Code (1C) Ignored LUN Reserved Page Code Allocation Length (MSB) Allocation Length (LSB) Control...
  • Page 99: Completion Status

    Page 90 LTO SCSI Interface Manual Field Descriptions Field Bytes Description Page Identifies the type of diagnostic page being returned. Code Reserved All reserved bits must be 0. Page Indicates the number of bytes of data to be returned after this block. Length Diagnostic The results of the Send Diagnostics command test.
  • Page 100: Release Unit

    SCSI Commands Page 91 RELEASE UNIT The Release Unit command releases a current drive reservation, if the command is received from the Initiator that established the reservation. Any Release Unit command that arrives from other than the originating requester is ignored and Good Status is returned in response to the command.
  • Page 101: Completion Status

    Page 92 LTO SCSI Interface Manual Field Descriptions Field Bytes Bits Description Operation The Operation code for the 10-byte version of Release Unit is 57h. Code Ignored The LUN field is residual from the SCSI-1 days and is ignored. Logical Unit Ignored This field is ignored by the drive.
  • Page 102: Report Density Support

    SCSI Commands Page 93 REPORT DENSITY SUPPORT 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. If the Media flag is set, then one descriptor block is returned with the data for the currently loaded tape.
  • Page 103 Page 94 LTO SCSI Interface Manual Field Descriptions Field Bytes Bits Description Available The total amount of data that is available to be returned excluding Density this field. Descriptor Length Reserved All reserved bits are 0. One or more Report Density Support pages in the format shown below follow the header.
  • Page 104: Completion Status

    SCSI Commands Page 95 Field Bytes Bits Description Capacity 12-15 Can be one of the following nominal values: 100,000 MB 50,000 MB 30,000 MB 10,000 MB Assigning Or- 16-23 8 bytes of ASCII data, “LTO-CVE ” ganization Density Name 24-31 8 bytes of ASCII data.
  • Page 105: Report Luns

    Page 96 LTO SCSI Interface Manual REPORT LUNS The host uses this command to retrieve information about which Logical Units the drive supports. The allocation length shall be at least 16 bytes. If this is not the case, drive will return Check Condition status and provide a sense key of Illegal Request and additional sense of INVALID FIELD IN CDB.
  • Page 106: Completion Status

    SCSI Commands Page 97 Bits Byte Reserved 8-15 LUN 0 Field Descriptions Field Bytes Bits Description LUN List Always 8, indicating the length of the LUN list, starting in byte 8. Length Reserved All reserved bits must be 0. LUN 0 8-15 Always 0, indicating LUN 0.
  • Page 107: Request Sense

    Page 98 LTO SCSI Interface Manual REQUEST SENSE The Request Sense command returns the status of the last command. Sense Data is updated with each command; therefore, the sense data only reports the status of the immediately previous command. If a Check Condition status results, a Request Sense command should be issued to recover the information form the Sense Data.
  • Page 108: Sense Data Format

    SCSI Commands Page 99 Field Descriptions Field Bytes Bits Description Operation The Operation code for Request Sense is 03h. Code Ignored The LUN field is residual from the SCSI-1 days and is ignored. Logical Unit Allocation Specifies the amount of data to be returned, in bytes. Length Reserved All reserved bits must be 0.
  • Page 109 Page 100 LTO SCSI Interface Manual Field Bytes Bits Description EOM bit 1 = A Write or Write File Marks command completed in the early warning area. If no other error occurred, the Sense Code will be set to No Sense and the Additional Sense will be set to EOT (0002). If another error occurred, then the Sense Code and Additional Sense will reflect that error.
  • Page 110 SCSI Commands Page 101 Field Bytes Bits Description ♦ If BPV is set, this field points to the most significant byte of the Field 16-17 Pointer field in error. ♦ When a Log Exception is generated, bytes 16 and 17 indicate the MSB and LSB of the Log Parameter code that caused the Log Exception.
  • Page 111 Page 102 LTO SCSI Interface Manual Sense ASCQ Byte 2 Byte 12 Byte 13 Message Explanation 00h No Sense No additional sense in- The flags in the sense data indicate formation the reason for command failure Filemark detected A Read or a Space command has terminated early because a file mark has been encountered.
  • Page 112 SCSI Commands Page 103 Sense ASCQ Byte 2 Byte 12 Byte 13 Message Explanation Incompatible medium in- stalled Cleaning cartridge in- An operation could not be carried stalled out because the tape in the drive is a cleaning cartridge. Cannot write medium un- known format Cleaning failure A cleaning operation was at-...
  • Page 113 Page 104 LTO SCSI Interface Manual Sense ASCQ Byte 2 Byte 12 Byte 13 Message Explanation Recorded entity not found A Space or Locate failed because a format violation prevented the tar- get of the operation from being found. Record not found Incompatible medium in- stalled Cannot read medium in-...
  • Page 114 SCSI Commands Page 105 Sense ASCQ Byte 2 Byte 12 Byte 13 Message Explanation Diagnostic cache test failed Erase failure An Erase command failed to erase the required area on the medium. Cartridge fault The tape is snapped Media load or eject failed An attempt to load or eject the tape failed due to a problem with the drive...
  • Page 115 Page 106 LTO SCSI Interface Manual Sense ASCQ Byte 2 Byte 12 Byte 13 Message Explanation Microcode has been The firmware in the drive has just changed been changed by a Write Buffer command or firmware tape. Reported LUNs Data Has Command Forwarding has been Changed changed from disabled to enabled...
  • Page 116: Completion Status

    SCSI Commands Page 107 Sense ASCQ Byte 2 Byte 12 Byte 13 Message Explanation Select or reselect failure An attempt to reselect an initiator in order to complete the command has failed. SCSI parity error Initiator detected error A command failed because an Ini- message received tiator Detected Error message was received.
  • Page 117: Reserve Unit

    Page 108 LTO SCSI Interface Manual RESERVE UNIT The Reserve Unit command reserves the drive for exclusive use of the requesting Initiator. The drive reservation once established, remains in effect until one of the following occurs: • Another Reserve Unit command arrives from the same Initiator that requested the current reservation.
  • Page 118: Completion Status

    SCSI Commands Page 109 Bits Byte Ignored LUN Reserved Reserved Ignored Third Party Device ID Reserved Reserved Reserved Reserved Reserved Control Field Descriptions for 10-Byte Command Field Bytes Bits Description Operation The Operation code for the 10-byte version of Reserve Unit is 57h. Code Ignored The LUN field is residual from the SCSI-1 days and is ignored.
  • Page 119: Rewind

    Page 110 LTO SCSI Interface Manual REWIND The Rewind command requests that the medium be positioned to the Beginning Of Tape (BOT). Prior to performing the Rewind operation, the buffered data and filemarks are written to the tape, and an EOD marker is recorded. The Rewind operation is done at high speed.
  • Page 120: Send Diagnostic

    SCSI Commands Page 111 SEND DIAGNOSTIC The Send Diagnostic command requests the drive to perform diagnostic operations on itself. The diagnostic tests are part of the drive’s resident firmware. The Receive Diagnostic Results command may be used to retrieve the result of the diagnostic operations.
  • Page 121: Set Capacity

    Page 112 LTO SCSI Interface Manual SET CAPACITY The Set Capacity command sets the available medium for a volume to a proportion of the total capacity of that volume. Any excess space is unavailable on the volume after successful completion of this command until reset by a new Set Capacity command.
  • Page 122: Completion Status

    SCSI Commands Page 113 The Set Capacity command sets the available tape capacity to: Tape Capacity = Total Tape Capacity × Capacity Proportion Value / 65535 Completion Status Code Message Description ♦ The drive is ready to perform any appropriate command. Good ♦...
  • Page 123: Space

    Page 114 LTO SCSI Interface Manual SPACE The Space command uses three methods to move the tape. This command moves the position: • Forward or backward a specified number of blocks. • Forward or backward a specified number of filemarks. •...
  • Page 124: Space-By-Count Functions

    SCSI Commands Page 115 If the Code field is 001b, then the logical position is moved the number of file marks indicated by the Count field. If BOT or EOD is detected before the requested logical position, then the logical position is set to that position. If the Code field is 011b, then the logical position is set to after the last valid block on tape.
  • Page 125: Completion Status

    Page 116 LTO SCSI Interface Manual The space-to-EOD function is useful in support of user-defined directories located at the end of recorded data. • If physical EOT is encountered while spacing to end of data, Check Condition Status is returned and Extended Sense is set to Medium Error. •...
  • Page 126: Test Unit Ready

    SCSI Commands Page 117 TEST UNIT READY The Test Unit Ready command provides a means to check that the drive is ready. If the drive is able to accept a medium-access command without returning a Check Condition status, then the Test Unit Ready command will result in Good status. If the drive is unable to become operational or is in a state that requires action from the host to make the drive ready, then the Test Unit Ready command will result in a Check Condition status with a sense key of Not Ready.
  • Page 127: Verify

    Page 118 LTO SCSI Interface Manual VERIFY The Verify command verifies one or more blocks of data beginning with the next block from the tape unit. The command terminates after the specified number of bytes or blocks are verified or when the drive encounters a filemark, the EOD, the EOT, or an unrecoverable error.
  • Page 128: Verify Command Operation

    SCSI Commands Page 119 Verify Command Operation Comparison errors cause a Check Condition with the Sense Key set to 0Eh, which indicates miscompare. The residual byte or block count is reflected in the Request Sense data. When the Fixed bit is set, the Verify Length specifies the number of contiguous blocks to be verified on the tape.
  • Page 129: Write

    Page 120 LTO SCSI Interface Manual WRITE The Write command transfers one or more data blocks from the Initiator to the drive. If the Transfer Length is zero, no data is transferred, and the current position of the tape is not changed. This condition is not considered an error. Command Descriptor Block Bits Byte...
  • Page 130: Completion Status

    SCSI Commands Page 121 encountered. Any Write command issued within Early Warning and successfully completed, finishes with a Check Condition and the EOM bit set. Completion Status Code Message Description • The SCSI data has been transferred to the data buffer. Good Status •...
  • Page 131: Write Buffer

    Page 122 LTO SCSI Interface Manual WRITE BUFFER The Write Buffer command is used in conjunction with the Read Buffer command as a diagnostic function for testing the data buffer memory of the drive and confirming the SCSI bus integrity. The medium is not accessed during the execution of this command.
  • Page 132 SCSI Commands Page 123 A Mode field of 0000b indicates that the data to be written will be preceded with a four-byte header. This Write Buffer Data Header is reserved and must be set to all zeros. The header will not be placed into buffer memory. A Mode field of 0001b indicates that data to be written to the Medium Auxiliary Memory will be sent.
  • Page 133: Write Buffer Data Header

    Page 124 LTO SCSI Interface Manual Write Buffer Data Header If the Mode field is set to 0000b, then the data sent must be preceded by a 4 byte Write Buffer Data Header. The following table shows the fields in the Write Buffer Data Header.
  • Page 134: Write File Marks

    SCSI Commands Page 125 WRITE FILE MARKS The Write Filemarks command causes the specified number of filemarks to be written to tape. This command can be used to force all remaining buffered data blocks to be written to tape without appending filemarks by specifying zero filemarks. When zero filemarks are specified, the command does not return Good Status to the Initiator until all buffered data blocks and filemarks are written correctly on the tape.
  • Page 135: Completion Status

    Page 126 LTO SCSI Interface Manual Completion Status Code Message Description • The filemarks have been sent to the buffer. Good Status • The drive remains in any previously set mode. Note: If Immed is 1, then Good Status only indicates that the command is valid.
  • Page 136 Seagate Removable Storage Solutions, LLC 1650 Sunflower Avenue, Costa Mesa, California, 92626, USA Manufacturing Part Number: 100109647, Rev. B, Printed in USA...

Table of Contents