Professional Documents
Culture Documents
SCSI Reference
GA32-0450-09
IBM TotalStorage LTO Ultrium
Tape Drive
SCSI Reference
GA32-0450-09
Note
Before using this manual and the product it supports, read the information under Appendix B, “Notices,” on page 307.
Summary of Changes
Contents ix
x IBM TotalStorage LTO Ultrium Tape Drive: SCSI Reference
Tables
1. Features of the IBM Ultrium Tape Drives and 47. Supported Log Pages Log Page Format
the IBM 3580 Ultrium Tape Drive . . . . . 2 (Ultrium 1 and Ultrium 2 non-RoHS) . . . . 52
2. Supported Servers and Operating Systems for 48. Supported Log Pages Log Page Format
Primary Interface Attachment . . . . . . . 3 (Ultrium 2 RoHS and Ultrium 3) . . . . . 52
3. IBM LTO Ultrium Tape Drive Support of LTO 49. Supported Log Pages Log Page Format
Cartridges . . . . . . . . . . . . . 5 (Ultrium 4) . . . . . . . . . . . . . 53
4. Command Timeout Values (Ultrium 1, 2, and 3 50. Write Error Log Parameters . . . . . . . 55
Full-Height) - Sorted by OpCode . . . . . . 8 51. Read Error Log Parameters . . . . . . . 56
5. Command Timeout Values (Ultrium 3 52. Non-Medium Errors log parameter codes 57
Half-Height and Ultrium 4) - Sorted by 53. Sequential Access Device Log Parameters 58
OpCode . . . . . . . . . . . . . . 10 54. TapeAlert Log Parameters . . . . . . . . 59
6. Command Timeout Values (Ultrium 3 55. DT Device Status Log Page . . . . . . . 62
Half-Height and Ultrium 4) - Alphabetical . . 12 56. DT Device Status log page parameter codes 62
7. Command and Parameter differences between 57. Very high frequency data log parameter format 62
generations . . . . . . . . . . . . 15 58. VHF DATA DESCRIPTOR field . . . . . . 63
8. Supported Common SCSI Commands . . . . 17 59. DT DEVICE ACTIVITY field values . . . . 65
9. ERASE Command . . . . . . . . . . 20 60. Very high frequency polling delay log
10. INQUIRY Command . . . . . . . . . 21 parameter format . . . . . . . . . . 66
11. Standard Inquiry Data Valid LUN . . . . . 22 61. Primary Port Status descriptor . . . . . . 66
12. Standard Inquiry Data Valid LUN (Drive 62. Speed Values . . . . . . . . . . . . 68
configured with eServer attachment feature) . 24 63. Device Statistics log parameter codes . . . . 69
13. Product Identification Table . . . . . . . 26 64. Medium Type Log Parameter format . . . . 69
14. Supported Vital Product Data Inquiry Page 27 65. Medium Type log parameter . . . . . . . 70
15. Firmware Designation Page . . . . . . . 28 66. Tape Diagnostic Data log page . . . . . . 71
16. Mode Page Policy page . . . . . . . . 29 67. Tape Diagnostic Data log parameter format 72
17. Mode Page policy descriptor . . . . . . . 29 68. Protocol-Specific log page for SAS . . . . . 74
18. Mode page policy values . . . . . . . . 30 69. Protocol-Specific log parameter for SAS 75
19. Mode Page Policy for LUN 0 (SSC Device) 30 70. SAS Phy log descriptor. . . . . . . . . 76
20. Mode Page Policy LUN 2 (ADC Device) 30 71. Tape Usage Log Parameters . . . . . . . 77
21. SCSI Ports Inquiry Page . . . . . . . . 32 72. Tape Capacity Log Parameters . . . . . . 79
22. SCSI Port Identification Descriptor . . . . . 33 73. Data Compression Log Parameters . . . . . 80
23. Target Port Descriptor Format . . . . . . 33 74. Write Errors log parameter codes . . . . . 81
24. Sequential-Access Device Capabilities Page 34 75. Read Forward Error Counters log parameter
25. Inquiry Page C1h: Drive Serial Numbers 35 codes . . . . . . . . . . . . . . 83
26. Unit Serial Number Inquiry Page . . . . . 38 76. Log Page 37h: Performance Characteristics:
27. Device Identification Inquiry Page . . . . . 39 Quality Summary . . . . . . . . . . 87
28. Device Identification Descriptor Format 39 77. Log Page 37h: Performance Characteristics:
29. Identifier Format . . . . . . . . . . . 40 Device Usage . . . . . . . . . . . . 87
30. Protocol Identification descriptor . . . . . 40 78. Log Page 37h: Performance Characteristics:
31. Logical Unit (NAA) Descriptor Format 41 Host Commands . . . . . . . . . . . 88
32. Port Identifier Descriptor Format . . . . . 41 79. Log Page 37h: Performance Characteristics:
33. Relative Target Port Values . . . . . . . 41 Host Initiators . . . . . . . . . . . 91
34. Port Name (NAA) Descriptor Format . . . . 42 80. Log Page 37h: Performance Characteristics:
35. Target Device Name Descriptor . . . . . . 43 Host Recovery (by port) . . . . . . . . 91
36. Drive Component Revision Levels Pages 44 81. Log Page 37h: Performance Characteristics:
37. LOAD/UNLOAD Command . . . . . . 45 Mode Phase Timing Windows . . . . . . 91
38. LOAD/UNLOAD actions depending on Load 82. Log Page 37h: Performance Characteristics:
and Hold bit settings and medium position . . 46 Servo Speed Characteristics . . . . . . . 94
39. LOCATE (10) command . . . . . . . . 47 83. Log Page 37h: Performance Characteristics:
40. LOCATE (16) Command (Ultrium 4 and Later) 47 Static Capacity . . . . . . . . . . . 94
41. Dest_Type field definitions . . . . . . . 48 84. Log Page 37h: Performance Characteristics:
42. LOG SELECT Command . . . . . . . . 49 Active Capacity . . . . . . . . . . . 94
43. LOG SENSE Command . . . . . . . . 50 85. Blocks/Bytes Transferred log parameter codes 95
44. Log Page Header Format . . . . . . . . 51 86. Host Port Interface log parameter codes 97
45. Log Parameter Format . . . . . . . . . 51 87. Subsystem Statistics log parameter codes 101
46. Supported Log Pages Log Page Definition 52 88. 6-Byte MODE SELECT Command . . . . 106
Tables xiii
267. ASC and ASQ Summary for Sense Key 5 272. ASC and ASQ Summary for Sense Key D
(Illegal Request). . . . . . . . . . . 273 (Volume Overflow). . . . . . . . . . 277
268. ASC and ASQ Summary for Sense Key 6 273. Abort Condition Handling . . . . . . . 282
(Unit Attention) . . . . . . . . . . . 275 274. Status Codes . . . . . . . . . . . . 284
269. ASC and ASQ Summary for Sense Key 7 275. Supported Outbound Messages . . . . . 287
(Data Protect) . . . . . . . . . . . 275 276. Supported Inbound Messages . . . . . . 289
270. ASC and ASQ Summary for Sense Key 8 277. Load ID and RU Name Designation . . . . 294
(Blank Check) . . . . . . . . . . . 276 278. Firmware Image . . . . . . . . . . 295
271. ASC and ASQ Summary for Sense Key B
(Aborted Command) . . . . . . . . . 277
Organization
The information in this book is organized as follows:
v Chapter 1, “Introduction,” on page 1 describes the features and supported
attachments for each type of tape drive.
v Chapter 2, “Summary of Drive Generation Differences,” on page 7 lists the
differences in command timeout values between the IBM Ultrium Internal Tape
Drive, the IBM TotalStorage LTO Ultrium 2 Tape Drive, and the IBM
TotalStorage LTO Ultrium 3 Tape Drive (known respectively as the Generation 1,
Generation 2, and Generation 3 drives).
v Chapter 3, “Command Support,” on page 17 lists the SCSI commands that are
supported by the tape drives.
v Chapter 4, “Error Sense Information,” on page 261 describes the error sense
information for the tape drives.
v Chapter 7, “Sense Keys and Additional Sense,” on page 269 describes the sense
keys and additional sense information for the tape drives.
v Chapter 9, “Attachment Features,” on page 281 describes the features of the SCSI
and Fibre Channel and Serial Attached SCSI drives.
v Chapter 10, “Firmware Download,” on page 293 describes identifying level
hardware of drive and identifying level hardware for which the Firmware image
is intended.
Related Publications
v IBM TotalStorage Ultrium Tape Drive 3580 Models L23 and H23 Setup and Operator
Guide, GA32-0460, tells how to install and run the IBM 3580 Ultrium Tape Drive
Models L23 and H23.
v IBM 3580 Ultrium Tape Drive Setup, Operator, and Service Guide, GA32-0415, tells
how to install and run the IBM 3580 Ultrium Tape Drive. The guide also
describes how to administer basic service procedures.
v IBM TotalStorage LTO Ultrium 2 Tape Drive Models T400 and T400F Setup, Operator,
and Service Guide, GA32-0455, tells how to install and run the IBM Ultrium 2
Tape Drive. The guide also describes how to administer basic service procedures.
v IBM TotalStorage 3580 Tape Drive Models L33/L3H Setup, Operator, and Service
Guide, GC26-7708, tells how to install and run the IBM 3580 Tape Drive Models
L33/L3H. The guide also describes how to administer basic service procedures.
v IBM TotalStorage Ultrium 3 Tape Drive Setup, Operator, and Service Guide,
GC26-7697, tells how to install and run the IBM TotalStorage Ultrium 3 Tape
Drive. The guide also describes how to administer basic service procedures.
v IBM Ultrium Internal Tape Drive Models T200 and T200F Setup, Operator, and
Service Guide, GA32-0435, tells how to install and run the IBM Ultrium Internal
Tape Drive. The guide also describes how to administer basic service procedures.
v IBM Ultrium Device Drivers Installation and User’s Guide, GA32-0430, provides
instructions for attaching IBM-supported hardware to open-systems operating
systems. It indicates what devices and levels of operating systems are supported,
© Copyright IBM Corp. 2002, 2008 xv
gives the requirements for adapter cards, and tells how to configure servers to
use the device driver with the Ultrium family of devices.
v IBM Ultrium Device Drivers Programming Reference, GC35-0483, supplies
information to application owners who want to integrate their open-systems
applications with IBM-supported Ultrium hardware. The reference contains
information about the application programming interfaces (APIs) for each of the
various supported operating-system environments.
v Fibre Channel Arbitrated Loop (FC-AL-2), published by the American National
Standards Institute (ANSI) as NCITS 332:1999.
v Fibre Channel Tape and Tape Medium Changers (FC-TAPE), published by the
American National Standards Institute. Final draft available as T11/99-069v4 on
the web at http://www.t11.org; actual document available from ANSI as NCITS
TR-24:1999.
v Fibre Channel Protocol for SCSI, Second Version (FCP-2), published by the
American National Standards Institute and available on the web at
http://www.t10.org.
v SCSI Parallel Interface-3 (SPI-3), published by InterNational Committee on
Information Technology Standards (INCITS) and available on the web at
http://www.t10.org.
v SCSI-3 Stream Commands (SSC), published by the American National Standards
Institute and available on the web at http://www.t10.org.
v SCSI Stream Commands-2 (SSC-2), published by the American National Standards
Institute and available on the web at http://www.t10.org.
v SCSI Primary Commands-2 (SPC-2), published by the American National
Standards Institute and available on the web at http://www.t10.org.
v SCSI Primary Commands-3 (SPC-3), published by the American National
Standards Institute and available on the web at http://www.t10.org.
v Automation/Drive Interface - Commands (ADC), published by the American
National Standards Institute and available on the web at http://www.t10.org.
v Automation/Drive Interface - Commands (ADC-2), published by the American
National Standards Institute and available on the web at http://www.t10.org.
v IBM TotalStorage Ultrium 4 Tape Drive Setup, Operator, and Service Guide,
GC27-2102, tells how to install and run the IBM TotalStorage Ultrium 4 Tape
Drive. The guide also describes how to administer basic service procedures.
Certain of the products use a Small Computer Systems Interface (SCSI); others use
a SCSI over Fibre Channel interface or a Serial Attached SCSI (SAS) interface.
Table 1 on page 2 lists the type of interface and other features for each product.
All products use the Small Computer Systems Interface (SCSI) Architecture Model.
The transports used are shown in Table 1 on page 2.
Figure 1 shows the IBM 3580 Ultrium Tape Drive and the IBM TotalStorage LTO
Ultrium Tape Drive Model T200. The IBM TotalStorage Ultrium Tape Drive Model
T800 looks similar to the IBM TotalStorage LTO Ultrium Tape Drive Model T200.
Figure 1. The IBM 3580 Ultrium Tape Drive and the IBM TotalStorage LTO Ultrium Tape
Drive Model T200. Model T200 resembles Model T200F, T400, and T400F in appearance. It
is shown on the right without a front bezel. The IBM TotalStorage Ultrium Tape Drive Model
T800 looks similar to the IBM TotalStorage LTO Ultrium Tape Drive Model T200.
For specific instructions about attachment, see one or more of the following:
v The chapter about installation in the IBM Ultrium Internal Tape Drive Models T200
and T200F Setup, Operator, and Service Guide
v IBM TotalStorage LTO Ultrium 2 Tape Drive Models T400 and T400F Setup, Operator,
and Service Guide
v IBM 3580 Ultrium Tape Drive Setup, Operator, and Service Guide for Models L11,
H11, L13, and H13
v IBM TotalStorage Ultrium Tape Drive 3580 Models L23 and H23 Setup and Operator
Guide
v IBM TotalStorage 3580 Tape Drive Models L33/L3H Setup, Operator, and Service Guide
v IBM TotalStorage Ultrium 3 Tape Drive Setup, Operator, and Service Guide
v IBM TotalStorage Ultrium 4 Tape Drive Setup, Operator, and Service Guide
Table 2. Supported Servers and Operating Systems for Primary Interface Attachment
Supported Servers Supported Operating Systems
IBM AS/400 or ERserver iSeries
® ™
OS/400®
IBM RS/6000®, RS/6000 SP™, or Eserver pSeries® AIX®
IBM Eserver zSeries® 800 or 900 Linux®
Hewlett-Packard HP-UX
Sun Microsystems Solaris
32-bit, Intel-compatible servers Microsoft Windows 2000 or Windows NT®
Red Hat Linux
® ®
64-bit, Intel Itanium servers Red Hat Linux
Supported SAN Components for Fibre Channel Attachment
Visit the web at: http://www.storage.ibm.com/hardsoft/tape/supserver/support.html
Chapter 1. Introduction 3
Supported Device Drivers
IBM maintains the latest levels of device drivers and driver documentation for the
IBM Ultrium Tape Drives on the Internet. You can access this material from your
browser or through the IBM FTP site by performing one of the following
procedures. (Note: If you do not have Internet access and you need information
about device drivers, contact your Marketing Representative.)
v Using a browser, type one of the following:
– http://www.ibm.com/storage
– ftp://ftp.software.ibm.com/storage/devdrvr
– ftp://207.25.253.26/storage/devdrvr
v Using an IBM FTP site, enter the following specifications:
– FTP site: ftp.software.ibm.com
– IP Addr: 207.25.253.26
– Userid: anonymous
– Password: (use your current e-mail address)
– Directory: /storage/devdrvr
Device drivers and utilities for each supported server are beneath
/storage/devdrvr/ in the following directories (the device driver for the iSeries or
AS/400 server is included in the OS/400 operating system):
v AIX
v HPUX
v Linux
v Solaris
v Windows Server 2003
For more information about device drivers, refer to any of the preceding
directories.
1. Ultrium Tape Drives reads tapes that have been written by other licensed Ultrium drives.
2. Ultrium Tape Drives write tapes that can be read by other licensed Ultrium drives.
3. Ultrium Tape Drives offer read/write capability for certified LTO Ultrium tape cartridges as specified in this
table.
4. The tape cartridges define the format to which it is written. (for example Ultrium 2 cartridges can only be
written to Ultrium 2 format regardless of which generation drive writes it.
5. Ultrium 3 and Ultrium 4 support WORM cartridges.
The Ultrium 4 Tape Drive (Generation 4) uses the IBM TotalStorage 800 GB Data
Cartridge, and is compatible with the cartridges of its predecessors (called
Generation 2 and Generation 3). The Ultrium 4 Tape Drive performs the following
functions:
v Reads and writes Generation 4 cartridges to Generation 4 format
v Reads and writes Generation 3 cartridges to Generation 3 format
v Reads Generation 2 cartridges in Generation 2 format
v Does not write Generation 4 cartridges to other generations’ format
v Does not write Generation 3 cartridges to other generations’ format
v Does not write Generation 2 cartridges to other generations’ format
v Does not write or read Generation 1 cartridges in any format
The Ultrium 3 Tape Drive (Generation 3) uses the IBM TotalStorage 400 GB Data
Cartridge, and is compatible with the cartridges of its predecessors (called
Generation 1 and Generation 2). The Ultrium 3 Tape Drive performs the following
functions:
v Reads and writes Generation 3 cartridges to Generation 3 format
v Reads and writes Generation 2 cartridges to Generation 2 format
v Reads Generation 1 cartridges in Generation 1 format
v Does not write Generation 3 cartridges to other generations’ format
Chapter 1. Introduction 5
v Does not write Generation 2 cartridges to other generations’ format
v Does not write Generation 1 cartridges to other generations’ format
The Ultrium 3 Tape Drive reads tapes that have been written by other licensed
Ultrium 3 drives. It also writes tapes that can be read by other licensed Ultrium 3
drives.
Ultrium 3 Tape Drives offer read/write capability for certified LTO Ultrium tape
cartridges that have capacities of 400 and 200 GB. They also offer read capability
for certified LTO Ultrium tape cartridges that have a capacity of 100 GB.
The Ultrium 2 Tape Drive (Generation 2) uses the IBM TotalStorage LTO Ultrium
200 GB Data Cartridge and is compatible with the cartridges of its predecessor, the
IBM Ultrium Internal Tape Drive (called Generation 1). The Ultrium 2 Tape Drive
performs the following functions:
v Reads and writes Generation 2 cartridges to Generation 2 format
v Reads and writes Generation 1 cartridges to Generation 1 format
v Does not write Generation 2 cartridges to Generation 1 format
v Does not write Generation 1 cartridges to Generation 2 format
The Ultrium 2 Tape Drive reads tapes that have been written by other licensed
Ultrium 2 drives. It also writes to tapes that can be read by other licensed Ultrium
2 drives.
Ultrium 2 Tape Drives offer read/write capability for certified LTO Ultrium tape
cartridges that have capacities of 200 and 100 GB.
Ultrium 1 Tape Drives offer read/write capability for certified LTO Ultrium tape
cartridges that have a capacity of 100 GB.
The features of the Generation 2 drive that differ from the Generation 1 drive
include:
v 64-MB read-and-write cache
v Speed matching
v Channel calibration
v SET CAPACITY SCSI command
v Ultra160 SCSI interface
v Drive external SCSI termination required
v Fibre Channel 2-Gb/s interface
v Fibre Channel support for direct connection to an F port (for example, a McData
switch)
v Parallel SCSI Ultra 320 interface
The features of the Ultrium 3 Tape Drive that differ from those of the Ultrium 2
Tape Drive include the following:
v 128 MB read-and-write cache
v New media, new media shell color (dark bluish gray, Pantone color number
7546C)
v Expanded request sense length to 96 bytes
v WORM capability
v Fibre Channel 2Gbit/sec interface or 4Gbit/sec interface
v Half-Height drive option with:
1. Serial Attached SCSI (SAS) Interface, or
2. Ultra160 SCSI Interface
The features of the Ultrium 4 Tape Drive that differ from those of the Ultrium 3
HH, Ultrium 3, and Ultrium 2 Tape Drive include the following:
v Half-Height drive option with:
1. Serial Attached SCSI (SAS) Interface, or
2. Ultra160 SCSI Interface
v 128 MB read-and-write cache
v Encryption of data on Ultrium 4 cartridges
1. T10 key management method
2. Transparent management method
a. when using IBM device driver, or
b. when in an IBM library
v New log pages
1. Device Statistics log page (14h)
Note: The time-outs in the following table are based on the time from the start of
execution of the command, to its reported completion. Since applications are
generally concerned with the time from the command being issued, to its
reported completion, it should be noted that this overall time may be
affected by currently executing operations. Some of these conditions include:
v A prior command was issued with the Immediate bit set in the CDB
v Multiple concurrent commands with Simple queueing are executed
v Multi-initiator configurations without reservations
v Non-host operations, such as manual unloads, power-on self tests, and so
on
v Commands issued shortly after certain aborted commands
v Commands that force flushes when unwritten write data is in the buffer
Table 4. Command Timeout Values (Ultrium 1, 2, and 3 Full-Height) - Sorted by OpCode
Timeout
for Timeout for Ultrium 2 Timeout for Ultrium 3 Full-Height
Ultrium Tape Drive (in minutes) Tape Drive (in minutes)
Tape
Drive
Op (in Gen 1 Gen 2 Gen 1 Gen 2 Gen 3
Code Command minutes) Cartridge Cartridge Cartridge Cartridge Cartridge
00h Test Unit Ready 1 1 1 1 1 1
01h Rewind 8 9 8 8 8 9
03h Request Sense 1 1 1 1 1 1
05h Read Block Limits 1 1 1 1 1 1
08h Read 18 18 18 16 16 17
Table 5. Command Timeout Values (Ultrium 3 Half-Height and Ultrium 4) - Sorted by OpCode
Timeout for Ultrium 3 Half-Height Tape Timeout for Ultrium 4 Tape Drive (in
drive (in minutes) minutes)
Op Code Command
Gen 1 Gen 2 Gen 3 Gen 2 Gen 3 Gen 4
Cartridge Cartridge Cartridge Cartridge Cartridge Cartridge
Test Unit
00h 1 1 1 1 1 1
Ready
01h Rewind 11 11 13 8 9 9
Request
03h 1 1 1 1 1 1
Sense
Read Block
05h 1 1 1 1 1 1
Limits
08h Read 21 21 23 16 17 22
0Ah Write N/A 21 24 N/A 18 23
0Bh Set Capacity N/A 14 16 N/A 12 12
Write
10h N/A 21 23 N/A 17 22
FileMark
Command or Generation
Description
Parameter 2 3 4
Set Capacity The SET CAPACITY command is supported. The minimum capacity Y Y Y
Command allowed varies from one generation to another. For more information, see
“SET CAPACITY (not Ultrium 1)” on page 248.
Echo Buffer Support Echo Buffer mode of the READ BUFFER and WRITE BUFFER Y Y Y
commands (see “READ BUFFER” on page 173 and “WRITE BUFFER” on
page 258, respectively).
Volume Identifier Volume Identifier Part of the Device Attribute of Medium Auxiliary - - Y
Memory. This is the volume identifier (VolSer or BarCode) value set by
the library
Security Protocol In This command is related to managing encryption. See “SECURITY - - Y
(SPIN) PROTOCOL IN (SPIN) A2h” on page 201.
Security Protocol Out This command is related to managing encryption. See “SECURITY - - Y
(SPOUT) PROTOCOL OUT (SPOUT) B5h” on page 215.
Key:
- Not Supported
Fibre Channel Port Control Page (19h) Page Length changed from 0Eh in Ultrium 1
drives to 06h in later generation 2 drives. This matches the definition in the SCSI
standards (FCP-2 and later). For more information, see “Mode Page 19h: Protocol
Specific Port Control Page” on page 124.
Queueing Issues
For all generations of drive later than Ultrium 1, when a cartridge is inserted into
the drive through means other than SCSI commands to LUN 0, it is assumed that
the host will poll the drive with TEST UNIT READY commands to determine its
readiness before issuing in-order commands (for example, commands other than
INQUIRY, TEST UNIT READY, REQUEST SENSE, or REPORT LUNS). If this is not
the case, these commands may time out in ERP (Error Recovery Procedure)
situations.
Fencing Behavior
For a description of the Fencing Behavior and Persistent Error handling, see
“Persistent Errors” on page 262.
Note 3: Reported as appropriate for the type of Service Action and Reservation Type requested and the current reservation state of
the drive.
Note 4: If the drive sets the CRH bit to one in the parameter data returned by the REPORT CAPABILITIES service action of the
PERSISTENT RESERVE IN command, then in the presence of a Persistent Reservation, a RELEASE(6) or RELEASE(10) command
will complete with GOOD status, but the persistent reservation will not be released, if the command is received from:
1. An I_T nexus that is a persistent reservation holder; or
2. An I_T nexus that is registered if a registrants only type persistent reservation is present.
Note 5: A RESERVE(6) or RESERVE(10) command will complete with GOOD status, but no reservation will be established and the
persistent reservation will not be changed, if the command is received from:
1. An I_T nexus that is a persistent reservation holder; or
2. An I_T nexus that is registered if a registrants only type persistent reservation is present.
If the Long field is set to 0, no further writing occurs. If the Long field is set to 1,
the Data Set Separator (DSS) pattern is written from EOD to the end of the
medium to overwrite any data that is currently on the tape.
If the Immediate (Immed) field is set to 1, then the drive validates the command
and waits for any previous command from any server to complete, including any
immediate commands that are currently being processed. It also waits for any
buffered data to be flushed to tape. It then reports a deferred error for any
preceding command or buffered data, if appropriate. If there is no deferred error,
the drive reports Good status and initiates the command. If the Immediate
(Immed) field is set to 0, status is not returned until after the command has
completed.
If the Enable Vital Product Data (EVPD) field is set to 0 and the Page Code is 0,
Standard Inquiry Data is returned.
If the Enable Vital Product Data (EVPD) field is set and the Page Code is 0, the
Supported Vital Product Data Pages page is returned. This page lists the EVPD
pages that are supported by the drive in this configuration.
If the Enable Vital Product Data (EVPD) field is set, if the Page Code is not 0, and
if there is an Inquiry data page that corresponds to that page code, then that page
is returned. See Table 14 on page 27 for supported data pages. The contents of
page D0h are not specified in this document.
If the preceding conditions do not apply, Check Condition status is returned. The
Sense Key is set to Illegal Request (5) and the ASC/ASCQ is set to Invalid Field in
CDB (2400).
In drives configured with the eServer attachment feature, the Standard Inquiry
Data for a valid LUN is defined in Table 12 on page 24.
WARNING
Drives that have eServer Attachment Enabled have several behaviors that are
different from the drives without eServer Attachment Enabled. Please see the
following sections and look for eServer attachment differences: “Mode Page
2Fh: Behavior Configuration Mode Page” on page 134; “REWIND” on page
200; “WRITE FILE MARKS” on page 260.
: Product Identification
31
32
35
36 Reserved AutDis
37 Performance Limit
38
: Reserved
40
41 OEM Specific
: Reserved
55
56 Reserved Clocking QAS (0b) IUS
57 Reserved
Note: IBM SCDD will only configure Product IDs that are found in the column entitled "eServer Attachment
Enabled".
The Supported Vital Product Data Page contains pages that the device will return.
Only those drives that have the AS/400 (iSeries) attachment enabled will have
valid data in pages D0h/D1h/E0h/E1h. The contents of pages D0h/D1h/E0h/E1h
are not specified in this document. OEM drives may add pages not specified in
this document.
16
PTF Number (00000000h)
19
20
Patch Number (00000000h)
23
24 RU Name
31 (8-byte EBCDIC representation of the RU name.)
32
Library Sequence Number
36
The Load ID and RU Name and which drive level hardware they designate are
defined in Table 277 on page 294.
7
:
n-3
Each mode page policy descriptor (see Table 17) contains information describing
the mode page policy for one or more mode pages or subpages. The information in
the mode page policy descriptors in this page describe the mode page policy for
every mode page and subpage supported by the logical unit.
Table 17. Mode Page policy descriptor
Bit
Byte 7 6 5 4 3 2 1 0
0 Reserved Policy Page Code
1 Policy Subpage Code
2 MLUS Reserved Mode Page Policy
3 Reserved
The Policy Page Code field and Policy Subpage Code field indicate the mode page
and subpage to which the descriptor applies.
The first mode page policy descriptor in the list contains a Policy Page Code field
set to 3Fh and a Policy Subpage Code field set to FFh, indicating that the
descriptor applies to all mode pages and subpages not described by other mode
page policy descriptors. The Policy Page Code field is set to 3Fh and the policy
Subpage Code field is set to FFh only in the first mode page policy descriptor in
the list.
If the Policy Page Code field contains a value other than 3Fh or a policy Subpage
Code field contains a value other than FFh, then the Policy Page Code field and
the Policy Subpage Code field indicate a single mode page and a subpage to which
the descriptor applies.
Chapter 3. Command Support 29
A Multiple Logical Units Share (MLUS) bit set to 1 indicates the mode page and
subpage identified by the Policy Page Code field and policy Subpage Code field is
shared by more than one logical unit. An MLUS bit set to zero indicates the logical
unit maintains its own copy of the mode page and subpage identified by the
Policy Page Code field and Policy Subpage Code field. The MLUS values are
described in Table 19
The Mode Page policy field (see Table 18) indicates the mode page policy for the
mode page and subpage identified by the Policy Page Code field and policy
Subpage Code field. The mode page policies are described in Table 18.
Table 18. Mode page policy values
Value Description
00b Shared
01b Per target port
10b Per initiator port
11b Per I_T nexus
For LUN 0, this would lead to returning a Mode Page Policy Descriptor of page
3Fh and subpage FFh stating MLUS (0) and Mode Page Policy (000b - Shared).
This would be followed by descriptors for the Disconnect/Reconnect Page, the
Control Extension Mode Page, the Fibre Channel Logical Unit Control Page, and
the Fibre Channel Port Control Page.
Table 20. Mode Page Policy LUN 2 (ADC Device)
Subpage
Mode Page Policy
Page Name Page Code Code MLUS
Control Extension Mode Page 0Ah 01h 1 Shared (00b)
ADC Device Configuration mode page
0Eh 01h 0 Shared (00b)
Node descriptor subpage
ADC Device Configuration mode page
0Eh 02h 0 Shared (00b)
DTD Primary Port descriptor subpage
ADC Device Configuration mode page
0Eh 04h 0 Shared (00b)
Target Device Serial Number subpage
Each SCSI Port identification descriptor (see Table 22 on page 33) identifies a SCSI
port. The SCSI port identification descriptors may be returned in any order. There
will be one SCSI Port Identification Descriptor for each port in the drive.
23
23
The Write Once Read Many (WORM) bit is set to 1 on Ultrium 3 and later drives
indicating the drive supports WORM mode operation. The WORM bit is set to 0
on Ultrium 2 drives indicating the drive does not support WORM mode operation.
13
The Unit Serial Number Page contains a single value that is a 10-byte ASCII string.
The string, with the Vendor Identification and Product Identification fields in the
Standard Inquiry Data, uniquely identifies the drive. Valid Serial Number values
are 0 through 9, A through D, and F. On eServer enabled drives this is the last 10
characters of the 11S identifier
n
n+1
Parallel SCSI devices return only the Device Identification Descriptor (see Table 28).
% Fibre Channel and SAS devices return the Device Identification Descriptor (see
Table 28) followed by the Protocol Identification Descriptor (see Table 30 on page
% 40). SAS devices also return the Target Device Name Descriptor (Table 35 on page
% 43).
Table 28. Device Identification Descriptor Format
Bit
Byte 7 6 5 4 3 2 1 0
4 Reserved Code Set (2h)
5 Reserved Identifier Type
6 Reserved
7 Identifier Length (n-7)
8
: Identifier
: Vendor Identification
15
16
: Product Identification
31
32
: Serial Number
41
The Code Set field is 2, indicating the Identification Descriptor contains only ASCII
data.
This device supports an Identifier Type of 1. In this case, the Device Identification
Descriptor is the Vendor Identification followed by the Product Identification field
from the Standard Inquiry Data and the Serial Number field from the Unit Serial
Number Inquiry Page (see “Unit Serial Number Page (80h)” on page 38).
The Parallel SCSI drive reports only the single Identification Descriptor of
Identifier Type 1.
The Protocol Identification descriptor is returned only on Fibre Channel and SAS
attached devices. The format is given in Table 30.
Table 30. Protocol Identification descriptor
Bit
Byte 7 6 5 4 3 2 1 0
42
53
54
61
62
73
53
: Obsolete (0)
59
60
61
Relative Target Port is the Relative Target Port through which the command was
received. Relative Target Port values are defined in Table 33. The port identifier
descriptor is only returned on Ultrium 3 and later drives.
Table 33. Relative Target Port Values
Value Description
0000h Reserved
0001h Relative port 1, historically known as port A or FC port 0
0002h Relative port 2, historically known as port B or FC port 1
0003h Relative port 3, RS422 port
0004h - FFFFh Relative port 4 through 65 535
73
World Wide Port Name (WWPN) is the WWPN through which the command was
received. The port name descriptor is only returned on Ultrium 3 and later drives.
15
16
: Reserved (00000000000000h)
22
23
: Date (YYYYMMDD)
30
31
: Reserved (000000000000000000000000h)
42
The Date field contains the date the code was built, with the year defined first.
If the Load field is set to 1and there is a tape in the drive, it is positioned to BOM.
If the Load field is set to 1 and there is no tape in the drive, Check Condition
status is returned. The Sense Key is set to Not Ready (2) and the ASC/ASCQ is set
to Parameter Medium Not Present (3A00).
If the Load field is set to 0, there is a tape in the drive, and medium removal
prevention has not been set, then the tape is unloaded and ejected. If the Load
field is set to 0, there is a tape in the drive, and medium removal prevention has
been set, then Check Condition status is returned. The Sense Key is set to Illegal
Request (5) and the ASC/ASCQ is set to Medium Removal Prevented (5302).
If the Load field is set to 0 and the tape is in the ejected position, the command is
presented with Check Condition status and associated sense data of 2/0402 (Not
Ready, Initialization Required). If the Load field is set to 0 and there is no cartridge
present, the command is presented with Check Condition status and associated
data of 2/3A00 (Not Ready, Medium Not Present).
If the Immediate (Immed) field is set to 1, then the drive validates the command
and waits for any previous command from any server to complete, including any
immediate commands that are currently being processed. It also waits for any
buffered data to be flushed to tape. It then reports a deferred error for any
preceding command or buffered data, if appropriate. If there is no deferred error,
the drive reports Good status and initiates the command. If the Immediate
(Immed) field is set to 0, status is not returned until after the command has
completed.
The End Of Tape (EOT) field is not supported and should be set to 0. If the EOT
field is set to 1, then Check Condition status is returned. The Sense Key is set to
Illegal Request (5) and the ASC/ASCQ is set to Invalid Field in CDB (2400).
: Block Address
6
7 Reserved
8 Partition (0)
9 Control
If the Immediate (Immed) field is set to 1, then the drive validates the command
and waits for any previous command from any server to complete, including any
immediate commands that are currently being processed. It also waits for any
buffered data to be flushed to tape. It then reports a deferred error for any
preceding command or buffered data, if appropriate. If there is no deferred error,
the drive reports Good status and initiates the command. If the Immediate
(Immed) field is set to 0, status is not returned until after the command has
completed.
If the LOCATE command fails for anything other than Illegal Request, the logical
position is not guaranteed and a READ POSITION command should be issued to
determine the current logical position of the tape.
The Dest_Type field is used in conjunction with the Block Address field to locate to
the appropriate position of the medium. The Dest_Type field specifies whether the
location specified is a block address or logical file identifier. The Dest_Type field is
defined in Table 41.
Table 41. Dest_Type field definitions
Code Description Logical Position upon successful completion
00b Block Address BOP side
01b Logical file identified BOP side of the logical file
10b Obsolete
11b Reserved
8
9 Control
If the Parameter Code Reset (PCR) field is set to 1, the Parameter List Length is 0.
The action taken by the drive is specified for the values of the Page Control (PC)
field as follows:
v 00b means that no action is taken and Good status is returned.
v 01b means that all resettable logs on the drive are reset to default values.
v 10b means that no action is taken and Good status is returned.
v 11b means that all resettable logs on the drive are reset to default values.
If the Parameter Code Reset (PCR) field is set to 0, the Parameter List Length is not
0. The action taken by the drive is specified for the values of the Page Control (PC)
field as follows:
v 00b means that Check Condition status is returned. The Sense Key is set to
Illegal Request and the ASC/ASCQ is set to Invalid Field in CDB (2400).
v 01b means that data from the server is written to the indicated logs, provided
that the logs are writable.
v 10b means that Check Condition status is returned. The Sense Key is set to
Illegal Request and the ASC/ASCQ is set to Invalid Field in CDB (2400).
v 11b means that data from the server is written to the indicated logs, provided
that the logs are writable.
The Save Page (SP) field is not supported and must be set to 0.
6
7
: Allocation Length
8
9 Control
The log values returned are controlled by the Page Control (PC) field value as
follows:
v 00b means that the maximum value for each log entry is returned.
Note: For page 2Eh (TapeAlert) only, the PC field is ignored. Current® values
are always returned.
v 01b means that the current values are returned.
v 10b means that the maximum value for each log entry is returned.
v 11b means that the power-on values are returned.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
: Page Length
The Page Code is a byte value that uniquely identifies what log page is being
returned. The Page Length describes how many bytes are to follow for the entire
log page.
: Parameter Code
1
2 DU DS (1) TSD (0) ETC (0) TMC (0) LBIN LP
3 Parameter Length (n-3)
4
: Parameter Bytes
The Parameter Code is a 2-byte value that uniquely identifies the parameter within
the log.
The Disable Update (DU) field is set for any parameter that the server can neither
write nor reset.
The List Parameter (LP) field is 0 for parameters that are counters and 1 for
parameters that are not counters.
If the LP field is 1 and the parameter is a binary parameter, then the List Binary
(LBIN) field is set to 1. Otherwise it is set to 0.
The TSD, ETC and TMC fields are always 0 and the DS field is always 1.
The Parameter Length field gives the length of the Parameter Bytes field in bytes.
The Parameter Bytes field contains the actual parameter data.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
Table 47. Supported Log Pages Log Page Format (Ultrium 1 and Ultrium 2 non-RoHS)
Bit
Byte 7 6 5 4 3 2 1 0
0 Reserved Page Code (00h)
1 Reserved
2 (MSB)
Page Length (n-3)
3 (LSB)
4 (00h) Supported Log Pages
5 (02h) Write Error Counters
6 (03h) Read Error Counters
7 (0Ch) Sequential Access Device Log Page
8 (18h) Log Page
9 (2Eh) TapeAlert
10 (30h) Tape Usage Log
11 (31h) Tape Capacity
12 (32h) Data Compression
Table 48. Supported Log Pages Log Page Format (Ultrium 2 RoHS and Ultrium 3)
Bit
Byte 7 6 5 4 3 2 1 0
0 Reserved Page Code (00h)
1 Reserved
2 (MSB)
Page Length (n-3)
3 (LSB)
4 (00h) Supported Log Pages
5 (02h) Write Error Counters
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
0003h These are errors that are corrected by ECC and do not require error recovery 4
procedures (ERPs). Each count represents one block in error that was corrected
and read.
0004h Total Read Retries: 4
Total Read Kilobytes Processed: Each count represents a kilobyte (1024 bytes)
0005h processed across the host interface during read-type commands. The count 4
does not include ERP retries.
Total Uncorrected Read Errors: The total number of read errors that could not
be corrected by ECC, no servo error was reported, and the error was not a
0006h 4
transient error. Each count represents one block in error that was not corrected,
but was recovered by ERPs and successfully read.
8000h Unspecified 8
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
All parameters are 1 byte long. Each parameter is either 0 to indicate that the
corresponding condition has not occurred or non-zero to indicate that the
corresponding condition has occurred. All log parameters are set to 0 when the log
is read. The Log parameters are also set to 0 at power-on, on a reset condition, or
by a LOG SELECT command. Specific flags may be set to 0 when corrective action
has removed the condition that caused the flag to be set. For all parameters, the
DU field is 1, the LP field is 0, and the LBIN field is 0.
The PC field for this page is ignored. Current values are always returned.
For a description of service actions associated with the supported parameters, refer
to the IBM TotalStorage LTO Ultrium 2 Tape Drive Models T400 and T400F Setup,
Operator, and Service Guide, the IBM Ultrium Internal Tape Drive Models T200 and
T200F Setup, Operator, and Service Guide, or the IBM 3580 Ultrium Tape Drive Setup,
Operator, and Service Guide.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
Note:
1
All TapeAlerts are cleared on POR/Reset.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
The PARAMETER CODE field is set to 0000h to indicate the very high frequency
data log parameter.
The VHF DATA DESCRIPTOR field is defined in Table 58. Returned data shall
reflect the last known values since the DT device initialized.
Table 58. VHF DATA DESCRIPTOR field
Bit
Byte 7 6 5 4 3 2 1 0
4 PAMR HIU MACC CMPR WRTP CQRST CRQRD DINIT
5 MTHRD MTHRD
INXTN Rsvd RAA® MPRSNT Rsvd MSTD
MOUNTED MOUNTED
6 DT DEVICE ACTIVITY
7 VS Reserved RRQST INTFC TAFC
A DT device initialized (DINIT) bit set to one indicates that the DT device is able
to return valid very high frequency data. A DINIT bit set to zero indicates DT
device initialization is required or incomplete. The DINIT bit should be set to one
before relying on any other bits in the very high frequency data log parameter.
A cleaning required (CRQRD) bit set to one indicates that a head cleaning
operation is required before a data medium is able to reach load state (i) (see
ADC-2), and that normal operation may not be possible if the head cleaning
operation is not performed. A CRQRD bit set to zero indicates that urgent cleaning
is not required. The CRQRD bit shall take priority over the CRQST bit. It shall not
be considered an error for the CRQRD bit and the CRQST bit to both be set to one.
A cleaning requested (CRQST) bit set to one indicates that the DT device has
requested a head cleaning. A CRQST bit set to zero indicates that no cleaning is
requested.
A write protect (WRTP) bit set to one indicates that any currently present medium
is physically write protected. A WRTP bit set to zero indicates that any currently
present medium is not physically write protected. The WRTP bit is only valid if the
MPRSNT bit is set to one. The WRTP bit should be set to zero if the MPRSNT bit
is set to zero.
Note: Physically write protected refers to any mechanism used within the medium
shell itself to write protect the medium (for example, sliding windows or
tabs) and not logical states of write protection caused by commands to the
DT device.
A compress (CMPR) bit set to one indicates that the DT device currently has data
compression enabled. A CMPR bit set to zero indicates that compression is not
enabled.
A medium auxiliary memory accessible (MACC) bit set to one indicates that the
medium is located at a position where the Medium Auxiliary Memory (MAM) is
accessible. A MACC bit set to zero indicates that the MAM is not accessible. If the
MACC bit is set to one, the ADC device server shall also support commands to
Chapter 3. Command Support 63
access the MAM. If the MACC bit is supported the MACC bit should only be set
to one if the MPRSNT bit is set to one. The MACC bit is only applicable for drives
and media that support MAM.
The host initiated unload (HIU) bit is set to one when the drive reaches any one of
the unload states (e) - (h) (see ADC-2r07e, Clause 4.4.2), due to the RMC device
server receiving a LOAD UNLOAD command (see SSC-2) with the LOAD bit set
to zero. The HIU bit is set to zero when the drive transitions to any state in table 2
or table 4 of ADC-2r07e other than unload states (e) - (h) in table 4 of ADC-2r07e.
The HIU bit may be set to zero following a logical unit reset of the RMC or ADC
device servers.
The prevent/allow medium removal (PAMR) bit is set to one when removal of the
medium in the DT device is prevented as the result of the RMC device server
processing a PREVENT/ALLOW MEDIUM REMOVAL command (see SPC-3 or the
relevant command set standard).
The PAMR bit is set to zero when removal of the medium in the DT device is
allowed as defined by the PREVENT/ALLOW MEDIUM REMOVAL command.
A MOUNTED bit set to one indicates that the DT device is in load state (i) (see
ADC-2). The MOUNTED bit set to one may correspond to the RMC device server
being able to respond to a TEST UNIT READY command with a status of GOOD,
however when a cleaning or microcode image medium is loaded the RMC device
server may respond to a TEST UNIT READY command with a CHECK
CONDITION with the sense key set to NOT READY. A MOUNTED bit set to zero
indicates that the DT device is not in load state (i).
A medium threaded (MTHRD) bit set to one indicates that the medium has been
threaded by the DT device, such that tape motion operations are possible. A
MTHRD bit set to zero indicates that the medium has not been threaded.
Note: The value of the MTHRD bit may or may not correspond to the DT device
responding with a status of GOOD to a TEST UNIT READY command, as
additional processing may be required by the DT device after threading
before the logical unit becomes ready.
A medium seated (MSTD) bit set to one indicates that the medium is mechanically
seated within the loading mechanism (i.e., the physical loading process has
completed). A MSTD bit set to zero indicates that the medium is not seated, and
that further mechanical motion remains in order to complete the loading process,
exclusive of tape threading.
A medium present (MPRSNT) bit set to one indicates that the DT device detects
the presence of a medium. A MPRSNT bit set to zero indicates that the DT device
does not detect a medium present.
A robotic access allowed (RAA) bit set to one indicates that the automation device
may move a medium to or from the DT device. A RAA bit set to zero indicates
that the automation device should not move a medium to or from the DT device.
The DT device should indicate that access is allowed by the robotics if a medium
may be successfully inserted into or removed from the DT device.
Note: The RAA bit is not intended to reflect the value of any PREVENT/ALLOW
MEDIUM REMOVAL command settings (see SPC-3), nor the ability of the
automation device to issue commands to the DT device.
The DT DEVICE ACTIVITY field is used to describe the current activity of the DT
device (see Table 59).
Table 59. DT DEVICE ACTIVITY field values
Value Description
00h No DT device activity
01h Cleaning operation in progress
02h Medium is being loaded
03h Medium is being unloaded
04h Other medium activity
05h Reading from medium
06h Writing to medium
07h Locating medium
08h Rewinding medium
09h Erasing medium
0Ah Formatting medium
0Bh Calibrating medium
0Ch Other DT device activity
0Dh Microcode update in progress
A TapeAlert state flag changed (TAFC) bit set to one indicates that at least one
TapeAlert state flag has changed from its previous value since the last retrieval of
the TapeAlert Response log page by this I_T nexus.
The ADC device server sets the TAFC bit to zero after retrieval of the TapeAlert
Response log page by this I_T nexus. A TAFC bit set to zero indicates that no
TapeAlert state flag has changed. There may not be any difference in the TapeAlert
state flags upon retrieval if the state changed again between the time of reporting
through the TAFC bit and retrieving the TapeAlert Response log page. This should
not be considered an error. The TAFC bit should be processed following the DINIT
bit. Pending TapeAlert state flags may affect the reliability of the values returned in
other bits within the VHF DATA DESCRIPTOR.
An interface changed (INTFC) bit set to one indicates that one or more fields in the
DT device primary port status log parameters have changed since the last retrieval
of any of the DT device primary port status log parameters from the DT Device
Status log page by this I_T nexus. An INTFC bit set to zero indicates that one or
more fields in the DT Device Primary Port Status log parameters have not changed
since the last retrieval of any of the DT device primary port status log parameters
The recovery requested (RRQST) bit is set to one to indicate that the DT device has
detected an error and that one or more requested recovery procedures are available
via the ADC Requested Recovery log page. A RRQST bit set to zero indicates that
no recovery procedure is requested. The RRQST bit shall remain set to one as long
as a recovery procedure is available. When the RRQST bit is set to one, the INXTN
bit is set to zero.
Note: The Requested Recovery log page may indicate that a recovery procedure is
not requested or not defined.
The PARAMETER CODE field is set to 0001h to indicate the very high frequency
polling delay log parameter.
The PARAMETER LENGTH field is set to 02h to allow transfer of the complete
parameter.
The VHF POLLING DELAY field indicates the minimum delay in milliseconds the
automation device should wait before requesting another DT Device Status log
page.
The Parameter Code field contains a value from 0101h to 01FFh which uniquely
identifies the primary port relative to other primary ports in the drive. Once
assigned, the Parameter Code value for a port will not be changed. For each
primary port, the Parameter Code value is equal to 0100h plus the value of the
Relative Target Port field associated with that port. The Relative Target Port field
contains a value assigned by the device that uniquely identifies the port relative to
other ports in the device, independent of port type. The relative target port value
for a port will not be changed. The Relative Target Port is the same as the relative
target port value defined in the VPD pages of inquiry. A value of 1=port 0 or port
A; a value of 2=port 1 or port B. All values in this descriptor relates to the primary
port specified by the Parameter Code.
The Additional Primary Port Status Length field specifies the additional bytes in
the current Primary Port Status descriptor. Currently this is 4, but this is subject to
change should the ADC specification for the DTD Primary Port Status log
parameters change
A port initialization complete (PIC) bit set to one indicates that the FC_Port state
machine is in the ACTIVE state (see FC-FS) and the drive’s primary port is
operating in point-to-point topology, or the most recent Loop Initialization Process
(LIP) has completed successfully (see FC-AL-2). A PIC bit set to zero indicates that
the drive’s primary port is not in the ACTIVE state and is not synchronized (see
FC-FS), or has not successfully completed the most recent LIP.
A value of one in the SIGNAL field indicates that a signal is detected at the
primary port. A value of zero indicates a signal is not detected. An example of
signal detection is detection of light for an optical medium.
A value of one in the CONFLICT field indicates that another device has the
required Hard AL_PA or that no AL_PA is available for the primary port. A value
of zero indicates there is no AL_PA conflict.
A login complete (LC) bit set to one indicates that at least one host is currently
logged in to the drive through this port. Logged in is defined as having
successfully completed a process login (PRLI) with the drive (see FCP-2) and still
have an active session. A host is defined as an initiator port that does not have a
Source ID (S_ID) that is a Well-Known name (see FC-FS). An LC bit set to zero
indicates that a host is not currently logged in on this port.
A value of one in the current topology (CURRTOP) field indicates the port is
operating currently in point to point mode. A value of zero indicates the port is
operating currently in arbitrated loop mode. This field is undefined when the PIC
field is set to zero.
The Current N_Port_ID field indicates the 24-bit N_Port_ID (as defined by FC-FS)
that is assigned currently to the port. This field is undefined when the PIC field is
set to zero.
The CURRENT FC-AL LOOP ID field indicates the loop identifier (see FC-AL-2)
that is assigned to the drive’s primary port associated with the PARAMETER
CODE. The CURRENT FC-AL LOOP ID field is ignored when the PIC bit is set to
zero or when the CURRTOP bit is set to one.
All supported parameters are persistent across I_T nexus loss, logical unit reset
and power-on. The parameters are not set to zero or changed with the use of a
LOG SELECT command.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
The Density Code field contains the value returned in the general mode parameter
block descriptor.
The Medium Type field contains the value returned in the mode parameter header
(see Mode Parameter Header).
The Media Motion Hours field contains the number of media motion (i.e., head)
hours for the type of medium specified by the combination of the Medium Type
field and Density Code field.
The Medium Type log parameter is specified in Table 65. One parameter exists for
each Medium Type/Density Code combination that has been loaded in the drive.
The Tape Diagnostic Data log page only includes parameter entries for commands
that terminated with a CHECK CONDITION status having the sense key set to
MEDIUM ERROR, HARDWARE ERROR or ABORTED COMMAND.
The parameter code value associated with an error-event indicates the relative time
at which a command terminated with a CHECK CONDITION status. A lower
parameter code indicates that the command terminated with a CHECK
CONDITION status at a more recent time. The parameter code values returned is
numbered consecutively from 0000h (i.e., the most recent) up to n, where n is the
number of current parameter entries.
In each parameter (see Table 67 on page 72) if the REPEAT bit is set to zero, then
the parameter represents only one event. If the REPEAT bit is set to one, then the
parameter represents more than one consecutive events that had identical values
for the MEDIUM ID NUMBER field, SENSE KEY field, ADDITIONAL SENSE
CODE field and ADDITIONAL SENSE CODE QUALIFIER field in the parameter.
If the REPEAT bit is set to one in the parameter, then other fields in the parameter
is set to the values when the first of the consecutive events that had the identical
values for the MEDIUM ID NUMBER field, SENSE KEY field, ADDITIONAL
SENSE CODE field and ADDITIONAL SENSE CODE QUALIFIER field occurred.
All parameter codes are persistent across I_T nexus losses, logical unit resets, and
power-on. The parameter entries are not set to zero or changed with the use of a
LOG SELECT command.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
The PARAMETER LENGTH field indicates the number of bytes in the Tape
Diagnostic Data log parameter data that follows.
The DENSITY CODE field contains the density code of the medium loaded at the
time the command terminated with the CHECK CONDITION status. The
DENSITY CODE field is the same value as returned in the general mode parameter
block descriptor. If no medium was loaded at the time the command terminated
with the CHECK CONDITION status, then the DENSITY CODE field is set to 00h.
The LIFETIME MEDIA MOTION HOURS field contains the number of media
motion (head) hours at the time the command terminated with the CHECK
CONDITION status. The LIFETIME MEDIA MOTION HOURS field is equivalent
to the value contained in the Device Statistics log page with a parameter code
value of 0003h at the time the command terminated with the CHECK CONDITION
status.
The REPEAT bit set to one indicates this parameter represents more than one
consecutive events that had identical values for the MEDIUM ID NUMBER field,
SENSE KEY field, ADDITIONAL SENSE CODE field, and ADDITIONAL SENSE
CODE QUALIFIER field. The REPEAT bit set to zero indicates this parameter
represents a single event.
The SENSE KEY field, ADDITIONAL SENSE CODE field, and ADDITIONAL
SENSE CODE QUALIFIER field contain the sense key and additional sense code
values of the command that terminated with the CHECK CONDITION status.
The VENDOR-SPECIFIC CODE QUALIFIER field contains the Last Error FSC and
Last Error Flag Data (i.e. bytes 65-68 of Sense Data) generated for the command
that terminated with the CHECK CONDITION status.
The PRODUCT REVISION LEVEL field contains the product revision level at the
time the command terminated with the CHECK CONDITION status.
The HOURS SINCE LAST CLEAN field contains the time in media motion (i.e.,
head) hours since the last successful cleaning at the time the command terminated
with the CHECK CONDITION status. The HOURS SINCE LAST CLEAN field is
equivalent to the value contained in the Device Statistics log page with a
parameter code of 0008h at the time the command terminated with the CHECK
CONDITION status.
The OPERATION CODE field and SERVICE ACTION field if applicable contain
the operation code and service action of the command that terminated with the
CHECK CONDITION status.
If medium was present at the time the command terminated with the CHECK
CONDITION status, then the MEDIUM ID NUMBER field contains (in prioritized
order):
1. the BARCODE field value contained in the medium auxiliary memory;
2. the MEDIUM SERIAL NUMBER field value contained in the medium auxiliary
memory; or
3. the VOLUME IDENTIFIER field value contained in the medium auxiliary
memory.
The TIMESTAMP ORIGIN field and TIMESTAMP field contain the timestamp
origin and timestamp maintained by the tape drive at the time the command
terminated with the CHECK CONDITION status. If a timestamp is not supported
by the device server, the TIMESTAMP ORIGIN and TIMESTAMP fields is set to
zero.
Support Protocol-Specific log parameter for SAS as in spec. (attached means other
end of cable from drive - initiator or expander).
The Protocol-Specific log page for SAS defined in Table 68 is used to report errors
that have occurred on the phys of SAS drives.
WARNING:
This page must be dynamically parsed as some parameters may not be present and
other parameters may be inserted. The relative location of parameters have
changed and are anticipated to continue to change.
Table 68. Protocol-Specific log page for SAS
Byte/Bit 7 6 5 4 3 2 1 0
0 Page Code (18h)
1 Reserved
2 (MSB)
Page Length (m-3)
3 (LSB)
Protocol-specific log parameter list
4
Protocol-specific log parameter (first) (See Table 69 on page 75)
.
.
.
Table 69 on page 75 defines the format for the Protocol-Specific log parameter for
SAS.
.
.
.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
U4: Ultrium 4
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
All parameters are in megabytes and assume no data compression. This data
cannot be reset or written.
Note: For this command, a megabyte is equal to 1 048 576 bytes. As an example, a
value of 17487h in Parameter 3 is equal to 95 367 megabytes, which is equal
to 100 000 000 000 bytes.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
Note: When multiple errors occur on a data set, the counter that is updated is
generally based on the first error detected.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
Note: When multiple errors occur on a data set, the counter that is updated is
generally based on the first error detected. ERP counters indicate which
specific ERP methods were successfully employed.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
The Subpage field in “LOG SELECT” on page 49 may be set to 00h when the page
code field is 37h. This operation will reset all group and local counters in the
transient scope. Other scope cannot be explicitly reset.
The individual log subpage and parameter codes are described in the following
table. Note that the counters which are returned depends on the Level and Group
fields in the subpage. A group value of 0h will return all counters of a level less
than or equal to that specified.
In the following tables, multiple counter codes may be represented by a single row.
There will be an aspect symbol in the counter code such as ’p’, ’q’, ’s’, or ’?’. The
Aspect(s) column indicates which of the following values applies to the given
code(s).
Aspect Definition
p=0 primary interface all ports (totals)
p=1 primary interface port 0
p=2 primary interface port 1
Table 80. Log Page 37h: Performance Characteristics: Host Recovery (by port)
Code Aspect(s) Name : Description Unit Size Level Group
0Fp0h 12A Transfer Recoveries [by port] count 4 2 1
0Fp1h 12A Transfer Recover Time [by port] msec 6 2 1
0Fp2h 12A Resource Recoveries [by port] count 4 2 1
0Fp3h 12A Reset Count [by port] count 4 2 1
0Fp8h 12A Abort Count [by port] count 4 2 1
0Fp9h 12A Abort Time [by port] msec 6 2 1
Table 81. Log Page 37h: Performance Characteristics: Mode Phase Timing Windows
Code Aspect(s) Name : Description Unit Size Level Group
1000h Write Cycles count 4 2 2
1001h Write Pauses count 4 2 2
1010h Write Cycle Time msec 6 2 2
Write Cycle Relative Time: Ratio of time in write
1020h % * 65536 4 1 2
mode with respect to Medium Ready Time.
1021h Write Setup Relative Time % * 65536 4 2 2
1022h Write Ready Relative Time % * 65536 4 1 2
1023h Write Pause Relative Time % * 65536 4 1 2
1024h Write Exit Relative Time % * 65536 4 2 2
200h Read Cycles count 4 2 2
1201h Read Pauses count 4 2 2
Table 82. Log Page 37h: Performance Characteristics: Servo Speed Characteristics
Code Aspect(s) Name : Description Unit Size Level Group
5Fs0h 123456F Servo Speed Relative Time % * 65536 4 2 6
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
Note: The parameters are identical to those found in “Log Page 39h: Host Port 0
Interface Errors (Not Ultrium 1 or Ultrium 2 non-RoHS)” on page 97, except
this data is record for incidents that occur on primary port 2.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
WARNING
Log parameter data must be dynamically parsed as some parameters may not
be present and other parameters may be inserted. The relative location of
parameters have changed and are anticipated to continue to change.
8
9 Control
The Page Format (PF) field may be any value. However, the drive assumes that the
format is SCSI-2. The Save Pages (SP) field is only allowed to be set to 1 when
explicitly mentioned in the description of the specific mode page. The Parameter
List Length field should be set to the amount of data to be sent to the drive.
The Parameter List Length field should be set to the amount of data to be sent to
the drive. The Parameter List Length value is checked to ensure that it is less than
or equal to the sum of the lengths of all the supported mode pages. Any command
with a larger value results in a Check Condition status. The associated sense data
returns with a Sense Key of Illegal Request and an ASC/ASCQ of Invalid Field in
CDB (2400).
If any of the fields in the Mode pages are invalid, no parameters are altered, Check
Condition status is returned, the Sense Key is set to Illegal Request, and the
ASC/ASCQ is set to Invalid Field in Parameter List (2600).
Both the 10-byte and the 6-byte versions of the command are supported.
Table 90. 6-Byte MODE SENSE Command
Bit
Byte 7 6 5 4 3 2 1 0
0 Operation Code (1Ah)
1 Obsolete Reserved DBD Reserved
2 PC Page Code
3 Reserved
4 Allocation Length
5 Control
: Allocation Length
8
9 Control
If the Disable Block Descriptors (DBD) field is set to 1, then no block descriptors
are returned with the mode data. If it is set to 0, then block descriptors are
returned.
The type of data returned is determined by the value of the Page Control (PC)
field as follows:
v 00b means the current configuration.
v 01b means the changeable bitmap (changeable = 1; unchangeable = 0).
v 10b means the default (power-on) values.
v 11b means the saved values. Because the drive does not support saved values,
the default values are returned.
m
m+1
m+8
m+9
1
2 Medium Type
3 WP Buffered Mode Speed
4 Reserved
5 Reserved
6
In a MODE SENSE command, the Mode Data Length indicates the total amount of
data available to be transferred. In a MODE SELECT command, this field is 0.
For Ultrium 1 devices, the Medium Type field is not used and must be set to 0.
For Ultrium 2 and later devices, the Medium Type field on Mode Sense data is set
to 00h when no media is loaded, to 18h when Ultrium 1 media is loaded, to 28h
when Ultrium 2 media is loaded, to 38h when Ultrium 3 media is loaded, and to
48h when Ultrium 4 media is loaded..
When the WORM media is loaded, the Medium Type field is logically or’ed with
0x04. Table 95 lists the Medium Type values.
Table 95. Media Type Values
Generation Drive
Medium Loaded 1 2 3 4
No media 00h 00h 00h 00h
Ultrium 1 Data 00h 18h 18h 18h
Ultrium 2 Data N/A 28h 28h 28h
Ultrium 3 Data N/A N/A 38h 38h
Ultrium 3 WORM N/A N/A 3Ch 3Ch
The Write Protect field indicates whether the currently loaded tape is write
protected in a MODE SENSE command. It is ignored in a MODE SELECT
command.
3
4 Reserved
5
: Block Length
The Density Code field returns a code identifying the format of the tape currently
loaded in the drive. If there is no tape loaded, the code for the highest capacity
format supported by the drive is returned. See Table 178 on page 187 for details of
supported density codes.
The Block Length field indicates the length (in bytes) of each logical block to be
used in subsequent READ, WRITE and VERIFY commands when the Fixed field is
set to 1. (See “READ” on page 154, “VERIFY” on page 255, and “WRITE” on page
256.) A Block Length value of 0 indicates that only variable block transfers are
allowed. The default value is 0. On Parallel SCSI or Fibre Channel devices this
value must be an even number. On SAS devices, block lengths are limited to
multiples of four. If a transfer of a unsupported block size is desired, a variable
length (Fixed field set to 0 in READ, VERIFY, or WRITE command) transfer must
be used.
On Ultrium 2 and later drives, a post error (PER) field of 1 specifies that the tape
drive will return Check Condition status to report recovered errors. A PER field of
0 specifies that the tape drive will not report errors that are recovered within the
limits established by the error recovery parameters. If this field is 0, the disable
transfer on error (DTE) field must also be set to 0.
A DTE field of 0 specifies that the tape drive will not terminate the transfer for
errors that are recovered within the limits that are established by the read-write
error recovery parameters. On Ultrium drives, the DTE is always set to 0.
The Bus Inactivity Limit field for parallel SCSI and Fibre Channel drives is zero.
For SAS drives this field is reported but is not changeable.
The Connect Time Limit field for parallel SCSI and Fibre Channel drives is zero.
For SAS drives this field is reported but is not changeable.
The Maximum Burst Size field for the Fibre Channel, SAS, and Ultra 320 interfaces
indicates the sequence size that the drive should attempt to use when transferring
data. The value for the Maximum Burst Size field is stored for each initiator.
On Ultra 320 attached drives, the DIMM bit is set to one. On all other drives the
DIMM bit is set to 0.
The Disconnect Time Limit field is not supported and must be set to 0.
The Data Transfer Disconnect Control field is not supported and must be set to 0.
A SCSI precedence (SCSIP) bit set to one specifies that the timestamp changed
using a SET TIMESTAMP command takes precedence over methods outside the
scope of this standard (for example The LDI Set Timestamp command). A SCSIP
bit set to zero specifies that methods outside this standard (for example The LDI
Set Timestamp command) may change the timestamp and that the SET
TIMESTAMP command is illegal.
7
8
11
12 Reserved
13 Reserved
14 Reserved
15 Reserved
Note: The result of this is that the only way to turn compression on is for both the
DCE field of the Data Compression Mode Page (0Fh) and the Select Data
Compression Algorithm field of the Sequential Access Device Configuration
Page (10h) to be set to 1.
The report exception on the decompression (RED) field is set to 00b and specifies
the response to certain boundaries that the drive detects in the data on the
medium. Table 103 on page 119 describes those responses.
Notes:
1. None in the Response Sense Key column means that no Check Condition status is returned, given the data
boundary condition and the current value of the Report Exception on the Decompression (RED) field.
2. The appropriate additional sense code (ASC) is specified as follows:
v The drive will return a Check Condition status when data is encountered on a medium (during a read
operation) that the device is unable to decompress. In this table, data boundaries that are marked other than
None in Response Sense Key column will generate Check Condition status with the specified sense key.
v If the application client selects an algorithm that the drive does not support, the drive will return a Check
Condition status. The Sense Key must be set to Illegal Request and the ASC must be set to Invalid Field in
Parameter List. The SELECT DATA COMPRESSION ALGORITHM field in the Device Configuration mode
page will be ignored if a Data Compression mode page with the DCE field set to 1 is also received by the
device in the same MODE SELECT command.
7
8 DBR (0) BIS (1) RSmk (0) AVC (0) SOCF (0) RBO (0) REW (0)
9 Gap Size (0)
10 ED Defined (0) EEG (1) SEW (0) SWP (0) Reserved
11
13
14 Select Data Compression Algorithm
15 WTRE OIR Rewind on Reset (0) ASOCWP PERSWP PRMWP (0)
(0) (0)
The WRITE DELAY TIME field specifies the maximum time, in 100 ms increments,
that the device server should wait before any buffered data that is to be written, is
forced to the medium after the last buffered WRITE command that did not cause
the object buffer to exceed the write object buffer full ratio.
WARNING
Changing the Write Delay Time may result in adverse performance
The Active Partition field will be 0 because multiple partitions are not supported.
The Change Active Format (CAF) and Active Format fields will be 0 because
changing formats is not supported.
The Write Buffer Full Ratio and Read Buffer Empty Ratio fields will be 0 because
buffer management is done by the drive.
The Data Buffer Recovery (DBR), Report Set Marks (RSmk), Stop On Consecutive
File Marks (SOCF), Recover Buffer Order (RBO), Report Early Warning on Read
(REW), and Synchronize at Early Warning fields must be set to 0 because these
features are not supported.
The Gap Size field must be set to 0 because there is no concept of inter-block gaps
in the format.
The Block Identifiers Supported (BIS) field must be set to 1 because block
identifiers are supported.
The enable EOD generation (EEG) field must be set to 1 because the drive always
generates EOD.
The Buffer Size at Early Warning field will be 0, as this cannot be set.
The default value for the Select Data Compression Algorithm is 1 and indicates
that data compression is enabled if the state of the DCE field of the Data
Compression Mode Page (0Fh) is set to 1. The Data Compression Mode Page (0Fh)
need not be present in the same MODE SELECT command. The drive will examine
the current state of the DCE to determine if compression is to be enabled or
disabled. If Select Data Compression Algorithm is 0, the drive uses Scheme 2 of the
LTO-DC algorithm (passthrough mode).
Note: The result of this is that the only way to turn compression on is for both the
DCE field of the Data Compression Mode Page (0Fh) and the Select Data
Compression Algorithm field of the Sequential Access Device Configuration
Page (10h) to be set to 1.
The WORM Tamper Read Enable (WTRE) field is supported only on Ultrium 3 and
later drives.
The WORM Tamper Read Enable (WTRE) field has no effect on the processing of a
locate, read, space, or verify operation when the drive contains a non-WORM
medium.
Only If Reserved (OIR): Changeable on Ultrium 3 and later drives. Default is zero.
Set to zero and not changeable on Ultrium 1 and Ultrium 2 drives.
The WTRE field specifies how the drive responds to detection of compromised
integrity of a WORM medium when processing a locate, read, space, or verify
operation.
: Reserved
Enable Precise Delivery Control (EPDC), when set to 1b, enables checking of a
Fibre Channel Command Reference Number and ensures that the command
packets are delivered in order.
The Protocol Identifier is set to 0h, which indicates that this is for use with the FCP
protocol.
Table 106. SAS Logical Unit Control Page
Bit/Byte 7 6 5 4 3 2 1 0
0 PS SPF(0)
1 Page Length (06h)
2 Reserved TLR (1) Protocol Identifier (6h)
3 Reserved
4 (MSB) Reserved
7 (LSB)
Ultra 320 drives provide the short format page shown in Table 109 on page 126 as
well as additional subpages defined in Table 110 on page 127 and “Mode Page
19h[04h]: Report Transfer Capabilities Mode Subpage” on page 129. Note that SPI-5
states for Parallel SCSI devices, “Each SCSI target port shall maintain an
independent set of Port Control mode page parameters for each SCSI initiator
port.“ The Ultra 320 drives only support one set of Port Control mode page
parameters.
Table 107. Fibre Channel Port Control Page
Bit
Byte 7 6 5 4 3 2 1 0
0 PS (0) Reserved Page Code (19h)
1 Page Length
2 Reserved
3 DTFD (0) PLPB (0) DDIS (0) DLM (0) RHA (0) ALWI (0) DTIPE (0) DTOLI (0)
4
: Reserved
5
6 Reserved RR_TOV Units
7 Resource Recovery Time Out Value (RR_TOV)
8 Reserved Control MCM (01b)
9
: Reserved
10
11 Originator CMRs Per Port (0)
12 Reserved
13 Responder CMRs Per Port (0)
14
: MCM_TOV (0)
15
The Page Length field is returned by Mode Sense commands and should be set by
Mode Select commands on Ultrium 1 drives as 0Eh, and on Ultrium 2 and later
drives as 06h.
The Page Length field returns the number of remaining bytes. On Ultrium 1 drives
this value is 0Eh. On Ultrium 2 and later drives this value is 06h.
The Resource Recovery Time Out Value (RR_TOV) is the minimum amount of time
that the drive will wait for an expected response before implicitly cleaning up the
resources that are related to that initiator. This may, depending on the
circumstances, implicitly log-out the initiator that stopped communicating with the
drive.
Care should be taken when adjusting this value, because a value that is too small
has the potential to cause resources to be discarded prior to the completion of a
The Protocol Identifier is set to 0h, which indicates that this is for use with the FCP
protocol.
Resource Recovery Time Out Value (RR_TOV) Units can have the following values:
v 000b (no timer is specified)
v 001b (timer is specified in .001-second units)
v 011b (timer is specified in .1-second units)
v 101b (timer is specified in 10-second units)
The following conditions will round the RR_TOV. If the value is rounded, a
Recovered Error, Mode Parameters Rounded Check Condition is presented.
v The value of RR_TOV that is determined by the RR_TOV Units and RR_TOV
Value fields is less than the minimum supported value (RR_TOV set to
Minimum Value)
v The value of RR_TOV that is determined by the RR_TOV Units and RR_TOV
Value fields is greater than the maximum supported value (RR_TOV set to
Maximum Value)
v The RR_TOV Units is an unsupported value (RR_TOV set to Default Value)
Note that when the RR_TOV value is returned from the drive, it may be returned
using different RR_TOV Units than were used to set the value in a previous Mode
Select command.
Table 108. SAS Port Control Page
Bit/Byte 7 6 5 4 3 2 1 0
0 PS SPF (0) Page Code (19h)
1 Page Length (06h)
Ready
LED
2 Reserved Protocol Identifier (6h)
Meaning
(0)
3 Reserved
4 (MSB)
I_T Nexus Loss Time (07D0h)
5 (LSB)
6 (MSB)
Initiator Response Timeout (07D0h)
7 (LSB)
The Transfer Period Factor field indicates the negotiated transfer period factor for
the current I_T nexus. See Table 111 on page 128.
The REQ/ACK Offset field indicates the negotiated REQ/ACK offset for the
current I_T nexus
The Transfer Width Exponent field indicates the negotiated transfer width
exponent for the current I_T nexus. See Table 112
Table 112. Transfer Width Exponent
Value Description
00h Specifies 8 bit data bus (i.e., narrow transfer agreement).
01h Specifies 16 bit data bus (i.e., wide transfer agreement).
02h Obsolete
03h-FFh Reserved
The Protocol Options Bits field contain the negotiated protocol options for the
current I_T nexus.
The Received PCOMP_EN bit contains the value of the PCOMP_EN bit received
by the SCSI target port for the current I_T nexus.
The Sent PCOMP_EN bit contains the value of the PCOMP_EN bit sent by the
SCSI target port for the current I_T nexus.
The Minimum Transfer Period Factor field shall be set to the smallest value of the
transfer period factor supported by the SCSI target port.
The Maximum REQ/ACK Offset shall be set to the largest value of the REQ/ACK
offset supported by the SCSI target port.
The Maximum Transfer Width Exponent shall be set to the largest value of the
transfer width exponent supported by the SCSI target port.
The SCSI target port shall set the bits in the Protocol Options Bits Supported field
to indicate the protocol options supported by the SCSI target port.
7
8
11
A disable exception control (DExcpt) field of 0 indicates that reporting for failure
prediction threshold exceeded will be enabled. The method for reporting the failure
prediction threshold exceeded when the DExcpt field is set to 0 is determined from
the MRIE field. A DExcpt field of 1 indicates that the target will disable reporting
of the failure prediction threshold exceeded. The default value for DExcpt is 0.
If the Test field is set to 1, the next command will fail, the Sense Key will be set to
Unit Attention, and the ASC/ASCQ will be set to Failure Prediction Threshold
Exceeded - False (5DFF). If the Test field is set to 0, the next command is processed
normally. The default for Test is 0.
The Perf and LogErr fields will be 0. These features are not supported.
The MRIE field must be set to 3 (Conditionally generate recovered error). This
method instructs the drive to report informational exception conditions (if the
reporting of recovered errors is allowed) by returning a Check Condition status. If
the Test field is set to 0, the status may be returned after the informational
exception condition occurs on any command for which Good status would have
been returned. If the Test field is set to 1, the status will be returned on the next
command that is normally capable of returning an informational exception
condition when the Test field is set to 0. The Sense Key must be set to Recovered
Error and the Additional Sense Code will indicate the cause of the informational
exception condition. This will be Failure Prediction Threshold Exceeded (5D00) if
the Test field is set to 0 (true error), and Failure Prediction Threshold Exceeded
-False (5DFF) if the Test field is set to 1 (test).
The command that returns the Check Condition status for the informational
exception will complete without error before any informational exception condition
may be reported. The Interval Timer and Report Count must be set to 0. These
fields are not supported.
The WORMM bit is set to 1 when the drive is operating in WORM mode. The
WORMM bit is set to 0 when the drive is not operating in WORM mode. If a
Mode Select command is processed that attempts to change the setting of the
WORMM bit, the drive returns a Check Condition status, with the sense key set to
Illegal Request, and the addition sense code set to Invalid Field In Parameter List.
The Worm Model Label Restrictions field specifies the restrictions against
overwriting format labels when operating in WORM mode (see Table 116).
The Worm Mode Filemarks Restrictions field specifies the restrictions against
overwriting a series of filemarks immediately preceding EOD when operating in
WORM mode (see Table 117 on page 132). This field controls only the overwriting
of a series of filemarks with no interleaved logical blocks immediately preceding
EOD.
The encryption enabled (Encr_E) bit set to zero indicates that encryption is not
enabled in the drive. Data written will be written in clear text. The Encr_E bit set
to one indicates that encryption is enabled in the drive.
The encryption capable (Encr_C) bit set to zero indicates that the drive hardware
does not support encryption. The Encr_C bit set to one indicates the drive
hardware supports encryption but does not indicate if encryption is currently
enabled.
Ultrium drive support for the fields in this page vary by generation and/or code
level. To discover if a field can be modified, issue a Mode Sense with a PC field of
01 to see if the field is changeable. This will also return the Page Length, which
must be examined to determined the length of this page, because it is expected to
increase as additional Behavior configurations are added to subsequent code levels.
WARNING: This page changes the normal behavior of the drive. Some settings
effect error reporting and may even cause the drive to violate SCSI standards. Care
should be taken to ensure that the behavior change is understood and what its
effects on the system will be.
Table 119. Behavior Configuration Mode Page
Bit
Byte 7 6 5 4 3 2 1 0
0 PS Reserved Page Code (2Fh)
1 Page Length (n-1)
2 Fence Behavior
3 Clean Behavior
4 WORM Behavior
5 Sense Data Behavior
Reporting Behavior
6
Rsvd Rsvd Rsvd Rsvd Rsvd CCDM DDEOR CLNCHK
Firmware Update Behavior
7
Rsvd Rsvd Rsvd Rsvd Rsvd Rsvd Rsvd DFMRDL
Unload On Error Behavior
8
Reserved UOE-C UOE-F UOE-D
.
.
.
n Reserved for Future Use
Normal Operation (00h): The behavior of the drive after a Panic or Exception
when in normal operation is defined below).
When the drive comes up after a Panic or Exception and no cartridge is detected,
the drive will respond to SCSI commands as follows (Steps 1 and 2 are returned in
response to any check condition eligible command):
1. 6/2900 sense is returned.
2. 2/3e00 is returned during POST.
3. When POST completes, enter normal operation.
When the drive comes up and detects a cartridge, it requires Mid-Tape Recovery
(MTR) and will respond to SCSI commands as follows (Steps 1 through 5 are
returned in response to any check condition eligible command):
1. 6/2900 is returned.
2. 2/3e00 is returned during POST.
3. 2/0400 is returned during Mid-Tape Recovery/Unload.
4. 2/0401 is returned during Mid-Tape Recovery/Load.
5. 6/2800 is returned after cartridge is loaded.
6. Enter into the MTR Fence State.
a. TUR commands will return GOOD status.
b. Return 5/2C00 Sense for all medium access commands.
c. Exit MTR Fence State when an explicit positioning command completes
successfully (that is, Locate, Rewind, Load).
Panic Fence Feature Enabled (01h): The behavior of the drive after the Panic or
Exception when the Panic Fence Feature is enabled is defined below.
When the drive comes up after a Panic of Exception and no cartridge is detected,
the drive will respond to SCSI commands as follows (Steps 1 and 2 are returned in
response to any check condition eligible command):
1. 6/2900 sense is returned.
2. 2/3e00 is returned during POST.
3. When POST completes, enter into the Panic Fence state. In the Panic Fence
state:
a. SCSI commands other than RSNS/INQ/RLUNs/Read Buffer/TUR are
rejected with 5/2904 sense, indicating Panic Fence state.
b. TUR commands will return 5/2904 sense.
c. Load of a cartridge through any means is not allowed.
d. SCSI Read Buffer to read dump data is accepted at any time.
Description Value
Normal Operation (default) 00h
Periodic Clean Notification Enabled 01h
Reserved 02h - FFh
Periodic Clean Notification Enabled (01h): The drive shall monitor the number of
write and read datasets since last cleaning. When the number of write/read
datasets exceeds the criteria the drive will put itself in a clean notification needed
state. The criteria used is subject to change, but the current criteria is listed in
Table 121.
Table 121. Periodic Clean Notification Usage Criteria
Equivalent Full File
Meters of tape
Generation Drive Data Sets Processed Passes
pulled across head
(Approximate)
Ultrium 1 10,000,000 38 N/A
Ultrium 2 10,000,000 19 N/A
Ultrium 3 10,000,000 38 N/A
Ultrium 4 12,000,000 23 5,000,000
When entering this state the drive shall set the Drive Status Flags 1, Byte 7, Bit 6:
Drive Clean Required as defined in the LDI and the drive shall set TapeAlert flag
21.
This drive will remain in this state until a successful cleaning cycle or a Power On
Reset occurs. (e.g. If there is another data cartridge inserted without the drive
having been cleaned, the drive will function as normal. Once the TapeAlert is
reported the first time it will be cleared following normal TapeAlert rules. The
Drive Status Flags will function as defined in the LDI.)
Data Cartridge Emulates WORM (01h): Treat Data Cartridge like a WORM
cartridge. When a data cartridge is inserted into the drive the drive will report that
it is WORM media and the drive will behave like the media is WORM. It will
follow all overwrite rules. This Emulate mode will be cleared after cartridge
unload. There will be no emulation of the WORM tampering responses. Sense code
of 300Dh is never reported in WORM Emulation mode. WTRE can be set in the
Sequential Access Device Configuration Mode page (10h), this does not affect drive
behavior in emulation mode.
A Clean Check (CLNCHK) bit set to one specifies that a Check Condition, Sense
Key 0h ASC/ASCQ 8282h (Drive Requires Cleaning) will be returned after a
Rewind, Space, Locate, or Unload when cleaning is required. A CLNCHK bit set to
zero does not specify that a Check Condition will be returned when cleaning is
required. The default value of this bit is zero (i.e. No check condition is returned).
A Disable Deferred Error On Rewind (DDEOR) bit set to one specifies that no
deferred error will be reported to a rewind command. A DDEOR bit set to zero
does not specify that no deferred error will be reported on rewind. The default
value of this bit is zero.
A Check Condition for Dead Media (CCDM) bit set to one specifies that a Check
Condition, Sense Key = 1h, ASC/ASCQ 8252h (Degraded Media) will be returned
after a Rewind command when the criteria are met to set the Dead Media flag in
Log Page 3Ch. A CCDM bit set to zero does not specify that a Check Condition
will be returned when the Dead Media criteria are met. The default value of this
bit is zero (default is one if manufactured as an eServer drive - i.e., The Product ID
returned in Standard Inquiry is "HH LTO Gen x" where "x" is a number).
A Disable Field Microcode Replacement Down Level (DFMRDL) bit set to one
specifies that the drive will not accept downlevel firmware via an FMR tape. A
DFMRDL bit set to zero does not specify that the drive will not accept downlevel
firmware via an FMR tape. This bit does not effect code downloads by means
other than an FMR tape (e.g. Write Buffer over SCSI interface). The default value of
this bit is zero (i.e. Firmware can be down leveled by FMR tape).
Settings specified over a library interface (i.e. LDI or ADI) take precedence over
these settings, but do not modify these values.
Table 124 defines the Unload on Error Behavior fields. Currently the only values
allowed are 00h or 15h, but we anticipate allowing more flexibility in the future.
Table 124. Unload On Error Behavior Definition
Value Field Behavior
Unload On Error - Data (UOE-D)
00b Unload on Error - FMR (UOE-F) No exceptional behavior specified
Unload On Error - Cleaner (UOE-C)
Unload On Error - Data (UOE-D)
01b Unload on Error - FMR (UOE-F) Do not auto-eject on error
Unload On Error - Cleaner (UOE-C)
Unload On Error - Data (UOE-D)
10b Unload on Error - FMR (UOE-F) Reserved
Unload On Error - Cleaner (UOE-C)
Unload On Error - Data (UOE-D)
11b Unload on Error - FMR (UOE-F) Reserved
Unload On Error - Cleaner (UOE-C)
: Allocation Length
8
9 Control
The PERSISTENT RESERVE IN parameter data for Read Full Status is defined in
Table 128.
Table 128. PERSISTENT RESERVE IN Parameter Data for Read Full Status
7 6 5 4 3 2 1 0
0 MSB
PRGeneration
3 LSB
4 MSB
Additional Length (n-7)
7 LSB
Full status descriptors
8
First full status descriptor (see Table 129 on page 146)
.
.
.
The format of the full status descriptors is shown in Table 129 on page 146.
: Generation
3
4
: Additional Length
7
8
15
16
Additional Length is a count of the number of bytes in the Reservation Key list.
: Generation
3
4
: Additional Length
7
8
Additional Length is a count of the number of bytes in the Reservation Key list.
: Reservation Key
7
8
11
12 Reserved
13 Scope (0h) Type
14
15
8
9 Control
Table 134 contains the values for Service Action field. For additional information
about the descriptions of each service action code, refer to the SCSI Primary
Commands-3 (SPC-3) manual.
Table 134. Values for Service Action Codes in PERSISTENT RESERVE OUT Command
PERSISTENT
Code Name Description RESERVE Generation
Field Incremented
Registers a reservation key with the device
00h REGISTER Yes
server or unregisters a reservation key.
Creates a persistent reservation that has a
01h RESERVE No
specified SCOPE and TYPE.
02h RELEASE Releases the selected persistent reservation. No
Clears all reservation keys (for example,
03h CLEAR Yes
registrations) and all persistent reservations.
Preempts persistent reservations or removes
04h PREEMPT Yes
registrations.
Preempts persistent reservations or removes
PREEMPT AND
05h registrations and aborts all tasks for all Yes
ABORT
preempted initiator ports.
REGISTER AND
Registers a reservation key with the device
06h IGNORE EXISTING Yes
server or unregisters a reservation key.
KEY
Register a reservation key for another I_T
REGISTER AND
07h nexus with the device server and move a Yes
MOVE
persistent reservation to that I_T nexus
08h - 1Fh Reserved
Notes:
1. Drive Support is categorized as follows:
1 = Generation 1
2 = Generation 2
N/S = not supported
2. The Description of Drive Support column is divided into three categories:
A definition of the required handling for read operations.
A definition of the required handling for write operations.
A definition of the persistent reservation holder (for more information, refer to the SCSI Primary Commands-3
(SPC-3) manual.
The PERSISTENT RESERVE OUT parameter list for all service actions except
REGISTER AND MOVE (07h) is defined in Table 136.
Table 136. PERSISTENT RESERVE OUT Parameter List
Bit
Byte 7 6 5 4 3 2 1 0
0
: Reservation Key
7
8
15
16
19
20 Reserved APTPL (0)
21 Reserved
22
: Obsolete (0)
23
Any value is allowed for the Reservation Key and the Service Action Reservation
Key.
The value for Activate Persist Through Power Loss (APTPL) will be 0.
The PERSISTENT RESERVE OUT parameter list for REGISTER AND MOVE (07h)
is defined in Table 137 on page 152.
If the Prevent field is set, then eject requests from the front panel are ignored and
Unload commands give Check Condition status. The Sense Key is set to Illegal
Request and the ASC/ASCQ to Medium Removal Prevented (5302).
All initiators that have prevented medium removal must enable it before the
medium can be removed from the drive.
: Transfer Length
4
5 Control
If the Fixed field is set to 0 and Transfer Length is not 0, then a single block of the
length in Transfer Length is to be transferred. If the next block on tape is of this
length or shorter, then it is transferred to the initiator. If the next block is longer
than this length, then only the length requested is returned. A Check Condition for
incorrect length is returned, and the logical position is set after the block. If the
length of the block was the same as the Transfer Length field, then Good status is
returned.
If the Suppress Incorrect Length Indicator (SILI) field is 1 and the Fixed field is 0,
the drive will do one of the following:
v Report Check Condition status for an incorrect length condition only if the
overlength condition exists and the BLOCK LENGTH field in the mode
parameter block descriptor is non-zero (see clause 8.3 in the SCSI-3 Stream
Commands (SSC)).
v Not report Check Condition status if the only error is the underlength condition,
or if the only error is the overlength condition and the BLOCK LENGTH field of
the mode parameters block descriptor is 0.
If the SILI field is 0 and an incorrect length block is read, Check Condition status
will be returned. The ILI and VALID fields must be set to 1 in the sense data and
the Additional Sense Code must be set to NO ADDITIONAL SENSE
INFORMATION. Upon termination, the logical position will be after the incorrect
length block (end-of-partition side). If the Fixed field is 1, the INFORMATION field
must be set to the requested transfer length minus the actual number of blocks
read (not including the incorrect length block). If the Fixed field is 0, the
INFORMATION field must be set to the requested transfer length minus the actual
block length.
If the Fixed field is set to 1, the Block Length (see “Mode Block Descriptor” on
page 112) is set to 0, and the Transfer Length field is not 0, Check Condition status
is returned with Illegal Field in CDB (5/2400h).
If the Fixed field is set to 1, the Transfer Length field is not 0, and the Suppress
Illegal Length Indicator (SILI) field is set to 0, then a sequence of blocks of the
currently configured block length is to be returned, the number of blocks being
indicated in the Transfer Length field. If there is a sequence of blocks of this length
on the tape, they are returned to the initiator with Good status. If a block that is
154 IBM TotalStorage LTO Ultrium Tape Drive: SCSI Reference
longer than the configured length is encountered before the sequence is complete,
the blocks up to that block are returned, followed by the configured length from
the record that was too long and Check Condition status. If a block that is shorter
than the configured length is encountered before the sequence is complete, the
blocks up to that block are returned, followed by all of that block and Check
Condition status. The current position is set after the last block that was returned
or partially returned.
If the Transfer Length field is 0, and if the Suppress Illegal Length Indicator and
the Fixed field are not both set, then Good status is returned and no action is taken
in the drive.
If Suppress Illegal Length Indicator (SILI) field is set and the Fixed field is set, then
Check Condition status is returned. The Sense Key is set to Illegal Request and the
ASC/ASCQ is set to Invalid Field in CDB (2400).
: Reserved
3
4 Reserved
5 Volume Number (0)
6 Reserved
7 Partition Number (0)
8
: First Attribute ID
9
10
: Allocation Length
13
14 Reserved
15 Control
If the medium auxiliary memory is not accessible but the medium is present, the
READ ATTRIBUTE command will be terminated with a Check Condition status.
The Sense Key must be set to Medium Error and the Additional Sense Code must
be set to Logical Unit Not Ready, Auxiliary Memory Not Accessible (0410h).
If the medium auxiliary memory has failed, the READ ATTRIBUTE command will
be terminated with a Check Condition status. The Sense Key must be set to
Medium Error and the Additional Sense Code must be set to Auxiliary Memory
Read Error (1112h).
The supported Service Action codes are listed in Table 141 on page 157. The
sections that follow the table give the format for each supported service action.
The First Attribute ID field specifies the attribute identifier of the first attribute to
be returned. If the specified attribute identifier is in the unsupported or
nonexistent state, the READ ATTRIBUTE command will be terminated with a
Check Condition status (see clause 5.10 in the SCSI Primary Commands-3 (SPC-3)).
The Sense Key must be set to Illegal Request and the Additional Sense Code must
be set to Invalid Field in CDB.
The Allocation Length field specifies how many bytes have been allocated for the
returned parameter list. If the length is not sufficient to contain the entire
parameter list, the first portion of the list will be returned. This is not considered
an error. If the remainder of the list is required, the application client should send
a new READ ATTRIBUTE command with an allocation length large enough to
contain the entire parameter list or use the First Attribute ID field to restrict the
attributes that are returned.
The format of parameter data that is returned by the READ ATTRIBUTE command
depends on the service action that is specified.
The Unique Cartridge Identity (UCI) attribute is only supported on Ultrium 3 and
later drives. The Unique Cartridge Identity (UCI) attribute is read only. Any
attempt to change this attribute by using the Write Attribute command will be
rejected by the drive with a Sense Key 5 ASC/ASCQ 2600 Illegal Request, Invalid
Field In Parameter List. If the cartridge has inconsistency between the various
sources from which the components of the UCI are derived, then any command to
read the UCI will be rejected with a Check Condition, and Sense Key and
ASC/ASCQ of (03/1112), which is an Auxiliary Memory Read Error. This error
shall also be reported if the cartridge has not been initialized.
3
4
: Attribute #1
x
m
: Attribute #y
The Available Data field will contain the number of bytes of attribute information
in the parameter list. If the parameter list is truncated as a result of insufficient
allocation length, the content of the Available Data field is not altered. The format
of the attribute is described in Table 149 on page 164.
3
4
: Attribute ID #1
5
n-1
: Attribute ID #y
1
2 First Volume Number (0)
3 Number of Volumes Available (1)
The First Volume Number field indicates the first volume that is available and will
be set to 0.
The Number of Volumes Available field indicates the number of volumes that are
available and will be set to 1.
1
2 First Partition Number (0)
3 Number of Partitions Available (1)
The First Partition Number field indicates the first partition that is available on the
specified volume number and is set to 0.
The Number of Partitions Available field indicates the number of partitions that are
available on the specified volume number and is set to 1.
Table 148 shows the states for the types of MAM attributes.
Table 148. States for the Types of MAM Attributes
Attribute Type Attribute State Description
An application server may read the contents of the attribute with
the READ ATTRIBUTE command, but an attempt to clear or change
the attribute by using the WRITE ATTRIBUTE command will result
Read Only in the command being terminated with a Check Condition status.
Medium or Device When the Read Only field of the MAM attribute is 1, the attribute
is in the read only state. (For information about the Read Only
field, see “Format of MAM Attribute” on page 164.)
The tape drive does not support the attribute and will not return it
Unsupported
in response to a READ ATTRIBUTE command.
A host attribute does not exist in the MAM until a WRITE
Nonexistent
ATTRIBUTE command creates it.
The attribute has been created by using the WRITE ATTRIBUTE
command. After the attribute has been created, the contents may be
Host altered by using subsequent WRITE ATTRIBUTE commands. A
read/write attribute may be returned to the nonexistent state by
Read/Write
using a WRITE ATTRIBUTE command with the Attribute Length
set to 0. When the Read Only field of the MAM attribute is 0, the
attribute is in the read/write state. (For information about the Read
Only field, see “Format of MAM Attribute” on page 164.)
: Attribute Identifier
1 (LSB)
2 Read Only Reserved Format
3 (MSB)
4 (LSB)
5 (MSB)
: Attribute Value
n (LSB)
The Attribute Identifier field contains a value that identifies the attribute. For the
range of values in this field, see “Values for the Attribute Identifier Field” on page
165.
The Read Only field indicates whether the attribute is in the read only or
read/write state. If the field is 1, the attribute is in the read only state; if the field
is 0, the attribute is in the read/write state.
The Format field specifies the format of the data in the Attribute Value field.
Table 150 describes the values and requirements for the Format field.
Table 150. Values and Requirements for the Format Field
Generation
Format Name Description
(see Legend)
00b Binary 1,2 The Attribute Value field will contain binary data.
The Attribute Value field will contain only graphic
codes (for example, byte code values 20h through 7Eh),
01b ASCII 1,2 will be left-aligned and place any unused bytes at the
highest offset in the field, and will contain 20h (for
example, ASCII space) in any unused bytes.
The attribute contains textual data. For a description of
10b Text 1,2 the character set, see page 170 and Table 157 on page
170.
11b Reserved N/S The Attribute Value field is reserved.
The Attribute Length field specifies the length in bytes of the Attribute Value field.
The value of the Attribute Length field depends on the attribute that is returned.
The Attribute Value field contains the current (READ ATTRIBUTE) or desired
(WRITE ATTRIBUTE) value of the attribute.
Values for the Attribute Identifier Field: The values in the Attribute Identifier
field are assigned according to the attribute type and whether the attribute is
standard or vendor unique. Table 151 lists the range of values for the each attribute
type.
Table 151. Range of Values for MAM Attribute Identifiers
Range of Attribute Identifiers Attribute Type Standard or Vendor Unique
0000h - 03FFh Device Standard
0400h - 07FFh Medium Standard
0800h - 0BFFh Host Standard
0C00h - 0FFFh Device Vendor Unique
1000h - 13FFh Medium Vendor Unique
1400h - 17FFh Host Vendor Unique
1800h - FFFFh Reserved Not applicable
Note: Ultrium drives accept and process a WRITE ATTRIBUTE command that contains standard host type attribute
identifier values (for example 0800h to 0BFFh) or vendor-unique host type attribute identifier values (for example
1400h to 17FFh). Standard host type attribute identifier values may be checked for conformance to the requirements
described in “Standard Host Type Attributes” on page 169. Attributes may be written as long as there is sufficient
available space in MAM. The Ultrium drive supports a total of 1008 bytes of Application Specific Data available for
host use. Each attribute written consumes four bytes of that space for the required attribute header.
The sections that follow describe the standard type attributes for device, medium,
and host.
Standard Device Type Attributes: Device type attributes are maintained and updated
by the drive when the medium and associated MAM are present. Table 152 on
page 166 describes the standard device type attributes.
Load Count indicates how many times this medium has been fully loaded. This
attribute should not be reset by any action of the device server.
MAM Space Remaining indicates the space that is currently free in the medium
auxiliary memory. The total MAM capacity is reported in the MAM Capacity
attribute. (For a description of the MAM Capacity attribute, see page 169.) Note: It
may not always be possible to use all of the free space that is reported.
Initialization Count indicates the number of times that a device server has logically
formatted the medium. This figure is cumulative over the life of the medium and
will never be reset.
: Vendor Identification
7 (LSB)
8 (MSB)
39 (LSB)
The Vendor Identification field will be the same value that is returned in the
Standard Inquiry Data.
The Product Serial Number field contains a vendor-unique serial number. If the
product serial number is not available, the Product Serial Number field will
contain ASCII spaces (20h).
Total MBytes Written in Medium Life and Total MBytes Read in Medium Life
indicate the number of data bytes that are transferred to or from the medium
surface (after any data compression has been applied) over the entire life of the
medium. These values are cumulative and will never be reset. They are expressed
in increments of 1 048 576 bytes (for example, a value of 1 means 1 048 576 bytes;
a value of 2 means 2 097 152 bytes; and so forth).
Standard Medium Type Attributes: Medium type attributes are hard-coded into the
MAM at the time of manufacture. All supported medium type attributes have a
status of read only. Table 154 describes the standard medium type attributes.
Table 154. Standard Medium Type Attributes
Attribute
Attribute Identifier Name Length Format
(in bytes)
0400h Medium Manufacturer 8 ASCII
0401h Medium Serial Number 32 ASCII
0402h - 0405h Restricted N/A N/A
0406h Medium Manufacture Date 8 ASCII
0407h MAM Capacity 8 Binary
0408h Medium Type 1 Binary
Medium Manufacturer contains 8 bytes of ASCII data that identifies the vendor of
the media.
Medium Serial Number identifies the manufacturer’s serial number for the
medium.
Medium Manufacture Date identifies the date of manufacture of the medium. The
format is YYYYMMDD (four numeric ASCII characters for the year, followed by two
numeric ASCII characters for the month, followed by two numeric ASCII
characters for the day, with no intervening spaces).
MAM Capacity is the total capacity of the medium auxiliary memory (in bytes) at
the time of manufacture. It does not indicate the free space of unused MAM
because some of the MAM space may be reserved for device-specific use, which
makes it inaccessible to the application client.
Medium Type and Medium Type Information give information about non-data
media and other types of media. The Medium Type Information attribute is
interpreted according to the type of medium that is indicated by the Medium Type
attribute. Table 155 give the values for the Medium Type and Medium Type
Information attributes.
Table 155. Values for Medium Type and Medium Type Information Attributes
Medium Type Description Medium Type Information
00h Data medium Reserved
01h Cleaning medium Maximum number of cleaning cycles permitted
02h - 7Fh Reserved Reserved
80h Write-once medium Reserved
81h - FFh Reserved Reserved
Standard Host Type Attributes: Table 156 describes the standard host type attributes.
Application clients may use the WRITE ATTRIBUTE and READ ATTRIBUTE
commands to maintain the attributes shown in the table. All existing host type
attributes have a status of read/write.
Table 156. Standard Host Type Attributes
Attribute
Attribute Identifier Name Length Format
(in bytes)
0800h Application Vendor 8 ASCII
Application Vendor contains 8 bytes of ASCII data that identifies the manufacturer
of the application client (for example, a class driver or backup program) that most
recently sent a WRITE ATTRIBUTE command to the tape drive while this MAM
was accessible.
User Medium Text Label is the user-level identifier for the medium.
Date and Time Last Written contains when the application client last wrote to the
MAM. The format is YYYYMMDDHHMM (four numeric ASCII characters for the year,
followed by two numeric ASCII characters for the month, followed by two
numeric ASCII characters for the day, followed by two numeric ASCII characters
between 00 and 24 for the hour, followed by two numeric ASCII characters for the
minute, with no intervening spaces).
Text Localization Identifier defines the character set that is used for attributes with
a Text format. Table 157 gives the values for the Text Localization Identifier
attribute.
Table 157. Values for the Text Localization Identifier Attribute
Value Meaning
00h No code specified (ASCII)
01h ISO/IEC 8859-1 (Europe, Latin America)
02h ISO/IEC 8859-2 (Eastern Europe)
03h ISO/IEC 8859-3 (Southeastern Europe, miscellaneous)
04h ISO/IEC 8859-4 (Scandinavia/Baltic)
05h ISO/IEC 8859-5 (Cyrillic)
06h ISO/IEC 8859-6 (Arabic)
Barcode is the contents of a bar code that is associated with the medium in the
MAM.
Owning Host Textual Name indicates the host from which the User Medium Text
label originates.
Media Pool indicates the media pool to which this medium belongs.
The format of the data returned in the READ BLOCK LIMITS Descriptor is shown
in Table 160.
Table 160. READ BLOCK LIMITS Descriptor
Bit
Byte 7 6 5 4 3 2 1 0
0 Reserved Granularity (0h)
1
3
4
The Granularity field specifies the supported block size granularity. For Ultrium
drives this is set to 0, which indicates that the drive supports all block sizes equal
to n, where n is greater than or equal to the Minimum Block Length Limit and less
than or equal to the Maximum Block Length Limit.
For READ and WRITE commands with the Fixed field set to 1, block lengths are
limited to multiples of four.
: Buffer Offset
5
6
: Allocation Length
8
9 Control
The Mode field and its meaning are described in Table 162.
Table 162. Description of the Mode Field
Mode Description Support
00h Combined header and data 1, 2, 3, 4
02h Data 1, 2, 3, 4
03h Descriptor 1, 2, 3, 4
07h Descriptor (see Note) 1, 2, 3, 4
0Ah Echo buffer 2, 3, 4
0Bh Echo buffer descriptor 2, 3, 4
Legend:
1 = supported in IBM TotalStorage LTO Ultrium Tape Drive (commonly called the Ultrium 1 tape drive)
2 = supported in IBM TotalStorage LTO Ultrium 2 Tape Drive (commonly called the Ultrium 2 tape drive)
3 = supported in IBM TotalStorage LTO Ultrium 3 Tape Drive (commonly called the Ultrium 3 tape drive)
4 = supported in IBM TotalStorage LTO Ultrium 4 Tape Drive (commonly called the Ultrium 4 tape drive)
Note: The descriptor that is returned for Mode 07h has the Buffer Capacity field reported in 64-byte increments.
The Buffer ID indicates which buffer is to be read. The Buffer IDs are shown in
Table 166 on page 176.
The Buffer Offset field may be set to any address in the buffer.
Note: The Main Data buffer capacity is larger than can be represented in the Buffer
Offset field of the CDB and Buffer Capacity field of the header. To
compensate for this, the Buffer Offset and Buffer Capacity fields for the
Main Buffer (buffer ID = 0) are interpreted and expressed in multiples of 64
bytes (for example, a value of 1 equals 64 bytes). This interpretation is for
buffer modes 00h, 01h, 02h, 03h, and 07h only.
If the Mode is set to 0Ah, data from the echo buffer is returned.
In this mode, Buffer ID and Buffer Offset fields are ignored. Prior to issuing a
READ BUFFER command that uses the echo buffer, a WRITE BUFFER command
that uses the echo buffer must have been successfully completed (see“WRITE
BUFFER” on page 258). If not, the Read Echo Buffer terminates with a Check
Condition status, the Sense Key is set to Illegal Request, and ASC/ASCQ is set to
Command Sequence Error (2C00h). The Read Echo Buffer returns the same number
of bytes of data as was received in the prior Write Echo Buffer from the same
initiator.
If the Mode is set to 0Bh, the descriptor information of the echo buffer is returned.
The format of the echo buffer descriptor is shown in Table 165 on page 175. The
Echo Buffer Overwritten Supported (EBOS) is set to 1 because the drive keeps the
echo buffer for each initiator.
Table 163. READ BUFFER Header
Bit
Byte 7 6 5 4 3 2 1 0
0 Reserved
1
: Buffer Capacity
: Buffer Capacity
: Time Stamp
3
4 Entry Number
5 Error Code
6
7
8
9
10
11
12
13
14
21
22
: EC Level
27
28
: Hardware Level
31
7
8
15
3
4 Entry Number
5 Initiator SCSI ID
6 SCSI Status
7 Reserved
8
: CDB
23
24
: Sense Data
59
An Entry Number set to 0 indicates that the entry is not valid. The scheme used
for setting the Entry Number is not described in this manual.
Valid entries are built for commands that are issued to LUN 0 and that get a Check
Condition status for sense data that contain a Sense Key of 3 or 4.
The CDB field contains the contents of the CDB that received Check Condition
status even when the check condition is a Deferred Check Condition.
8
9 Control
7
8
11
12 Reserved
13
15
16
19
The First Block Location specifies the block address that is associated with the
current logical position. The value indicates the block address of the next data
block to be transferred between the initiator and the target if a READ or WRITE
command is issued.
The Beginning of Partition (BOP) field is set if the Block Location fields are 0.
The Block Position Unknown (BPU) field is always set to 0, because the position is
always known.
A byte count unknown (BYCU) field of 1 indicates that the Number of Bytes in
Buffer field does not represent the actual number of bytes in the buffer. This field
is always set to 1.
: Allocation Length
4
5 Control
8
9 Control
: Allocation Length
8
9 Control
The Allocation Length field specifies the maximum number of bytes that the device
server may return.
In an Ultrium 1 drive, the Ultrium 1 descriptor is always returned with the DEFLT
field set to 1.
In an Ultrium 2 drive, if a medium is loaded in the drive and the Media field is set
to 1, the descriptor of the loaded medium will be returned with the DEFLT field
set to 1. If the Media bit is set to 0, the density support data block descriptors are
returned with the Ultrium 1 descriptor followed by the Ultrium 2 descriptor. If
there is no medium in the drive and the Media field is set to 0, both descriptors
will have the DEFLT field set to 1. If a medium is loaded in the drive and the
Media field is set to 0, the descriptor of the density of the loaded medium will be
returned with the DEFLT field set to 1 and the descriptor of other density will be
returned with the DEFLT bit set to 0.
In an Ultrium 3 drive, if a medium is loaded in the drive and the Media field is set
to 1, the descriptor of the loaded medium will be returned with the DEFLT field
set to 1. If the Media bit is set to 0, the density support data block descriptors are
returned with the Ultrium 1 descriptor, followed by the Ultrium 2 descriptor,
followed by the Ultrium 3 descriptor. If there is no medium in the drive and the
Media field is set to 0, all descriptors will have the DEFLT field set to 1. If a
In an Ultrium 4 drive, if a medium is loaded in the drive and the Media field is set
to 1, the descriptor of the loaded medium will be returned with the DEFLT field
set to 1. If the Media bit is set to 0, the density support data block descriptors are
returned with the Ultrium 2 descriptor, followed by the Ultrium 3 descriptor,
followed by the Ultrium 4 descriptor. If there is no medium in the drive and the
Media field is set to 0, all descriptors will have the DEFLT field set to 1. If a
medium is loaded in the drive and the Media field is set to 0, the descriptor of the
density of the loaded medium will be returned with the DEFLT field set to 1 and
the descriptor of other density will be returned with the DEFLT bit set to 0.
Table 176. REPORT DENSITY SUPPORT Header
Bit
Byte 7 6 5 4 3 2 1 0
0
1
2 Reserved
3 Reserved
The Available Density Descriptor Length gives the total amount of data that is
available to be returned and does not include itself.
: Bits per mm
7
8
: Media Width
: Tracks
11
12
: Capacity
15
16
: Assigning Organization
23
24
: Density Name
31
32
: Description
51
Table 178 shows the values that are reported for the Ultrium format.
Table 178. Density Information for LTO Formats
Field Ultrium 1 Ultrium 2 Ultrium 3 Ultrium 4
Primary density code 40h 42h 44h 46h
Secondary density code 40h 42h 44h 46h
Bits per mm 4880 7398 9638 12725
Media width (in tenths of mm) 127 127 127 127
Tracks 384 512 704 896
95,367 190,734 381,469 800,000
Capacity1
(in 220 bytes) (in 220 bytes) (in 220 bytes) (in 106 bytes)
Assigning organization "LTO-CVE " "LTO-CVE " "LTO-CVE " "LTO-CVE "
Density name "U-18 " "U-28 " "U-316" "U-416 "
Description "Ultrium 1/8T" "Ultrium 2/8T" "Ultrium 3/16T" "Ultrium 4/16T "
Notes:
1: See each generation value to see what units the capacity is expressed in. Earlier generations express
Capacity in non-standard units.
The Write Okay (WRTOK) field is set to 0 if the drive does not support writing to
this format, but does support reading it. This is always set to 1 for Ultrium 1 and
Ultrium 2 drives. In Ultrium 3 drives, the WRTOK field is set to 0 when
Generation 1 media is in the drive, and set to 1 when Generation 2 or Generation 3
The Duplicate (DUP) field is set to 0 for every descriptor block, indicating that
each density is reported only once. A DEFLT field of 0 specifies that this density is
not the default density of the drive. A DEFLT field of 1 specifies that this density is
the default density.
Note: The default density of the drive will vary, depending on the currently
mounted media. Multiple codes may return a DEFLT field of 1 when the
Media field is 0 because more than one default is possible.
If the Media field is set to 0, the maximum values possible are reported. In Ultrium
2 drives, the Ultrium 1 descriptor is returned, followed by the Ultrium 2
descriptor. In Ultrium 3 drives, the Ultrium 1 descriptor is returned, followed by
the Ultrium 2 descriptor, followed by the Ultrium 3 descriptor.In Ultrium 4 drives,
the Ultrium 1 descriptor is returned, followed by the Ultrium 2 descriptor,
followed by the Ultrium 3 descriptor, followed by the Ultrium 4 descriptor.
If the Media field is set to 1, the Capacity field specifies the approximate capacity
of the current tape, assuming that recording occurs in this density with one
partition.
If the Media field is 1 and the logical unit is not in the ready state, Check
Condition status will be returned. The Sense Key must be set to Not Ready and
the Additional Sense Code will specify the reason for Not Ready.
The Bits per mm field specifies the number of bits per millimeter per track as
recorded on the medium. See Table 178 on page 187 for the values that are
returned.
The Media Width field specifies the width of the medium that is supported by this
density. See Table 178 on page 187 for the values that are returned.
The Tracks field specifies the number of data tracks that are supported on the
medium by this density. See Table 178 on page 187 for the values that are returned.
If the Media field is 0, the Capacity field specifies the approximate capacity of the
longest supported medium for this density. If the Media field is 1, the Capacity
field specifies the approximate capacity of the current medium for this density. If
the approximate capacity of the current medium is not available for the mounted
medium, the longest supported medium capacity for this density is used. The
capacity assumes that compression is disabled. The capacity also assumes that the
media is in good condition, and that normal data and block sizes are used. This
value is in units of megabytes (106 bytes). The drive does not guarantee that this
space is actually available in all cases. See Table 178 on page 187 for the values that
are returned.
The Assigning Organization field contains 8 bytes of ASCII data that identifies the
organization that is responsible for the specifications that define the values in this
density support data block descriptor. The data is left-aligned within this field. The
ASCII value for a space (20h) is used for padding. See Table 178 on page 187 for
the values that are returned.
The Description field contains 20 bytes of ASCII data that describe the density. The
data is left-aligned within this field. The ASCII value for a space (20h) is used for
padding. See Table 178 on page 187 for the values that are returned.
: Allocation Length
9
10 Reserved
11 Control
The allocation length is at least 16 bytes. If this is not the case, the drive returns
Check Condition status, with a Sense Key of Illegal Request and an ASC/ASCQ of
Invalid Field in CDB.
3
4
: Reserved
7
8
15
n
On drives not using the ADI interface that do not have the library control path
feature enabled, this value is 8. On drives not using the ADI interface that have the
library control path feature enabled, this value is 16 and an Additional LUN
descriptor is returned with a value of 0001000000000000h.
On drives using the ADI interface, if the ENABLE bit of Logical Unit Index 01h in
the Mode Page 0Eh subpage 03h is set, then an Additional LUN descriptor is
returned with a value of 0001000000000000h.
If the allocation length in the CDB is too small to transfer information about the
entire logical unit inventory, the LUN list length value will not be adjusted to
reflect the truncation.
The ALLOCATION LENGTH field indicates how many bytes have been allocated
for the returned parameter data. If the length is not sufficient to contain all the
parameter data, the first portion of the data is returned. This is not considered an
error. The actual length of the parameter data is available in the TIMESTAMP
PARAMETER DATA LENGTH field in the parameter data. If the remainder of the
parameter data is required, the application client should send a new REPORT
TIMESTAMP command with an ALLOCATION LENGTH field large enough to
contain all the data.
The format of the parameter data returned by the REPORT TASK MANAGEMENT
FUNCTIONS command is shown in Table 182.
Table 182. REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS parameter data
7 6 5 4 3 2 1 0
0 ATS ATSS COCAS CTS LURKS ITS TRS WAKES
1 Reserved INTERS
2
Reserved
3
The ALLOCATION LENGTH field indicates how many bytes have been allocated
for the returned parameter data. If the length is not sufficient to contain all the
parameter data, the first portion of the data is returned. This is not considered an
error. The actual length of the parameter data is available in the TIMESTAMP
PARAMETER DATA LENGTH field in the parameter data. If the remainder of the
parameter data is required, the application client should send a new REPORT
TIMESTAMP command with an ALLOCATION LENGTH field large enough to
contain all the data.
The format of the parameter data returned by the REPORT TIMESTAMP command
is shown in Table 184.
Table 184. Timestamp Descriptor
Bit
Byte 7 6 5 4 3 2 1 0
0
TIMESTAMP PARAMETER DATA LENGTH aha
1
2 Reserved Timestamp Origin
3 Reserved
4 (MSB)
TIMESTAMP
9 (LSB)
10 Reserved
11 Reserved
The timestamp origin field indicates the origin of the timestamp returned (see
“Device Clocks” on page 265). The TIMESTAMP field shall contain the current
value of the timestamp (see “Device Clocks” on page 265).
: Information
6
7 Additional Sense Length
8
11
12 Additional Sense Code
13 Additional Sense Code Qualifier
14 Field Replaceable Unit Code
15 SKSV C/D Reserved BPV Bit Pointer
16
SKSV (1: Field Pointer)
:
SKSV (0: Reporting Error Fault Symptom Code)
17
18
19
20 Reserved (0)
21 LowPerf DrvSrvc Reserved
: Volume Label
28
29 Physical Wrap
30
33
34 SCSI Address
35 RS422 Information
Port Identifier (Relative Target Port Address) Reporting Sense (This is the port address of the drive port
through which sense is being reported.
36 On Fibre Channel drives, it is the Fibre Channel Fabric Port Address [for example, 011E13 or 000026]
with byte 36 being reserved.
:
On SAS drives, it is the Hashed SAS Address of the drive port [for example, F32A94] with byte 36 being
39 reserved.
On SCSI, bytes 36 through 38 are reserved, and byte 39 is set to the port’s SCSI address [i.e., byte 39 =
byte 34].)
40 Relative Tgt Port Reporting Sense
Tape 0: Reserved
Directory Reserved Reserved Reserved Reserved
1: Relative Tgt Port 1 (Port 0)
Valid 2: Relative Tgt Port 2 (Port 1)
3: Relative Tgt Port 3 (Library Port)
41 Host Command (SCSI Opcode)
42 Density Type
0: No media present
1: Gen1 (384 track) Media Type (Vendor Reserved)
2: Gen2 (512 track)
3: Gen3 (704 track)
4: Gen 4
43
Volume Label Cartridge Type
44
45
Logical Block Number
:
(Current LBA that would be reported in Read Position command)
48
49
52
53
1st Error FSC
54
85
86
Cartridge Serial Number
:
(This is not the Barcode value, but the value from the CM right justified)
95
90
: Reserved (0)
95
The Valid field is set if the Information field contains valid information.
The descriptions that follow serve only as an overview of sense reporting in the
tape drive. This tape drive conforms to all sense field reporting, as specified in the
SCSI Primary Commands-2 (SPC-2).
The Error Code field is set to 70h to indicate a current error that is associated with
the most recently received command. It is set to 71h to indicate a deferred error
that is not associated with the current command.
The segment number is 0, because the COPY, COMPARE, and COPY and VERIFY
commands are not supported.
The File Mark field is set if a SPACE, READ, or VERIFY command did not
complete because a file mark was read.
The Illegal Length Indicator (ILI) field is set if a READ or VERIFY ended because a
block was read from tape that did not have the block length requested in the
command.
For values of the Sense Key field see Chapter 7, “Sense Keys and Additional
Sense,” on page 269.
The Information Bytes are only valid if the Valid field is set. This occurs only for
current errors and not for deferred errors. See the specific command for details
about when Information Bytes are valid.
The Additional Sense Length is set to n-7, and is at least 10. When the sense data is
associated with an Illegal Length read, the Additional Sense Length may be 10. In
Generation 1 and Generation 2 drives, n can be as large as 35. In Generation 3
drives, n can be as large as 95. While this length in Generation 3 drives is not
anticipated to change, it is recommended that the Additional Sense Length be used
to parse that data.
For supported Additional Sense Codes and Additional Sense Code Qualifiers, see
Chapter 7, “Sense Keys and Additional Sense,” on page 269.
The only Sense Key-specific data supported is for Illegal Request (5h). For this
sense key, the Sense Key Specific Valid field is set and the following fields may be
set:
v The Command/Data (C/D) field is set to 1 if the illegal parameter was detected
in the Command Descriptor Block, and is set to 0 if it was detected in the Data
phase.
v If a bit within a byte was invalid, the Bit Pointer Valid (BPV) field is set and the
Bit Pointer field is set to indicate which bit was in error.
v The Field Pointer is set to indicate which byte was in error.
The Drive Service (DrvSrvc) bit is mapped to the “Dead Drive” flag of “Log Page
3Ch: Drive Usage Information” on page “Log Page 3Ch: Drive Usage Information”
on page 100. This bit is set to one by code whenever the drive determines that it
has a hardware fault causing the drive to be inoperative.
1. This bit is maintained across all reset conditions, firmware downloads, and
power cycles.
2. This bit does not affect drive operations.
3. The drive Power-On-Test does not test or affect this bit.
The Clean (CLN) field is set if the drive needs cleaning, and is otherwise set to 0.
The Dump field indicates that the drive has a Dump available. The field is used to
indicate when it is appropriate to read a dump.
The Volume Label Fields Valid (VolValid) field is set if the Volume Label being
reported is valid.
If a cartridge is loaded in the drive and the Volume Label Fields Valid is set, the
Volume Label field reports the seven characters from the left of the volume label
from the CM Mechanism Related Data page (if one exists), or it reports the seven
characters from the left of the volume label from the host bar code field in the CM
(if it exists), or it reports all spaces (ASCII 20h).
The Current Wrap reports the physical wrap of the tape. The least significant bit
reflects the current physical direction. A 0 means the current direction is away from
physical beginning of tape. A 1 means the current direction is towards physical
beginning of tape.
SCSI Address reports the SCSI Bus Address for the drive. Values returned range
from 00h to 0Fh.
The RS422 Information field may contain a value passed across the RS-422 serial
interface by, for example, a tape library, if the library vendor chooses to send such
a value. The value passed from across the RS-422 interface is reported persistently
until a different value is sent, at which time the new value is reported persistently.
8
9 Control
If the Immediate (Immed) field is set to 1, then the drive validates the command
and waits for any previous command from any server to complete, including any
immediate commands that are currently being processed. It also waits for any
buffered data to be flushed to tape. It then reports a deferred error for any
preceding command or buffered data, if appropriate. If there is no deferred error,
the drive reports Good status and initiates the command. If the Immediate
(Immed) field is set to 0, status is not returned until after the command has
completed.
v Security Protocol Specific - The contents depend on the protocol specified by the
Security Protocol field (see Table 192).
v Allocation Length
The supported Security Protocols are listed in Table 192 on page 201.
If the Security Protocol field is set to 00h and the Security Protocol Specific field is
set to 0001h in a Security Protocol In command, the parameter data shall have the
format shown in Table 195.
Table 195. Certificate Data Structure
Bit
Byte 7 6 5 4 3 2 1 0
0
Reserved
1
2 (MSB)
Certificate Length (m-3)
3 (LSB)
4
Certificate
m
Table 198 show which Tape Data Encryption In page codes are supported:
Table 198. Tape Data Encryption In page codes
Page Code Description Reference
0000h Tape Data Encryption In Support Pages See page 206.
0001h Tape Data Encryption Out Support Pages See page 207.
0010h Data Encryption Capabilities See page 208.
0011h Supported Key Formats See page 210.
0012h Data Encryption Management Capabilities See page 211.
0020h Data Encryption Status See page 212.
0021h Next Block Encryption Status See page213.
Table 200 shows which Tape Data Encryption Out page codes are supported:
Table 200. Tape Data Encryption Out page codes
Page Code Description Reference
0010h Set Data Encryption See page 208.
...
Plaintext Key Format (00h): The Plaintext Key Format structure is shown in
Table 205.
Table 205. Plaintext Key Format Structure
Bit
Byte 7 6 5 4 3 2 1 0
o
Key
n
Note: This is a query of information which was set with Security Protocol Out
0010h - Set Data Encryption and does not reflect the actual state of the
medium itself or of any data on medium.
Table 207. 0020h - Data Encryption Status page
Bit
Byte 7 6 5 4 3 2 1 0
0 (MSB)
Page Code (0020h)
1 (LSB)
2 (MSB)
Page Length (n-3)
3 (LSB)
4 I_T Nexus Scope Reserved Key Scope
5 Encryption Mode
6 Decryption Mode
7 Algorithm Index
8 (MSB)
Key Instance Counter
11 (LSB)
12
Reserved
23
24
Key-Associated Data Descriptors List
n
Note: Next block encryption status may not be available in all situations. When it
is not known appropriate values are returned as per the standard. In most
situations next block information is available during read operations when
read ahead is being performed. This is automatically managed by the
device.
The following table indicates valid combinations of record status, Decryption Mode
and returned Key-Associated Descriptors reflecting the currently setup state of the
device.
Note: The operation code, B5h has been recovered from a seldom used media
changer (i.e. LUN 1) command (Request Volume Element Address). If the
device driver being used still uses the LUN field of the CDB from SCSI2
days, this command will be routed to the incorrect LUN. Because it is a
DATA OUT type command, whereas the Request Volume Element Address
is a DATA IN type command this can cause strange system behaviors.
Table 210. Security Protocol Out B5h CDB
Bit
Byte 7 6 5 4 3 2 1 0
0 Operation code (B5h)
1 Security Protocol
2
Security Protocol Specific
3
4 INC_512
Reserved
(0)
5 Reserved
6 (MSB)
Allocation Length
9 (LSB)
10 Reserved
11 Control Bye (see "Control Byte Definition" on page xxx)
Value Description
20h Tape Data Encryption security protocol
v Security Protocol Specific - The contents depend on the protocol specified by the
Security protocol field.
v Allocation Length
Value Description
0h Public
1h Local
2h All I_T Nexus
v LOCK
v CKOD
v CKORP
v CKORL
Value Description
0h Disable
1h External
2h Encrypt
v Decryption Mode
Value Description
0h Disable
1h Raw
2h Decrypt
3h Mixed
v Key Format
v Key Length
Value Description
000h When no Key is specified
0020h When Key is specified using Key Format 00h
v Key
v Key-Associated Descriptors List (See “Key-Associated Data (KAD) Descriptors”
on page 219)
Value Description
0h Reserved (must be set for Security Protocol Out - 0010h)
1h Not Covered by Authentication (only Security Protocol In)
v Key Descriptor Length: may be up to 0020h bytes
v Unauthenticated Data
Value Description
0h Reserved (must be set for Security Protocol Out)
2h No attempt has been made to authenticate (only Security Protocol In)
v Key Descriptor Length: may be up to 000Ch bytes
v DKi
Note: The Nonce KAD is only reported by the device in Security Protocol In 0020h
- Data Encryption Status, and the value returned is the exact value specified
in 0010h - Set Data Encryption. This may not reflect the actual nonce or IV
used for writing encrypted data.
Note: IV values start at the specified Nonce value and are incremented for each
record written.
Table 216. KAD 02h - Nonce
Bit
7 0
Byte msb 6 5 4 3 2 1 lsb
0 Key Descriptor Type (02h)
1 Reserved Authenticated
2 (MSB)
Key Descriptor Length (n-3) (000Ch)
3 (LSB)
4
Nonce/IV
n
Value Description
0h Reserved (must be set for Security Protocol Out)
1h Not Covered by Authentication (only Security Protocol In)
v Key Descriptor Length: the only supported length is 000Ch
v Nonce/IV
Value Description
0h Reserved (must be set for Security Protocol Out)
1h Not Covered by Authentication (only Security Protocol In)
v Key Descriptor Length: the only supported length is 0040h
v Metadata
4
5 Control
3
4
5
6 Parameter Control (061h)
7 Parameter Length (040h)
8 Indicator (01h)
9
: Reserved
15
16
: Microcode Level
19
20
21
22
: Reserved
23
24 Exception Message
25 Service Message
26 Severity Code
27 Reserved
28
29
: Error Code
33
34
: First FSC
37
38
: Last FSC
41
42
: Product ID (8000h)
45
46
: Vendor ID “IBM”
48
49
: Plant of Manufacture
50
51 Product ID3 ’-’
52
: Serial Number
63
64
71
3
4
5
6 Parameter Control (061h)
7 Parameter Length (040h)
8 Indicator (02h)
9
: Reserved
15
16
19
20
21
22
: SARS Data
23
24 Exception Message
25 Reserved
26 Severity Code
27
: Reserved
29
30
: Error Code
33
39
40 Volume ID Flag
41 Reserved
42
: Product ID (8000h)
45
46
: Vendor ID “IBM”
48
49
: Plant of Manufacture
50
51 Product ID3 ’-’
52
: Serial Number
63
64
: Device Type
71
Receive Diagnostics Results: There are no diagnostic results for the Self-Test
diagnostic.
3
4
: Diagnostic ID (0100h)
5
Cartridge
6 Flags (0000000b) Required
(bx)
7 Reserved
3
4
: Diagnostic ID (0100h)
5
6 Flags
7 Reserved
Diag. SIM/MIM Error
8 Flags (00000b)
Blocked Present
9
80
3
4
: Diagnostic ID (0101h)
5
Cartridge
6 Flags (0000000b) Required
(1b)
7 Reserved
3
4
: Diagnostic ID (0101h)
5
6 Flags
7 Reserved
Diag. SIM/MIM Error
8 Flags (00000b)
Blocked Present
80
3
4
: Diagnostic ID (0102h)
5
Cartridge
6 Flags (0000000b) Required
(1b)
7 Reserved
3
4
: Diagnostic ID (0102h)
5
6 Flags
7 Reserved
Diag. SIM/MIM Error
8 Flags (00000b)
Blocked Present
9
80
3
4
: Diagnostic ID (0103h)
5
Cartridge
6 Flags (0000000b) Required
(1b)
7 Reserved
3
4
: Diagnostic ID (0103h)
5
6 Flags
7 Reserved
Diag. SIM/MIM
8 Flags (00000b) Error
Blocked Present
9
80
Port Identifier
This field is synonymous with the Port Identifier field described in the Device
Identification Inquiry page. If the value of the Port Identifier is zero, then the wrap
test will be performed on all primary ports. If the value is a valid Port Identifier,
the wrap test is performed on the port indicated by the Port Identifier. If an invalid
Port Identifier value is used, the drive will respond with a Check Condition for
Invalid Field in Parameter List.
The Primary Port Wrap Test Receive Diagnostic returns information about the
attempted Primary Port Wrap Test Send Diagnostic.
Table 231. Primary Port Wrap Test Receive Diagnostic Parameter Data
Byte 7 6 5 4 3 2 1 0
0 Page Code (80h)
1 Reserved
2 (MSB)
Page Length (004Dh)
3 (LSB)
4
Diagnostic ID (0090h)
5
6 Flags
7 Reserved
Diag. SIM/MIM
8 Flags (00000b) Error
Blocked Present
9
SIM/MIM Message or All Zeros
80
Note: Because forcing a drive dump will overwrite any previously stored dump,
before forcing the dump it may be desirable to check the Dump field of the
sense data to determine if a drive dump exists.
For the Force Dump Diagnostic, the CDB values should be set as follows:
v PF - 1
v SelfTest - 0
v DevOfl - Any value allowed and ignored
v UnitOfl - Any value allowed and ignored
v Parameter List Length - 0008h
Table 232 shows the parameter data to be sent with the Force Dump diagnostic.
Table 232. Force Dump Diagnostic Parameter Data
Bit
Byte 7 6 5 4 3 2 1 0
0 Page Code (80h)
1 Reserved
2
3
4
: Diagnostic ID (0160h)
5
Cartridge
6 Flags (0000000b) Required
(0)
7 Reserved
Receive Diagnostics Results: There are no diagnostic results for the Force Dump
diagnostic.
3
4
: Diagnostic ID (0161h)
5
Cartridge
6 Flags (0000000b) Required
(1b)
7 Reserved
The Write Dump To Cartridge Receive Diagnostic returns information about the
attempted Write Dump To Cartridge Send Diagnostic.
3
4
: Diagnostic ID (0161h)
5
6 Flags
7 Reserved
Diag. SIM/MIM
8 Flags (00000b) Error
Blocked Present
9
80
The Write Dump To FLASH Receive Diagnostic returns information about the
attempted Write Dump To FLASH Send Diagnostic.
In Ultrium 2 and later drives, a list of traps can be created. When the list is full,
the next trap that is set will automatically clear the least recently set trap.
Currently, the maximum number of traps that can be set is 10, but may be
modified at any time.
For the Set Traps Diagnostic, the CDB values should be set as follows:
v PF - 1
v SelfTest - 0
v DevOfl - Any value allowed and ignored
v UnitOfl - Any value allowed and ignored
v Parameter List Length - 000Ah
Table 238 shows the parameter data to be sent with the Set Traps diagnostic.
Table 238. Set Traps Diagnostic Parameter Data
Bit
Byte 7 6 5 4 3 2 1 0
0 Page Code (80h)
1 Reserved
2
3
4
: Diagnostic ID (0190h)
5
Cartridge
6 Flags (0000000b) Required
(0)
7 Reserved
8
Receive Diagnostics Results: There are no diagnostic results for the Set Traps
diagnostic.
For the Remove Traps Diagnostic, the CDB values should be set as follows:
v PF - 1
v SelfTest - 0
v DevOfl - Any value allowed and ignored
v UnitOfl - Any value allowed and ignored
v Parameter List Length - 000Ah
Table 239 shows the parameter data to be sent with the Remove Traps diagnostic.
If all that is desired is to inspect which Traps have been set, sending down Remove
Traps with the Fault Symptom Code set to 0000h will set up diagnostic results that
show which traps are currently set without changing the state of any traps.
Table 239. Remove Traps Diagnostic Parameter Data
Bit
Byte 7 6 5 4 3 2 1 0
0 Page Code (80h)
1 Reserved
2
3
4
: Diagnostic ID (0191h)
5
Cartridge
6 Flags (0000000b) Required
(0)
7 Reserved
8
Receive Diagnostics Results - Table 240 on page 244 shows the diagnostic results
data returned for the Remove Traps diagnostic.
: Page Length (n - 4)
3
4
: Diagnostic ID (0191h)
5
6 Flags (0)
7 Reserved
Diag Reserved Error
8 Reserved
Blocked
9-10
First Fault Symptom Code with Trap Still Set
:
Last Fault Symptom Code with Trap Still Set
(n-1)-n
For the Reset Drive Diagnostic, the CDB values should be set as follows:
v PF - 1
v SelfTest - 0
v DevOfl - 1
v UnitOfl - Any value allowed and ignored
v Parameter List Length - 0008h
Table 241 shows the parameter data to be sent with the Reset Drive.
Table 241. Reset Drive Diagnostic Parameter Data
Bit
Byte 7 6 5 4 3 2 1 0
0 Page Code (80h)
1 Reserved
2
3
4
: Diagnostic ID (2002h)
5
Cartridge
6 Flags (0000000b) Required
(0)
7 ReservedXRE
Receive Diagnostics Results: There are no diagnostic results for the Reset Drive
diagnostic.
Table 242 on page 246 shows the parameter data to be sent with the Read Thermal
Sensor diagnostic.
Receive Diagnostics Results - Table 243 on page 247 shows the diagnostic results
data returned for the Read Thermal Sensor diagnostic.
4 (LSB)
5 Control
If the tape drive does not contain a tape, then the command will be terminated
with Check Condition status. The Sense Key must be set to Not Ready, and the
Additional Sense Code must be set to Medium Not Present.
The SET CAPACITY command will be accepted only when the tape is at
beginning-of-tape (BOT). If the tape is logically at any other position, the command
will be rejected with Check Condition status. The Sense Key will be Illegal
Request, and the Additional Sense Code set to Position Past Beginning Of Medium
(5/3B0Ch).
A valid SET CAPACITY command will cause all data on the entire physical tape to
be lost.
Buffered write data may be discarded by the tape drive upon successful validation
of the SET CAPACITY command.
An Immediate (Immed) field of 0 specifies that the device server will not return
status until the set capacity operation has completed. An Immed field of 1 specifies
that the device server will return status as soon as the command descriptor block
of the SET CAPACITY command has been validated. If Check Condition status is
returned for a SET CAPACITY command with an Immed field set to 1, the set
capacity operation has not been performed.
The Capacity Proportion Value field specifies the portion of the total unscaled tape
capacity to be made available for use. This field is the numerator to a fraction that
has a denominator of 65 535 (FFFFh). The resulting available capacity on the tape
is equal to the total unscaled tape capacity multiplied by this fraction.
On Ultrium 2 non-RoHS drives, if the Capacity Proportion Value does not meet the
ranges specified in Table 194 or it attempts to increase the available capacity to a
value higher than it is currently set then Check Condition status is returned with
Illegal Field in CDB (5/2400h).
The PARAMETER LIST LENGTH field specifies the length in bytes of the SET
TIMESTAMP parameters that is transferred from the application client to the
device server. A parameter list length of zero indicates that no data is transferred,
and that no change is made to the timestamp.
The format for the parameter data returned by the SET TIMESTAMP command is
shown in Table 247.
Table 247. SET TIMESTAMP parameter list format
Bit
Byte 7 6 5 4 3 2 1 0
0
Reserved
1
2 Reserved
3 Reserved
4 (MSB)
TIMESTAMP
9 (LSB)
10 Reserved
11 Reserved
The TIMESTAMP field contains the initial value of the timestamp in the format
defined in “Device Clocks” on page 265. The timestamp should be the number of
milliseconds that have elapsed since midnight, 1 January 1970 UT. If the high order
byte in the TIMESTAMP field is greater than F0h, the command is terminated with
CHECK CONDITION status, with the sense key set to ILLEGAL REQUEST, and
the additional sense code set to INVALID FIELD IN PARAMETER LIST.
: Count
4
5 Control
9
10
11 (LSB)
12 (MSB)
Parameter Length (0000h)
13 (LSB)
14 Reserved
15 Control
If the Code field is 000b, then the logical position is moved the number of blocks
that is indicated by the Count field. If a filemark is encountered while spacing over
blocks, the command is terminated. Check Condition status is returned, and the
Filemark and Valid fields are set to 1 in the sense data. The Sense Key is set to No
Sense and the Additional Sense Code is set to Filemark Detected. The Information
field is set to the requested count minus the actual number of blocks spaced over
(not including the filemark). The new logical position is set immediately after the
file mark in the direction of the space operation. If BOM or EOD is detected before
the requested logical position, then the logical position is set to that position.
If the Code field is 011b, then the logical position is set to after the last valid block
on tape. In this case the Count field is ignored.
Any other value of the Code field causes Check Condition status to be returned.
Spacing to sequential file marks is not supported. Set marks are not supported. The
Sense Key is set to Illegal Request and the ASC/ASCQ is set to Invalid Field in
CDB (2400).
The explicit command set is not supported. The Parameter Length field of the
SPACE (16) command is set to 0. If the Parameter Length field is set to any other
value, the command is terminated with a Check Condition status. The sense key is
set to Illegal Request and the additional sense code is set to Invalid Field In Cdb
(5/2400h)
: Verification Length
4
5 Control
The Immed and BCmp fields are not supported and must be set to 0.
: Transfer Length
4
5 Control
If the Fixed field is set to 1, the Block Length (see “Mode Block Descriptor” on
page 112) is set to 0, and the Transfer Length field is not 0, Check Condition status
is returned with Illegal Field in CDB (5/2400h).
If the Fixed field is set to 0, the initiator transfers a single block of the length
indicated in Transfer Length.
If the Fixed field is set to 1, the initiator transfers a sequence of blocks. The
number of blocks is given by the Transfer Length field. The length of the blocks is
given by the current fixed block length (see “Mode Block Descriptor” on page 112).
If the current logical block number is greater than FFFFFF00h and less than
FFFFFFF0h, rules for Logical EOM processing are applied. If the current logical
block number is greater than or equal to FFFFFFF0h, rules for physical end of tape
processing are applied.
: Reserved
4
5 Volume Number (0)
6 Reserved
7 Partition Number (0)
8
: Reserved
9
10
: Allocation Length
13
14 Reserved
15 Control
Refer to SCSI Primary Commands-3 (SPC-3) for support for the WRITE ATTRIBUTE
command.
For information about attributes that are supported, see “READ ATTRIBUTE” on
page 156.
Table 254 gives the format of the data that is returned for an Attribute Values
service action request.
Table 254. Parameter Data for Attribute Values Service Action Request
Bit
Byte 7 6 5 4 3 2 1 0
0
3
4
: Attribute #1
x
m
: Attribute #y
: Buffer Offset
5
6
8
9 Control
Values for the Mode field and their meaning are described in Table 256.
Table 256. Description of Mode Field
Mode Description Support
00h Write combined header and data 1, 2, 3, 4
02h Write data 1, 2, 3, 4
04h Download microcode 1, 2, 3, 4
05h Download microcode and save 1, 2, 3, 4
06h Download microcode with offsets 1, 2, 3, 4
07h Download microcode with offsets and save 1, 2, 3, 4
0Ah Echo buffer 2, 3, 4
Legend:
1 = supported in IBM TotalStorage LTO Ultrium Tape Drive (commonly called the Ultrium 1 tape drive)
2 = supported in IBM TotalStorage LTO Ultrium 2 Tape Drive (commonly called the Ultrium 2 tape drive)
3 = supported in IBM TotalStorage LTO Ultrium 3 Tape Drive (commonly called the Ultrium 3 tape drive)
4 = supported in IBM TotalStorage LTO Ultrium 4 Tape Drive (commonly called the Ultrium 4 tape drive)
If the Mode field is 00h, the data to be written is sent with a 4-byte header, which
must be set to all zeroes.
To download firmware, Modes 04h, 05h, 06h, and 07h are accepted and handled in
the same fashion. Any Buffer ID value in these modes is allowed and ignored. The
code must be downloaded with strictly increasing offsets. If it is not, no data is
If Mode is set to 0Ah, the data is stored in the echo buffer. The Buffer ID and
Buffer Offset fields are ignored in this mode.
The Buffer Offset field indicates where in the buffer the data should be written.
This must be smaller than the size of the buffer.
The Parameter List Length field holds the amount of data. This must be smaller
than the difference between the Buffer Offset field and the size of the buffer. If it is
not, no data is written and Check Condition status is generated. The Sense Key is
set to Illegal Request (5) and the ASC/ASCQ is set to Invalid Field in CDB (2400).
Buffers that may be written to are Test, Firmware, and VPD (see “READ BUFFER”
on page 173).
The Write Set Mark (WSmk) field must be 0. Set marks are not supported.
Table 257. WRITE FILE MARKS Command
Bit
Byte 7 6 5 4 3 2 1 0
0 Operation Code (10h)
1 Obsolete Reserved WSmk(0) Immed
2
: Count
4
5 Control
If the Immed field is set to 0 and the Count field is 0, then all buffered data is
flushed to tape before the status is reported.
If the current logical block number is greater than FFFFFF00h and less than
FFFFFFF0h, rules for Logical EOM processing are applied. If the current logical
block number is greater than or equal to FFFFFFF0h, rules for physical end of tape
processing are applied.
A Write Filemark with Count set to 0 when there is no data in the buffer to be
synchronized to media will always return Good Status. Good Status is returned
even if the media is WORM media and the media is not at a writable location or
the WORM media has been tampered with.
A Write Filemark with Count set to 0 when there is data in the buffer to be
synchronized with media will return sense data as expected for a Write.
On eServer enabled drives, Bit 7 (the MSB of the vendor specific field) of the
control byte is ignored.
Commands generate Check Condition status if there is Deferred Sense data or Unit
Attention data available, depending on Table 8 on page 17. All commands generate
Check Condition status if the command itself generates sense data. If the next
command after the Check Condition status is not a REQUEST SENSE command,
then all sense data for that initiator is cleared.
The drive only maintains one Unit Attention condition at any one time for any one
initiator. If a subsequent Unit Attention condition is generated, it replaces the
Persistent Errors
When errors occur that prevent tape operation, they are reported persistently until
the problem is cleared. For medium-related errors (usually reported with a Sense
Key of 3), the error is reported until the cartridge is successfully unloaded. For
hardware-related errors (usually reported with a Sense Key of 4), the error is
reported until the drive successfully performs a power-on self test. These persistent
errors are only reported on those commands that are eligible for deferred Check
Condition reporting (see Table 4 on page 8). The error may or may not be reported
as Deferred.
Fencing Behavior
The Ultrium 2 and later drives will fence the drive (prevent certain operations)
when errors are detected that could endanger customer data if further usage is
allowed. The operations that are prevented depend on the nature of the error
encountered and the current drive state. The drive will post an FSC for the original
error that caused the fence condition. Then, fencing FSCs will be reported as status
to the attempted host commands that are not allowed due to fence.
See Table 258 on page 263 for the errors that trigger the fence states.
Once a timestamp is initialized it begins counting from that time forward. Once
the timestamp is initialized it remains in effect until one of the following occurs:
v A SET TIMESTAMP command is processed;
v An LDI command is processed that modified the timestamp; or
v A Hard reset.
The Timestamp is not affected by an I_T nexus loss or a Logical Unit reset.
The TIMESTAMP field contains the value established at the last action that set the
timestamp incremented by one for every millisecond that has elapsed since the
timestamp was set.
ASCQ Description
00 00 No Additional Sense Information - (unsolicited, no CA/CC)
00 00 No Additional Sense Information - EOM=B’1’ (Early Warning)
00 00 No Additional Sense Information - ILI=B’1’
00 00 No Additional Sense Information - FM=B’1’
00 01 Filemark Detected
00 02 End-of-Partition/Medium Detected (Early Warning)
00 04 Beginning-of-Partition/Medium Detected
00 16 Operation in Progress
82 82 Drive Requires Clearing
ASCQ Description
00 00 No Additional Sense Information
0C 00 Write Error: A write error occurred, but was recovered. Data was successfully written to tape.
11 00 Read Error: A read error occurred, but was recovered. Data was successfully read from tape.
17 01 Recovered Data with Retries
37 00 Mode Parameters Rounded
5D 00 Failure Prediction Threshold Exceeded
5D FF Failure Prediction Threshold Exceeded (FALSE)
EF 13 Encryption - Key Translate
Note: ASCs of EEh and EFh are used for encryption related features and are only supported by encryption capable
devices
Note: When using encryption enabled devices in an in-band configuration (System method or key path), ASCs of
X’EF’ are used to initiate a key management session via a system proxy.
ASCQ Description
04 00 Logical Unit Not Ready, Cause Not Reportable: A tape is present in the drive, but it is in the
process of being unloaded.
04 01 Logical Unit Is in Process of Becoming Ready
04 02 Initializing Command Required: A tape is present in the drive, but it is not logically loaded.
04 12 Logical Unit Not Ready, Offline
30 03 Cleaning Cartridge Installed
30 07 Cleaning Failure
3A 00 Medium Not Present
3E 00 Logical Unit Has Not Self-configured
ASCQ Description
04 10 Logical Unit Not Ready, Auxiliary Memory Not Accessible
09 00 Track Following Error (Servo)
0C 00 Write Error
11 00 Unrecovered Read Error
11 12 Auxiliary Memory Read Error
14 00 Recorded Entity Not Found
30 00 Incompatible Medium Installed
30 01 Cannot Read Medium, Unknown Format
30 02 Cannot Read Medium, Incompatible Format
30 0D Medium Error/WORM Medium - Integrity Check: Set when the drive rejects a Read operation
because the current cartridge is a Suspicious WORM cartridge, and the WTRE bit is set to 0.
31 00 Medium Format Corrupted
3B 00 Sequential Positioning Error
50 00 Write Append Error
51 00 Erase Failure
52 00 Cartridge Fault
53 00 Media Load or Eject Failed
53 04 Medium Thread or Unthread Failure
EE 60 Encryption - Proxy Command Error
EE D0 Encryption - Data Read Decryption Failure
EE D1 Encryption - Data Read after Write Decryption Failure
EE E0 Encryption - Key Translation Failure
ASCQ Description
EE E1 Encryption - Key Translation Ambiguous
EE F0 Encryption - Decryption Fenced (Read)
EE F1 Encryption - Encryption Fenced (Write)
Note: ASCs of EEh and EFh are used for encryption related features and are only supported by encryption capable
devices.
Note: When using encryption enabled devices in an in-band configuration (System method or key path), ASCs of
EFh are used to initiate a key management session via a system proxy.
ASCQ Description
04 03 Manual Intervention Required: A tape is present in the drive but could not be loaded or unloaded
without manual intervention.
08 01 Logical Unit Communication Failure
40 XX Diagnostic Failure: The Additional Sense Code Qualifier indicates the failing component.
41 00 Data Path Failure
44 00 Internal Target Failure
51 00 Erase Failure
53 00 Media Load or Eject Failed
53 04 Medium Thread or Unthread Failure
EE 0E Encryption - Key Service Timeout
EE 0F Encryption - Key Service Failure
Note: ASCs of EEh and EFh are used for encryption related features and are only supported by encryption capable
devices.
Note: When using encryption enabled devices in an in-band configuration (System method or key path), ASCs of
EFh are used to initiate a key management session via a system proxy.
ASCQ Description
1A 00 Parameter List Length Error
20 00 Invalid Command Operation Code
24 00 Invalid Field in CDB
25 00 Logical Unit Not Supported
26 00 Invalid Field in Parameter List
26 11 Encryption - Incomplete Key-Associate Data Set
29 04 Device Internal Reset
2C 00 Command Sequence Error
2C 0B Not Reserved - The OIR bit of the Sequential Access Device page is set and the I_T nexus
attempting to communicate with the drive does not hold a reservation
3B 0C Position Past Beginning of Medium: A command that required the medium to be at BOP was
attempted when the medium was not at BOP (for example, Set Capacity).
49 00 INVALID MESSAGE ERROR
53 02 Medium Removal Prevented
82 83 Bad Microcode Detected: The data transferred to the drive during a firmware upgrade is
corrupted or incompatible with the drive hardware.
A3 01 OEM Vendor-Specific
EE 00 Encryption - Key Service Not Enabled
ASCQ Description
EE 01 Encryption - Key Service Not Configured
EE 02 Encryption - Key Service Not Available
EE 10 Encryption - Key Required
EE 20 Encryption - Key Count Exceeded
EE 21 Encryption - Key Alias Exceeded
EE 22 Encryption - Key Reserved
EE 23 Encryption - Key Conflict
EE 24 Encryption - Key Method Change
EE 25 Encryption - Key Format Not Supported
EE 26 Encryption - Unauthorized Request - dAK
EE 27 Encryption - Unauthorized Request - dSK
EE 28 Encryption - Unauthorized Request - eAK
EE 29 Encryption - Authentication Failure
EE 2A Encryption - Invalid RDKi
EE 2B Encryption - Key Incorrect
EE 2C Encryption - Key Wrapping Failure
EE 2D Encryption - Sequencing Failure
EE 2E Encryption - Unsupported Type
EE 2F Encryption - New Key Encrypted Write Pending
EE 30 Encryption - Prohibited Request
EE 2D Encryption - Sequencing Failure
EE 30 Encryption - Prohibited Request
EE 31 Encryption - Key Unknown
EE 42 Encryption - EKM Challenge Pending
EE E2 Encryption - Key Translation Disallowed
EE FF Encryption - Security Prohibited Function
EF 01 Encryption - Key Service Not Configured
Note: ASCs of EEh and EFh are used for encryption related features and are only supported by encryption capable
devices.
Note: When using encryption enabled devices in an in-band configuration (System method or key path), ASCs of
X’EF’ are used to initiate a key management session via a system proxy.
ASCQ Description
28 00 Not Ready to Ready Transition, Medium May Have Changed
28 01 Import or Export Element Accessed
29 00 Power On, Reset, or Bus Device Reset Occurred: This also occurs on Fibre Channel drives when a
host logs in (PLOGI).
29 05 Transceiver Mode Changed To Single-ended: The drive detected a transceiver mode change from
LVD mode to MSE mode
29 06 Transceiver Mode Changed To LVD: The drive detected a transceiver mode change from MSE
mode to LVD mode
2A 01 Mode Parameters Changed
2A 11 Encryption - Data Encryption Parameters Changed by Another I_T Nexus
2A 12 Encryption - Data Encryption Parameters Changed by Vendor Specific Event
2F 00 Commands Cleared by Another Initiator
3F 03 Inquiry Data Has Changed
3F 0E Reported LUNs Data Has Changed
5D FF Failure Prediction False: A MODE SELECT command has been used to test the Failure Prediction
System.
5A 01 Operator Medium Removal Request
EE 12 Encryption - Key Change Detected
EE 18 Encryption - Changed (Read)
EE 19 Encryption - Changed (Write)
EE 40 Encryption - EKM Identifier Changed
EE 41 Encryption - EKM Challenge Changed
EE 50 Encryption - Initiator Identifier Changed
EE 51 Encryption - Initiator Response Changed
Note: ASCs of EEh and EFh are used for encryption related features and are only supported by encryption capable
devices.
Note: ASCs of EEh and EFh are used for encryption related features and are only supported by encryption capable
devices.
ASCQ Description
26 10 Encryption - Data Decryption Key Fail Limit
27 00 Write Protected
2A 13 Encryption - Data Encryption Key Instance Counter Has Changed
30 05 Cannot Write Medium, Incompatible Format
ASCQ Description
30 0D Data Protect/WORM Medium - Integrity Check: Set when the drive rejects a Write operation
because the current cartridge is a Suspicious WORM cartridge.
30 0C Data Protect/WORM Medium - Overwrite Attempted: Set when the drive rejects a Write
operation because the rules for allowing WORM writes have not been met.
52 00 Cartridge Fault
74 00 Security Error
74 01 Encryption - Unable to Decrypt Data
74 02 Encryption - Unencrypted Data Encountered While Decrypting
74 03 Encryption - Incorrect Data Encryption Key
74 04 Encryption - Cryptographic Integrity Validation Failed
74 05 Encryption - Error Decrypting Data
EF 10 Encryption - Key Required
EF 11 Encryption - Key Generation
EF 13 Encryption - Key Translate
EF 1A Encryption - Key Optional
EF C0 Encryption - No Operation
Note: ASCs of EEh and EFh are used for encryption related features and are only supported by encryption capable
devices.
Note: ASCs of EEh and EFh are used for encryption related features and are only supported by encryption capable
devices.
ASCQ Description
00 05 End-of-Data (EOD) Detected
0B 01 The drive detected an overtemperature condition. The currently loaded medium has been ejected.
14 03 End-of-Data (EOD) not Found
ASCQ Description
00 02 End-of-Partition/Medium Detected
0E 01 INFORMATION UNIT TOO SHORT
3D 00 Invalid Bits in Identify Message
3F 0F Echo Buffer Overwritten
43 00 Message Error
45 00 Select/Reselect Failure
48 00 Initiator Detected Error Message Received
49 00 Invalid Message Error
4A 00 Command Phase Error
4B 00 Data Phase Error
4B 02 TOO MUCH WRITE DATA
4B 03 ACK/NAK TIMEOUT
4B 04 NAK RECEIVED
4B 05 DATA OFFSET ERROR
4B 06 INITIATOR RESPONSE TIMEOUT
4E 00 Overlapped Commands
ASCQ Description
00 02 End-of-Partition/Medium Detected
Power-On
The drive responds to INQUIRY, REPORT LUNs, REQUEST SENSE, and TEST
UNIT READY commands within 5 seconds of power-on. The first command (other
than INQUIRY or REQUEST SENSE) from any initiator gets a Check Condition
status with Unit Attention sense data for the power-on. After this, any medium
access command is reported with a Sense Key of Not Ready and an ASC/ASCQ of
LUN Has Not Self-Configured Yet (3E00). Once the drive has completed its self test
and setup procedures, the drive attempts to load any tape that is present. Medium
access commands are reported with an ASC/ASCQ of Drive in Process of
Becoming Ready (0401).
Reset Strategy
The drive supports the hard reset option as is required by SCSI-3. On receiving a
reset, the following actions are taken:
v The current I/O process is aborted, as in “Abort Handling” on page 282.
v Any queued I/O processes from other initiators are removed.
v All reservations are cleared.
v All mode values are reset to their defaults.
v Synchronous/Wide negotiations are cleared (applies only to SCSI parallel
attach).
v A unit attention condition is set.
v A logical position is established that may or may not be the same as the position
prior to the reset. Where possible, the logical position prior to reset is
maintained.
For drives that use he Fibre Channel or SAS interface, the next command that is
eligible for the Unit Attention Check Condition from each initiator gets a Check
Drives that use a SCSI interface are able to respond to the INQUIRY, REPORT
LUNs, REQUEST SENSE, and TEST UNIT READY commands within 250 ms of the
reset line being released. The next command that is eligible for the Unit Attention
Check Condition from each initiator gets a Check Condition status, with Unit
Attention sense data for the reset. However, other commands may not be
processed until the internal state of the drive has been reset. Any commands that
allow Disconnects and cannot be processed are accepted and queued until the
drive is ready to process them. Those commands that do not allow Disconnects
receive Busy status response.
Abort Handling
If a command is aborted on a drive with a Fibre Channel or SAS interface, see
Table 273 for abort processing.
For drives with a SCSI interface, if a command other than INQUIRY, REPORT
LUNs, REQUEST SENSE, or TEST UNIT READY is received after the abort but
before the drive is ready to process the command, the drive attempts to disconnect
and wait until the abort processing has completed before executing the command.
If disconnects are not allowed, Busy status is returned. A TEST UNIT READY
command reports with status immediately.
For drives with a Fibre Channel or SAS interface, an INQUIRY command returns
the required data and gives Good status. A REQUEST SENSE command gives no
sense. A TEST UNIT READY command reports with status immediately.
The drive supports untagged queuing when operating with multiple initiators. If a
command from one initiator is being processed when a command other than
INQUIRY, REPORT LUNs, REQUEST SENSE, and TEST UNIT READY is received
from a second initiator, the new command is queued. Media access commands (for
example, Write, Write Filemarks, Read, Verify, Rewind, Mode Select that changes
block size) are always executed in strict order of receipt. For drives with a SCSI
interface, if the queue is full or disconnect privilege is not granted in the new
command, the drive reports busy status.
The INQUIRY, REPORT LUNs, REQUEST SENSE, and TEST UNIT READY
commands are always processed immediately, irrespective of whether a command
from another initiator is being processed.
The drive maintains sense data for the supported number of initiators. On
Fibre-Channel-attached drives and Serial Attached SCSI drives, if an additional
initiator connects to the drive and causes an initiator to be implicitly logged out,
the drive erases all sense data for that initiator before processing the command for
the new initiator. See “Sense Data Management” on page 261 for more details of
sense data management.
Status Codes
Table 274. Status Codes
Status Code Value Circumstance
Good 00h The command completed without problems.
Check Condition 02h A problem occurred during command execution. The sense data should be
examined to determine the nature of the problem.
Busy 08h The drive is unable to accept the command at this time. This status is
returned during the power-on sequence or if there are commands from too
many initiators outstanding. (See “Multi-initiator Support” on page 284.) It
is also returned when commands are issued without Disconnect Privilege
and when another command is in progress.
Reservation Conflict 18h This status is returned if the drive is reserved for an initiator other than
the one sending the command.
Queue Full 28h Not normally returned.
LUN Identification
Identify messages are used to identify the LUN to which an initiator is connecting
and to identify which LUN is reconnecting to an initiator. These are required. The
LUN field in SCSI-2 commands is not used.
20h - SIMPLE
Disconnect Strategy
The disconnect strategy used by the drive is based on the assumption of
maximizing bus utilization for large sequential data transfers from a large data
buffer. The drive disconnects whenever it believes that it can provide better bus
utilization. This may be between Command and Data phases, between bursts of
data, or before sending status. However, the drive guarantees that it sends the
configured maximum burst size or the remaining data in the transfer in any single
Data phase burst if the maximum burst size has been set to a value other than 0.
E - IU Transfers Enabled
E - IU Transfers Enabled
Like the Ultrium Internal Tape Drive, Ultrium 2 and later drives can attach as an
FC-AL device (that is, L-Port). The drives also support operating as a public
(switch-attached) or private device (that is, L-Port to FL-Port; or L-Port to L-Port).
Ultrium 2 and later drives can also attach using the point-to-point protocol (also
known as an N-Port). When operating in the point-to-point protocol, the Ultrium 2
and later drives can attach in a Fabric topology (that is, N-Port to F-Port).
The World Wide Node Name and Port Name that are used by an Ultrium Tape
Drive follow the format of the Institute of Electrical and Electronics Engineers
(IEEE).
The IBM Ultrium Tape Drive is compliant with the FC-Tape Technical Report of the
Accredited Standard Committee NCITS. IBM recommends that your server’s device
driver and host bus adapter (HBA) use the Class 3 Error Recovery procedures that
are specified in the Fibre Channel Protocol for SCSI, Second Version (FCP-2).
The IBM Ultrium Tape Drive is compliant with the American National Standard,
Project T10/1601-D, Information technology - Serial Attached SCSI - 1.1 (SAS-1.1),
Revision 10, 21 September 2005.
The Load ID and RU Name fields in the Firmware Image are used to define the
Level Hardware for which the Firmware Image is intended.
Download Process
1. Check the Level Hardware of the drive whose firmware is to be updated. See
“Firmware Designation Page (03h)” on page 28.
2. Confirm the Level Hardware of the Firmware Image to be loaded matches the
Level Hardware of the drive. (See Table 278.)
3. Download the Firmware Image. See “WRITE BUFFER” on page 258.
Linear Tape-Open
LTO
Ultrium
Intel and Itanium are registered trademarks of Intel Corporation in the United
States, or other countries (or regions), or both.
Microsoft®, Windows®, Windows NT, and the Windows logo are registered
trademarks of Microsoft Corporation in the United States, or other countries (or
regions), or both.
Other company, product, and service names may be trademarks or service marks
of others.
adapter card. A circuit board that adds function to a configure. To describe to a server the devices, optional
computer. features, and programs installed on the system.
backups. The short-term retention of records used for data compression. See compression.
restoring essential business and server files when vital
data has been lost because of program or server errors data transfer rate. The average number of bits,
or malfunctions. characters, or blocks per unit of time that pass between
corresponding equipment in a data transmission
bezel. The removable frame that fits over the front of system. The rate is expressed in bits, characters, or
the Ultrium Tape Drives. blocks per second, minute, or hour.
bit. The smallest unit of data in a computer. A bit device. Any hardware component or peripheral, such
(short for binary digit) has a single binary value (either as a tape drive or tape library, that can receive and
0 or 1). Computers store data and execute instructions send data.
in bit multiples called bytes. In most computer systems,
there are eight bits in a byte. device driver. A binary file that is installed on a host
system and enables the host system to access a device.
bus. See SCSI bus.
diagnostic. A software program that is designed to
byte. A string that consists of a certain number of bits recognize, locate, and explain faults in equipment or
(usually 8) which are treated as a unit and represent a errors in programs.
character. A byte is a fundamental unit of data.
diagnostic cartridge. A tape cartridge that enables the
detection and isolation of errors in programs and faults
C in equipment.
capacity. The amount of data that can be contained on drive. See IBM Ultrium Internal Tape Drive Models T200
storage media and expressed in bytes. and T200F or IBM TotalStorage LTO Ultrium 2 Tape Drive
Models T400 and T400F.
cartridge. See tape cartridge.
drive sense data. See SCSI drive sense data. firmware. Proprietary code that is usually delivered as
part of an operating system. Firmware is more efficient
dump. See drive dump. than software that is loaded from an alterable medium,
and is more adaptable to change than pure hardware
duplex. See duplex transmission. circuitry. An example of firmware is the Basic
Input/Output System (BIOS) in read-only memory
duplex adapter. A mechanism that allows a device to
(ROM) on a PC motherboard.
send and receive communication at the same time.
initiator. In SCSI terms, a SCSI device that requests an LTO cartridge memory (LTO-CM). Within each LTO
I/O process to be performed by another SCSI device (a Ultrium Data Cartridge, an embedded electronics and
target). In many cases, an initiator can also be a target. interface module that can store and retrieve a
cartridge’s historical usage and other information.
input/output (I/O). Data that is provided to a
computer or data that results from computer LTO-CM. See LTO cartridge memory.
processing.
LTO-DC. See LTO Data Compression.
install. (1) To set up for use or service. (2) The act of
adding a product, feature, or function to a server or LTO Data Compression (LTO-DC). A method that
device either by a singular change or by the addition of compresses a server’s data before the drive writes it to
multiple components or devices. tape. LTO-DC detects but does not recompress or test
record boundaries and file markers (which are encoded
Internet. The worldwide collection of interconnected as control symbols). It also allows switching between
networks that use the Internet suite of protocols and compression and no compression within the data
permit public access. stream, which prevents data from expanding when the
drive compresses random or encrypted data.
I/O. See input/output.
LVD. See Low Voltage Differential.
J
M
jumper. (1) A tiny connector that fits over a pair of
protruding pins in a connector. A jumper can be moved magnetic tape. A tape with a magnetizable surface
to change electrical connectors. When in place, the layer on which data can be stored by magnetic
jumper connects the pins electrically. (2) To place a recording.
jumper on a connector pin.
MB. See megabyte.
Linear Tape-Open (LTO). A type of tape storage media capacity. See capacity.
technology developed by the IBM Corporation,
Hewlett-Packard, and Seagate. LTO technology is an medium. A physical material in or on which data may
“open format” technology, which means that its users be represented, such as magnetic tape.
have multiple sources of product and media. The
Medium Auxiliary Memory (MAM). A non-volatile
“open” nature of LTO technology enables compatibility
memory. MAM is used to store data that describes the
between different vendors’ offerings by ensuring that
media and its contents.
vendors comply with verification standards.
megabyte (MB). 1 000 000 bytes.
load. Following the insertion of a tape cartridge into
the tape load compartment, the act of positioning the micrometer. One millionth of a meter (.000001 m).
tape (performed by the tape drive) for reading or Synonymous with micron. Abbreviated as µm.
writing by the drive’s head.
micron. One millionth of a meter (.000001 m).
load and unload cycle. The act of inserting a cartridge Synonymous with micrometer. Abbreviated as µm.
into a tape drive, loading the tape to load point,
rewinding the tape into the cartridge, and ejecting the microsecond. One millionth of a second (.000001 s).
cartridge from the drive. Abbreviated as µs.
log sense data. See SCSI log sense data. millimeter (mm). One thousandth of a meter (.001 m).
Low Voltage Differential (LVD). A low-noise, millisecond (ms). One thousandth of a second (.001 s).
low-power, and low-amplitude electrical signaling
system that enables data communication between a mm. See millimeter.
supported server and the Ultrium Tape Drive. LVD
ms. See millisecond.
Glossary 311
Model T200. The version of the IBM Ultrium Internal operating system. The master computer control
Tape Drive that uses the SCSI interface, has a native program that translates the user’s commands and
storage capacity of 100 GB, and a native data transfer allows software application programs to interact with
rate of 15 MB per second. the computer’s hardware.
offline. The operating condition that the Ultrium Tape record. The smallest distinct set of data bytes that is
Drives are in when the server’s applications cannot supplied from a server for processing and recording by
interact with it. a tape drive, and the smallest distinct set of data to be
read from tape, reprocessed, and made available to a
online. The operating condition that the Ultrium Tape server by a tape drive.
Drives are in when the server’s applications can
interact with it. record boundaries. The fixed limits of a record.
reset. To return a device or circuit to a clear state. SCSI ID switch. Located on an enclosure that
contains a Ultrium Tape Drive, a mechanism that
RS-422 connector. Located at the rear of the Ultrium connects to the drive and allows you to change the
Tape Drive, the connector to which the internal RS-422 drive’s SCSI ID without using jumpers.
cable of an enclosure connects. The connection enables
serial devices to communicate with the drive. SCSI log sense data. In response to inquiry from the
server about the Ultrium Tape Drive’s error logs and
RS-422 interface. An electrical interface standard that counters, a packet of SCSI sense bytes which contains
is approved by the Electronic Industries Association that information and which is sent back to the server
(EIA) for connecting serial devices. The RS-422 by the drive. Log sense data is used to diagnose
standard, which supports higher data rates and greater problems, especially if the problems are intermittent.
immunity to electrical interference, is an alternative to
the older RS-232 interface, and uses individual second. One sixtieth of a minute.
differential signal pairs for data transmission.
Depending on data transmission rates, RS-422 can be selection timeout. Following the selection of an option
used at distances up to 1,275 m (4,000 ft). The RS-422 (for example, a data transfer), the period of time during
interface also supports multi-point connections. which it is determined that there is a bad connection
between the server and the drive.
SAN. See Storage Area Network. Serial Attached SCSI (SAS). A transport for
exchanging information between SCSI devices using a
SAN Data Gateway. A device that provides Fibre serial interconnect.
Channel attachment between Open Systems servers and
SCSI disk and tape storage systems. serial interface. An interface that sequentially or
consecutively executes two or more operations in a
SAS. Serial Attached SCSI single device, such as an arithmetic and logic operation.
SC. See subscription channel connector. server. A functional unit that provides services to one
or more clients over a network. Examples include a file
SCSI. See Small Computer Systems Interface.
server, a print server, or a mail server. The IBM Eserver
SCSI bus. (1) A collection of wires through which pSeries, IBM Eserver iSeries, HP, and Sun are servers.
data is transmitted from one part of a computer to Synonymous with host.
another. (2) A generic term that refers to the complete
short-wave cable. In Fibre Channel technology, a laser
set of signals that define the activity of the Small
cable that uses a wavelength of 780 nanometers and is
Computer Systems Interface (SCSI).
only compatible with multimode fiber.
SCSI connector. Located at the rear of the Ultrium
Small Computer Systems Interface (SCSI). A
Tape Drive, the connector that facilitates commands to
standard used by computer manufacturers for attaching
and from the server, and to which the internal SCSI
peripheral devices (such as tape drives, hard disks,
cable of an enclosure connects.
CD-ROM players, printers, and scanners) to computers
SCSI device. Anything that can connect into the SCSI (servers). Pronounced ″scuzzy.″ Variations of the SCSI
bus and actively participate in bus activity. interface provide for faster data transmission rates than
standard serial and parallel ports (up to 160 megabytes
SCSI drive sense data. In response to inquiry from per second). The variations include:
the server about an error condition, a packet of SCSI v Fast/Wide SCSI: Uses a 16-bit bus, and supports data
sense bytes that contains information about the error rates of up to 20 MBps.
and that is sent back to the server by the drive. v SCSI-1: Uses an 8-bit bus, and supports data rates of
4 MBps.
SCSI ID. The unique address (from 1 to 15) that you
assign to an Ultrium Tape Drive that uses a SCSI v SCSI-2: Same as SCSI-1, but uses a 50-pin connector
interface. instead of a 25-pin connector, and supports multiple
devices.
Glossary 313
v Ultra SCSI: Uses an 8- or 16-bit bus, and supports tapeutil. Created by IBM, a utility program for LTO
data rates of 20 or 40 MBps. devices that connect to all supported servers except
v Ultra2 SCSI: Uses an 8- or 16-bit bus and supports Windows NT and Windows 2000. tapeutil provides
data rates of 40 or 80 MBps. service aids for tape subsystems, offers a menu-driven
tool for exercising or testing IBM tape and medium
v Ultra3 SCSI: Uses a 16-bit bus and supports data
changer devices, and includes a command-line interface
rates of 80 or 160 MBps.
that is convenient for use in shell scripts.
v Ultra160 SCSI: Uses a 16-bit bus and supports data
rates of 160 MBps. terminate. To prevent unwanted electrical signal
reflections by applying a device (known as a
soft addressing. Pertaining to the Fibre Channel drive, terminator) that absorbs the energy from the
a method that enables the drive to dynamically transmission line.
arbitrate its AL_PA with other Fibre Channel devices on
the loop. The AL_PA enables the drive to communicate topology. In communications, the physical or logical
with other devices. arrangement of nodes in a network, especially the
relationships among nodes and the links between them.
software. Programs, procedures, rules, and any
associated documentation pertaining to the operation of TotalStorage LTO Ultrium Tape Drive Models T400
a computer system. and T400F. See IBM TotalStorage LTO Ultrium 2 Tape
Drive Models T400 and T400F.
Storage Area Network (SAN). A high-speed
subnetwork of shared storage devices. A SAN’s transfer rate. See data transfer rate.
architecture makes all storage devices available to all
servers on a LAN or WAN. As more storage devices
are added to a SAN, they too will be accessible from
U
any server in the larger network. Because stored data
Ultrium Tape Drive. See IBM Ultrium Internal Tape
does not reside directly on any of a network’s servers,
Drive Models T200 and T200F or IBM TotalStorage LTO
server power is used for business applications, and
Ultrium 2 Tape Drive Models T400 and T400F.
network capacity is released to the end user.
Ultrium 2 Tape Drive. See IBM TotalStorage LTO
subscription channel connector (SC). A push-pull
Ultrium 2 Tape Drive.
type of optical connector that features high density, low
loss, low backreflection, and low cost. uniform resource locator (URL). The address of an
item on the World Wide Web. It includes the protocol
switch. A network infrastructure component to which
followed by the fully qualified domain name
multiple nodes attach. Unlike hubs, switches typically
(sometimes called the host name) and the request. The
have the ability to switch node connections from one to
web server typically maps the request portion of the
another. A typical switch can facilitate several
URL to a path and file name. For example, if the URL
simultaneous bandwidth transmissions between
is http://www.networking.ibm.com/nsg/nsgmain.htm,
different pairs of nodes.
the protocol is http; the fully qualified domain name is
www.networking.ibm.com; and the request is
T /nsg/nsgmain.htm.
TapeAlert. A patented technology and ANSI standard unload. The act (performed by the drive) of
that defines conditions and problems that are unthreading tape from the drive’s internal tape path
experienced by tape drives. and returning it (with the leader block) to the tape
cartridge.
TapeAlert flags. Status and error messages that are
generated by the TapeAlert utility and display on the URL. See uniform resource locator.
server’s console.
utility. See utility program.
tape cartridge. A removable storage case that houses
belt-driven magnetic tape that is wound on a supply universal time (UT). The time at longitude zero,
reel and a takeup reel. colloquially known as Greenwich Mean Time. See
http://aa.usno.navy.mil/faq/docs/UT.html.
tape drive. See IBM Ultrium Internal Tape Drive Models
T200 and T200F or IBM TotalStorage LTO Ultrium 2 Tape utility program. A computer program that supports
Drive Models T400 and T400F. computer processes. For example, a diagnostic
program, a trace program, or a sort program.
tape path. Within a tape drive, the channel in which
the media moves.
W
web. See World Wide Web.
Glossary 315
316 IBM TotalStorage LTO Ultrium Tape Drive: SCSI Reference
Index
Special characters D Firmware Update Behavior (Byte 7) 141
Force Dump diagnostic 237
(Not LTO1), REPORT SUPPORTED TASK Data Cartridge Emulates WORM Format for the Attribute List Service
MANAGEMENT FUNCTIONS 192 (01h) 138 Action 160
Data Compression Log 80 Format for the Attribute Values Service
Data Compression Mode Page 118 Action 159
A Data Encryption Algorithm Descriptor -
Standard Encryption 209
Format for the Partition List Service
abort condition, handling 282 Action 162
data transfer rate 2 Format for the Volume List Service
AS/400
Deferred Sense data 261 Action 161
device driver support 4
description of tape drives 1 FUNCTIONS (Not LTO1), REPORT
requirements for attaching tape drive
Device Clocks 265 SUPPORTED TASK
to 3
device drivers, supported 4 MANAGEMENT 192
ASN.1 [DER] Encoding
Device Hardware Encryption (Ultrium
Implementation 297
4) 279
ASN.1 HMAC Structure - Example 304
Device Identification Page 39
ASN.1 Information 297
disconnect strategy 286 H
ASN.1 Signing Information (clear, Hewlett-Packard
Disconnect/Reconnect Page 115
unsigned) - Example 303 device driver support 4
Download Process 295
ASN.1 Signing Information (eAK requirements for attaching tape drive
Download, Firmware 293
encrypted, dAK signed) - Example 303 to 3
Identifying Level Hardware of
ASN.1 Standalone SEDK (SEDK only, high voltage differential (HVD) SCSI
Drive 293
clear, signed) - Example 298 interface 1, 2
Drive Component Revision Level
ASN.1 Standalone SEDK (SEDK only, HMAC ASN.1 Format 304
Pages 44
dSK encrypted, signed) - Example 299 Host Port 0 Interface Errors log page 97
Drive Control Statistics log page 105
ASN.1 xAK/xSK Structure (clear, signed) Host Port 1 Interface Errors 99
Drive Control Verification log page 98
- Example 301 HP
attaching tape drive to server 3 device driver support 4
Attachment Features 281
E requirements for attaching tape drive
to 3
Encryption 297 HVD interface 1, 2
B Engineering Use log page 104
ERASE command 17, 20
backward error page 85
Error Log Buffer (06h) 179
Blocks/Bytes Transferred log page 95
Error Log Buffer (06h)r 177 I
burst data transfer rate 2 Implementation Considerations 265
error sense information 261
Bus Parity Errors (when using Information Exceptions Mode Page 130
errors
Information unit transfers) 286 INQUIRY command 17, 21
bus parity 285
bus parity errors, handling 285 Intel-compatible servers
persistent 262
device driver support 4
requirements for attaching tape drive
C F to 3
capacity 2, 5 interface
Features of the Serial Attached SCSI HVD 1, 2
Clean Behavior (Byte 3) 137
(SAS) Interface 291 LVD 1, 2
Clear FLASH Dump (EEPROM) 241
Fence Behavior (Byte 2) 135 interface attachment 281
Command Behavior When WORM
Fencing Behavior 262 InterNational Committee for Information
Medium Has Been Tampered With 267
Fibre Channel attachment Technology Standards (INCITS) 17
Command Descriptor Block (CDB) 17
abort condition, handling 281, 282 iSeries server
command(s)
features of interface 291 device driver support 4
ERASE 20
LUN behaviors 281 requirements for attaching tape drive
INQUIRY 21
multi-initiator support 281, 284 to 3
LOAD/UNLOAD 45
power-on procedure 281
LOCATE 47
requirements 3
LOG SELECT 49
reset strategy 281
LOG SENSE 50
status codes 281, 284 K
supported SCSI 17 KAD 00h - Unauthenticated KAD 219
Fibre Channel Logical Unit Control
compatible tape cartridges 5 KAD 01h - DKi (Data Key
Page 123
compressed capacity 2 Identifier) 220
Firmware Download 293
Conditions for Writing 267 KAD 02h - Nonce 221
Identifying Level Hardware
Control Extension Mode Page 117 KAD 03h - Metadata (Raw) 222
Firmware image is intended 295
Current Sense data 261 Key-Associated Data (KAD)
Identifying Level Hardware of
Drive 293 Descriptors 214, 219
Index 319
320 IBM TotalStorage LTO Ultrium Tape Drive: SCSI Reference
Printed in USA
GA32-0450-09