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: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: TK50 dding help needed Date: 1996/08/07 Message-ID: <4uap5g$fc2@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 172731993 distribution: world references: <4u5asj$egf@enyo.uwa.edu.au> <4u5iku$bhi@nntp.ucs.ubc.ca> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.sys.dec 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 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