From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dennis.MacDonell@ga.gov.au Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Reading Vax/vms tapes on Unix Date: Wed, 04 Aug 2004 12:44:49 +1000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1091589384 31049 80.91.224.253 (4 Aug 2004 03:16:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Aug 2004 03:16:24 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Aug 04 05:16:15 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BsCGE-0004wW-00 for ; Wed, 04 Aug 2004 05:16:15 +0200 Original-Received: (qmail 23181 invoked by uid 5); 4 Aug 2004 03:16:00 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23158 invoked by uid 49501); 4 Aug 2004 03:16:00 -0000 Original-Received: from Dennis.MacDonell@ga.gov.au by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.7/5.0):. Processed in 1.161299 secs); 04 Aug 2004 03:16:00 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 4 Aug 2004 03:15:58 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I1W00D6ZJQL40@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 03 Aug 2004 23:15:58 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I1W00F02JQB7A@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 03 Aug 2004 23:15:48 -0400 (EDT) Original-Received: from martin.securenet.com.au (martin.securenet.com.au [202.125.0.71]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTPS id <0I1W00E9SJQ84A@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 03 Aug 2004 23:15:47 -0400 (EDT) Original-Received: from giblin.securenet.com.au (cbr-right.securenet.com.au [202.125.4.37]) by martin.securenet.com.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i743Fcm2016632 for ; Wed, 04 Aug 2004 13:15:38 +1000 Original-Received: from zeta.agso.gov.au (localhost [127.0.0.1]) by giblin.securenet.com.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i743FbWA011992 for ; Wed, 04 Aug 2004 13:15:37 +1000 Original-Received: from mail1.agso.gov.au (mail1.agso.gov.au [10.7.64.41]) by zeta.agso.gov.au (8.12.11/8.12.11) with ESMTP id i7439KrK007054 for ; Wed, 04 Aug 2004 13:15:09 +1000 (EST) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Thread-Topic: SUMMARY: Reading Vax/vms tapes on Unix Thread-Index: AcR5zQJ5Js/1aGFwQQ+tTggQdsMMHQ== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-Scanned-By: milter-spamc/0.19.268 (zeta [10.7.64.1]); Wed, 04 Aug 2004 13:15:36 +1000 Xref: main.gmane.org gmane.os.tru64.managers:7396 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7396 Original message: Hi, I have an exabyte tape that I have been told was written on a vax. When = I read the tape on a tru64 v4 system using "ltf -f /dev/nrmt1l", I get a = file with the name "as_23mar94_s5.bck". When I look at that file with "od -c" = or "strings" it would appear to be some sort of backup, which I am assuming = is a vmsbackup format type backup, since it talks about savesets. So I guess the question is does someone out there have some software = that will prise apart a vmsbackup tape that will run on DU 4.0f or latter. =20 I have tried compiling vmsbackup-v3.0 from freebsd, but it doesn't seem = to want to run. The compilation gives a warning "cast to pointer from = integer of different size", and I suspect that that might be at the cause of the problem. Also running the program, reports that there is an incorrect = block header size of 256 (should be 280 ???, probably due to the change in = word size on the alphas from 32 to 64???). Anyway, it looks like it might be = a bit of a hack to get this thing to work. Dennis Summary: I got a number of replies, some looked like spam which I removed. Most suggested using vbackup. I got the following answers (a) Damon Goforth [damon@compsus.com] - We use vbackup, from http://www.bosbc.com/vbackup.htm=20 (b) Richard Jackson [rjackson@mail01.gmu.edu] - Your salvation is = vbackup or accessing Digital UNIX 3.0 media kit to access a version of vbackup that = DEC had hacked. You want to install BBCBASE101 and BBCVBACKUP240 on the CD. (c) T. Horsnell (tsh) [tsh@mrc-lmb.cam.ac.uk] - I have a program called vbackup distributed under license by Boston Business Corporation (d) Tom Linden [tom@kednos.com] - If it were me I would do it on VMS and = make a tarball for unix. (e) James Sainsbury [J.Sainsbury@chem.usyd.edu.au] - The warning "cast = to pointer from integer of different size" on line 674 is harmless. Insert = the header containing the declaration of malloc() after to remove = the message. ie #include #include #include (If not declared a function is assumes to return an 'int' the cast block =3D (char *) malloc(blocksize); is casting from a 'int' to 'char*' (here int is 32 bits and pointers are 64 bits.)) The Makefile has -lV which is extraneous cc -o vmsbackup vmsbackup.c match.c should compile/link. If I remember correctly I ended up writing the saveset to tape and = running vmsbackup on that as I could not get it to read a diskfile which is what = I had from a CDROM. What I did: I found a copy of vmsbackup that had been hacked by someone at Utah Uni = and packaged as a .gz with a number of different compilations in the = package, including alpha-osf1 and used that. This version of vmsbackup ran but eventually also produced an error, after processing something like 1570 files, it came up with an "invalid record type" of 48nnn, and then = proceeded to have a segment violation??. The information that was captured off the = tape seems correct, so I'm not sure what went wrong. I'm just going to see = how many tape blocks this vmsbackup had managed to churn through, before I = look into this much further. Dennis ################################## Dennis Macdonell Sys Admin email: Dennis.Macdonell@ga.gov.au ##################################