Table of ContentsLibraryView in Frames

Displaying status information

You display status information to find out whether you can read with a device or to verify that a tape drive is not in use.

Step

  1. To display status information about a tape device and the drive associated with it, enter the following command: mt -f device status

    device is the name of the tape device.

Example

mt -f nrst0a status

A display like the following appears:

Tape drive: Quantum DLT7000
Status: ready, write enabled
Format: 85937 bpi 70 GB (w/comp)
fileno = 0  blockno = 95603  resid = 0

The fields in the display are explained in the following table.

Field Description
Tape drive The model of the tape drive.
Status Whether the tape drive is ready and write-enabled.
Format The number of bytes per inch, total capacity in gigabytes, and whether data compression is used.
fileno The current tape file number; numbering starts at 0.
blockno The current block number.
resid The number of bytes that the drive attempted to write or read but could not because the end of tape was reached.