How to duplicate a tape?

From: A. Mahendra Rajah, Systems Manager <A.Mahendra.Rajah_at_Meena.CC.URegina.CA>
Date: Mon, 08 Feb 1999 14:28:05 -0600 (CST)

   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 <mount_point>

   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_at_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.
.........................................................................
Received on Mon Feb 08 1999 - 20:47:15 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT