Amanda-Users

Re: amrecover problem

2004-06-28 17:16:29
Subject: Re: amrecover problem
From: Frederic Medery <dist-list AT LEXUM.UMontreal DOT CA>
To: Bernard McAuley <bernard.mcauley AT phyworks-ic DOT com>
Date: Mon, 28 Jun 2004 15:05:04 -0400


I had the same prob (the 0 problem). But it's still not working (other reason). Here is my

amidxtaped... :
amidxtaped: debug 1 pid 1566 ruid 33 euid 33: start at Mon Jun 28
13:21:51 2004
amidxtaped: version 2.4.4p1
amidxtaped: time 0.000: > SECURITY USER root
amidxtaped: time 0.001: bsd security: remote host localhost.localdomain
user root local user amanda
amidxtaped: time 0.002: amandahosts security check passed
amidxtaped: time 0.002: > CONFIG=weekly
amidxtaped: time 0.002: > LABEL=weekly-05
amidxtaped: time 0.002: > FSF=23
amidxtaped: time 0.002: > HEADER
amidxtaped: time 0.002: > DEVICE=/dev/nst0
amidxtaped: time 0.002: > HOST=^urbino$
amidxtaped: time 0.002: > DISK=^/home/users$
amidxtaped: time 0.002: > DATESTAMP=20040529
amidxtaped: time 0.002: > END
amidxtaped: time 0.007: amrestore_nargs=0
amidxtaped: time 0.008: Ready to execv amrestore with:
path = /usr/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-p"
argv[2] = "-h"
argv[3] = "/dev/nst0"
argv[4] = "^urbino$"
argv[5] = "^/home/users$"
argv[6] = "20040529"
amrestore: WARNING: not at start of tape, file numbers will be offset
amrestore:   0: reached end of information
amidxtaped: time 0.047: amrestore terminated normally with status: 1
amidxtaped: time 0.047: rewinding tape ...
amidxtaped: time 9.815: done
amidxtaped: time 9.815: pid 1566 finish time Mon Jun 28 13:22:00 2004

Frédéric Médery
Administrateur Système
LexUM, Université de Montréal

mederyf AT lexum.umontreal DOT ca
tel. : (514) 343-6111  #3288



Bernard McAuley wrote:

Hi,

I've had the same message yesterday - I suggest you read the
/tmp/Amanda/amidxtaped.<timestamp>.debug file and post the contents.  In
my case amrecover was being passed a '0' for the tapedev instead of a
suitable tape device.  This was because it was picking up my chg-scsi
setup, and mapping the device name (0) instead of the device type
(/dev/nst0) to amrestore.  I worked around this but using the settape
/dev/nst0 to pick up the tape device directly and avoid the /dev/sg
devices altogether which amrestore couldn't cope with.

Regards,

Bernard McAuley
bernard.mcauley AT phyworks-ic DOT com


-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org]
On Behalf Of Frederic Medery
Sent: 28 June 2004 15:58
To: Mailing List Amanda User
Subject: amrecover problem

Hello,

When I tried to recover a folder called "my folder" (with space in it,
I
don't know if this could be the problem). I have for time to time,
Segment Fault.

and when I try to recover (when I don't receive the error) with the
extract command :

Load tape weekly-05 now
Continue [?/Y/n/s/t]? Y
EOF, check amidxtaped.<timestamp>.debug file on localhost.
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
extract_list - child returned non-zero status: 1


Some hints ??
Thanks !!

--
Frederic Medery
System Administrator

LexUM, University of Montreal





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