Wednesday, April 2, 2008

AIX Tape Operation

To change block size
# chdev -l rmt0 -a block_size=512
# chdev -l rmt0 -a block_size=0 ##if need to use dd command for tape

The most common tctl subcommands are: fsf Moves the tape forward the number of file marks specified by Count.
# tctl -f bsf
Moves the tape backwards the number of file marks specified by Count.
# tctl -f rewind
Rewinds the tape.
# tctl -f erase
Erases all contents on the tape and rewinds it.
# tctl -f retension
Fast-forwards, then rewinds the tapeBackupsAIXbackup_AIXAIXBackupsbackup_AIX