Amanda-Users

[Fwd: Re: Problem with amrecover]

2003-03-18 13:34:06
Subject: [Fwd: Re: Problem with amrecover]
From: Rainer Wiener <rwiener AT skilldeal DOT com>
To: amanda-users <amanda-users AT amanda DOT org>
Date: Tue, 18 Mar 2003 17:40:30 +0100

--
skilldeal - Ihr Partner für IT-Projekte
Rainer Wiener
skilldeal AG
Gitschiner Str. 94
D-10969 Berlin
Tel:     +49 (0) 30  61 6558 -65/ -60
Fax:     +49 (0) 30  61 6558 -66
E-Mail: rwiener AT skilldeal DOT com
Internet: http://www.skilldeal.com


This message may contain confidential and/or privileged information. If
you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose or take any action based on
this message or any information herein. If you have received this in
error, please advise the sender immediately by reply e-mail and delete
this message. Thank you for your cooperation.
--- Begin Message ---
Subject: Re: Problem with amrecover
From: Rainer Wiener <rwiener AT skilldeal DOT com>
To: Joshua Baker-LePain <jlb17 AT duke DOT edu>
Date: Tue, 18 Mar 2003 17:35:36 +0100
Joshua Baker-LePain schrieb:
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?

Yes, in the email from amanda stand:

ha-node01.be hda2        0  633280 228192  36.0 256:33  14.8   4:35 830.7



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

I use Debian 3.0 (woody)

Linux amanda 2.2.18pre21 #1 Sat Nov 18 18:47:15 EST 2000 i586 unknown
tar (GNU tar) 1.13.25

Is the kernel to old?

cu
Rainer
--
skilldeal - Ihr Partner für IT-Projekte
Rainer Wiener
skilldeal AG
Gitschiner Str. 94
D-10969 Berlin
Tel:     +49 (0) 30  61 6558 -65/ -60
Fax:     +49 (0) 30  61 6558 -66
E-Mail: rwiener AT skilldeal DOT com
Internet: http://www.skilldeal.com


This message may contain confidential and/or privileged information. If
you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose or take any action based on
this message or any information herein. If you have received this in
error, please advise the sender immediately by reply e-mail and delete
this message. Thank you for your cooperation.


--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • [Fwd: Re: Problem with amrecover], Rainer Wiener <=