Page 28
absolute block size, performance should not suffer, but do ensure that the transfer size is at least 256 KB.
Maximum block size
The READ BLOCK LIMITS command indicates that block sizes and variable length transfer sizes are supported for values between 1 byte and 16,777,215 bytes.
Media type identification
HP recommends that you use the REPORT DENSITY SUPPORT command (with the Media bit enabled) to identify the type of media loaded in the drive.
Using Cartridge Memory instead of tape headers
For optimum performance, it is also important that the host writes application tape header information to the Cartridge Memory (see “Cartridge Memory (LTO-CM)” on page 35) rather than to the actual tape. This allows cartridges to load and unload quickly and prevents excessive media wear at the beginning of the tape. As the access method to Cartridge Memory data is an open standard, it also permits other software systems to identify alien media positively in shared storage environments.
Using the Performance Log page for diagnosing problems
The Performance Log page (34h) contains data that should allow application software to monitor the data-rate being sent to the drive dynamically. For details, see the LOG SENSE command in Volume 3, SCSI Interface, of the HP LTO Ultrium Technical Reference Manual.
Time-out values
SCSI Command | Recommended Time-Out Value |
Load | 10 minutes |
Unload | 10 minutes |
Rewind (full tape length) | 10 minutes |
Space/Locate/CD-ROM Read (10) | 20 minutes |
Erase (long) | 5 hours |
Erase (short) | 5 minutes |
Write/Write Filemarks | 5 minutes |
Read | 20 minutes |
Read/Write Attribute (MAM), with 1 KB of attribute data | 1 minute |
Non-tape movement (such as TEST UNIT READY, INQUIRY) | 1 minute |
Notes:
•These values are for a single SCSI command in non-Immediate mode. As most commands will be sent in Immediate mode, status will be received by the host typically within 20 ms. In such cases, the time-out given indicates when the drive will have completed the operation and be ready for the next tape movement command.
28 Factors affecting performance
HP restricted
Contents
volume 2 software integration
LTO 4 FC, SCSI and SAS drives
HP LTO Ultrium tape drives technical reference manual
HP restricted
Legal and notice information
Contents
1 Designing backup applications
2 Configuration and initialization
3 Use of tapes
5 Supporting Ultrium features
4 Factors affecting performance
6 Sense keys and codes
7 Exception handling
HP restricted
Related documents
Documentation map
Documents specific to HP Ultrium drives
Drives-general
Installation and configuration
Operation
Cartridges
Interface
Maintenance and troubleshooting
Dealing with errors
LTO Ultrium features
General documents and standardization
1 Designing backup applications
Non-immediate commands
Optimizing performance
Large data transfer size
Cleaning tape heads
Managing the use of tapes
Information in Cartridge Memory
Monitoring tape use
Design goals for LTO backup applications
Diagnostic logs
TapeAlert
Displaying drive information
Include the capability to download firmware
Inquiry string recovery
2 Configuration and initialization
Operating system drivers
16 Configuration and initialization
Example
SCSI protocol, regardless of transport or interface type
Enabling additional LUN support
Support for additional LUN
Supporting additional LUNs
18 Configuration and initialization
Using Cartridge Memory attributes
Using MODE SENSE
3 Use of tapes
LTO cartridge memory
Finding the remaining capacity
Tape status and capacity
Interpreting Log Sense data
Command descriptor block
Using the SET CAPACITY command
CDB fields
Changes to SCSI commands
WORM media
How WORM media works
New additional sense codes and TapeAlert flags
Error Usage page
ERASE commands rejected
SET CAPACITY command
Re-writing media labels
Behavior with a missing or inconsistent EOD value
Using CM to check tape integrity
Unique media identifier
Load count
Responding to Cartridge Memory data
Barcode support
RWW retry counts
Corrective action
4 Factors affecting performance
Ways of optimizing performance
Detecting the drive’s speed
Ensuring the recommended minimum transfer sizes
Using Cartridge Memory instead of tape headers
Using the Performance Log page for diagnosing problems
Time-out values
Media type identification
Factors affecting performance
Recommended support of log pages
Host-related factors
Example
Recommendation
where possible or a reasonably sized RAID system. More disks means
makes sense to split heavily used FC cards across separate PCI busses
Drive-related factors
Do not interleave write commands with other commands, such as READ
Format-related factors
Page
34 Factors affecting performance
5 Supporting Ultrium features
Cartridge Memory LTO-CM
Automation interface
Further information
Automation/Device Interface ADI
Modes of usage through ACI
Automation Control Interface ACI
Slave to a library controller
ACI commands that affect drive streaming performance
ACI command set
SCSI pass-through mode
New features in ACI
Backward compatibility
SCSI command
Encryption support
Further details
Supporting the ACI protocol
Recommended ACI time-out values
42 Supporting Ultrium features
Recommended power-up sequence
Treatment of reserved fields
Recommended load-unload configuration
Firmware upgrade via tape
Recommended Get Drive Status polling frequency
ACI protocol communications retry
Upgrading the drive firmware
Firmware upgrade via the primary host interface
Firmware upgrade via ACI
Library firmware upgrade via tape
Handling irregular cartridges
Cleaning cartridge HP-configured or Universal
Expired cleaning cartridge HP-configured or Universal
Non-HP Ultrium 1 cleaning cartridge
Unreadable data cartridge
Valid firmware upgrade cartridge
Data cartridge with unreadable CM
Cartridge fails to seat or load
Cartridge cannot be loaded
Frequently asked questions
Cleaning
Invalid firmware upgrade cartridge
Is there separate firmware for drives intended to go into libraries?
Backup software
Resetting drives
Resetting via the ACI Reset command
Resetting using the ACIRSTL line
Accessing Cartridge Memory without threading the tape
Controlling data compression
Other mode page information
Buffer size at EW-EOM
Rewind on reset
Write delay time
Partition size
52 Supporting Ultrium features
6 Sense keys and codes
Sense keys-actions to take
Action
Console Message
“3h-MEDIUM ERROR” on page 62 . Also see the Media Access
For additional sense codes, see “3h-MEDIUM ERROR” on
log the error, terminate I/O to the drive, and pass the appropriate
error to the calling application
Action
Console Message
Action
Console Message
page
Additional sense codes-actions to take
Physical
End-of-Tape
reached, unable to fit
0h-NO SENSE
1h-RECOVERED ERROR
2h-NOT READY
The software must issue a LOAD before media access
LUN not accessible, port in
The command cannot be executed because the specified
60 Sense keys and codes
mechanism tests are being executed. When the tests are
A READ , SPACE , WRITE or WRITE FILEMARKS command
3h-MEDIUM ERROR
62 Sense keys and codes
Send a console message that an unrecovered error on
and the drive. Based on this, ask the user to clean the
64 Sense keys and codes
Send a message to the console indicating that there is
The current command such as READ, SPACE, REWIND
66 Sense keys and codes
4h-HW ERROR
A MODE SELECT parameter list sent to the drive contains
5h-ILLEGAL REQUEST
68 Sense keys and codes
6h-UNIT ATTENTION
persistent reservation using the PERSISTENT RESERVE OUT
allowed to execute. In other words, some commands can
32 initiators to register, using PERSISTENT RESERVE OUT
Action
service action removed all reservations and the persistent
A PERSISTENT RESERVE OUT command was executed
WRITE BUFFER or MAINTENANCE OUT command
A SET DEVICE IDENTIFIER command has been successful
7h-DATA PROTECTION
Code
8h-BLANK CHECK
READ BUFFER command
Bh-ABORTED COMMAND
related to a missing EOD data set. The most likely cause
A WRITE or WRITE FILEMARKS command has encountered
Dh-VOLUME OVERFLOW
76 Sense keys and codes
Typical escalation procedure
1. Retrieve fault information
3. Allow the user to try recovery
4. Allow the user to reset devices
Monitoring the condition of the drive and media
Supporting TapeAlert
Flags
Type
Page
Page
Page
Page
Page
Page
Page
Designing software to use the TapeAlert log
TapeAlert models
TapeAlert polling usage model
Reading the TapeAlert log
TapeAlert informational exception usage model
Responding to the ‘Clean’ LED
One-Button Disaster Recovery OBDR
Supporting OBDR
Providing pass-through mode
Requirements for drivers and logical device managers
Glossary
see ”read-while-write”
Index
Page
Page
HP restricted