Sun systems, solaris 8, 9, 10, Determining the scsi id, Configuring the device files – HP Ultrium tape drives Q1538-90925 User Manual
Page 23: 6 sun systems, solaris 8, 9, 10, Chapter 6
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:
% modin fo | gre p "HBA Dr iver"
This produces output similar to the following:
106 780 a0000
1 02b3
50
1
glm (GLM SCSI HBA Driv er)
110 780 b4000
1 272c
228
1
qus (isp10160 HBA Driv er)
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 | u niq
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 | u niq
This produces a list similar to:
sd0 at esp0: ta rget 0 lu n 0 sd6 a t esp0: t arget 6 l un 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/rm t/*m | gr ep "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):
lrwxrwx rwx 1 ro ot root 6 3 Mar 1 0 0:00 /dev /rmt/0m
../../d evices/s bus@1f,0/ espdma@e, 8400000/e sp@e, 880 0000/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