HP LTO Ultrium 6 tape drives UNIX, Linux and OpenVMS configuration guide

An output containing, for example,
/devices/pci@0/pci@0/pci@8/pci@0/pci@1/LSILogic,sas@0:scsi::rmt/1
indicates an SAS tape drive connected via an LSI SAS HBA.
Kernel patch levels
For optimal performance, ensure that you have the following minimum patch number:
Minimum patch*
The latest version of the st, sd and ssd drivers patchSolaris 9
The latest version of the kernel patchSolaris 10
Upgrading to the minimum patch level will ensure that the necessary support for officially supported
drives is included in the driver. You can view your existing patch level using the command uname
-a. To access Solaris patch upgrades, you need to set up an Online Account with Oracle to use
http://support.oracle.com.
NOTE: Patch levels are liable to change every 6 months or so, so these minimum levels may
quickly become out-of-date.
To obtain the lastest levels, enter the patch names into the search utility on http://support.oracle.com.
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 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 6","HP Ultrium LTO 6","HP_LTO_GEN_6";
HP_LTO_GEN_6 = 2,0x3B,0,0x18659,4,0x00,0x46,0x58,0x5A,3,60,
1200,600,1200,600,600,18000
name="st" class="scsi" target=X lun=0;
where X is the SCSI target address
8
of the device you have attached.
See “HP-data values (page 23) 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.
8. 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
drive’s 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.
22 Oracle (Solaris) servers and workstations