Amanda-Users

RE: file not found on Tape

2002-11-27 14:26:49
Subject: RE: file not found on Tape
From: "Rebecca Pakish Crum" <rebecca AT unterlaw DOT com>
To: <amanda-users AT amanda DOT org>
Date: Wed, 27 Nov 2002 12:54:26 -0600
What do you see when you run this command as root:
su amanda -c "amadmin <configname> find <clientcomputername> 
<filenameyouwanttorestore>"

Is it, in fact, listed as being backed up to the tape you're using?

Is the tape rewound? (sounds stupid, but this has gotten me before...)

Is this dump or tar? If tar, are you using a good version? A crappy version of 
tar leaves gibberish in your index file and it won't give you an error on 
backup and it won't find file on restore.



-----Original Message-----
From: Jon LaBadie [mailto:jon AT jgcomp DOT com]
Sent: Wednesday, November 27, 2002 12:09 PM
To: amanda-users AT amanda DOT org
Subject: Re: file not found on Tape


On Wed, Nov 27, 2002 at 12:55:58PM -0500, Axel Haenssen wrote:
> Hi Guys,
> I am running amanda on a linux cluster. The backup reports no errors but
> when I try to restore amanda tells me that the requested file is not on
> the tape (It should be there since I can see it with the "ls" command
> under amrecover). Following is the amidxtaped.debug report:
> 
> 
> amidxtaped: debug 1 pid 4738 ruid 33 euid 33 start time Wed Nov 27
> 11:06:18 2002
> amidxtaped: version 2.4.3b3
> > SECURITY USER root
> bsd security: remote host localhost.localdomain user root local user
> amanda
> amandahosts security check passed
> > 6
> amrestore_nargs=6
> > -h
> > -p
> > /dev/nst0
> > node16
> > ^/home$
> > 20021123
> Ready to execv amrestore with:
> path = /usr/local/sbin/amrestore
> argv[0] = "amrestore"
> argv[1] = "-h"
> argv[2] = "-p"
> argv[3] = "/dev/nst0"
> argv[4] = "node16"
> argv[5] = "^/home$"
> argv[6] = "20021123"
> amrestore:   0: skipping start of tape: date 20021123 label DMP004
> amrestore:   1: skipping node9._scratch.20021123.1
> amrestore:   2: skipping node12._scratch.20021123.1
> amrestore:   3: skipping node14._scratch.20021123.1
> amrestore:   4: skipping node2._scratch.20021123.1
> amrestore:   5: skipping node6._scratch.20021123.1
> amrestore:   6: skipping node17._scratch.20021123.1
> amrestore:   7: skipping node7._scratch.20021123.1
> amrestore:   8: skipping node8._scratch.20021123.2
> amrestore:   9: skipping node11._scratch.20021123.1
> amrestore:  10: skipping node13._scratch.20021123.1
> amrestore:  11: skipping node5._scratch.20021123.1
> amrestore:  12: skipping node10._scratch.20021123.1
> amrestore:  13: skipping node4._scratch.20021123.2
> amrestore:  14: skipping node3._scratch.20021123.2
> amrestore:  15: restoring node16._home.20021123.0
>  incomplete distance tree
>  
> gzip: stdin: invalid compressed data--format violated
> Error 32 (Broken pipe) offset 1150746624+32768, wrote 0
> amrestore: pipe reader has quit in middle of file.
> amidxtaped: amrestore terminated normally with status: 2
> Rewinding tape: done
> amidxtaped: pid 4738 finish time Wed Nov 27 12:08:57 2002
> 
> What went wrong?

Do you use multiple tapes per run?  If so, maybe this is the
last file attempted for this tape before it filled.  In that
case, I think the complete file would be the first file on
the next tape.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>