From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Carl Christopher Bavington @ Langley" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Copying a saveset to disk. Date: Thu, 07 Aug 2003 13:57:14 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1060261068 3860 80.91.224.253 (7 Aug 2003 12:57:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2003 12:57:48 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Aug 07 14:58:10 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19kkLK-0007KB-00 for ; Thu, 07 Aug 2003 14:58:10 +0200 Original-Received: (qmail 17254 invoked by uid 5); 7 Aug 2003 12:58:01 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17245 invoked by uid 49493); 7 Aug 2003 12:58:01 -0000 Original-Received: from Carl.Bavington@ntl.com by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-0.5/5.0):. Processed in 0.435053 secs); 07 Aug 2003 12:58:01 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 7 Aug 2003 12:58:00 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HJ9007982ONHU@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 07 Aug 2003 08:57:59 -0400 (EDT) Original-Received: from mast-dc0-sm05.private.ntl.com (cabletel1.cableol.net [194.168.3.4]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HJ9003LL2OHK4@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 07 Aug 2003 08:57:54 -0400 (EDT) Original-Received: from mast-dc0-se03.private.ntl.com (unverified) by mast-dc0-sm05.private.ntl.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Thu, 07 Aug 2003 13:57:24 +0100 Original-Received: by mast-dc0-se03.private.ntl.com with Internet Mail Service (5.5.2656.59) id ; Thu, 07 Aug 2003 13:57:23 +0100 Content-return: allowed Original-To: "Tru64 Managers Mail Group \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2656.59) Xref: main.gmane.org gmane.os.tru64.managers:5059 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5059 Thanks to the many who replied. I used DrToms suggestion below; You can use the "/usr/field/tapex -m" utility to scan the tape and see what files it has and the physical record (block) sizes. You have to use the actual on-tape block (record) size in the "dd" command or you will get the wrong content on disk. You also have to rewind the tape manually at the beginning, then use the "no rewind" tape name (/dev/nrmt0h) when you issue the "dd" or you will get two copies of the first file, which is not what you want. If this isn't clear, ask. And "tapex" is in the optional "System Exercisers" subset so you might need to load it from the install media, and you want to read the reference page, and you need to run it as the root user but you could guess that.. The block size was 60k and the link from /dev/tape was for the non-rewind device?. > Managers, > > I have a AIT50 tape with 2 vdump savesets on it, / and usr. I am wanting > to put them on disk so I can restore them to another machine over the > network. > I have tried > dd if=/dev/tape of=/usr/tmp/SS1 then dd if=/dev/tape of=/usr/tmp/SS2 > > But when i do vrestore -t -f /usr/tmp/SS1 > I get a load of errors, and a core dump. Is it do with block sizes and if > so what should they be?. > > The tape drive is a AIT50, /dev/rmt0h and OS V4.0D > > TIA > > Carl Bavington > Senior Technical Analyst (CAS) > Tel: 01753 45(2082) > Mobile: 07970 709525 > ntl > The contents of this email and any attachments are sent for the personal attention of the addressee(s) only and may be confidential. If you are not the intended addressee, any use, disclosure or copying of this email and any attachments is unauthorised - please notify the sender by return and delete the message. Any representations or commitments expressed in this email are subject to contract. ntl Group Limited