assume (tape drive connected in /dev/rmt/1)
mt command used to control the tape drive.
1. Dispaly the status of tape device
#mt -f /dev/rmt/1 status
Quantum Super DLT 320 tape drive:
sense key(0x6)= Unit Attention residual= 0 retries= 0 file no= 0 block no= 0
2. Rewinding the Tape
#mt -f /dev/rmt/1 rewind
3. Erase tape content
#mt -f /dev/rmt/1 erase
4. Forward tape to next appended backup
#mt -f /dev/rmt/1 fsf1
5. Backward tape to previous appended job
#mt -f /dev/rmt/1 bsf0
6. Eject the tape from tape drive
#mt -f /dev/rmt/1 offline
Wednesday, December 17, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment