background image

Chapter 4: SCSI Commands

4-122

July 2004

81-81276-01 Rev A01

4.26.1  Header and Data Mode

A 4-byte header consisting entirely of reserved bytes precedes the data to be transferred. The tape drive 
discards this header (does not store it into the buffer). The buffer offset field must be 0 for this mode.

4.26.2  Write Data Mode

Similar to mode 000b, except no header is in the data passed to the target. The Buffer Offset must be 0. 
The target detects potential buffer overruns and rejects the command.

4.26.3  Download Microcode Mode

Using buffer offsets, the host can download the firmware image into the target’s buffer in pieces. These 
commands do not cause the new image to become active; a Download and Save mode WRITE 
BUFFER command must be issued.

The tape drive must be empty to allow downloading an image. This is to safeguard against accidentally 
starting a firmware update. If a data cartridge is loaded when all or part of a firmware image has been 
downloaded, the tape drive rejects any other WRITE BUFFER with Download Microcode mode. 
Overlapping or nonconsecutive downloading of the image data is not supported. The firmware image 
must be downloaded in integral multiples of 8KB.

Any error on a WRITE BUFFER command causes the tape drive to discard any downloaded image 
data and requires restarting the download from the beginning.

Buffer ID

For all modes, only a Buffer ID of 0 is supported. If the Buffer ID field is non-
zero, the target rejects the command. The target detects and rejects commands that 
would overrun the buffer.

Buffer Offset

Buffer offsets are allowed to be non-zero. However, only integral multiples are 
valid. The offset boundary in the descriptor mode page of the READ BUFFER 
command reports the allowed integral multiple for buffer offset values.

Table 4-71.

WRITE BUFFER (3Bh) Command Descriptor Block — Field Descriptions

 

Field Name

Description

Содержание DLT1/VS80 SCSI

Страница 1: ...DLT1 VS80 SCSI Interface Guide...

Страница 2: ...g derivative works The possessor agrees to safeguard this information and to maintain it in confidence and not re publish it in whole or in part without Quantum s prior written consent Quantum reserve...

Страница 3: ...d to correct the interference at his own expense Any modifications to this device unless expressly approved by the manufacturer can void the user s authority to operate this equipment under Part 15 of...

Страница 4: ...tion This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications Howev...

Страница 5: ...DLT1 VS80 SCSI Interface Guide 81 81276 01 Rev A01 July 2004 v Taiwan Statement Japanese Notice...

Страница 6: ...DLT1 VS80 SCSI Interface Guide vi July 2004 81 81276 01 Rev A01 Notes...

Страница 7: ...or Target Operation 2 1 SCSI IDs and Logical Unit Numbers 2 2 UNIT ATTENTION Condition 2 2 Behavior Around Power On and SCSI BUS RESET 2 3 Data Cache and Medium Write Interaction 2 3 Other SCSI Functi...

Страница 8: ...ry of Supported Sequential Access Tape Drive Commands 4 2 ERASE 19h 4 3 INQUIRY 12h 4 4 Tape Drive Inquiry Response 4 5 Vendor Unique Inquiry Data 4 8 Vendor Unique Inquiry Bytes 4 9 Vital Product Dat...

Страница 9: ...nect Reconnect Page 02h 4 51 Device Configuration Page 10h 4 53 Control Mode Page 0Ah 4 55 Data Compression Page 0Fh 4 56 Medium Partition Page 11h 4 58 TapeAlert Page 1Ch 4 60 EEPROM Vendor Unique Pa...

Страница 10: ...rmat 4 98 Sense Keys 4 100 RESERVE UNIT 16h 4 108 Medium Changer Considerations 4 109 REWIND 01h 4 110 SEND DIAGNOSTIC 1Dh 4 111 SPACE 11h 4 115 TEST UNIT READY 00h 4 116 VERIFY 13h 4 117 WRITE 0Ah 4...

Страница 11: ...1276 01 Rev A01 July 2004 xi READ ELEMENT STATUS B8h 5 4 Element Status Header 5 6 Medium Transport Element Status Page 5 7 Storage Element Status Page 5 9 Data Transfer Element Status Page 5 11 Eleme...

Страница 12: ...Table of Contents xii July 2004 81 81276 01 Rev A01 Notes...

Страница 13: ...Data Format 4 12 Figure 4 9 LOAD UNLOAD 1Bh Command Descriptor Block Data Format 4 14 Figure 4 10 LOCATE 2Bh Command Descriptor Block Data Format 4 15 Figure 4 11 LOG SELECT 4Ch Command Descriptor Blo...

Страница 14: ...e 4 38 TapeAlert Page Data Format 4 60 Figure 4 39 MODE SELECT EEPROM Vendor Unique Page Data Format 4 61 Figure 4 40 EEPROM Vendor Unique Page Example 1 4 65 Figure 4 41 EEPROM Vendor Unique Page Exa...

Страница 15: ...112 Figure 4 74 SPACE 11h Command Descriptor Block Data Format 4 115 Figure 4 75 TEST UNIT READY 00h Command Descriptor Block Data Format 4 117 Figure 4 76 VERIFY 13h Command Descriptor Block Data For...

Страница 16: ...List of Figures xiv July 2004 81 81276 01 Rev A01 Notes...

Страница 17: ...ield Descriptions 4 4 Table 4 4 Standard Inquiry Data Page Field Descriptions 4 6 Table 4 5 Vendor Unique Inquiry Data Field Descriptions 4 9 Table 4 6 Subsystem Components Revision Page Field Descrip...

Страница 18: ...scriptions 4 48 Table 4 30 Read Write Error Recovery Page 01h Field Descriptions 4 50 Table 4 31 Disconnect Reconnect Page 02h Field Descriptions 4 51 Table 4 32 Device Configuration Page Field Descri...

Страница 19: ...h Command Descriptor Block Field Descriptions 4 109 Table 4 63 REWIND 01h Command Descriptor Block Field Descriptions 4 110 Table 4 64 Parameters for SEND DIAGNOSTIC 4 112 Table 4 65 Definition of Pat...

Страница 20: ...List of Tables xviii July 2004 81 81276 01 Rev A01 Notes...

Страница 21: ...fications instead it describes the commands messages and options this tape drive supports It also describes the tape drive s error recovery procedures NOTE From this point forward we may refer to the...

Страница 22: ...tape drive responses to a variety of situations that occur on the SCSI bus for example power on bus phases data transfer and so forth Chapter 3 SCSI Messages describes the SCSI message system and lis...

Страница 23: ...ARNING Warnings provide information you must know to avoid personal injury Table 1 1 Typographical Conventions Element Convention Example Commands Uppercase unless case sensitive TEST UNIT READY Hexad...

Страница 24: ...Chapter 1 Introduction 1 4 July 2004 81 81276 01 Rev A01 Notes...

Страница 25: ...ks parity during all information transfer phases where the tape drive receives data from the SCSI bus The tape drive supports even block sizes of 2 bytes to 16 MB 2 bytes Disconnects from the SCSI bus...

Страница 26: ...us and generates the Sense Data described in item 2 2 4 UNIT ATTENTION Condition The tape drive implements Queued Unit Attentions which are maintained separately for each valid LUN for each Initiator...

Страница 27: ...drive to write data to the data cartridge before returning the STATUS byte and the COMMAND COMPLETE messages to the host NOTE We do not recommend unbuffered mode because it produces poor performance T...

Страница 28: ...s a non write type medium access command for example SPACE READ UNLOAD REWIND and so forth 2 7 Other SCSI Functionality The tape drive supports these additional functions Linked commands Untagged queu...

Страница 29: ...T 18h The tape drive returns this status whenever one initiator a SCSI tape drive attempts to access the tape drive when another initiator has reserved the tape drive with a RESERVE UNIT command COMMA...

Страница 30: ...SI 2 standard see sections 6 1 1 and 6 31 in the SCSI 2 specification An internal hardware or firmware fault that makes it unsafe for the tape drive to continue operation without a full reset similar...

Страница 31: ...TUS phase or go to BUS FREE and prepare Sense Data see section 6 1 1 in the SCSI 2 specification Retrying of parity errors during DATA OUT Phase when writing is normally not done but can be enabled by...

Страница 32: ...Chapter 2 General SCSI Bus Operation 2 8 July 2004 81 81276 01 Rev A01 Notes...

Страница 33: ...an IDENTIFY message If the initiator sends a message after the SELECTION phase it should be an IDENTIFY ABORT or BUS DEVICE RESET message If the tape drive receives any other message in this case it...

Страница 34: ...al unit that is not currently performing an operation for the initiator If the initiator does not select a logical unit the tape drive enters BUS FREE phase and no commands data or status on the drive...

Страница 35: ...essage The tape drive returns MESSAGE REJECT and enters the STATUS phase reporting CHECK CONDITION with the Sense Key set to COMMAND ABORTED 3 2 4 DISCONNECT 04h A target sends DISCONNECT to tell an i...

Страница 36: ...3 2 lists the EXTENDED MESSAGE codes If the tape drive receives an extended message that it does not support it switches to MESSAGE IN phase and returns MESSAGE REJECT after transferring all the byte...

Страница 37: ...the number of valid bytes sent during the last REQ ACK handshake and REQB ACKB handshake of a DATA IN phase is less than the negotiated transfer width The ignore field indicates the number of invalid...

Страница 38: ...hase and returns MESSAGE REJECT 3 2 10 LINKED COMMAND COMPLETE with flag 0Bh A target sends this message to an initiator to indicate that the execution of a linked command with the Flag bit set to 1 i...

Страница 39: ...and can send the message when acting as an initiator If the tape drive receives NO OP during a selection operation the tape drive proceeds to the COMMAND phase provided ATN does not continue being ass...

Страница 40: ...nsfers The tape drive does not initiate the SYNCHRONOUS DATA TRANSFER REQUEST SDTR message but relies on the Initiator to do so Figure 3 3 shows the format for extended messages Figure 3 3 SDTR Extend...

Страница 41: ...the wide and synchronous data transfer options It negotiates the wide data transfer agreement before negotiating the synchronous data transfer agreement If a synchronous data transfer agreement is in...

Страница 42: ...Chapter 3 SCSI Messages 3 10 July 2004 81 81276 01 Rev A01 Notes...

Страница 43: ...e SCSI specification itself The web sites http www scsita org and http www t10 org are also helpful sources of information 4 1 Control Byte Flag and Link Bits The control byte of the Command Descripto...

Страница 44: ...LOAD UNLOAD 1Bh Page 4 13 LOCATE 2Bh Page 4 15 LOG SELECT 4Ch Page 4 16 LOG SENSE 4Dh Page 4 23 MODE SELECT 15h 55h Page 4 44 MODE SENSE 1Ah 5Ah Page 4 68 PREVENT ALLOW MEDIUM REMOVAL 1Eh Page 4 85 R...

Страница 45: ...mand Descriptor Block Field Descriptions Field Name Description LUN Logical Unit Number The target ignores this field Only an IDENTIFY message can change the LUN Immed Immediate If this bit is 0 the t...

Страница 46: ...TTENTION condition Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 12h 1 Logical Unit Number Reserved EVPD 2 Page Code 3 Reserved 4 Allocation Length 5 Unused Reserved Flag Link Table 4 3 INQUIRY 12h Comman...

Страница 47: ...n error The tape drive terminates the DATA IN phase when it has transferred Allocation Length bytes or all available Inquiry data to the initiator whichever is less Bit Byte 7 6 5 4 3 2 1 0 0 Peripher...

Страница 48: ...ting a sequential access device On the Medium Changer LUN this field is 08h All other LUNs return 1Fh Other Inquiry Data Fields The rest of the fields in the Inquiry Response are used as follows Byte...

Страница 49: ...entification VS80 Product Revision Level This field contains four bytes of ASCII data that define the product s software Revision Levels The first two bytes are the version number of servo code In Qua...

Страница 50: ...Released Firmware 37 Firmware Major Version 38 Firmware Minor Version 39 EEPROM Format Major Version 40 EEPROM Format Minor Version 41 Firmware Personality 42 Firmware Sub personality 43 Tape Director...

Страница 51: ...n zero Minor FW Version numbers for tracking purposes Various Version Numbers In binary not ASCII see 4 4 1 SCSI Commands Firmware Personality Numeric indicator of firmware personality Firmware Sub pe...

Страница 52: ...bottom of the tape drive You can also find it on the bar code label The tape drive returns the serial number in ASCII Figure 4 6 Unit Serial Number Page Data Format Bit Byte 7 6 5 4 3 2 1 0 0 Peripher...

Страница 53: ...on Page Data Format Media Loader Inquiry Response The tape drive controller generates INQUIRY Data on the Medium Changer LUN that is very similar to that of the tape drive LUN The key difference is th...

Страница 54: ...on Peripheral Qualifier Contains 000b if the command is directed to a valid device Contains 011b if there is no device at the selected LUN Peripheral Device Type Contains 01h if the LUN is 0h 8h if th...

Страница 55: ...epted it the tape drive disables the sequential mode of operation and the UNLOAD command becomes a NO OP If the tape drive is in the default sequential mode of operation and the subsystem receives an...

Страница 56: ...herwise the tape drive returns status after the operation has completed Re Ten Re tension These operations are not needed on the tape drive so this bit is ignored that is GOOD status if the bit is set...

Страница 57: ...3 6 MSB Block Address LSB 7 Reserved 8 Partition 9 Unused Reserved Flag Link Table 4 8 LOCATE 2Bh Command Descriptor Block Field Descriptions Field Name Description LUN Logical Unit Number The target...

Страница 58: ...information about log page format parameters and supported pages Figure 4 11 LOG SELECT 4Ch Command Descriptor Block Data Format Block Address The Block Address field defines the SCSI Logical Block Ad...

Страница 59: ...eshold Values Cumulative Values Default Threshold Values Default Cumulative Values When the PC field is 00b or 01b and the Parameter List Length field is 0 the tape drive terminates the command with a...

Страница 60: ...ays to initialize the log parameters 1 Set the PCR bit in the LOG SELECT CDB clearing all parameters 2 Specify the log page and the parameter value as the log parameters to clear individual pages You...

Страница 61: ...e parameter block for code 05h is 12 bytes Figure 4 12 LOG SELECT Log Page Header Data Format Bit Byte 7 6 5 4 3 2 1 0 0 Reserved Page Code 1 Reserved 2 3 MSB Page Length LSB Table 4 11 LOG SELECT Log...

Страница 62: ...C Rsv d LP 3 Parameter Length n 3 4 n MSB Parameter Value LSB Table 4 12 LOG SELECT Log Page Parameters Field Descriptions Field Name Description Parameter Code Refer to the LOG SENSE command for an e...

Страница 63: ...ing the cumulative value Comparison criteria are defined in TMC If the comparison is met and the RLEC bit of MODE SELECT SENSE Control Page is 1 then a UNIT ATTENTION is generated for all initiators T...

Страница 64: ...and Additional Sense Code INVALID FIELD IN PARAMETER LIST The tape drive receives a page header containing unsupported page codes The page header includes an incorrect log page length A valid page co...

Страница 65: ...LECT Figure 4 14 LOG SENSE 4Dh Command Descriptor Block Data Format Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 4Dh 1 Logical Unit Number Reserved PPC SP 0 2 PC Page Code 3 4 Reserved 5 6 MSB Parameter...

Страница 66: ...et does not support a parameter code within this page it does not return any data associated with this parameter SP Saving Log Parameters Not supported this bit is always 0 If the SP bit is set the co...

Страница 67: ...Pointer Parameter Pointer This field allows the host to specify at which parameter within a log page the requested data should begin For example if a page supports parameters 0 through 5 and the Para...

Страница 68: ...d pages Page Code 00h the tape drive returns the 4 byte page header followed by the page code for each supported page displaying the codes in ascending order one byte for each Figure 4 15 Supported Pa...

Страница 69: ...SB Table 4 15 Read Write Error LOG SENSE Page 2 and 3 Field Descriptions Field Name Description Page Code The Page Code echoes the page code that was specified in the LOG SENSE CDB Page Length The Pag...

Страница 70: ...4 16 Read Write Error LOG SENSE Parameters Pages 02h and 03h Field Descriptions Field Name Description Parameter Code The following parameter codes are supported for the Read Write error counter pages...

Страница 71: ...if the host set the bit in the last LOG SELECT command The default is 0 Note For parameter types other than threshold and cumulative values the DU bit is always 0 DS Disable Save Since the tape drive...

Страница 72: ...CHECK CONDITION status does not identify the parameter code for which the criteria is met To make this determination the host must issue a LOG SENSE command to read the counters Code 00b 01b 10b 11b...

Страница 73: ...S TSD ETC TMC Rsv d LP 7 Parameter Length 8 n MSB Hex ASCII String for Event n LSB 1 The byte 6 fields are collectively referred to as the Parameter Control byte Table 4 17 Log Parameters for Last n E...

Страница 74: ...t Criteria For a list parameter this field is always 0 LP List Parameter This bit is always set to 1 since the tape drive treats the parameter codes as list parameters Parameter Length This field spec...

Страница 75: ...Code Description Length in Bytes Default Threshold 0001h Not Supported 1 01 0002h Not supported 1 01 0003h Hard Error A write or read hard error has occurred 1 01 0004h Media The number of read or wri...

Страница 76: ...supported 1 01 0018h 001Ch Reserved 1 Byte Each 01 001Dh Not supported 1 01 001Eh Hardware A A major hardware failure has occurred 1 01 001Fh Hardware B A major hardware failure has occurred 1 01 0020...

Страница 77: ...cted Figure 4 19 Read Write Compression Ratio 32h Page Header Data Format Bit Byte 7 6 5 4 3 2 1 0 0 Reserved Page Code 32h 1 Reserved 2 3 MSB Additional Length LSB Table 4 19 Read Write Compression R...

Страница 78: ...des for the Read Write Compression Ratio Page Parameter Code Description 00h Read Compression Ratio x 100 01h Write Compression Ratio x 100 02h Mbytes Transferred to Host 03h Bytes Transferred to Host...

Страница 79: ...drive does not support saving parameters this bit is always 1 TSD Target Save Disable Since the tape drive does not support saving parameters this bit is always 1 ETC Enable Threshold Comparison The t...

Страница 80: ...ol Byte DU DS TSD ETC TMC and LP are collectively referred to as the Parameter Control Byte DU Disable Update This bit is always 0 DS Disable Save Since the tape drive does not support saving paramete...

Страница 81: ...ned for parameter 03 gives the actual total bytes transferred to the initiator Parameter codes 04 and 05 report the counts of bytes transferred from the medium to the buffer Parameter code 04 reports...

Страница 82: ...eserved 2 3 MSB Page Length LSB Table 4 23 Device Wellness 33h Log Page Header Field Descriptions Field Name Description Page Code The Page Code echoes the page code that was specified in the LOG SENS...

Страница 83: ...bit is always 0 DS Disable Save Since the tape drive does not support saving parameters this bit is always 1 TSD Target Save Disable Since the tape drive does not support saving parameters this bit i...

Страница 84: ...evice Status 3Eh Log Page Header Data Format Device Status 3Eh Log Page parameters 0000h through 0002h are as follows Figure 4 25 Device Status 3Eh Log Page Parameters 0000h through 0002h Data Format...

Страница 85: ...s always 1 TSD Target Save Disable Since the tape drive does not support saving parameters this bit is always 1 ETC Enable Threshold Comparison The tape drive does not support Threshold Checking on th...

Страница 86: ...pe drive to the host s preferred configuration Figure 4 27 MODE SELECT 15h 6 Byte Command Descriptor Block Data Format Table 4 26 Device Status 3Eh Log Page Parameter Code 0001h Field Descriptions Fie...

Страница 87: ...ns Field Name Description LUN Logical Unit Number The target ignores this field Only an IDENTIFY message can change the LUN PF Page Format This bit indicates that the data the host sent after the MODE...

Страница 88: ...er followed by one 8 byte block descriptor Figure 4 29 MODE SELECT 6 Parameter List Header Data Format Figure 4 30 MODE SELECT 6 Parameter List Block Descriptor Data Format Bit Byte 7 6 5 4 3 2 1 0 0...

Страница 89: ...ive supports only one speed the default speed Block Descriptor Length Specifies the length in bytes of all the block descriptors Since the tape drive only allows one block descriptor this value must b...

Страница 90: ...t 6 must be 0 Page Code These six bits identify the page that follows Page Code 01h 02h 0Ah 0Fh 11h 1Ch 3Eh Description Read Write Error Recovery Page 4 49 Disconnect Reconnect Page 4 51 Control Mode...

Страница 91: ...Error PER flag parameter is changeable With PER set the tape drive creates CHECK CONDITIONS with Sense Key of RECOVERED ERROR and Vendor Unique Sense Data detailing the cause These events should be r...

Страница 92: ...CHECK CONDITIONS to report recovered Read Write errors The default value of this bit is 0 DTE Disable Transfer on Error This feature is not supported so this bit must be 0 DCR Disable ECC Correction...

Страница 93: ...uffer Full Ratio 3 Buffer Empty Ratio 4 5 MSB Bus Inactivity Limit LSB 6 7 MSB Disconnect Time Limit LSB 8 9 MSB Connect Time Limit LSB 10 11 MSB Maximum Burst Size LSB 12 Reserved DTDC 13 15 Reserved...

Страница 94: ...data transfer of a command has started until all data the command is to transfer has been transferred 10b Reserved 11b A target does not attempt to disconnect after the data transfer of a command has...

Страница 95: ...age Code 10h 1 Additional Page Length 0Eh 2 Rsv d CAP CAF Active Format 3 Active Partition 4 Write Buffer Full Ratio 5 Read Buffer Empty Ratio 6 7 MSB Write Delay Time LSB 8 DBR BIS RSmk AVC SOCF RBO...

Страница 96: ...ng delays from almost 11 minutes down to 1 5 seconds Values between 0 and 15 are rounded down to 0 This causes the data to go straight to the media without delay Byte 8 Code Description DBR Must be 0...

Страница 97: ...Exception Condition The RLEC bit works with the Read Write Error Log Page A Report Log Exception Condition RLEC bit of 1 specifies that the target reports log exception conditions An RLEC bit of 0 spe...

Страница 98: ...e Disable Queuing This bit must be 0 EECA Enable Extended Contingent Allegiance The tape drive does not support extended contingent allegiance This bit must be 0 RAENP Ready AEN Permission The tape dr...

Страница 99: ...le or disable data compression When the DCE bit is 1 the tape drive starts in compressed format DCC Data Compression Capable The MODE SENSE command uses this bit to indicate that the tape drive suppor...

Страница 100: ...er if EEPROM parameter EnaRepDecomp is set the parameter in this field is ignored and the tape drive returns no CHECK CONDITION status Decompression Algorithm The Decompression Algorithm field indicat...

Страница 101: ...ium based on the settings of the SDP and IDP bits The maximum allowed is the value returned in the Maximum Additional Partitions field Since only one partition is supported this field must be 0 Option...

Страница 102: ...led mode for TapeAlert Test TapeAlert Flag Test This bit must be 0 The tape drive does not generate any false test informational exception conditions Note The value returned in MODE SENSE is always 0...

Страница 103: ...0 Page Code 3Eh 1 Additional Page Length 2 ASCII String of Parameter Name and Value Table 4 37 MODE SELECT EEPROM Vendor Unique Page Parameter Descriptions Name Value Rep Default Length Bytes Usage Ve...

Страница 104: ...nary 0 1 When set turns on off parity error retry feature EnaRepDecomp ASCll binary 0 1 If set and the tape drive is in Read mode the decompression algorithm field in Data Compression Mode page will r...

Страница 105: ...y 0 1 When set removes Not Ready to Ready Unit Attention from the Unit Attention queue upon a successful unload PerfMode ASCll Binary 1 1 When set to 0 the tape drive is tuned for capacity When set to...

Страница 106: ...nsfer starts When set to 0 the timer is set to infinite SCSIInqVS ASCll Binary 0 1 When set returns vendor unique INQUIRY string SCSIRdyEarly ASCll Binary 0 1 When set the tape drive reports READY sta...

Страница 107: ...vendor unique page that modifies the VendorID parameter to XXXYY Figure 4 40 EEPROM Vendor Unique Page Example 1 Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Code 3Eh 1 Page Length 0Fh 2 v 76h 3 e 65h 4 n 6Eh...

Страница 108: ...or unique page that modifies the Force Density parameter to 1 Figure 4 41 EEPROM Vendor Unique Page Example 2 Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Code 3Eh 1 Page Length 0Fh 2 F 53h 3 O 43h 4 R 72h 5 C...

Страница 109: ...able 4 38 Changeable Mode Parameters Page Parameter Default Minimum Maximum Header Buffered Mode Device Specific Byte 1 0 1 Block Descriptor Length 08h 00h 08h Block Descriptor Block Length 0 0 FFFFFF...

Страница 110: ...est the Vendor Unique EEPROM Parameter Page as a result of the large amount of data that the Vendor Unique EEPROM Parameter Page contains MODE SENSE 10 can retrieve the other pages as well Note that M...

Страница 111: ...s not return Block Descriptor information PC Page Control This field indicates the type of page parameter values to be returned to the host as shown in the following table Code 00 01 10 11 Description...

Страница 112: ...es not include itself Media Type The following list shows the media type as determined by the tape drive Type 00h 81h 85h Description Unknown or media not present Cleaning Medium DLTtape IV WP Write P...

Страница 113: ...rts only the default speed Block Descriptor Length This field specifies the length in bytes of all the block descriptors Since the tape drive only allows one block descriptor this value must be 0 or 8...

Страница 114: ...with compression READ ONLY 86h DLT1 format DLTtape IV 40 GB without compression 87h DLT1 format DLTtape IV 80 GB with compression Number of Blocks This field is sent as 0 indicating that all of the re...

Страница 115: ...criptor Data Format Table 4 42 Supported MODE SENSE Block Pages and Page Codes Page Code Description Sense Select 00h No Requested Page Sense 01h Error Recovery Page Both 02h Disconnect Reconnect Both...

Страница 116: ...the value does not include bytes 0 and 1 The tape drive returns the length on MODE SENSE and must subsequently set it to the same value when performing MODE SELECT Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 0 Pa...

Страница 117: ...C Correction Not supported this bit is 0 Read Retry Count This field reports the maximum number of times the tape drive tries to reread before declaring an unrecoverable error Write Retry Count This f...

Страница 118: ...bytes Values that are not multiples of 8 are rounded up to the nearest multiple of 8 DTDC Data Transfer Disconnect Control This value specifies the restriction when disconnect is permitted Page Code D...

Страница 119: ...Descriptions Field Name Description Page Code The Page Code identifies the type of MODE SENSE page being transferred The value returned for the Page Code is 0Ah Control Mode Page Page Length The Page...

Страница 120: ...ce The value returned for this field is 0 RAENP Ready AEN Permission The value returned for this field is 0 UAAENP Unit Attention AEN Permission The value returned for this field is 0 EAENP Enable AEN...

Страница 121: ...a the initiator sends to it according to the setting of the DCE bit The tape drive supports data compression in its native mode The value returned for this bit is 1 DDE Data Decompression Enable The D...

Страница 122: ...Delay Time LSB 8 DBR BIS RSMK AVC SOCF RBO REW 9 Gap Size 10 EOD Defined EEG SEW Reserved 11 13 MSB Buffer Size at Early Warning Optional LSB 14 Select Data Compression Algorithm 15 Reserved Table 4 4...

Страница 123: ...ays from almost 11 minutes down to 1 5 seconds DBR Data Buffer Recovery Set to 0 Data buffer recovery not supported BIS Block Identifiers Supported Set to 1 Block Identifiers Supported in media format...

Страница 124: ...mum Additional Partitions The tape drive does not support additional partitions This field is 0 Additional Partitions Defined The field specifies the number of additional partitions to be defined for...

Страница 125: ...ception Operations Disable Exceptions bit returns 1 which indicates no TapeAlert exception conditions are generated This is polled mode for TapeAlert Test TapeAlert Flag Test This field always returns...

Страница 126: ...PROM parameter page the tape drive returns this message Send a 10 byte MODE SENSE command to get the Parameter List The data returned by the 10 byte MODE SENSE command for the EEPROM page is in the fo...

Страница 127: ...t Number The target ignores this field Only an IDENTIFY message can change the LUN Prevent When this bit is 1 the Unload button on the tape drive s front panel is effectively disabled and the UNLOAD c...

Страница 128: ...it is 1 and the fixed bit is 1 the target terminates the command with CHECK CONDITION status and the Sense Key set to ILLEGAL REQUEST with an Additional Sense Code of INVALID FIELD in CDB If the SILI...

Страница 129: ...orted when the physical EOM P is encountered The tape drive returns a CHECK CONDITION status The EOM and Valid bits are set and the Sense Key is MEDIUM ERROR The information fields contain the residue...

Страница 130: ...The tape drive sends this information during the DATA IN phase of the command The command does not reflect the currently selected block size only the available limits MODE SENSE returns the current bl...

Страница 131: ...ber The target ignores this field Only an IDENTIFY message can change the LUN Granularity This field indicates the reported block size granularity The tape drive supports a granularity of 1 Maximum Bl...

Страница 132: ...target ignores this field Only an IDENTIFY message can change the LUN Mode The tape drive supports the following values within the field If any unsupported value is set the tape drive terminates the c...

Страница 133: ...Data Mode In this mode the DATA IN phase only contains buffer data 4 14 3 Descriptor Mode In this mode the tape drive returns a maximum of 4 bytes of READ BUFFER descriptor information The tape drive...

Страница 134: ...the READ POSITION command if the media is not ready to be accessed Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 34h 1 Logical Unit Number Reserved BT 2 8 Reserved 9 Unused Reserved Flag Link Table 4 55 R...

Страница 135: ...Last Block Location LSB 12 Reserved 13 15 MSB Number of Blocks in Buffer LSB 16 19 MSB Number of Bytes in Buffer LSB Table 4 56 READ POSITION Short Format Field Descriptions Field Name Description BOP...

Страница 136: ...ferred between the target and initiator if a READ or WRITE command is issued Last Block Location The block address associated with the current physical position the next block to be transferred to the...

Страница 137: ...tor It is not an error to attempt to release the tape drive if it is not currently reserved by the requesting initiator However if reserved by another initiator the tape drive is not released Figure 4...

Страница 138: ...ons Field Name Description LUN Logical Unit Number The target ignores this field Only an IDENTIFY message can change the LUN 3rdPty The third party release option for RELEASE UNIT allows an initiator...

Страница 139: ...and with length 0 Immed 0 which forces the tape drive to flush any currently buffered data to medium A subsequent REQUEST SENSE returns to the initiator the actual physical and logical position of the...

Страница 140: ...OM ILI Rsv d Sense Key 3 6 MSB Information Bytes LSB 7 Additional Sense Length 8 11 MSB Command Specific Information Bytes LSB 12 Additional Sense Code 13 Additional Sense Code Qualifier 14 Sub Assemb...

Страница 141: ...ve does not return a CHECK CONDITION until the tape drive encounters the physical EOM ILI Incorrect Length Indicator This bit indicates that the requested logical block length did not match the logica...

Страница 142: ...ures Tape Motion Hours Report the number of medium motion hours that is the head wear hours Format is represented in a hexadecimal word 2 bytes Power On Hours Report the total hours the tape drive pow...

Страница 143: ...heck An EOD or LongGap has been encountered 09h Vendor Unique Code update event occurred 0Ah Error Log 0Bh Command Aborted Generated when the tape drive aborts a command Check the Asc Q bytes 0Dh Volu...

Страница 144: ...at Maximum 80 02 Cleaning Requested use cleaning tape 80 03 Soft Error Exceeds Threshold 02h NOT READY 04 00 Unit Not Ready Cause Nonreportable 04 01 Unit Not Ready Calibration in Process 04 02 Unit...

Страница 145: ...Error 3B 08 Repositioning Error 51 00 ERASE Failure 80 00 Calibration Error use cleaning cartridge 80 01 Cleaning Required use cleaning cartridge 81 00 Directory Read Error use cleaning cartridge 04h...

Страница 146: ...Chip Gross Error Illegal Command Status 44 84 Unexpected Unexplained Residue Count in Transfer Register 44 85 Immediate Data Transfer Timeout 44 86 Insufficient CDB Bytes 44 87 Disconnect SDP Sequence...

Страница 147: ...e 24 89 Image Data Over Limitc 24 8B Image Personality is Badc 24 8C Not Immediate Command 24 8D Bad Drive Server Image EDCc 24 8E Invalid Personality for Code Update CUP c 24 8F Bad Controller Image...

Страница 148: ...nged 5B 01 Log Threshold Condition Met 07h DATA PROTECTED 27 80 Hardware WRITE Protect 27 82 Data Safety WRITE Protect if Use Cleaning Tape LED is lit use a cleaning cartridge 08h BLANK CHECK 00 05 EO...

Страница 149: ...ions 48 00 IDE Message Error 49 00 Invalid Message Error 4B 00 Data Phase Error 4E 00 Overlapped Commands Attempted queue tag is not unique CDB sent with abort tag message or untagged or untagged CDBs...

Страница 150: ...DITION status with a Sense Key of UNIT ATTENTION on the next command following the condition It is not an error to issue a RESERVE UNIT command to a tape drive that is currently reserved by the reques...

Страница 151: ...umber The target ignores this field Only an IDENTIFY message can change the LUN 3rd Pty Third Party The third party reservation option for RESERVE UNIT allows an initiator to reserve a logical unit fo...

Страница 152: ...ical Unit Number Reserved Immed 2 4 Reserved 5 Unused Reserved Flag Link Table 4 63 REWIND 01h Command Descriptor Block Field Descriptions Field Name Description LUN Logical Unit Number The target ign...

Страница 153: ...wo queues used by much of the controller software are checked by dequeuing and enqueuing items If there is a loader attached a software reset is performed on it This test does not attempt to write dat...

Страница 154: ...met the tape drive returns an ILLEGAL REQUEST The Self Test bit must be 0 Figure 4 73 SEND DIAGNOSTIC 1Dh Parameter List Data Format Table 4 64 Parameters for SEND DIAGNOSTIC Selftest DevOfl UnitOfl S...

Страница 155: ...o the beginning of track 1 and do the read verify pass If Block Count is 0 the tape drive writes data until it reaches EOT each time which yields almost 4 complete passes over the medium NOTE As a res...

Страница 156: ...ed 4h Hardware Error The Additional Sense Code Qualifier fields provide more specific information 5h ILLEGAL REQUEST Illegal bit settings in the SEND DIAGNOSTIC command Eh Miscompare A compare error o...

Страница 157: ...and Descriptor Block Data Format Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 11h 1 Logical Unit Number Reserved Code 2 4 MSB Count LSB 5 Unused Reserved Flag Link Table 4 68 SPACE 11h Command Descriptor...

Страница 158: ...ta cartridge loaded the command returns a GOOD status Otherwise it reports CHECK CONDITION Count When spacing over blocks or marks the Count field is interpreted as follows A positive value N causes f...

Страница 159: ...ure 4 76 VERIFY 13h Command Descriptor Block Data Format Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 00h 1 Logical Unit Number Reserved 2 4 Reserved 5 Unused Reserved Flag Link Bit Byte 7 6 5 4 3 2 1 0...

Страница 160: ...t is 0 the host is requesting a Variable Block mode The tape drive transfers a single block with the Transfer Length specifying the maximum number of bytes the initiator has allocated for the returned...

Страница 161: ...ears a prevent state A WRITE FILEMARKS command with the Immediate bit cleared A SCSI Reset or BUS DEVICE RESET message is received If Buffered Mode is not selected the buffer flushes after every write...

Страница 162: ...ion the medium is logically positioned after these blocks Transfer Length This field contains the length of the data transfer in bytes or blocks depending on whether Fixed or Variable block mode is se...

Страница 163: ...r Reserved Mode 2 Buffer ID 00h 3 5 MSB Buffer Offset 000000h LSB 6 8 MSB Parameter List Data Length LSB 9 Unused Reserved Flag Link Table 4 71 WRITE BUFFER 3Bh Command Descriptor Block Field Descript...

Страница 164: ...t accidentally starting a firmware update If a data cartridge is loaded when all or part of a firmware image has been downloaded the tape drive rejects any other WRITE BUFFER with Download Microcode m...

Страница 165: ...firmware restarts itself reruns POST and generates two Unit Attention conditions POWER UP RESET and OPERATING CODE HAS CHANGED 4 27 WRITE FILEMARKS 10h The WRITE FILEMARKS command causes the tape driv...

Страница 166: ...to force the tape drive to write any buffered WRITE data to the medium If the tape drive is in Buffered Mode and the WRITE FILEMARKS command is received the tape drive appends the requested Filemarks...

Страница 167: ...IALIZE ELEMENT STATUS 07h on page 5 2 12 INQUIRY INQUIRY 12h on page 4 4 15b b Commands with specific Medium Changer specific content MODE SELECT MODE SENSE SELECT 1Ah 15h on page 5 2 1Ab MODE SENSE M...

Страница 168: ...ALIZE ELEMENT STATUS command causes the medium changer to initialize the element status Figure 5 1 shows the data format for the command Figure 5 1 INITIALIZE ELEMENT STATUS 07h Data Format 5 2 MODE S...

Страница 169: ...destination All the IE XX and the XX IE entries are 0 since there is no Import Export element Bytes 12 through 15 are all 0 as the medium changer does not support the exchange medium command The medi...

Страница 170: ...nes the format of Element Status data The following sections show the information returned for the medium changer The Element Status data consists of a header and one or more Status Pages for each ele...

Страница 171: ...hows the element type codes and their definitions Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code B8h 1 Logical Unit Number VolTag Element Type Code 2 3 MSB Starting Elements Address LSB 4 5 MSB Number of E...

Страница 172: ...1 Element Status Header Figure 5 5 shows the data format for the Element Status header Figure 5 5 Element Status Header Data Format Bit Byte 7 6 5 4 3 2 1 0 0 1 MSB First Element Address Reported LSB...

Страница 173: ...or the Medium Transport Element Status header Figure 5 7 the descriptor Figure 5 6 Medium Transport Element Status Header Data Format Bit Byte 7 6 5 4 3 2 1 0 0 Element Type Code 1h Medium Transport 1...

Страница 174: ...dressed explicitly as element address 1 or implicitly as address 0 PvolTag and AVolTag are always 0 Bit Byte 7 6 5 4 3 2 1 0 8 9 MSB Transport Element Address 01h LSB 10 Reserved Except Rsv d Full 11...

Страница 175: ...mat for the Storage Element Status header Figure 5 9 the descriptor Figure 5 8 Storage Element Status Header Data Format Bit Byte 7 6 5 4 3 2 1 0 0 Element Type Code 2h Storage Transport 1 PVolTag AVo...

Страница 176: ...eption is 1 if the magazine slot indicates that a cartridge has been removed but is not in the Medium Transport or Data Transfer elements The Source Element Address is always set to this element s add...

Страница 177: ...for the Data Transfer Element Status header Figure 5 11 the descriptor Figure 5 10 Data Transfer Element Status Header Data Format Bit Byte 7 6 5 4 3 2 1 0 0 Element Type Code 4h Data Transport 1 PVol...

Страница 178: ...onal Sense Code Qualifier 14 NotBus Rsv d IDVAlid LUValid Rsv d Logical Unit Number 15 SCSI Bus Address same as tape drive s 16 Reserved 17 SValid Invert Reserved 18 19 MSB Source Element Address LSB...

Страница 179: ...SValid Set if a data cartridge is in the tape drive Source Element Address Indicates which magazine slot the data cartridge came from Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 Page Code 1Dh 1 Length 12h 2 3 MS...

Страница 180: ...um Changer Element Addresses Address Comments 00h Default Medium Transport Element 01h Medium Transport Element 02 0Fh Reserved 10h Data Transfer Element tape drive 11h 0FFh Reserved 100h Medium Stora...

Страница 181: ......

Страница 182: ...4001 Discovery Dr Ste 1100 Boulder CO 80303 720 406 5700 July 2004 81 81276 01 Rev A01 81 81276 01 81 81276 01...

Отзывы: