From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b5cd24f9b659bb42 X-Google-Attributes: gid1164f8,public From: bkort@labs-n.bbn.com () Subject: Re: TK50 dding help needed Date: 1996/08/07 Message-ID: <4uasb6$4bl@info-server.bbn.com>#1/1 X-Deja-AN: 172803750 references: <4u5asj$egf@enyo.uwa.edu.au> organization: BBN, Inc. newsgroups: comp.sys.dec 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