Summary of DLTtape DLT1

  • Page 1

    Dlt1/vs80 scsi interface guide.

  • Page 2

    Dlt1/vs80 scsi interface guide ii july 2004 81-81276-01 rev a01 copyright copyright © 2003, 2004 quantum corporation. All rights reserved. Document origination: boulder, colorado, usa. Trademarks quantum, the quantum logo, and the dlttape logo are trademarks of quantum corporation, registered in the...

  • Page 3

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 iii revision history the following table lists all revisions made to this document in chronological order. User manual statements for class a equipment (internal tape system) this is a class a product. This equipment has been tested and fo...

  • Page 4

    Dlt1/vs80 scsi interface guide iv july 2004 81-81276-01 rev a01 taiwan statement japanese notice user manual statements for class b equipment (external tape system) this equipment has been tested and found to comply with the limits for a class b digital device, pursuant to part 15 of the fcc rules. ...

  • Page 5

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 v taiwan statement japanese notice.

  • Page 6

    Dlt1/vs80 scsi interface guide vi july 2004 81-81276-01 rev a01 notes.

  • Page 7: Table Of Contents

    81-81276-01 rev a01 july 2004 vii table of contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 purpose and scope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 audi...

  • Page 8

    Table of contents viii july 2004 81-81276-01 rev a01 disconnect (04h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 extended message (01h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 9

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 ix read/write error log sense page (pages 02h and 03h) . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-27 last n error events page (07h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 10

    Table of contents x july 2004 81-81276-01 rev a01 read buffer (3ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-89 combined header and data mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 11

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 xi read element status (b8h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4 element status header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 12

    Table of contents xii july 2004 81-81276-01 rev a01 notes.

  • Page 13: List Of Figures

    81-81276-01 rev a01 july 2004 xi list of figures 3 scsi messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 figure 3-1. Extended message (01h) format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 figure 3-2. Ignore wide residue form...

  • Page 14

    List of figures xii july 2004 81-81276-01 rev a01 figure 4-22. Device wellness (33h) log page header — data format . . . . . . . . . . . . . . . . . . . . . 4-40 figure 4-23. Device wellness (33h) log page parameters (0000h through 000fh) — data format . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 15

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 xiii figure 4-60. Read buffer (3ch) command descriptor block — data format . . . . . . . . . . . . 4-89 figure 4-61. Read buffer header for combined header and data mode — data format . . . 4-90 figure 4-62. Read buffer descriptor — data f...

  • Page 16

    List of figures xiv july 2004 81-81276-01 rev a01 notes.

  • Page 17: List of Tables

    81-81276-01 rev a01 july 2004 xv list of tables 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 table 1-1. Typographical conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 2 general scsi bus o...

  • Page 18

    List of tables xvi july 2004 81-81276-01 rev a01 table 4-15. Read / write error log sense (page 2 and 3) — field descriptions . . . . . . . . . . . 4-27 table 4-16. Read / write error log sense parameters (pages 02h and 03h) — field descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 19

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 xvii table 4-52. Read (08h) command descriptor block — field descriptions . . . . . . . . . . . . . . . . 4-86 table 4-53. Read block limits (05h) command descriptor block — field descriptions . . 4-89 table 4-54. Read buffer (3ch) command...

  • Page 20

    List of tables xviii july 2004 81-81276-01 rev a01 notes.

  • Page 21: Introduction

    81-81276-01 rev a01 july 2004 1-1 c hapter 1 chapter 1 introduction 1.1 purpose and scope this manual provides a detailed explanation of the small computer system interface (scsi) protocol features the quantum vs80 tape drive implements. This manual does not replace the full ansi scsi specification,...

  • Page 22: 1.3

    Chapter 1: introduction 1-2 july 2004 81-81276-01 rev a01 1.3 related documents • dlt vs80 installation and operations guide (001596-01) • current standards documents available from www.T10.Org scsi architecture model (sam) scsi primary commands (spc) scsi parallel interface (spi) scsi stream comman...

  • Page 23

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 1-3 t ech t ip : tech tips provide information that helps you complete a procedure or avoid additional steps. C aution cautions provide information you must know to avoid damaging the tape drive or losing data. W arning ! Warnings provide ...

  • Page 24

    Chapter 1: introduction 1-4 july 2004 81-81276-01 rev a01 notes.

  • Page 25: General Scsi Bus Operation

    81-81276-01 rev a01 july 2004 2-1 c hapter 2 chapter 2 general scsi bus operation 2.1 data transfer the tape drive supports both narrow and wide, asynchronous and synchronous data transfers. The product is configured as a low-voltage differential (lvd) or single-ended (se) tape drive. The tape drive...

  • Page 26: 2.3

    Chapter 2: general scsi bus operation 2-2 july 2004 81-81276-01 rev a01 2.3 scsi ids and logical unit numbers the tape drive has one logical unit number (lun), which is always lun 0. The tape drive treats unsupported luns as follows: if the lun specified in the identify message is invalid, the tape ...

  • Page 27: 2.5

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 2-3 2.5 behavior around power-on and scsi bus reset in the following situations, the tape drive generates these responses: the tape drive recognizes multiple bus resets in succession and bus resets of arbitrarily long duration. It recovers...

  • Page 28: 2.7

    Chapter 2: general scsi bus operation 2-4 july 2004 81-81276-01 rev a01 the tape drive writes (flushes) the write data cache to the data cartridge under the following circumstances: • an initiator issues one or more write filemarks commands without intervening medium motion commands. • an initiator ...

  • Page 29: 2.8.2  Status Phase

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 2-5 2.8.2 status phase the tape drive enters the status phase only once per command unless the initiator requests a retry. The sole exception to this behavior is during error cases when the drive goes immediately to bus free, as defined in...

  • Page 30: 2.8.3  Bus Free Phase

    Chapter 2: general scsi bus operation 2-6 july 2004 81-81276-01 rev a01 these commands do not require access to the data cartridge: • inquiry • log sense/select • mode select • mode sense • prevent/allow medium removal • read block limits • read buffer • read element status • receive diagnostic resu...

  • Page 31

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 2-7 bus parity errors cause the tape drive to retry the operation, go to status 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 i...

  • Page 32

    Chapter 2: general scsi bus operation 2-8 july 2004 81-81276-01 rev a01 notes.

  • Page 33: Scsi Messages

    81-81276-01 rev a01 july 2004 3-1 c hapter 3 chapter 3 scsi messages this chapter provides a detailed description of the scsi messages dlt1 tape drives support. Specifically, it covers the following topics: • “scsi message system” lists the specific format of scsi messages. • “supported scsi message...

  • Page 34: 3.2

    Chapter 3: scsi messages 3-2 july 2004 81-81276-01 rev a01 3.2 supported scsi messages this section describes the messages outlined in table 3-1 . 3.2.1 abort (06h) the initiator sends this message to the target to clear the current i/o process on the selected tape drive. On buffered (cached) write ...

  • Page 35: 3.2.4  Disconnect (04H)

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 3-3 3.2.2 bus device reset (0ch) this message from an initiator clears all commands, data, and status in the tape drive controller. When the tape drive recognizes this message, it writes cached data to the medium and goes to the bus free p...

  • Page 36

    Chapter 3: scsi messages 3-4 july 2004 81-81276-01 rev a01 3.2.5 extended message (01h) an initiator or target sends this message as the first byte of a multiple-byte message (> 2 bytes). Figure 3-1 shows the extended message format. Figure 3-1. Extended message (01h) format the extended message len...

  • Page 37

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 3-5 3.2.6 identify (80h–ffh) the initiator or target sends these messages to establish (or reestablish) the physical connection path between an initiator and target for a particular logical unit. Table 3-3 lists the bits in the message byt...

  • Page 38

    Chapter 3: scsi messages 3-6 july 2004 81-81276-01 rev a01 3.2.8 initiator detected error (05h) an initiator sends this message to inform a target that an error, for example, a bus parity error, has occurred that does not prevent the target from attempting the operation again. Upon receiving this me...

  • Page 39

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 3-7 3.2.12 message reject (07h) the initiator or target sends this message to indicate that the last message received was inappropriate or remains not implemented. To indicate its intentions of sending this message, the initiator asserts t...

  • Page 40

    Chapter 3: scsi messages 3-8 july 2004 81-81276-01 rev a01 3.2.15 save data pointer (02h) a target sends this message to the initiator and saves a copy of the present active data pointer for the logical unit currently attached. As a target, the tape drive sends this message before a disconnect durin...

  • Page 41

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 3-9 figure 3-4 shows the format for this extended message. Figure 3-4. Wdtr message format a scsi tape drive initiates a wdtr message exchange whenever a previously arranged transfer width agreement may have become invalid. The agreement b...

  • Page 42

    Chapter 3: scsi messages 3-10 july 2004 81-81276-01 rev a01 notes.

  • Page 43: Scsi Commands

    81-81276-01 rev a01 july 2004 4-1 c hapter 4 chapter 4 scsi commands this chapter describes the supported scsi commands, options, and error recovery procedures implemented in the quantum dlt1/vs80 tape drive. This chapter does not fully reiterate the entire ansi scsi specification; for information o...

  • Page 44: 4.2

    Chapter 4: scsi commands 4-2 july 2004 81-81276-01 rev a01 4.2 summary of supported sequential-access tape drive commands the following table shows the scsi commands/opcodes the tape drive supports and the page in this manual on which you can find each command. Table 4-1. Supported scsi commands com...

  • Page 45: 4.3

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-3 4.3 erase (19h) erase causes data on the medium to be erased. Before executing the erase command, the tape drive flushes to medium any write data currently held in a data cache and not yet written. Figure 4-1. Erase (19h) command descr...

  • Page 46: 4.4

    Chapter 4: scsi commands 4-4 july 2004 81-81276-01 rev a01 4.4 inquiry (12h) inquiry tells the tape drive to send information regarding its parameters to the initiator. Figure 4-2. Inquiry (12h) command descriptor block — data format the inquiry command executes normally even if the specified lun is...

  • Page 47

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-5 4.4.1 tape drive inquiry response the tape drive returns the following information in response to an inquiry command on the tape drive lun. Figure 4-3. Standard inquiry data page — data format allocation length this specifies the maxim...

  • Page 48

    Chapter 4: scsi commands 4-6 july 2004 81-81276-01 rev a01 the following table contains field descriptions for the data that the tape drive returns. Table 4-4. Standard inquiry data page — field descriptions field name description peripheral qualifier the tape drive returns one of the following valu...

  • Page 49

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-7 byte 7 reladr. Set to 0 wbus32. Set to 0 (the tape drive does not support 32-bit transfer.) wbus16. Set to 1 (the tape drive supports 16-bit wide data transfers.) sync. Set to 1 (the tape drive supports synchronous data transfer/ linke...

  • Page 50

    Chapter 4: scsi commands 4-8 july 2004 81-81276-01 rev a01 4.4.2 vendor unique inquiry data use the following information to identify precisely the revision of subsystem components. Figure 4-4. Inquiry vendor unique bytes — data format bit byte 7 6 5 4 3 2 1 0 36 product family released firmware 37 ...

  • Page 51

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-9 4.4.3 vendor unique inquiry bytes to identify the product and the installed firmware more precisely, additional information is available. Refer to table 4-5 . Table 4-5. Vendor unique inquiry data — field descriptions field name descri...

  • Page 52

    Chapter 4: scsi commands 4-10 july 2004 81-81276-01 rev a01 4.4.4 vital product data pages the following tables show the information in the supported vital product data pages. Supported vital product data page (00h) figure 4-5 shows the supported vital product data pages. Figure 4-5. Supported vital...

  • Page 53

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-11 firmware build information page (c0h) the checksums are binary, and provide positive firmware and eeprom identification. Firmware build date is an ascii string in dd-mmm-yyyy hh:mm:ss format. Figure 4-7. Firmware build information pag...

  • Page 54

    Chapter 4: scsi commands 4-12 july 2004 81-81276-01 rev a01 subsystem components revision page (c1h) the following information precisely identifies the revision of tape drive subsystem components. N ote : note: this page is for quantum use only; page content is subject to change at any time. Figure ...

  • Page 55: 4.5

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-13 4.5 load/unload (1bh) the load/unload command tells the target to load or unload the media in the data cartridge. If no cartridge is present in the tape drive, both load and unload return check condition status with a not ready sense ...

  • Page 56

    Chapter 4: scsi commands 4-14 july 2004 81-81276-01 rev a01 a media loader does not affect the tape drive's processing of the load flavor of the load/ unload command. Figure 4-9. Load-unload (1bh) command descriptor block — data format bit byte 7 6 5 4 3 2 1 0 0 operation code (1bh) 1 logical unit n...

  • Page 57: 4.6

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-15 4.6 locate (2bh) use the locate command for high-speed positioning to the specified block address. Figure 4-10. Locate (2bh) command descriptor block — data format when writing, use the read position command to obtain the block addres...

  • Page 58: 4.7

    Chapter 4: scsi commands 4-16 july 2004 81-81276-01 rev a01 4.7 log select (4ch) the log select command allows the host to manage statistical information the tape drive maintains about its own hardware parameters and about the installed media. All types of parameter values are changeable through log...

  • Page 59

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-17 table 4-9. Log select (4ch) command descriptor block — field descriptions field name description lun logical unit number. The target ignores this field. Only an identify message can change the lun. Pcr parameter code reset. If this bi...

  • Page 60

    Chapter 4: scsi commands 4-18 july 2004 81-81276-01 rev a01 4.7.1 error detection summary in log select cdb the following conditions constitute errors that the tape drive detects in relation to the cdb. The request sense data is set to illegal request, invalid field in cdb. • pcr bit is 1 and parame...

  • Page 61

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-19 4.7.3 log select page format each log page begins with a 4-byte header followed by n number of log parameter blocks, one block for each parameter code. Each block, except for parameter code 05h, is 8 bytes. The parameter block for cod...

  • Page 62

    Chapter 4: scsi commands 4-20 july 2004 81-81276-01 rev a01 figure 4-13. Log select log page parameters — data format bit byte 7 6 5 4 3 2 1 0 0 - 1 (msb) parameter code (lsb) 2 du ds tsd etc tmc rsv’d lp 3 parameter length (n – 3) 4 - n (msb) parameter value (lsb) table 4-12. Log select log page pa...

  • Page 63

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-21 du disable update. This bit is not defined for log select; the drive ignores any value in du. Ds disable save. Saving parameters is not supported. Set both ds and tsd to 1. If the ds and/or tsd are 0, the command is terminated with ch...

  • Page 64

    Chapter 4: scsi commands 4-22 july 2004 81-81276-01 rev a01 parameter codes 00h, 01h, and 04h always return a value of 0. N ote : the parameter value for code 05h is 8 bytes; the parameter length is set to 8. 4.7.4 error detection summary in log select pages the host issues a log select command to i...

  • Page 65: 4.8

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-23 4.8 log sense (4dh) the log sense command allows the host to retrieve statistical information the tape drive maintains about its own hardware or the installed media. This command complements log select. Figure 4-14. Log sense (4dh) co...

  • Page 66

    Chapter 4: scsi commands 4-24 july 2004 81-81276-01 rev a01 ppc parameter pointer control. This bit must be 0. A parameter pointer control bit of 0 indicates that the parameter data requested from the tape drive starts with the parameter code specified in the parameter pointer field. It also returns...

  • Page 67

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-25 4.8.1 error detection summary in log sense cdb the following conditions constitute errors that the tape drive detects in relation to the cdb. It sets the request sense data to illegal request, invalid field in cdb. • a page is unsuppo...

  • Page 68

    Chapter 4: scsi commands 4-26 july 2004 81-81276-01 rev a01 4.8.2 supported pages log page (page 00h) when the host requests the page that contains the list of supported pages (page code 00h), the tape drive returns the 4-byte page header followed by the page code for each supported page, displaying...

  • Page 69

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-27 4.8.3 read/write error log sense page (pages 02h and 03h) each log page begins with a 4-byte header followed by n number of log parameter blocks, with each block containing 8 bytes, except for parameter code 05h. The log parameter blo...

  • Page 70

    Chapter 4: scsi commands 4-28 july 2004 81-81276-01 rev a01 figure 4-17. Read / write error log sense parameters (pages 02h and 03h) — data format bit byte 7 6 5 4 3 2 1 0 0 –1 (msb) parameter code (lsb) 2 1 du ds tsd etc tmc rsv’d lp 3 parameter length 4 – n (msb) parameter value (lsb) 1. The byte ...

  • Page 71

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-29 parameter control byte du, ds, tsd, etc, tmc, lbin, and lp are collectively referred to as the parameter control byte. Du disable update. A value of 0 indicates that target updates all log parameter values. A value of 1 indicates that...

  • Page 72

    Chapter 4: scsi commands 4-30 july 2004 81-81276-01 rev a01 tmc threshold met criteria. This field is valid only if the host sets the etc bit to 1. This field determines the basis for comparison. The host specifies this field using the log select command. If the result of comparison is true (cumulat...

  • Page 73

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-31 4.8.4 last n error events page (07h) the log error events page returns zero or more log parameters using the list format of the log page which consist of ascii text in the parameter value. The eeprom stores a maximum of 15 log events ...

  • Page 74

    Chapter 4: scsi commands 4-32 july 2004 81-81276-01 rev a01 parameter control byte du, ds, tsd, etc, tmc, lbin, and lp are collectively referred to as the parameter control byte. Du disable update. For a list parameter this field is always 0. Ds disable save. Since the tape device does not support s...

  • Page 75

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-33 4.8.5 tapealert parameters page (2eh) this page reports all tapealert status flags. Each parameter is a one-byte flag indicating the state of all tapealert events. Each flag is 1 when the corresponding event occurs. It is the responsi...

  • Page 76

    Chapter 4: scsi commands 4-34 july 2004 81-81276-01 rev a01 the tape drive sets each tapealert flag to 0 in the following circumstances: • at tape drive power on • when the host reads the tapealert log sense page • when the host takes the specified corrective action • on scsi bus reset or device res...

  • Page 77

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-35 4.8.6 read/write compression ratio page (32h) the read / write compression ratio page begins with a 4-byte header followed by the log parameter blocks of 6 or 8 bytes, depending on the parameter code selected. Figure 4-19. Read / writ...

  • Page 78

    Chapter 4: scsi commands 4-36 july 2004 81-81276-01 rev a01 parameter codes the tape drive supports the following parameter codes for the read / write compression ratio page. Parameter block: codes 00h and 01h figure 4-20. Read / write compression ratio log page — data format table 4-20. Supported p...

  • Page 79

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-37 table 4-21. Read / write compression ratio log page — field descriptions field name description parameter control byte du, ds, tsd, etc, tmc, and lp are collectively referred to as the parameter control byte. Du disable update. This b...

  • Page 80

    Chapter 4: scsi commands 4-38 july 2004 81-81276-01 rev a01 parameter block: parameter codes 02h through 09h figure 4-21. Read / write bytes transferred log page — data format bit byte 7 6 5 4 3 2 1 0 0 - 1 (msb) parameter code (lsb) 2 du ds tsd etc tmc rsv’d lp 3 04h 4 - 7 (msb) counter value (lsb)...

  • Page 81

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-39 4.8.7 device wellness log sense page (33h) this log sense page returns the data useful for determining the tape drive wellness. The page contains up to 16 log entries (parameter code 0000h to 000fh). Each entry records an error event ...

  • Page 82

    Chapter 4: scsi commands 4-40 july 2004 81-81276-01 rev a01 figure 4-22. Device wellness (33h) log page header — data format device wellness (33h) log page parameters (0000h through 000fh) are as follows: bit byte 7 6 5 4 3 2 1 0 0 reserved page code (33h) 1 reserved 2 - 3 (msb) page length (lsb) ta...

  • Page 83

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-41 figure 4-23. Device wellness (33h) log page parameters (0000h through 000fh) — data format 8 - 11 (msb) media id (lsb) 12 sense key 13 additional sense code 14 additional sense code qualifier 15 additional error information table 4-24...

  • Page 84

    Chapter 4: scsi commands 4-42 july 2004 81-81276-01 rev a01 4.8.8 device status log page (3eh) this log sense page describes the current status of the tape drive. The page defines three, 4-byte log parameters. Figure 4-24. Device status (3eh) log page header — data format device status (3eh) log pag...

  • Page 85

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-43 the device status (3eh) log page parameter code (0001h) description follows: figure 4-26. Device status (3eh) log page parameter code (0001h) — data format table 4-25. Device status (3eh) log page parameter — field descriptions field ...

  • Page 86: 4.9

    Chapter 4: scsi commands 4-44 july 2004 81-81276-01 rev a01 4.9 mode select (15h/55h) the mode select command enables the host to configure the tape drive. Implementing mode select and mode sense requires a certain amount of handshaking between the host and the tape drive. Before configuring the tap...

  • Page 87

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-45 . Figure 4-28. Mode select (55h) 10-byte command descriptor block — data format the tape drive always powers up with its default configurations set. This is also true if the tape drive receives a bus device reset message or a hard res...

  • Page 88

    Chapter 4: scsi commands 4-46 july 2004 81-81276-01 rev a01 4.9.1 mode select parameter list the mode select parameter list shown in figure 4-29 , figure 4-30 , and figure 4-31 contains a 4-byte header, followed by one 8-byte block descriptor. Figure 4-29. Mode select (6) parameter list header — dat...

  • Page 89

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-47 table 4-28. Mode select (6) parameter list — field descriptions field name description media type the mode select command ignores this field. Buffered mode the tape drive implements immediate reporting on write commands through buffer...

  • Page 90: 4.9.2  Mode Select Pages

    Chapter 4: scsi commands 4-48 july 2004 81-81276-01 rev a01 4.9.2 mode select pages following the command block descriptor are the mode select pages, which set the tape drive parameters. Each page has a 2-byte header that identifies the page code and indicates the number of bytes in that page. Figur...

  • Page 91

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-49 4.9.3 read/write error recovery page (01h) the tape drive supports the error recovery page, which has the following format: figure 4-32. Read / write error recovery page — data format in this page, only the post error (per) flag param...

  • Page 92

    Chapter 4: scsi commands 4-50 july 2004 81-81276-01 rev a01 table 4-30. Read / write error recovery page (01h) — field descriptions field name description tb transfer block. This block (when not fully recovered) function is not supported. Eer enable early recovery. This function is always enabled. P...

  • Page 93

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-51 4.9.4 disconnect/reconnect page (02h) the tape drive supports the disconnect/reconnect page, which has the following format: figure 4-33. Disconnect / reconnect page — data format in this page, only the maximum burst size parameter is...

  • Page 94

    Chapter 4: scsi commands 4-52 july 2004 81-81276-01 rev a01 dtdc data transfer disconnect control. The dtdc field defines further restrictions when disconnect is permitted. Dtdc description 00b data transfer disconnect control is not used. Disconnect is controlled by the other fields in this page. 0...

  • Page 95

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-53 4.9.5 device configuration page (10h) the tape drive supports the device configuration page, which has the following format: figure 4-34. Device configuration page — data format in this page, only the write delay time and select data ...

  • Page 96

    Chapter 4: scsi commands 4-54 july 2004 81-81276-01 rev a01 active partition only partition 0 is supported. The tape drive rejects any other value for this field with a check condition status and the illegal request sense key set. Write buffer full ratio and read buffer empty ratio the tape drive se...

  • Page 97

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-55 4.9.6 control mode page (0ah) the control mode page provides controls for several features such as tagged queuing, extended contingent allegiance, asynchronous event notification, and error logging. Figure 4-35. Control mode page — da...

  • Page 98

    Chapter 4: scsi commands 4-56 july 2004 81-81276-01 rev a01 4.9.7 data compression page (0fh) the data compression page specifies parameters that control data compression. This page allows the user to turn the tape drive’s compressed format on and off independently of the medium's position. Addition...

  • Page 99

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-57 figure 4-36. Data compression page — data format bit byte 7 6 5 4 3 2 1 0 0 rsv’d page code (0fh) 1 page length (0eh) 2 dce dcc reserved 3 dde red reserved 4 - 7 (msb) compression algorithm (lsb) 8 - 11 (msb) decompression algorithm (...

  • Page 100

    Chapter 4: scsi commands 4-58 july 2004 81-81276-01 rev a01 4.9.8 medium partition page (11h) the tape drive supports the medium partition parameter page, which has the following format: figure 4-37. Medium partition page — data format compression algorithm the compression algorithm field indicates ...

  • Page 101

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-59 table 4-35. Medium partition page — field descriptions field name description maximum additional partitions no additional partitions are supported. This field must be 0. Additional partitions defined this field specifies the number of...

  • Page 102

    Chapter 4: scsi commands 4-60 july 2004 81-81276-01 rev a01 4.9.9 tapealert page (1ch) the tapealert page specifies parameters that control the tapealert mode select configuration. Figure 4-38. Tapealert page — data format bit byte 7 6 5 4 3 2 1 0 0 ps 0 page code (1ch) 1 page length (0ah) 2 perf re...

  • Page 103

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-61 4.9.10 eeprom vendor unique page (3eh) the tape drive supports a vendor unique page, which you can use to modify savable parameters. Only one savable parameter can be changed per mode select command. The page has the following format:...

  • Page 104

    Chapter 4: scsi commands 4-62 july 2004 81-81276-01 rev a01 disdrautoldmc ascll binary 1 1 when set, partially disables sequential loading with loader if any media loader command has been received. Disunbufmode ascll binary 0 1 when set, the tape drive disables unbuffered mode; that is, the tape dri...

  • Page 105

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-63 ldrcyclereset ascll binary 0 1 when set, causes the first cartridge to be loaded if unloading the last cartridge when the loader product is operated in sequential mode. Loaderlun ascll decimal 1 1 lun to report media loader device on....

  • Page 106

    Chapter 4: scsi commands 4-64 july 2004 81-81276-01 rev a01 rewindonreset ascll binary 1 1 when set to 0, the tape drive does not rewind on bus reset or bdr msg (caution: may have partial block data written to the medium, if reset happens during writing), when set to 1, the tape drive rewinds the me...

  • Page 107

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-65 figure 4-40 shows an example of an eeprom 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”...

  • Page 108

    Chapter 4: scsi commands 4-66 july 2004 81-81276-01 rev a01 figure 4-41 shows an example of an eeprom vendor 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...

  • Page 109

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-67 4.9.11 mode select changeable parameters table 4-38 lists the changeable mode parameters and their minimum and maximum allowed values. See the individual parameter descriptions for the units that are used. Parameter rounding is suppor...

  • Page 110: 4.10 Mode Sense (1Ah/5Ah)

    Chapter 4: scsi commands 4-68 july 2004 81-81276-01 rev a01 4.10 mode sense (1ah/5ah) the mode sense command allows the tape drive to report its media and current or changeable configuration parameters to the host. It complements the mode select command. The vs80 tape drive supports both the 6-byte ...

  • Page 111

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-69 4.10.1 mode sense parameter list the mode sense (6) data contains a 4-byte header followed by one 8-byte block descriptor, which is in turn followed by zero or more variable length pages, depending on the page code and the allocation ...

  • Page 112

    Chapter 4: scsi commands 4-70 july 2004 81-81276-01 rev a01 the mode sense (10) data contains an 8-byte header followed by one 8-byte block descriptor, followed by zero or more variable length pages. Figure 4-45. Mode sense (10) data header — data format bit byte 7 6 5 4 3 2 1 0 0 - 1 (msb) mode sen...

  • Page 113

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-71 figure 4-46 shows the mode sense (6/10) block descriptor. Figure 4-46. Mode sense (6/10) block descriptor — data format speed the tape drive supports only the default speed. Block descriptor length this field specifies the length, in ...

  • Page 114

    Chapter 4: scsi commands 4-72 july 2004 81-81276-01 rev a01 table 4-41. Mode sense (6/10) block descriptor — field descriptions field name description density code this field matches the current density of the media, or 0 if the density is unknown. Density code description 00h use default density 1a...

  • Page 115: 4.10.2  Mode Sense Pages

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-73 4.10.2 mode sense pages following the block descriptor are the mode sense pages, which set the tape drive parameters. Each page has a 2-byte header that identifies the page code and indicates the number of bytes in that page. Figure 4...

  • Page 116

    Chapter 4: scsi commands 4-74 july 2004 81-81276-01 rev a01 4.10.3 read/write error recovery page (01h) the tape drive supports the error recovery page, which has the following format: figure 4-48. Read / write error recovery page — data format table 4-43. Mode sense page — field descriptions field ...

  • Page 117

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-75 4.10.4 disconnect/reconnect page (02h) the tape drive supports the disconnect/reconnect page, which has the following format: eer enable early recovery. Always enabled, this bit is always 1. Per post error. This bit turns on reporting...

  • Page 118

    Chapter 4: scsi commands 4-76 july 2004 81-81276-01 rev a01 figure 4-49. Disconnect / reconnect page — data format . 12 reserved dtdc 13 - 15 reserved table 4-45. Disconnect / reconnect page — field descriptions field name description maximum burst size this field specifies the maximum amount of dat...

  • Page 119

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-77 4.10.5 control mode page (0ah) the control mode page allows the user to determine whether the tape drive returns check condition status when one of the write and read error counters has reached a specified threshold. Figure 4-50. Cont...

  • Page 120

    Chapter 4: scsi commands 4-78 july 2004 81-81276-01 rev a01 4.10.6 data compression page (0fh) the data compression page specifies parameters that control the data compression feature. Figure 4-51. Data compression page — data format qerr queue error. The value returned for this field is 0. Dque dis...

  • Page 121

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-79 table 4-47. Data compression page — field descriptions field name description ps parameters savable. The value returned for this bit is 0. Page code the page code identifies the type of mode sense data being transferred. The value ret...

  • Page 122

    Chapter 4: scsi commands 4-80 july 2004 81-81276-01 rev a01 4.10.7 device configuration page (10h) the tape drive supports the device configuration page, which has the following format: figure 4-52. Device configuration page — data format bit byte 7 6 5 4 3 2 1 0 0 ps 0 page code (10h) 1 additional ...

  • Page 123

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-81 cap, caf, active format these fields are not supported and are 0. Active partition only partition 0 is supported. Write buffer full ratio and read buffer empty ratio the tape drive sets these fields to 0 (unused). The tape drive uses ...

  • Page 124

    Chapter 4: scsi commands 4-82 july 2004 81-81276-01 rev a01 4.10.8 medium partition page (11h) the tape drive supports the medium partition page, which has the following format: figure 4-53. Medium partition page — data format bit byte 7 6 5 4 3 2 1 0 0 ps 0 page code (11h) 1 additional page length ...

  • Page 125

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-83 4.10.9 tapealert page (1ch) the tapealert page specifies parameters that control the tapealert mode select configuration. Figure 4-54. Tapealert page — data format bit byte 7 6 5 4 3 2 1 0 0 ps 0 page code (1ch) 1 page length (0ah) 2 ...

  • Page 126

    Chapter 4: scsi commands 4-84 july 2004 81-81276-01 rev a01 4.10.10 eeprom vendor unique page (3eh) the tape drive supports the eeprom vendor unique page (3eh), and returns all eeprom parameters that can be set through mode select eeprom vendor unique page. Figure 4-55. Mode sense eeprom vendor uniq...

  • Page 127

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-85 ‘t’ designates data type: ‘b’ specifies binary type, ‘a’ specifies string type, decimal data type if no value is specified. 4.11 prevent/allow medium removal (1eh) this command enables or disables the unloading of the data cartridge. ...

  • Page 128: 4.12 Read (08H)

    Chapter 4: scsi commands 4-86 july 2004 81-81276-01 rev a01 4.12 read (08h) the read command transfers one or more data blocks to the initiator starting with the next block on the tape drive. Figure 4-57. Read (08h) command descriptor block — data format bit byte 7 6 5 4 3 2 1 0 0 operation code (08...

  • Page 129

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-87 4.12.1 filemark and end-of-data handling if the tape drive reads a filemark, it returns a check condition status. Within the sense data, the filemark and valid bits are set and the sense key field is no sense. The information fields c...

  • Page 130

    Chapter 4: scsi commands 4-88 july 2004 81-81276-01 rev a01 if any read command cannot be completed successfully, the tape drive returns a check condition status. Further commands should attempt to move past the error and complete successfully. 4.13 read block limits (05h) the read block limits comm...

  • Page 131: 4.14 Read Buffer (3Ch)

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-89 4.14 read buffer (3ch) the read buffer command, used in conjunction with write buffer, serves as a diagnostic function for testing the tape drive's data buffer and the scsi bus integrity. Figure 4-60. Read buffer (3ch) command descrip...

  • Page 132

    Chapter 4: scsi commands 4-90 july 2004 81-81276-01 rev a01 4.14.1 combined header and data mode in this mode, the tape drive returns a 4-byte header followed by the data bytes. The tape drive terminates the data in phase when it has transferred allocation length bytes of header and data or when it ...

  • Page 133: 4.14.2  Data Mode

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-91 available length the available length field specifies the total number of data bytes available in the target's buffer. This number is not reduced to reflect the allocation length, nor is it reduced to reflect the actual number of byte...

  • Page 134: 4.15 Read Position (34H)

    Chapter 4: scsi commands 4-92 july 2004 81-81276-01 rev a01 4.15 read position (34h) the read position command reads a position identifier or scsi logical block address. The locate command uses this identifier to position the medium to this same logical position in a high- performance fashion. Figur...

  • Page 135

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-93 4.15.1 read position data short format figure 4-64. Read position (short format) — data format bit byte 7 6 5 4 3 2 1 0 0 bop eop reserved bpu reserved 1 partition number 2 - 3 reserved 4 - 7 (msb) first block location (lsb) 8 - 11 (m...

  • Page 136

    Chapter 4: scsi commands 4-94 july 2004 81-81276-01 rev a01 4.16 receive diagnostics results (1ch) the receive diagnostic results command tells the tape drive to send analysis data to the initiator after completing a send diagnostic command. The tape drive returns the following data as a result of t...

  • Page 137: 4.17 Release Unit (17H)

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-95 4.16.1 receive diagnostic results data this information indicates which of the main components of the subsystem failed testing. Figure 4-66. Receive diagnostics results (1ch) — data format 4.17 release unit (17h) the release unit comm...

  • Page 138: 4.18 Request Sense (03H)

    Chapter 4: scsi commands 4-96 july 2004 81-81276-01 rev a01 4.18 request sense (03h) the request sense command tells the target to transfer sense data to the initiator. Figure 4-68. Request sense (03h) command descriptor block — data format the sense data is valid for a check condition or reservatio...

  • Page 139

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-97 information based on the (non-diagnostic) data in its buffer as well as the data on medium. Additionally, bytes 25 through 28 will contain the amount of medium to be written in 4 kb blocks. Request sense does not cause the tape drive ...

  • Page 140

    Chapter 4: scsi commands 4-98 july 2004 81-81276-01 rev a01 4.18.1 sense information format figure 4-69. Request sense — data format bit byte 7 6 5 4 3 2 1 0 0 valid error code 1 segment number 2 filemark eom ili rsv’d sense key 3 - 6 (msb) information bytes (lsb) 7 additional sense length 8 - 11 (m...

  • Page 141

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-99 table 4-59. Request sense data — field descriptions field name description valid when set to 1, this field indicates that the information bytes contain valid information as defined in the scsi specification. Error code a value of 70h ...

  • Page 142: 4.18.2  Sense Keys

    Chapter 4: scsi commands 4-100 july 2004 81-81276-01 rev a01 4.18.2 sense keys table 4-60 describes the sense keys that accompany sense request data. Sksv sense-key specific valid. When set to1, this bit indicates that the sense key specific fields are valid. The sense key specific fields are bytes ...

  • Page 143

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-101 table 4-61 describes sense keys (sk), additional sense codes (asc), and additional sense code qualifiers (ascq) that the tape drive reports in response to a request sense command. 05h illegal request. The cdb or supplied parameter da...

  • Page 144

    Chapter 4: scsi commands 4-102 july 2004 81-81276-01 rev a01 01h recovered error 00 17 clean requested (non-vendor unique) 0a 00 error log overflow 0a 80 error log generated 37 00 rounded parameter 3b 08 repositioning error 44 c1 eeprom copy 1 area bad 44 c2 eeprom copy 2 area bad 47 00 scsi parity ...

  • Page 145

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-103 03h medium error 00 00 medium error 04 02 unit not ready, load command needed 0c 00 write error (possible medium problem, cleaning medium needed) 11 00 unrecovered read error 11 08 unrecovered read error, incomplete block read 14 00 ...

  • Page 146

    Chapter 4: scsi commands 4-104 july 2004 81-81276-01 rev a01 04h hardware error (continued) 3b 0e media source element empty a 40 80 diagnostic/post failure, rom edc error b 40 81 diagnostic/post failure, ram failure b 40 82 diagnostic/post failure, bad drive status b 40 83 diagnostic/post failure, ...

  • Page 147

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-105 05h illegal request 1a 00 parameter list length error 20 00 illegal opcode 20 81 illegal command while in recovery mode 21 01 invalid element address (media changer) 24 00 invalid cdb field (may occur if odd block counts are attempte...

  • Page 148

    Chapter 4: scsi commands 4-106 july 2004 81-81276-01 rev a01 05h illegal request (continued) 3d 00 invalid bits in id message 53 02 media removal prevented 82 00 not allowed if not at bot 06h unit attention 28 00 not ready to ready transition 29 00 reset occurred 2a 01 mode parameters changed 2a 02 ...

  • Page 149

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-107 0bh aborted command 2f 00 commands cleared by another initiator 43 00 message error 44 80 unexpected selection interrupt 44 82 command complete sequence failure 44 83 scsi chip, gross error/ illegal – command status 44 84 unexpected/...

  • Page 150: 4.19 Reserve Unit (16H)

    Chapter 4: scsi commands 4-108 july 2004 81-81276-01 rev a01 4.19 reserve unit (16h) the reserve unit command reserves the specified tape drive for the exclusive use of the requesting initiator or for another specified scsi device. The reservation remains in effect until one of the following conditi...

  • Page 151

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-109 4.19.1 medium changer considerations the optional element reservation feature defined for medium changer tape drives in scsi-2 is not supported. The reserve command is defined the same as for the tape drive. The entire loader device ...

  • Page 152: 4.20 Rewind (01H)

    Chapter 4: scsi commands 4-110 july 2004 81-81276-01 rev a01 4.20 rewind (01h) the rewind command tells the tape drive to position the medium at its beginning. Before rewinding, the tape drive writes any write buffered data to the medium and appends an eod marker. Figure 4-71. Rewind (01h) command d...

  • Page 153: 4.21 Send Diagnostic (1Dh)

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-111 4.21 send diagnostic (1dh) the send diagnostic command tells the tape drive to perform diagnostic tests on itself. Figure 4-72. Send diagnostic (1dh) command descriptor block — data format the tape drive does not support the page for...

  • Page 154

    Chapter 4: scsi commands 4-112 july 2004 81-81276-01 rev a01 reads the records. Rewinds the medium. The execution time for the test is 6 minutes if calibration is not required. Specify this test by setting the self-test and unitofl bits and zeroing the devofl bit. This test can accept a parameter li...

  • Page 155

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-113 if the maximum number of test passes is 0, causes testing to loop forever. A bus reset or a selection from the host sending an abort or a bus device reset message terminates testing. If the block size field is 0, the tape drive uses ...

  • Page 156

    Chapter 4: scsi commands 4-114 july 2004 81-81276-01 rev a01 if the specified test passes, the tape drive returns a good status. Otherwise, it generates a check condition and the sense data contains information about the failure. Table 4-66. Sense keys used with send diagnostic (1dh) sense key descr...

  • Page 157: 4.22 Space (11H)

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-115 4.22 space (11h) the space command provides a variety of positioning functions that are determined by the code and count fields in the cdb. The command provides both forward (toward eom/p) and reverse (toward bom/p) positioning. Figu...

  • Page 158

    Chapter 4: scsi commands 4-116 july 2004 81-81276-01 rev a01 when executing space, the tape drive implements the following hierarchy: • blocks – lowest • filemarks • eod • bom/p or eom/p – highest. Therefore, space n blocks halts with good status after the nth block or with check condition status on...

  • Page 159: 4.24 Verify (13H)

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-117 due to power cycle, code update, and data cartridge loaded conditions, it is possible to get multiple check conditions on a test unit ready command. Figure 4-75. Test unit ready (00h) command descriptor block — data format 4.24 verif...

  • Page 160: 4.25 Write (0Ah)

    Chapter 4: scsi commands 4-118 july 2004 81-81276-01 rev a01 4.25 write (0ah) the write command transfers one or more blocks from the host to the current logical position. When in buffered mode (see “mode select (15h/55h)” on page 4-44 ), the tape drive reports a good status on write commands as soo...

  • Page 161

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-119 figure 4-77. Write (0ah) command descriptor block — data format the tape drive flushes the write buffer to medium under the following conditions: • the write hold-off time limit is exceeded. (see “mode select (15h/55h)” on page 4-44 ...

  • Page 162

    Chapter 4: scsi commands 4-120 july 2004 81-81276-01 rev a01 fixed the fixed bit specifies both the meaning of the transfer length field and whether fixed-length or variable-length blocks are to be transferred. Setting the fixed bit to 0 selects variable block mode. A single block is transferred fro...

  • Page 163: 4.26 Write Buffer (3Bh)

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-121 4.26 write buffer (3bh) the write buffer command, used with read buffer, is a diagnostic function for testing the tape drive data buffer, dma engine, scsi bus interface hardware, and scsi bus integrity. It also enables downloading an...

  • Page 164: 4.26.2  Write Data Mode

    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...

  • Page 165: 4.27 Write Filemarks (10H)

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 4-123 4.26.4 download microcode and save mode this mode causes one of the following actions: • download and save the entire image at once. • download the image data and save it. • start a save operation after all the image data has been do...

  • Page 166

    Chapter 4: scsi commands 4-124 july 2004 81-81276-01 rev a01 table 4-72. Write filemarks (10h) command descriptor block — field descriptions field name description lun logical unit number. The target ignores this field. Only an identify message can change the lun. Wsmrk not supported. This field mus...

  • Page 167: Supported Scsi-2 Medium

    81-81276-01 rev a01 july 2004 5-1 chapter 5 supported scsi-2 medium changer device commands on the medium changer lun, only commands defined for this device type are allowed. Table 5-1 lists the supported opcodes/scsi commands and the section in this manual that describes each command. Previous sect...

  • Page 168: 5.1

    Chapter 5: supported scsi-2 medium changer device commands 5-2 july 2004 81-81276-01 rev a01 the rest of this chapter discusses commands that are unique to medium changers. 5.1 initialize element status (07h) the initialize element status command causes the medium changer to initialize the element s...

  • Page 169

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 5-3 5.2.1 device capabilities page (1fh) the tape drive supports the device capabilities page. Figure 5-2 shows the data format for the page. Figure 5-2. Device capabilities page — data format bit field values • elements that can store med...

  • Page 170: 5.3

    Chapter 5: supported scsi-2 medium changer device commands 5-4 july 2004 81-81276-01 rev a01 5.3 move medium (a5h) the move medium command moves data cartridges from the tape drive to the magazine slot it came from or from any magazine slot to the tape drive. The transport element address field must...

  • Page 171

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 5-5 the primary and alternate volume tag functions are not supported. The flags indicating these functions in the element status pages are always 0. Figure 5-4 shows the data format for the command header. Figure 5-4. Read element status (...

  • Page 172

    Chapter 5: supported scsi-2 medium changer device commands 5-6 july 2004 81-81276-01 rev a01 5.4.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...

  • Page 173

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 5-7 5.4.2 medium transport element status page figure 5-6 shows the format for 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...

  • Page 174

    Chapter 5: supported scsi-2 medium changer device commands 5-8 july 2004 81-81276-01 rev a01 figure 5-7. Medium transport element status descriptor — data format there is only one medium transport element. It can be addressed explicitly as element address 1, or implicitly as address 0. Pvoltag and a...

  • Page 175

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 5-9 5.4.3 storage element status page figure 5-8 shows the format 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 ...

  • Page 176

    Chapter 5: supported scsi-2 medium changer device commands 5-10 july 2004 81-81276-01 rev a01 figure 5-9. Storage element status descriptor — data format there are up to 14 storage elements, the number corresponding to the number of slots in a magazine. Pvoltag and avoltag are always 0. Access is al...

  • Page 177

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 5-11 5.4.4 data transfer element status page figure 5-10 shows the format 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 ...

  • Page 178

    Chapter 5: supported scsi-2 medium changer device commands 5-12 july 2004 81-81276-01 rev a01 figure 5-11. Data transfer element status descriptor — data format bit byte 7 6 5 4 3 2 1 0 8 – 9 (msb) data transfer element descriptor (lsb) 10 reserved access except rsv’d full 11 reserved 12 additional ...

  • Page 179

    Dlt1/vs80 scsi interface guide 81-81276-01 rev a01 july 2004 5-13 5.4.5 element address assignment page (1dh) the tape drive supports the element address assignment page. Figure 5-12 shows the data format for the page. Lun logical unit number – the tape drive number is 0. Scsi bus address the scsi b...

  • Page 180

    Chapter 5: supported scsi-2 medium changer device commands 5-14 july 2004 81-81276-01 rev a01 figure 5-12. Element address assignment page — data format table 5-4 lists the medium changer element address assignments. 12 – 13 (msb) number of import/export elements (00h) (lsb) 14 – 15 (msb) 1 st data ...

  • Page 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.