Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

duplicate a tape

Status
Not open for further replies.

George221

MIS
Dec 2, 2005
50
US
I have a 4mm and a 3590 tape drive attached on my AIX system running at 5.1. How can I copy the data from the 4mm onto the 3590?. Thanks.
 
To copy blocks from a tape with 1KB blocks to another tape using 2KB blocks, type:
dd if=/dev/rmt0 ibs=1024 obs=2048 of=/dev/rmt1



rgds,

R.
 
In fact it is better to use tcopy (if both drives are on the same server as you have here) because tcopy will automatically copy all "tape files" from source to dest tape.

dd will stop at the first tapefile mark.

If you have multiple images on one tape (e.g. an mksysb tape), you would need several dd commands, and use the non-rewinding drives rmt0.1 and rmt1.1 to position the drive at the next tape file after each dd process.


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top