Amanda-Users

Re: Problem with amrecover

2003-03-18 12:38:49
Subject: Re: Problem with amrecover
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Rainer Wiener <rwiener AT skilldeal DOT com>
Date: Tue, 18 Mar 2003 10:59:14 -0500 (EST)
On Tue, 18 Mar 2003 at 4:17pm, Rainer Wiener wrote

>       argv[0] = "amrestore"
>       argv[1] = "-h"
>       argv[2] = "-p"
>       argv[3] = "/dev/nst0"
>       argv[4] = "ha-node01.berlin.skilldeal.com"
>       argv[5] = "^hda2$"
>       argv[6] = "20030317"
>       amrestore:   0: skipping start of tape: date 20030317 label             
>  
> SkillDealBackupFull01
>       amrestore:   1: skipping                                                
>  
> ha-node02.berlin.skilldeal.com.nb1.20030317.0
>       amrestore:   2: skipping                
> ha-node01.berlin.skilldeal.com.nb1.20030317.0
>       amrestore:   3: skipping ha-node01.berlin.skilldeal.com.nb0.20030317.0
>       amrestore:   4: skipping ha-node02.berlin.skilldeal.com.nb0.20030317.0
>       amrestore:   5: skipping        
> amanda.`erlin.siilldeal.com.hda1.20030317.0
>       amrestore:   6: skipping ha-node02.berlin.skilldeal.com.hda1.20030317.0
>       amrestore:   7: skipping ha-node01.berlin.skilldeal.com.hda1.20030317.0
>       amrestore: strange amanda header: "AMANDA: DILE 00030317 
> ha-node01.berlin.skilleal.com hda6 lev 0 comp .gz program /bin/tar"
>       amidxtaped: amrestore terminated normally with status: 0
>       Rewinding tape: done
>       amidxtaped: pid 31832 finish time Tue Mar 18 14:52:30 2003

So this looks like there was no backup of hda2 from ha-node01 on that 
tape.  Should there have been?

>       argv[0] = "amrestore"
>       argv[1] = "-h"
>       argv[2] = "-p"
>       argv[3] = "/dev/nst0"
>       argv[4] = "ha-node01.berlin.skilldeal.com"
>       argv[5] = "^hda1$"
>       argv[6] = "20030317"
>       amrestore:   0: skipping start of tape: date 20030317 label             
>  
> SkillDealBackupFull01
>       amrestore:   1: skipping ha-node02.berlin.skilldeal.com.nb1.20030317.0
>       amrestore:   2: skipping ha-node01.berlin.skilldeal.com.nb1.20030317.0
>       amrestore:   3: skipping ha-node01.berlin.skilldeal.com.nb0.20030317.0
>       amrestore:   4: skipping ha-node02.berlin.skilldeal.com.nb0.20030317.0
>       amrestore:   5: skipping amanda.`erlin.siilldeal.com.hda1.20030317.0
>       amrestore:   6: skipping ha-node02.berlin.skilldeal.com.hda1.20030317.0
>       amrestore:   7: restoring ha-node01.berlin.skilldeal.com.hda1.20030317.0
>        incomplete distance tree
> 
>       gzip: stdin: invalid compressed data--format violated
>       Error 32 (Broken pipe) offset 131072+32768, wrote 0
>       amrestore: pipe reader has quit in middle of file.
>       amrestore: skipping ahead to start of next file, please wait...
>       amidxtaped: amrestore terminated normally with status: 2
>       Rewinding tape: done
>       amidxtaped: pid 31876 finish time Tue Mar 18 15:12:39 2003

And that looks like either a corrupted file on tape, a bad gzip, or 
hardware problems.

What Linux distro are you running, and what version of tar is there?  If 
there's a 2.2.17 kernel laying around, it's gotta' be old...

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


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