Amanda-Users

Re: amrecover "Tape is not a dump tape" but amrestore works?

2006-07-12 10:24:36
Subject: Re: amrecover "Tape is not a dump tape" but amrestore works?
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 12 Jul 2006 10:19:19 -0400
On Wed, Jul 12, 2006 at 08:38:16AM -0400, Julian C. Dunn wrote:
> Just following up on my own message. I'll try and be more succinct;
> maybe all my debugging info turned people off:
> 
> What does
> 
> > ----8<----
> > Extracting files using tape drive /dev/nrsa0 on host 
> > aphrodite.acf.aquezada.com.Load tape dltbw14 now
> > Continue [?/Y/n/s/t]? Y
> > Tape is not a dump tape
> > extract_list - child returned non-zero status: 1
> > ----8<----
> 
> mean?
> 

Sometimes people just don't have an answer, so they don't post :)

I grep'ed the source, that message "Tape is not a dump tape" does
not come directly from amanda.  It must be coming from an auxilliary
program.  As it is refering to "dump", I suspect it is coming from
the restore program (restore, ufsrestore, ???restore, not amrestore).

So whatever was fed by amrecover to the restore program did not
appear to be created by the corresponding dump program.

Do you use dump/restore in your amanda dumptypes or gnutar?

When directed to do so, did you manually load the correct tape
and rewind it before typeing "y"?

Are you trying to extract the files on a different machine
where the dump/restores are different than on the source?

Just random thoughts.

-- 
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)