beautypg.com

Sun systems, solaris 8, 9, 10, Determining the scsi id, 6 sun systems, solaris 8, 9, 10 – HP Ultrium Tape Drive User Manual

Page 27: Chapter 6

background image

Determining the SCSI ID

Su

n S

ystems

, S

ola

ris

8

, 9

, 10

27

6 Sun Systems, Solaris 8, 9, 10

Determining the SCSI ID

Before you configure your system to support an 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:

% modinfo | grep "HBA Driver"

This will produce 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 will need to determine what

SCSI IDs are already used.

2.

Determine the SCSI IDs of the 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. In this situation, you would use a SCSI ID from 1 to 5 for the new

tape drive.