Detailed instructions for use are in the User's Guide.
[. . . ] unix configuration guide
hp ultrium drives technical reference manual
generation 1 SCSI drives volume 5: unix configuration guide
Part Number: C736990901 Volume 5 Edition 5, February 2003
Notice
The information contained in this document is subject to change without notice. Hewlett-Packard 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 direct, indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this document. This document contains proprietary information which is protected by copyright. [. . . ] If you use this approach, set the manufacturer parameter to HP and the model to "Ultrium 1-SCSI".
What Next?
Once the device files have been created, you should confirm that your new tape drive is working properly. Chapter 6, "Verifying the Installation" provides instructions on backing up and restoring a sample file to test your installation.
Linux 23
24
Linux
Sun Systems, Solaris (SunOS 5. x) x
Determining the SCSI ID
5
Before you configure your system to support the HP Ultrium drive, you need to determine which SCSI ID to use. IDs must be unique for each device on attached to the SCSI bus. 1 Use the modinfo command to identify SCSI controller drivers installed on the system. -- For FAS or ESP devices:
% modinfo | grep "SCSI Host"
This will produce output similar to the following:
18 501a4000 c3b8 61 1 esp (ESP SCSI Host Bus Adapter Drive) 21 501c8000 9e70 6 1 fas (FAS SCSI Host Bus Adapter Drive)
This indicates that there are two SCSI controllers on the system, an ESPbased adapter and a FAS-based adapter. For the adapter to which the new tape drive is attached, you will need to determine what SCSI IDs are already used. -- For newer LSI/Intraserver LVD SCSI controllers:
% modinfo | grep "Interserver"
This will produce output similar to the following:
100 78054000 11898 207 100 78054000 11898 207 1 ithps (ITHPS-5. 02. 00 Intraserver) 1 ithps (ITHPS-5. 02. 00 Intraserver)
2 Determine the SCSI IDs of the existing devices attached to the SCSI controller: For all adapters: where xxx = the type of adapter (esp, glm, fas or isp), as appropriate.
Sun Systems, Solaris (SunOS 5. x) 25 % dmesg | egrep ". *xxx. *target" | sort | uniq
For example, for an ESP-based adapter:
% dmesg | egrep ". *esp. *target" | sort | uniq
This produces a list similar to:
sd0 at esp0: target 0 lun 0 sd6 at esp0: target 6 lun 0
This indicates that SCSI IDs 0 and 6 are used for existing devices. SCSI ID 7 is generally used for the adapter itself. In this situation, you would use a SCSI ID from 1 to 5 for the new tape drive.
Configuring the Device Files
Determine the device file by typing:
% ls -l /dev/rmt/*m | grep "st@X"
where X is the SCSI ID. For example, if the drive was at SCSI ID 2, look for the line containing "st@2, 0". This might be as follows (but on a single line):
lrwxrwxrwx 1 root root 63 Mar 1 00:00 /dev/rmt/0m . . /. . /devices/sbus@1f, 0/espdma@e, 8400000/esp@e, 8800000/st@2, 0:m
Here you could use /dev/rmt/0m (shown underlined above) as the device file. #ident "@(#)st. conf 1. 6 93/05/03 SMI"
add the following depending on which drive you are installing (there are 6 significant spaces between HP and Ultrium in line 2): for Solaris 2. 7, 5. 7 and 8:
tape-config-list = "HP Ultrium", "HP Ultrium LTO 1", "HP_LTO_GEN_1", HP_LTO_GEN_1 = 1, 0x36, 0, 0xd639, 4, 0x00, 0x00, 0x00, 0x40, 3; name="st" class="scsi" target=X lun=0;
26
Sun Systems, Solaris (SunOS 5. x)
for Solaris 9:
tape-config-list = "HP Ultrium 1", "HP Ultrium LTO 1", "HP_LTO_GEN_1", HP_LTO_GEN_1 =, 0x3B, 0, 0x18659, 4, 0x40, 0x40, 0x40, 0x40, 3, 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 27 below 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 *
Sun Systems, Solaris (SunOS 5. x)
3 Do a reconfigure boot:
% cd / % touch /reconfigure % sync;halt
4 When the system is down, reboot:
% boot -r
Make sure you include the -r switch, so that the device directory is reconfigured using the new data. 5 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. Once the device files have been created, you should confirm that your new tape drive is working properly. Chapter 6, "Verifying the Installation" provides instructions on backing up and restoring a sample file to test your installation.
HP-Data Values
The values for HP_LTO_GEN_1 and name, which provide normal LTO mode, have the following meanings:
Sun Systems, Solaris (SunOS 5. x) 27
The syntax for HP_LTO_GEN_1 on Solaris 8 or earlier is:
<drive type> = <version>, <type>, <bsize>, <options>, <no. of densities>, <density 0>, <density 1>, <density 2>, <density 3>, <default density>
The syntax for HP_LTO_GEN_1 on Solaris 9 is:
<drive type> = <version>, <type>, <bsize>, <options>, <no. of densities>, <density 0>, <density 1>, <density 2>, <density 3>, <default density>, <non-motion timeout>, <read/write timeout>, <rewind timeout>, <space timeout>, <load timeout>, <unload timeout>, <erase timeout>
where:
Parameter <version> <type> Value 1 0x36 Meaning
Indicates that this is the first version. The value for an Ultrium drive in /usr/include/sys/mtio. h. [. . . ] In an autoloader, the changer mechanism is LUN1. Small Computer System Interface--a standard command specification and command set that enables computers and peripherals to communicate with each other. HP's Ultrium drives adhere to the SCSI-3 specification and support all features required by that standard. Single-Ended and Low Voltage Differential SCSI These terms define how the signals are transmitted along the cable. [. . . ]