From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079036515559.tru64-unix-managers.marc@archive.invalid> From: "A. Mahendra Rajah, Systems Manager" Date: Mon, 08 Feb 1999 20:28:05 +0000 To: tru64-unix-managers Subject: How to duplicate a tape? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079036515559 We are trying to duplicate a DLT tape to another tape using two DLT tape drives and the `dd' command, but having no success! The master tape (a DLT IV) was written on a TZ88 tape drive as follows: tar cvf /dev/nrmt1h $file # a null file whose name is today's date mt -f /dev/nrmt1h eof 1 # write an eof mark. And then, for every mount point, we have the command /sbin/vdump -0 -C -D -N -u -f /dev/nrmt1h We are trying to copy all the vdump save-sets on this tape to another tape (a DLT-III) mounted on a TZ87. The command we used is dd if=/dev/nrmt1h of=/dev/nrmt0h skip=1 files=10 bs=61440 conv=notrunc or variations of it. This copies the first saveset only as verified using the vrestore command which lists the contents of the first saveset OK and then displays the following error: vrestore: unable to use save-set; invalid or corrupt format ************* PROGRAM ABORT ************** vrestore: can't obtain fileset attributes An mt rewind, mt fsf 1 (or mt fsr 1) followed by the vrestore -t produces the same error message. vrestore correctly lists the contents of all the savesets on the master tape! Any suggestions? Thanks. -- mahendra ......................................................................... A. Mahendra Rajah Email: Mahendra@Meena.CC.URegina.CA VMS & DUNIX Systems Manager Phone: (306) 585-4496 Dept. of Computing Services FAX: (306) 585-5060 University of Regina, Regina, Sask., S4S 0A2 Canada. .........................................................................