HP LTO Ultrium 5 tape drives UNIX, Linux and OpenVMS configuration guide (March 2010)

1. In the file /kernel/drv/st.conf, after these lines:
########
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# 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" class="scsi" target=X lun=0;
where X is the SCSI target address
7
of the device you have attached.
See HP-data values on page 28 for the values of the parameters in these lines.
2. Instead of rebooting the device, follow these steps.
a. Find the kernel module ID:
# modinfo | grep "st ("
96 60dcc000 cdb0 33 1 st (SCSI Sequential Access Driver)
In this example the ID is 96.
b. Unload the kernel module:
# modunload -i 96
c. Load the kernel module back in:
# modload -p drv/st
d. Rebuild the device paths:
devfsadm -C
devfsadm -i st
For further details, see How do you load st.conf changes without rebooting, SunSolve
document 18010, on http://sunsolve.sun.com/search/document.do?assetkey=1-9-18010-1&
searchclause=18010
This link is valid for registered SunSolve users with a valid Sun Service Plan.
7
Typically st.conf already contains a range of target address entries by default, listed after the comments section (# prefixes)
in the above format: name="st" class="scsi" target=X lun=0; While SAS drives contain a unique 64-bit SAS
address, they are also allocated a target address value in the operating system. To obtain a particular tape drives target
address, run the following command to identify it:
% ls -l <tape device file>
This produces a line of output which includes a path which in turn contains an st@X element, where X is the target address.
For example: % ls -l /dev/rmt/0cbn would produce output containing something like the following path:
/dev/rmt/0cbn -> ../../devices/pci@0/pci@0/pci@8/pci@0/pci@8/pci@0/pci1077,14f@1,1/st@3,0:cbn
The element st@3 here indicates target address = 3.
UNIX, Linux and OpenVMS configuration guide 27