SUMMARY: Tape-Disk-Tape copy

From: Paul Woods (woodsp@smtplink.indigo.co.il)
Date: Tue Aug 15 1995 - 17:11:02 CDT


Well, Kudos to all, but high praise to Niall O Broin and David L. Markowitz.

On to the problem.

I asked if anyone knew of an easy way to get tape images (exact duplicates) from
an Exabyte to a disk and then back to the Exabyte. The tapes had multiple
storage formats (tar, pkgadd etc...) and I could not get dd to do the trick the
way I wanted.

Naill wrote a nice little script that walks one through the task. Simple and to
the point. It works well (I used it to figure the syntax of dd correctly). It
however did not work for my application, so read on.

David L. Markowitz wrote a little utility that goes a few steps beyond, but I
did not get a chance to try it out.

My ultimate solution was to hijack an Exabyte from another machine and just use
tcopy. I did not want to do this, but I could not get dd to work exactly as I
desired.

tcopy made an exact duplicate of the tape for me.

tcopy /dev/nrstx /dev/nrstx
        source destination

Thanks to all,

Paul-

------------------------------------Messages Follow------------------------

Paul,
    Attached is a script I wrote years ago to do just what you want i.e. to
copy a tape. It assumes sufficient disk space for all the files from the tape
which may be a problem with an Exabyte, however without two tape drives, this or
something like it is the best you can do. I imagine it should be possible to
read
from one tape on the non-rewinding device until disk space is exhausted, then
write to another tape, then read, then write etc. but something Sun support told
me once about inexact positioning with Exabytes causes me to have doubts. I've
never needed it, so it's left as an exercise for the reader.

I hope this works for you.

Kindest regards,

Niall O Broin

European Space Operations Centre nobroin@esoc.esa.de
Darmstadt Ph. +49 6151 903619
Germany Fax. +49 6151 902420

 You want tcopy. Archie will find it.
 -Dave Fetrow fetrow@biostat.washington.edu
  http://www.biostat.washington.edu/biostat/staff/fetrow.html

pasken@thinder.slu.edu wrote:

    Use archie to look for the program tapecopy. It allows you to make
exact duplicates of tapes. If you have the disk space to store the tape
contents, you can copy the tape to disk via tapecopy and then mount a
second tape and do the reverse. A second alternative is tprobe. It will
copy a tape using user defined chunks on disk. It is less convienent since
it requires a lot of tape swapping and considering how "quickly" exabytes
come out of the drive this can be very frustrating.
RWP

You want a copy of tputil from Sun. Your Sun sales folks should be
able to give it to you.

--
- Nate Itkin
- Portland Technology Development, Intel Corporation      Aloha, Oregon
- E-mail:  Nate-Itkin@ptdcs2.intel.com

man tcopy.

l & h, kev

Paul,

I have used a utility named "tapecv - tape copy/verify" to copy from one tape to another when the drives are on different machines. I obtained it at:

ftp://ftp.std.com/src/util/tapecv.shar.gz

Regards, Tom ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tom Kinter tmk@mayo.edu 507-284-4981 Mayo Foundation Rochester, Minnesota 55905 USA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> I would like to make exact copies of the tapes using one utility. As I > do not have two exabytes for the same machine, it makes it slightly > more difficult for me to achieve this goal.

My tape copy-verify program (tapecv) can do what you want. It can use any two drives even over a network. Want it? ---

David L. Markowitz Litronic Industries David.Markowitz@litronic.com

Look through the old archives of comp.sources.unix (you should be able to find them on ftp.uu.net). Many years ago (at least 6, probably more like 8), a program called something like tape-to-tape was posted. It copies tapes, either directly drive to drive, or through a set of intermediate disk files. It deals with things like block size changes, etc. very nicely.

-- mikeV <Mike.Vevea@nmr.mgh.harvard.edu>

Look around for tputil and tprobe, available on various ftp sites. If you can't find them, I'll mail you source code.

Nico Garcia raoul@mit.edu My opinions are my own, not MIT's or my employer's or my cat's (Well, maybe my cat's....)



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:31 CDT