From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Curt Steinmetz Newsgroups: gmane.os.tru64.managers Subject: malloc problem with dump/restore Date: Tue, 27 Apr 2004 15:45:24 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <6D2C2124-9883-11D8-9927-000A95A939C8@cola.iges.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; format=flowed; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1083095174 28601 80.91.224.253 (27 Apr 2004 19:46:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2004 19:46:14 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Apr 27 21:46:00 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 1BIYWl-0003uB-00 for ; Tue, 27 Apr 2004 21:46:00 +0200 Original-Received: (qmail 12926 invoked by uid 5); 27 Apr 2004 19:45:50 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12911 invoked by uid 49501); 27 Apr 2004 19:45:50 -0000 Original-Received: from curt@cola.iges.org 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.9/5.0):. Processed in 0.755431 secs); 27 Apr 2004 19:45:50 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 27 Apr 2004 19:45:48 -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 <0HWU003BHHKBEO@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 27 Apr 2004 15:45:48 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HWU00L02HJYWN@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 27 Apr 2004 15:45:35 -0400 (EDT) Original-Received: from cola.iges.org (cola.iges.org [192.239.84.10]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HWU00FBDHJWDE@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 27 Apr 2004 15:45:33 -0400 (EDT) Original-Received: from [192.239.84.224] by cola.iges.org (8.11.1/1.1.22.3/16Jan00-0454PM) id i3RJjVF0000398076; Tue, 27 Apr 2004 15:45:32 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Apple Mail (2.613) Xref: main.gmane.org gmane.os.tru64.managers:6873 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6873 I have encountered an annoying problem trying to retrieve some files from a dump tape using restore. The tape was created with the following script: mt -f /dev/ntape/tape0c rewind /usr/sbin/dump -0uf /dev/ntape/tape0c / /usr/sbin/dump -0uf /dev/ntape/tape0c /usr /usr/sbin/dump -0uf /dev/ntape/tape0c /usr/local /usr/sbin/dump -0uf /dev/ntape/tape0c /homes/cola /usr/sbin/dump -0uf /dev/ntape/tape0c /var /usr/sbin/dump -0uf /dev/ntape/tape0c /var/spool/mail mt -f /dev/ntape/tape0c offline And now I am trying to restore a users files from the partition /homes/cola (the fourth partition in the dump). I use these three commands to start up an interactive restore from the command line: # mt -f /dev/ntape/tape0c rewind # mt -f /dev/ntape/tape0c fsf 3 # /usr/sbin/restore if /dev/ntape/tape0c And I get this error message: Cannot malloc space for directory list, errno = 12 I have done many restores using exactly this scenario but this is the first time I have tried since we upgraded from 4.0F to 5.1b, and also from DLT to SDLT. If I go to the partition prior to /homes/cola, ie, if I do "fsf 2" rather than "fsf 3" I can do a restore no problem (but I don't need to restore anything from /usr/local!!!!). I found a "solution" in the archives - to use vdump and vrestore, but that won't work for a tape that's already written using just plain old "dump" (I tried anyway). Any suggestions? Sincerely, Curt Steinmetz curt@cola.iges.org www.iges.org