Data fields for SCSI tape devices

There are specific data fields for SCSI tape devices.

Table 1. lstape data fields for SCSI tape devices
Attribute Description
Generic SCSI generic device file for the tape drive (for example, /dev/sg0). This attribute is empty if the sg_inq command is not available.
Device Main device file for accessing the tape drive, for example:
  • /dev/st0 for a tape drive that is attached through the Linux st device driver
  • /dev/sch0 for a medium changer device that is attached through the Linux changer device driver
  • /dev/IBMchanger0 for a medium changer that is attached through the IBMtape or lin_tape device driver
  • /dev/IBMtape0 for a tape drive that is attached through the IBMtape or lin_tape device driver
Target The ID in Linux used to identify the SCSI device.
Vendor The vendor field from the tape drive.
Model The model field from the tape drive.
Type "Tapedrv" for a tape driver or "changer" for a medium changer.
State The state of the SCSI device in Linux. This state is an internal state of the Linux kernel, any state other than "running" can indicate problems.
HBA The FCP device to which the tape drive is attached.
WWPN The WWPN (worldwide port name) of the tape drive in the SAN.
Serial The serial number field from the tape drive.