Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: bkort@labs-n.bbn.com ()
Subject: Re: TK50 dding help needed
Date: 1996/08/07	[thread overview]
Message-ID: <4uasb6$4bl@info-server.bbn.com> (raw)
In-Reply-To: 4u5asj$egf@enyo.uwa.edu.au


David Manchester (mustang@tartarus.uwa.edu.au) wrote:

: Hello an associate with buggered terminal emulation asked that I post
: thus:

: Does anyone know the correct incantations to back up some TK50 tapes with
: Ultrix-32 installs on them using a tz30?
: The machine is a DECstation 5000/125 (I think) running Ultrix-RISC and he
: is having problems with dd trying to getpast the TK-tape's header.

The trick here is to specify the correct blocksize for each file on
the tape.  The first one is always 512-byte.  Thereafter they could
vary.  Some are probably 10240.  About the only way to tell is to
play with dd, copying the first half dozen files or so to your
hard drive.  If you try different blocksizes, and pay close attention
to the records/bytes transferred, you can figure it all out.
After about the 4th or 5th file, the pattern should become clear.
The 3rd or 4th file is an ASCII table of contents and/or a file
meaningful to the restore -i command.  If any of the files are
DEC Header/Trailer files, they will include the blocksize information
on the data file sandwiched between them.  Usually you have to
write a shell script to copy the files, maintaining the correct
pattern of 512-byte and big-blocksize files.  I've been able
to copy from TK50 to TK70 media this way.  Utlrix installs and
Customer Diagnostic Tapes can be duplicated this way.  Each has
a distinct pattern of file blocksizes.

Barry Kort



  parent reply	other threads:[~1996-08-07  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-05  4:00 TK50 dding help needed David Manchester
1996-08-05  4:00 ` Tim Shoppa
1996-08-07  4:00   ` Dan Ts'o
1996-08-07  4:00   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-08-07  4:00 ` bkort [this message]
1996-08-10  4:00 ` David Manchester
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox