Page 1
LTO 5 drives Abstract This is one of five volumes that document HP LTO Ultrium 5 tape drives (Fibre Channel and SAS). This volume provides basic information on configuring the drives with various operating systems. See Chapter 8 on page 35 for details of the other guides.
2 HP (HP-UX) servers and workstations ............. 7 Identifying connected devices ....................... 7 For HP-UX 11i v2 and 11i v3 (legacy format) ................7 For 11i v3 (Agile I/O tree view) ..................... 8 Adding stape/estape and eschgr/schgr (media changer driver) to the kernel ........9 For HP-UX 11i v2 .........................
Page 4
To verify the installation: ...................... 31 Example ........................32 8 Support and other resources .............. 35 Related documents ........................35 Documents specific to HP LTO Ultrium drives ................35 Documentation map ......................35 Drives—general ......................35 Installation and configuration ..................35 Operation ........................
Page 5
Figures SAM GUI ....................... 10 SAM text-based interface ..................10 SMH web-based interface (HP-UX11i v3) ..............11 Adding estape driver to the kernel ................12 Selecting a tape device to create its device files (Agile View) ........14 Volume 5: UNIX, Linux and OpenVMS configuration guide...
For optimum performance it is important to use a backup application that supports the drive’s features within your system’s configuration. For details of which backup applications are supported with your tape drive and system, visit the HP Tape Compatibility website: http://www.hp.com/products1/storage/compatibility/tapebackup/index.html.
For supported versions of HP-UX, go to http://www.hp.com/go/connect. Before you install your tape drive, visit the HP web site, www.hp.com, and search to locate IT Resource Center (you may be required to set up a new login). Download the latest hardware enablement (HWE) patch bundle for your operating system.
LTO 5 SAS drive. Fibre Channel tape drives have a similar format in this type of ioscan output: Note that device files (such as /dev/rtape/tape9_BEST) may or may not be in place initially. HP (HP-UX) servers and workstations...
Adding stape/estape and eschgr/schgr (media changer driver) to the kernel For HP-UX 11i v2 If your tape drive or media changer does not appear in ioscan listing or is listed with H/W Type “UNKNOWN” you may need to install the appropriate drivers.
Type “m to modify the stape driver and “s” to set it to “static”. The Planned State will now read “static”. The stape driver is now added to the kernel. If you are going to attach a media changer, use a similar procedure to change eschgr or schgr to “static”. HP (HP-UX) servers and workstations...
Start up the SMH web-based interface. % smh –w This will attempt to launch a web browser. Mozilla browser is the default when HP-UX 11i v3 is installed. From the SMH Tools page, select Modules from the Kernel Configuration section: Figure 3 SMH web-based interface (HP-UX11i v3) In the Search box on the Kernel Configuration page, type stape and execute the search.
(see Figure 2 on page 10). If you use the text-based interface, use the Tab and arrow keys to navigate, and the Return key to select. Enter sam at the command line: % sam HP (HP-UX) servers and workstations...
View as described at the beginning of this chapter. To switch between these views use the Toggle Global Device View link on the right hand side of the HP-UX Peripheral Device Tool page. In this chapter, the Agile View is assumed. The process is similar for the Legacy View.
The maximum block size limit of 256 KB (262144 bytes) applies to all versions of HP-UX and is strongly recommended for broad backup/restore compatibility across all supported HP-UX versions. Different HP-UX kernel configurations or later versions of HP-UX may not use 256 KB ‘chunks’...
Online ^use this value in the next command line $ sho dev MKA400/full Magtape SIT058$MKD300:, device type HP Ultrium 5-SCSI, is online, file-oriented device, available to cluster, error logging is enabled, controller supports compaction (compaction disabled), device supports fastskip (per_io).
Ensure the correct HBA and driver are installed Visit the HP Tape Compatibility website for details of supported Linux OS versions and SAS HBA controllers: http://www.hp.com/products1/storage/compatibility/tapebackup/index.html Download and install the latest controller driver from the manufacturer’s website...
/proc/scsi/scsi Examine the contents for something like: Host: SCSI0 Channel: 00 Id:00 Lun:00 Vendor: HP Model: Ultrium 5-SCSI Rev: ZxxD Type: Sequential-Access ANSI SCSI Revision 06 Look through the output of dmesg to discover which tape drive instance is used (st0 in the example below) and to review the SCSI HBA driver (cciss in the extract below).
/etc/stinit.def may not exist in a new installation and so may need to be created. See the examples of stinit.def entries in /usr/share/doc/mt-st-<version>/ stinit.def.examples. If you use this approach, set the manufacturer parameter to HP and the model to “Ultrium 5-SCSI”.
5 IBM (AIX) servers and workstations For supported versions of AIX, see http://www.hp.com/go/connect. Identifying attached devices For SAS, to list existing devices, use the following: % lsdev -C |grep SAS This produces output similar to: hdisk0 Available 00-08-00 SAS Disk Drive...
A pop-up window is displayed: Select the tape drive you wish to change. The example above shows an LTO FC tape drive as available for selection. The following details are displayed: Check the following values and change them if necessary: •...
Page 23
• Set timeout for the READ or WRITE command = 1200 Press the Enter key (“Do”) to apply the changes. Refer to http://www.hp.com/go/connect for up-to-date information on supported applications Once device files have been configured, you should confirm that your new tape drive is working properly.
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 enabled /dev/rmtn enabled /dev/rmtn.1 enabled /dev/rmtn.2 enabled /dev/rmtn.3 disabled /dev/rmtn.4...
For supported versions of Solaris, see http://www/hp.com/go/connect. Fibre Channel drives Before configuring your system to support an HP LTO Ultrium drive, ensure that the drive is visible to the Sun system HBA by correctly zoning the fabric switch (if one is being used).
Device file variants for a given tape device are listed in /dev/rmt with various suffixes—l, m, h, u, c specifying the ‘density’ (low, medium, high, ultra, compressed), plus additional options b, ‘Berkeley’ behavior, and n, no rewind behaviour. HP recommends the ‘Berkeley’ device file option for most applications with compressed density c: /dev/rmt/0cb or /dev/rmt/...
Page 27
Use is subject to license terms. #pragma ident "@(#)st.conf 1.34 04/06/24 SMI" add the following (there are 6 significant spaces between the first occurrences of HP and Ultrium in line 2): tape-config-list = "HP Ultrium 5","HP Ultrium LTO 5","HP_LTO_GEN_5"; HP_LTO_GEN_5 = 2,0x3B,0,0x18659,4,0x00,0x44,0x46,0x58,3,60, 1200,600,1200,600,600,18000 name="st"...
“Verifying the installation” on page 31 provides instructions on backing up and restoring a sample file to test your installation. 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 is: <drive type>...
Page 29
Parameter Value Meaning Variable record size not limited to 64 KB. 0x8000 Device determines which of the two mode pages the device 0x10000 supports for selecting or deselecting compression. So 0xd639 indicates variable record length, bsf and bsr enabled, long timeouts for erase, EOD recognition, Unloadable device driver, 5 x longer timeouts, buffer writes and pre-acknowledge success, variable records not limited to 64 KB, auto-density over-ride and MODE SELECT compression.
For example, on HP-UX 11i v2: % mt -f /dev/rmt/c4t3d0BESTnb For example, on HP-UX 11i v3 (using a persistent device file): % mt -f /dev/rtape/tape0_BESTnb rewind If the command completes successfully, there will be no feedback. If it fails, you will see an error message on the console.
The name of the file retrieved from the archive. <retrieved file> Example:stand/vmunix Example Suppose you are verifying the installation of an HP LTO Ultrium tape drive on an HP-UX 11.X system. The procedure would be as follows: Verifying the installation...
Page 33
Use ioscan to obtain the tape drive device file options: %/sbin/ioscan -fnC tape Identify the Berkeley ‘no-rewind’ option, for example: /dev/rmt/c4t3d0BESTnb Change directory to root: % cd / Back up /stand/vmunix to tape: % tar cvf /dev/rmt/c4t3d0BESTnb ./stand/vmunix Note the prefix of ‘.’ to the filename. Change to the temporary directory: % cd /tmp Extract the file from the tape:...
Specifications, volume 4 of the HP LTO Ultrium Technical Reference Manual Please contact your HP supplier for copies. • The features and benefits of HP LTO Ultrium drives are discussed in the HP LTO Ultrium Technology White Paper. • For a general background to LTO technology and licensing, go to http://www.lto-technology.com.
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”...
Page 40
groups. On the other hand, infinite flush means that data can remain in the buffer for very long periods of time, and could be lost in the event of a power failure. Logical Unit Number, by which different logical units within a particular device can be addressed individually.
Solaris, fibre channel, storage area network, filemarks, SUN systems, filenames under AIX, Sun workstations data values, identifying attached devices, systems HP-UX systems, HP-UX, Linux, IBM (AIX), device files, verifying installation, immediate mode, INCITS, infinite flush, installation, verifying, Volume 5: UNIX, Linux and OpenVMS configuration guide...