HP Ultrium tape drives technical reference manual Generation 3 drives volume 5: UNIX configuration guide Part number: Q1538–90925 Volume 5 Edition 6.
Legal and notice information © Copyright 2004–2006 Hewlett-Packard Development Company, L.P. 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.
Contents Related documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Documents specific to HP Ultrium drives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Documentation map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General documents and standardization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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
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 External drives (SCSI only) SCSI Drives FC Drives 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 SCSI Drives FC Drives Cartridges Cartridge Memory (LTO-CM) Cartridges 2 SW Integration: ch. 5 6 HW Integration: ch.
SCSI Drives Responding to Sense Keys and ASC/Q FC Drives 2 SW Integration: ch. 6 Sense Keys and ASC/Q —see REQUEST SENSE command 3 SCSI: ch. 4 Maintenance and troubleshooting SCSI Drives Cleaning FC Drives 2 SW Integration: ch. 5 2 SW Integration: ch. 7 External drives (SCSI only) In Libraries 1 HW Integration: ch. 5 n/a 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.
SCSI Drives Cartridge Memory (LTO-CM)s FC Drives 1 HW Integration: ch. 2 2 SW Integration: ch. 5 6 HW Integration: ch. 5 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 Performance optimization 6 Background: ch. 1 2 SW Integration: ch. 7 1 HW Integration: ch. 8 n/a 2 SW Integration: ch. 1 Performance, factors affecting 2 SW Integration: ch.
1 Introduction 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.
Introduction HP restricted
2 HP-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.
Figure 1 SAM GUI Figure 2 SAM text-based interface For HP-UX 11.11 (11i version 1) 1. Enter sam at the command line. 2.
3. Highlight the stape or schgr driver. If the driver has not been added to the kernel, both Current State and Pending State will read “Out”. 4. Select the following: Actions Add Driver to Kernel The Pending State will now read “In”. 5. To add the new driver to the kernel, select: Actions Create a New Kernel The stape or schgr driver is added to the kernel. 6. Reboot the system. For HP-UX 11.23 (11i version 2) 1. Enter sam at the command line. 2.
Actions Create Device Files Create Default Device Files This will create default device files for the drive. To view the device files that have been created, select: Actions Create Device Files Show Device Files 4. When you have exited sam, run ioscan to see the tape drive: %/sbin/ioscan -C tape -fn All default device files displayed have compression enabled.
3 HP alpha UNIX HP alpha UNIX 5.x 1. Add the following entry to your /dev/ddr.
The device files then have the syntax: tapeX_dn For example, /dev/ntape/tape66_d1 is a device file for device 66, no-rewind using density number 1. Since all density numbers have the same parameters it does not matter which density number file is used. What next? Once device files have been created, you should confirm that your new tape drive is working properly. Chapter 7 on page 27 provides instructions on backing up and restoring a sample file to test your installation.
4 IBM (AIX) Determining the SCSI ID Before you configure your system to support Ultrium drives, determine which SCSI ID to use. IDs must be unique for each device attached to the SCSI bus.
Once device files have been created, you should confirm that your new tape drive is working properly. Chapter 7 on page 27 provides instructions on backing up and restoring a sample file to test your installation. Device filenames under AIX Use device filenames as listed below for the combination of Rewind on Close, Retension on Open, and Compression that you want: Filename Rewind on Close Retension on Open Compression /dev/rmtn Yes No enabled /dev/rmtn.1 No No enabled /dev/rmtn.
5 Linux Determining the SCSI ID (Linux) Look at the output of dmesg to find out what SCSI channel number is used for each connection. To find out the SCSI IDs in use on each channel, type: cat /proc/scsi/scsi This will produce output similar to the following for each device: Attached Devices Host: SCSI0 Channel: 00 Id:00 Lun:00 Vendor: HP Model -----------Type: Direct-Access ANSI SCSI Revision 02 Look at the ID information to establish which IDs are in use.
NOTE: To add drivers to the statically built kernel you need the Linux source code available on disk and knowledge of how to use the kernel building tools that ship with various Linux distributions. This should not be attempted by novice users. In order to determine if the drive has been detected by the tape driver at module load time, execute: dmesg | grep "st" This should find a number of lines.
What next? Once device files have been created, you should confirm that your new tape drive is working properly. Chapter 7 on page 27 provides instructions on backing up and restoring a sample file to test your installation.
Linux HP restricted
6 Sun Systems, Solaris 8, 9, 10 Determining the SCSI ID Before you configure your system to support an HP Ultrium drive, determine which SCSI ID to use. IDs must be unique for each device on attached to the SCSI bus. 1.
If for some reason you cannot upgrade to the minimum patch level, you can make the following file modifications to enhance performance: 1. In the file /kernel/drv/st.conf, after these lines: ######## # Copyright (c) 1992, by Sun Microsystems, Inc. #ident "@(#)st.conf 1.
HP-Data Values The values for HP_LTO_GEN_n and name, which provide normal LTO mode, have the following meanings: The syntax for HP_LTO_GEN_n on Solaris 9 is: = , , , ,
Parameter Value Meaning 4 0x00 Creates a device file with compression disabled. 0x44 The density code for data compression enabled by default. 3 There are four densities following in the parameter list. Density 3 (0x44) is the default for Generation 3 drives. All timeouts are in seconds Values for the parameters for name are as follows: 26 Parameter Value target X X specifies the SCSI ID (target) of the device.
7 Verifying the Installation Verifying the Installation of the Drive (UNIX) As part of the installation process, you will have installed the appropriate device driver for your UNIX system, and created device files to communicate with the tape drive. This section describes how you can verify the installation has been performed correctly. In outline, the procedure is as follows: 1. Check the tape drive responds to a rewind command. 2. Write test data to a tape. 3. Read the test data from the tape. 4.
NOTE: Make sure you prefix the file name with ‘.’ when you back it up to tape. If you do not, the restore operation in step 3 will overwrite the original copy on disk. 3. Read the file back from tape: % cd /tmp % tar xvf The ‘x’ option to tar here means “extract from the archive”. Use the same value for the argument as in step 2. 4. Compare the original with this retrieved file: % cmp /tmp/ This compares the files byte by byte.
Glossary AT&T mode Berkeley and AT&T functional modes differ in “read-only” close functionality. In AT&T mode, a device close operation will cause the tape to be repositioned just after next filemark on the tape (the start of the next file). Berkeley mode Berkeley and AT&T functional modes differ in “read-only” close functionality. In Berkeley mode the tape position will remain unchanged by a device close operation. BOT Beginning Of Tape. The first point on the tape that can be accessed by the drive.
fibre channel Fibre Channel provides an inexpensive yet expendable means of quickly transferring data between workstations, mainframes, supercomputers, desktop computers, storage devices, displays and other peripherals. Although it is called Fibre Channel, its architecture represents neither a channel nor a real network topology. It allows for an active intelligent interconnection scheme, called a fabric, to connect devices.
Single-Ended and Low Voltage Differential SCSI These terms define how the signals are transmitted along the cable. With single-ended (SE) SCSI, each signal travels over a single wire and each signal’s value is determined by comparing the signal to a paired ground wire. Signal quality tends to decrease over longer cable lengths or at increased signal speed.
HP restricted
Index A AIX 17 ANSI 5 asynchronous data transfer 29 AT&T mode 29 B Berkeley mode 29 BOT 29 buffered mode 29 infinite flush 30 installation, verifying 27 L Linux 19 determining SCSI ID 19 LUN 30 LVD SCSI 31 M compression 29 confirming installation 27 mode AT&T 29 Berkeley 29 immediate 30 D N C narrow SCSI 31 data transfer 29 device files AIX 18 IBM (AIX) 17 Sun workstations 23 direct access 31 documents, related 5 P PC-based UNIX - Linux 19 S F fast SCSI 31 fibre channel 30 filemarks 30 filenam
U ultra SCSI 31 V verifying installation 27 W wide data transfer 29 wide SCSI 31 34 HP restricted