HP (Hewlett-Packard) Q1538-90925 Portable Media Storage User Manual


 
HP Ultrium drives technical reference manual, volume 5: UNIX configuration guide 23
HP restricted
6 Sun Systems, Solaris 8, 9, 10
Determining the SCSI ID
Before you configure your system to support an HP Ultrium drive, 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:
% modinfo | grep "HBA Driver"
This produces output similar to the following:
106 780a0000 102b3 50 1 glm (GLM SCSI HBA Driver)
110 780b4000 1272c 228 1 qus (isp10160 HBA Driver)
For the adapter to which the new tape drive is attached, you need to determine what SCSI IDs
are already used.
2. Determine the SCSI IDs of existing devices attached to the SCSI controller:
For all adapters:
% dmesg | egrep ".*xxx.*target" | sort | uniq
where xxx = the type of adapter (esp, glm, fas, qus or isp), as appropriate.
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. Here, you would choose 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. Identify the line for the tape drive. 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.
For optimal performance, ensure that you have the following minimum patch number:
Minimum patch
Solaris 8 108725-18
Solaris 9 113277-27