Linux, Determining the scsi id (linux), Configuring on linux systems – HP Ultrium tape drives Q1538-90925 User Manual

Page 19: 5 linux, Chapter 5, 5linux

Advertising
background image

HP Ultrium drives technical reference manual, volume 5: UNIX configuration guide

19

HP restricted

5

Linux

Determining the SCSI ID (Linux)

Look at the output of dmesg to find out what SCSI channel number is used for each connection.
To find out the SCSI IDs in use on each channel, type:

cat /pr oc/scsi/ scsi

This will produce output similar to the following for each device:

Attache d Device s

Host: S CSI0 Cha nnel: 00 Id:00 Lun :00

Vendor: HP Mode l ------- -----

Type: D irect-Ac cess ANSI SCSI Rev ision 02

Look at the ID information to establish which IDs are in use.

Configuring on Linux systems

No changes are needed to support Ultrium on Linux platforms, however you should ensure that you

have the relevant drivers loaded.
To see the device drivers loaded currently, execute lsmod. This will give output similar to:

Module Siz e Use d by

sgm 437 6 1

ide-scs i 720 0 0

lockd 307 92 1

sunrpc 533 16 1

st 246 56 0

sym53c8 xx 520 96 1

aic7xxx 136 184 2

The lines of interest here are:

Latest SCSI controller drivers for Linux are available from the manufacturer’s web site.
In order to communicate with a tape device, the operating system needs to have drivers for the tape

and the underlying transport mechanism (the host bus adaptor) loaded. Ensure that both are

available as either loadable modules (for example, usable with insmod and visible with lsmod) or

are statically built into your kernel.

st

The tape driver. Its presence shows that the tape driver is loaded.

sym53c8xx

The SCSI chipset driver for the LSI Logic family of HBAs (amongst others).

aic7xxx

The SCSI chipset driver for the Adaptec 7xxx chipset family (such as Adaptec

29160LP).

Advertising