HP Ultrium Tape Drive manual Determining the Scsi ID Linux, Configuring on Linux Systems

Page 23

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 /proc/scsi/scsi

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

Attached Devices

Host: SCSI0 Channel: 00 Id:00 Lun:00

Vendor: HP Model ------------

Type: Direct-Access ANSI SCSI Revision 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 an lsmod command, this will give output like:

Module

Size

Used by

sgm

4376

1

ide-scsi

7200

0

lockd

30792

1

sunrpc

53316

1

st

24656

0

sym53c8xx

52096

1

aic7xxx

136184

2

The lines of interest here are:

st This is the tape driver. Its presence in the output of the lsmod command shows that the tape driver is loaded.

Linux

Determining the SCSI ID (Linux) 23

Image 23
Contents Generation 3 drives Version Date Changes Contents Verifying the Installation Documentation map Purpose of this manualRelated documents Documents specific to HP Ultrium drivesDrives-general Interface General documents and standardization How error correction worksIrvine, CA Tel 800 854 7179 or 714 261Page Introduction Backup ApplicationsIntroduction Ultrium Drives in a LibraryHP-UX AIX HP-UX Systems HP-UX SystemsHP Servers and Workstations-HP-UX Introduction Determining the Scsi IDSelect the following Creating the Device FilesFor an HP Ultrium drive, execute the following Where When you have exited sam, run ioscan to see the tape driveRun insf as follows To create a device file with the following characteristicsHardware path can be found from previous ioscan output For compressed mode defaultWhat Next? HP-UX Systems Add the following entry to your /dev/ddr.dbase file HP Alpha UnixHP Alpha Unix HP Alpha UnixWhat Next? This will produce output that looks similar to Configuring the Device FilesDetermining the Scsi ID Device Filenames under AIX Linux Configuring on Linux SystemsLinux Determining the Scsi ID LinuxThis should find a number of lines. One should look like Where /dev/stp is the device file Using the Seek and Tell Features of mtLinux This produces a list similar to Sun Systems, Solaris 8, 9Sun Systems, Solaris 8, 9 This will produce output similar to the followingLs -l /dev/rmt/*m grep st@X Determine the device file by typingHP-Data Values Do a reconfigure bootWhen the system is down, reboot Specifies the LUN for the device Values for the parameters for name are as followsSpecifies the Scsi ID target of the device Verifying the Installation Verifying the InstallationVerifying the Installation of the Drive Unix To verify the installationRead the file back from tape File The name of the file to archive, prefixed with ‘./’Extract the file from the tape Compare the original with the restored versionChange to the temporary directory Verifying the Installation Glossary GlossaryPoint-to-point connection between itself and the fabric Response to a filemark commandFibre Channel switching technology Features required by that standardGlossary Glossary AIX IndexIndex Index