
Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating System
6464215-01, Rev B
January 2006
Obtaining Device Information Using /proc/scsi/scsi 10
Identifying the Tape
Devices
0
You can identify the tape device by looking at the values listed for “channel”
(PCI Bus), “
id” (SCSI ID), and “lun” (lun is always “0” for standalone
configurations).
If you have more than one tape device, you should see similar lines of output
for each device.
What To Do if Device
Information is Missing
0
If you do not see the information for every attached tape device, then the st
driver is not communicating with the missing device(s). Try the following
solutions:
• Verify that the connector cable length does not exceed the specifications
listed in your product manual.
• Make sure the SCSI bus is terminated properly (see your product manual
for instructions).
• Ensure there are enough
st tape device nodes for all your attached tape
devices. If not, you will need to create more. See Creating Device Nodes
on page 15 and Creating No-Rewind Device Nodes
on page 16.
Obtaining Device Information Using /proc/scsi/scsi 0
To obtain information about a specific tape drive, view the /proc/scsi/scsi file.
What is the /proc File
System?
0
The /proc file system is a map to the running kernel process. It displays a list of
connected SCSI devices. It is not a disk-based file system and is dynamic to
reflect the current boot-up information.
Viewing /proc Files 0 The recommended method to view /proc files is to use the cat command piped
( | ) with command
more or less. Execute the following command:
# cat /proc/scsi/scsi | less
The output will look something like the following:
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: QUANTUM Model: SDLT320 Rev: 5252
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 03 Lun: 00
Caution: Do NOT execute the cat command on the /proc/kcore file. This
unique file contains a running image of the kernel’s memory at
that particular moment. Executing the
cat command on this
file will render your terminal unusable.
Kommentare zu diesen Handbüchern