[NTLUG:Discuss] OT: mtx

Justin Mercier justinmercier2002 at yahoo.com
Tue May 25 05:34:10 CDT 2004


fredjame wrote:

> How can I tell when the tape is ready to use? 
>
After loading the tape with mtx I check the status with mt.

When the tape is not ready I get this response.

 # mt -f /dev/nst0 status
mt: /dev/nst0: Input/output error

When the tape is ready I get full print out along with the response that 
it is BOT.

# mt -f /dev/nst0 status
drive type = Generic SCSI-2 tape
drive status = 1073742848
sense key error = 0
residue count = 0
file number = 0
block number = 0
Tape block size 1024 bytes. Density code 0x40 (unknown).
Soft error count since last status=0
General status bits on (41010000):
 BOT ONLINE IM_REP_EN




More information about the Discuss mailing list