* TK50 dding help needed
@ 1996-08-05 4:00 David Manchester
1996-08-05 4:00 ` Tim Shoppa
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: David Manchester @ 1996-08-05 4:00 UTC (permalink / raw)
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.
Cheers
/dave
--
---------------------------------------------------------------------------
| David Manchester <mustang@tartarus.uwa.edu.au> | " Get A Dog Up Ya! " |
| -Stay in the pink, with ciggies and drink!(Viz) | -Cosmic Psychos |
---------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: TK50 dding help needed
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
1996-08-10 4:00 ` David Manchester
2 siblings, 2 replies; 6+ messages in thread
From: Tim Shoppa @ 1996-08-05 4:00 UTC (permalink / raw)
In article <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.
What is the format of the tape? Are all the records of identical
size? If not, he'll have to determine the sizes manually (via
'tcopy', which I think is standard in Ultrix) and dd each group
of tape records by hand. Standard dd doesn't deal well with variable-sized
tape blocks unless you hold its hand all the way through...
Tim. (shoppa@triumf.ca)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TK50 dding help needed
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.
1 sibling, 0 replies; 6+ messages in thread
From: Dan Ts'o @ 1996-08-07 4:00 UTC (permalink / raw)
Tim Shoppa (shoppa@alph02.triumf.ca) wrote:
: In article <4u5asj$egf@enyo.uwa.edu.au>,
: David Manchester <mustang@tartarus.uwa.edu.au> wrote:
: >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.
: What is the format of the tape? Are all the records of identical
: size? If not, he'll have to determine the sizes manually (via
: 'tcopy', which I think is standard in Ultrix) and dd each group
: of tape records by hand. Standard dd doesn't deal well with variable-sized
: tape blocks unless you hold its hand all the way through...
: Tim. (shoppa@triumf.ca)
Yes, that is correct. I have a tcopy of my own that does this. It can
either make a direct tape-to-tape copy or read in a multi-file multiple record
sized tape files, store them onto disk, and produce a shell file with all the
appropriate 'dd' commands to copy them back onto tape (particularly useful when
you only have one tape drive).
--
Cheers,
Dan Ts'o 212-327-7671
Dept. of Neurobiology FAX: 212-327-7671
The Rockefeller University
1230 York Ave. Box 138 dantso@cris.com
New York, NY 10021 dan@dna.rockefeller.edu
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: TK50 dding help needed
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.
1 sibling, 0 replies; 6+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1996-08-07 4:00 UTC (permalink / raw)
In article <4u5iku$bhi@nntp.ucs.ubc.ca>, shoppa@alph02.triumf.ca (Tim Shoppa) writes:
>In article <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.
>
>What is the format of the tape?
If the tape is an ULTRIX distribution the format of the tape is
a series of tape files. The first file on the tape uses a block
size of 512 bytes. Depending on the architecture the 2nd file
will also be 512 bytes. Every file after that will use a 10240
block size. I think it is the VAX architecture systems that have
the 2nd file being 512 byte records, but it has been too long
since I've seen one to be sure.
The actual files on the tape are:
1. Boot
2. 2nd Boot or Empty
3. Root file system dump
4. Tar archive of installation control files (INSTCTRL)
5. BASE
6. BIN
x. remaining subsets
Recent distributions will have the subset archives compressed,
but the INSTCTRL isn't. In it you will have find a UDT.image
or ULT.image. This lists the order of subsets and expected
checksums of the files on the tape after the boot files.
So to perform a tape to tape copy of a distribution (assuming
rmt0 is the source and rmt1 is the destination):
dd if=/dev/nrmt0h of=/dev/nrmt1h bs=512
dd if=/dev/nrmt0h of=/dev/nrmt1h bs=[ 512 | 10240 ] - You'll have to know.
dd if=/dev/nrmt0h of=/dev/nrmt1h bs=10240
repeat until end of tape
>
>Tim. (shoppa@triumf.ca)
>
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TK50 dding help needed
1996-08-05 4:00 TK50 dding help needed David Manchester
1996-08-05 4:00 ` Tim Shoppa
@ 1996-08-07 4:00 ` bkort
1996-08-10 4:00 ` David Manchester
2 siblings, 0 replies; 6+ messages in thread
From: bkort @ 1996-08-07 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TK50 dding help needed
1996-08-05 4:00 TK50 dding help needed David Manchester
1996-08-05 4:00 ` Tim Shoppa
1996-08-07 4:00 ` bkort
@ 1996-08-10 4:00 ` David Manchester
2 siblings, 0 replies; 6+ messages in thread
From: David Manchester @ 1996-08-10 4:00 UTC (permalink / raw)
I, (mustang@tartarus.uwa.edu.au) wrote:
:
: 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.
Thank you, one and all who replied. Your help is much appreciated.
Cheers
/dave
--
---------------------------------------------------------------------------
| David Manchester <mustang@tartarus.uwa.edu.au> | " Get A Dog Up Ya! " |
| -Stay in the pink, with ciggies and drink!(Viz) | -Cosmic Psychos |
---------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1996-08-10 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1996-08-10 4:00 ` David Manchester
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox