To display tape drive status information, use the mt command.
$ mt -f /dev/rmt/n status |
Status for the tape drive you specify is displayed.
In the following example, there is no tape in drive /dev/rmt/1.
$ mt -f /dev/rmt/1 status /dev/rmt/1: no tape loaded or drive offline $ |
In this example, the status is shown for the tape in drive /dev/rmt/1.
$ mt -f /dev/rmt/1 status Archive QIC-150 tape drive: sense key(0x6)= unit attention residual= 0 retries= 0 file no= 0 block no= 0 $ |