HP DDS/DAT tape drives UNIX, Linux and OpenVMS configuration guide (DW049-90930, May 2010)

1. In the file /kernel/drv/st.conf, after these lines:
########
# Copyright (c) 1992, by Sun Microsystems, Inc.
#ident "@(#)st.conf 1.6 93/05/03 SMI"
add the following (the spaces are significant in the strings):
for Solaris 9 and 10 (and 8 with the latest st patch):
tape-config-list = "HP DAT160","HP DAT160 tape drive","HP-DAT160";
HP-DAT160 = 1,0x34,0,0x18679,1,0x00,0,60,300,600,1200,600,600,18000;
name="st" class="scsi" target=X lun=0;
tape-config-list = "HP C7438A","HP DAT72 tape drive","HP-DAT72";
HP-DAT72 = 1,0x34,0,0x18679,1,0x00,0,60,300,600,1200,600,600,18000;
name="st" class="scsi" target=X lun=0;
tape-config-list = "HP C5683A","HP DDS-4 tape drive","HP-DDS-4";
HP-DDS-4 = 1,0x34,0,0x18679,1,0x00,0,60,300,600,1200,600,600,18000;
name="st" class="scsi" target=X lun=0;
where X is the SCSI target address of the device you have attached.
See HP-data values on page 35 for the values of the parameters in these lines.
2. If you are replacing an existing tape device on the same SCSI ID, remove the contents of the /
dev/rmt directory as follows:
% cd /dev/rmt
% rm *
3. 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.
4. You should now be able to use the drive.
Use /dev/rmt/Xcb if you require a compression rewind device file, where X is the relevant
device address.
Use /dev/rmt/Xcbn when you require a compression non-rewind device.
Sun (Solaris) servers and workstations34