Monday, July 30, 2007

Copy the Contents of a Magnetic Tape to Another

If you need to copy the contents of a magnetic tape to another magnetic tape, it is a fairly easy task. However, prior to copying, ensure tapes are free of errors and rewound. Here is the syntax.

# mt -f /dev/rmt/0 rewind
# mt -f /dev/rmt/1 rewind

# tcopy /dev/rmt/0 /dev/rmt/1

1 comment:

Anonymous said...

The tcopy utility requires the use of Berkeley-compatible device names. For example,

example% tcopy /dev/rmt/1b /dev/rmt/2b