HP Q1538-90925 User Manual

HP Ultrium tape drives technical reference manual
Generation 3 drives
volume 5: UNIX configuration guide
Part number: Q1538–90925 Volume 5 Edition 6.4, May 2006
HP restricted
Legal and notice information
Hewlett-Packard Company makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
This document contains proprietary information, which is protected by copyright. No part of this document may be photocopied, reproduced, or translated into another language without the prior written consent of Hewlett-Packard. The information is provided “as is” without warranty of any kind and is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Revision history
Version Date Changes
Edition 6 September 2004 Generation 3 SCSI and FC drive version
Edition 6.2 May 2005 Reformatted and updated
Edition 6.3 November 2005 Small change to IBM configuration procedure
Edition 6.4 May 2006 Modifications to the HP-UX chapter
This document is frequently revised and updated. To find out if there is a later version, please ask your HP OEM Representative.
HP Ultrium drives technical reference manual, volume 5: UNIX configuration guide
HP restricted

Contents

Related documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Documents specific to HP Ultrium drives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Documentation map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
General documents and standardization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Purpose of this manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Ultrium drives in a library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Backup applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2 HP-UX systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
HP servers and workstations—HP-UX 11.x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Determining attached devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Adding stape and schgr (autoloader driver) to the kernel using sam . . . . . . . . . . . . . . . . . . . . . . 11
Add device files using sam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
What next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3 HP alpha UNIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
HP alpha UNIX 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
What next?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4 IBM (AIX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Determining the SCSI ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Configuring the device files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Device filenames under AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Determining the SCSI ID (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Configuring on Linux systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Using the seek and tell features of mt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
What next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6 Sun Systems, Solaris 8, 9, 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Determining the SCSI ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Configuring the Device Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
HP-Data Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7 Verifying the Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Verifying the Installation of the Drive (UNIX). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
To verify the installation: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
HP Ultrium drives technical reference manual, volume 5: UNIX configuration guide 3
HP restricted
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4
HP restricted

Related documents

The following documents provide additional information:

Documents specific to HP Ultrium drives

Hardware Integration Guide, volume 1 of the HP Ultrium Technical Reference Manual
Software Integration Guide, volume 2 of the HP Ultrium Technical Reference Manual
SCSI Interface, volume 3 of the HP Ultrium Technical Reference Manual
HP Ultrium Configuration Guide, volume 5 of the HP Ultrium Technical Reference Manual
Background to Ultrium Drives, volume 6 of the HP Ultrium Technical Reference Manual
Please contact your HP supplier for copies.
The features and benefits of HP Ultrium drives are discussed in the HP Ultrium Technology White
Paper.
For a general background to LTO technology and licensing, go to
http://www.lto-technology.com

Documentation map

The following will help you locate information in the 6-volume Technical Reference Manual:
Drives—general
l
Connectors 1 HW Integration: ch. 7 1 HW Integration: ch. 4
Controller architecture 6 Background: ch. 4
Front Panel LEDs 1 HW Integration: ch. 6 1 HW Integration: ch. 3
.
SCSI Drives FC Drives
Mechanism and hardware 6 Background: ch. 3
Specifications 4 Specs
Installation and configuration
SCSI Drives FC Drives
Connectors 1 HW Integration: ch. 7 1 HW Integration: ch. 4
Determining the configuration 2 SW Integration: ch. 2 2 SW Integration: ch. 2
External drives (SCSI only) 1 HW Integration: ch. 5 n/a
In Libraries 1 HW Integration: ch. 1
In Servers (SCSI only) 1 HW Integration: ch. 4 n/a
In Tape Arrays (SCSI only) 1 HW Integration: ch. 3 n/a
Modes of Usage (SCSI only) 1 HW Integration: ch. 8 n/a
HP Ultrium drives technical reference manual, volume 5: UNIX configuration guide 5
HP restricted
SCSI Drives FC Drives
Optimizing performance (SCSI only) 1 HW Integration: ch. 8 n/a
2 SW Integration: ch. 4
UNIX configuration 5 UNIX Config
Operation
SCSI Drives FC Drives
External drives (SCSI only) 1 HW Integration: ch. 5 n/a
In Libraries 1 HW Integration: ch. 1
In Servers (SCSI only) 1 HW Integration: ch. 4 n/a
In Tape Arrays (SCSI only) 1 HW Integration: ch. 3 n/a
Cartridges
SCSI Drives FC Drives
Cartridge Memory (LTO-CM) 2 SW Integration: ch. 5
6 HW Integration: ch. 5
Cartridges 1 HW Integration: ch. 9 1 HW Integration: ch. 5
Features 6 HW Integration: ch. 5
Managing the use of cartridges 2 SW Integration: ch. 1
Use of cartridges 2 SW Integration: ch. 3
Interface
SCSI Drives FC Drives
SCSI Guide 3 SCSI
Commands 3 SCSI: ch. 4
Error codes 1 HW Integration: ch. 101 HW Integration: ch.
6
Implementation 3 SCSI: ch. 1
Interpreting sense data 2 SW Integration: ch. 3
Messages 3 SCSI: ch. 2
Mode pages —see the MODE SENSE command
Pre-execution checks 3 SCSI: ch. 3
6
HP restricted
3 SCSI: ch. 4
SCSI Drives FC Drives
Responding to Sense Keys and ASC/Q 2 SW Integration: ch. 6
Sense Keys and ASC/Q —see REQUEST SENSE command
3 SCSI: ch. 4
Maintenance and troubleshooting
SCSI Drives FC Drives
Cleaning 2 SW Integration: ch. 5
2 SW Integration: ch. 7
External drives (SCSI only) 1 HW Integration: ch. 5 n/a
In Libraries 1 HW Integration: ch. 1
In Servers (SCSI only) 1 HW Integration: ch. 4 n/a
In Tape Arrays (SCSI only) 1 HW Integration: ch. 3 n/a
Monitoring drive and tape condition 2 SW Integration: ch. 7
Software troubleshooting techniques 2 SW Integration: ch. 1
Dealing with errors
SCSI Drives FC Drives
Error Codes 1 HW Integration: ch. 10 1 HW Integration: ch. 6
Handling errors 2 SW Integration: ch. 5
How error correction works 6 Background: ch. 4
Logs—see the LOG SENSE command 3 SCSI: ch. 4
Recovering from write and read errors 2 SW Integration: ch. 7
Software response to error correction 2 SW Integration: ch. 3
Software response to logs 2 SW Integration: ch. 3
TapeAlert log 2 SW Integration: ch. 7
Ultrium features
SCSI Drives FC Drives
Adaptive Tape Speed (ATS) 6 Background: ch. 1
Autoload 1 HW Integration: ch. 2
Automation Control Interface (ACI) 1 HW Integration: ch. 2
6 Background: ch. 1
HP Ultrium drives technical reference manual, volume 5: UNIX configuration guide 7
HP restricted
Cartridge Memory (LTO-CM)s 1 HW Integration: ch. 2
Data Compression, how it works 6 Background: ch. 5
Data Compression, managing 2 SW Integration: ch. 5
Design principles 6 Background: ch. 1
OBDR and CD-ROM emulation 6 Background: ch. 1
Performance optimization 1 HW Integration: ch. 8 n/a
Performance, factors affecting 2 SW Integration: ch. 4
Software design 2 SW Integration: ch. 1
Supporting Ultrium features 2 SW Integration: ch. 5
Ultrium Format 6 Background: ch. 2

General documents and standardization

See http://www.t10.org/t10_main.htm for INCITS SCSI Primary Commands—3 (SPC-3) and other specifications
SCSI Drives FC Drives
2 SW Integration: ch. 5
6 HW Integration: ch. 5
2 SW Integration: ch. 7
2 SW Integration: ch. 1
Copies of documents of other standards bodies can be obtained from:
INCITS
11 West 42nd Street New York, NY 10036-8002 USA
ISO
CP 56 CH-1211 Geneva 20 Switzerland
ECMA
Global Engineering
Documents
114 Rue du Rhône CH-1204 Geneva Switzerland
2805 McGaw Irvine, CA 92714
Tel: +41 22 849 6000
Web URL: http://www.ecma.ch
Tel: 800 854 7179 or 714 261 1455
USA
8
HP restricted
1Introduction

Purpose of this manual

This manual provides basic information on configuring the drives with various operating systems.
See the top-level release notes that accompany the drive for expected functionality and features.
Ultrium drives are supported on the following platforms:
HP UNIX systems (HP-UX) (Chapter 2)
HP Alpha UNIX (Chapter 3)
IBM (AIX) (Chapter 4)
Linux (Chapter 5)
Sun Systems, Solaris 8, 9, 10 (Chapter 6)
For platforms not mentioned here, contact HP because there may be new connectivity details available that arrived after the release notes were published.
See Chapter 7 for details of how to verify the installation.

Ultrium drives in a library

Although Ultrium drives may also be used in a library, instructions about installing device drivers for automatic robotics are not included in this manual.

Backup applications

For optimum performance it is important to use a backup application that supports the drive’s features within your system’s configuration. See the Getting Started Guide for more information about usage models.
The following applications are suitable for use within an Enterprise environment and have been tested with Ultrium drives. They use the operating system’s standard, built-in device drivers, as described in this manual. For further information about optimizing performance and making full use of the drive’s functions, contact the software manufacturer or HP.
HP Omniback Legato Networker yes yes yes yes Veritas NetBackup yes yes yes yes
1. Cell Manager is only available on HP-UX or Windows
2. Redhat Server only (not Caldera, SUSE, and so on)
1
HP Ultrium drives technical reference manual, volume 5: UNIX configuration guide 9
HP-UX AIX Sun, Solaris Linux
yes yes yes yes
2
HP restricted
Introduction10
HP restricted
2HP-UX systems
HP servers and workstations—HP-UX 11.x
NOTE: HP-UX 10.x is only supported by Generation 1 Ultrium drives.

Introduction

Before you install your tape drive log on to the HP web site, www.hp.com, and download the latest hardware enablement patch bundle for your operating system. This ensures that you will have the correct device driver for your tape drive.

Determining attached devices

After you have installed the new tape drive, you can check it has been attached successfully. From a shell window (hpterm/xterm), execute ioscan to display the list of attached devices.
# /sbin/ioscan -C tape -fn
The output should look similar to the following:
Class I H/W Path Driver S/W State H/W Type Description ================================================================================= bc 0 root CLAIMED BUS_NEXUS bc 1 8 bc CLAIMED BUS_NEXUS Psudo Bus Converter ba 0 8/0 GSCtoPCI CLAIMED BUS_NEXUS GSCtoPCI Bridge ext_bus 1 8/0/2/0 c720 CLAIMED INTERFACE SCSI C895 Ultra2 Wide LVD target 0 8/0/2/0.7 tgt CLAIMED DEVICE ctl 1 8/0/2/0.7.0 sctl CLAIMED DEVICE Initiator lan 0 8/0/20/0 btlan3 CLAIMED INTERFACE PCI(10110019) -- Built-in #1 ba 1 8/16 bus_adapter CLAIMED BUS_NEXUS Core I/O Adapter tty 0 8/16/4 asio0 CLAIMED INTERFACE Built-in RS-232C ext_bus 2 8/16/5 c720 CLAIMED INTERFACE Built-in SCSI target 1 8/16/5.5 tgt CLAIMED DEVICE disk 0 8/16/5.5.0 sdisk CLAIMED DEVICE SEAGATE ST34573N target 2 8/16/5.7 tgt CLAIMED DEVICE ctl 2 8/16/5.7.0 sctl CLAIMED DEVICE Initiator processor 0 62 processor CLAIMED PROCESSOR Processor memory 0 63 memory CLAIMED MEMORY Memory tape 4 2/0/1.5.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
NOTE: If you are installing the drive onto a Storage Area Network (SAN), the fibre channel/SCSI
bridge will also appear in the list of attached devices.

Adding stape and schgr (autoloader driver) to the kernel using sam

Run the `sam` utility from the command line. Sam runs as a mouse driven GUI (fig. 1) on a system with full graphics capability, or as a console text-based interface (fig. 2). If using the text-based interface, use the tab and arrow keys to navigate, and the return key to select.
HP Ultrium drives technical reference manual, volume 5: UNIX configuration guide 11
Loading...
+ 23 hidden pages