Linux (kernel 2.6.x) servers and workstations, Determining the scsi id, Configuring on linux systems – HP LTO 4 SAS User Manual

Page 25: 5 linux (kernel 2.6.x) servers and workstations, Chapter 5, 5linux (kernel 2.6. x ) servers and workstations

Advertising
background image

HP LTO Ultrium 4 drives technical reference manual, volume 5: UNIX, Linux and OpenVMS configuration guide

23

5

Linux (kernel 2.6.x) servers and workstations

Determining the SCSI ID

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 LTO 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
This manual is related to the following products: