Amanda-Users

More stupid n00bie questions....maybe

2003-03-03 13:29:40
Subject: More stupid n00bie questions....maybe
From: Hughes John <John.Hughes AT ubs DOT com>
To: amanda-users AT amanda DOT org
Date: Mon, 3 Mar 2003 10:23:33 -0600
Hi all,
        I searched the faq-o-matic and googled this, but there didnt seem to
be any definitive answers.

My amdumps seem to be working fine, but when I try to do an amrecover and
extract a single file, I get the errors below. As a side note, I have tried
using amrestore, to dump the entire backup that contains the file I was
extracting, and that works just fine...no problem.(I might mention that this
is a rather large dump....if that makes any difference...I will try a single
file recover from a smaller dump as a test). Any ideas from the vets?

John


When I run the amrecover proggy:
##########################################

Added /vsmhii.dat
amrecover> extract

Extracting files using tape drive /dev/nst0 on host localhost.
The following tapes are needed: UBS-GAM002

Restoring files into directory /tmp/foo
Continue? [Y/n]: y

Load tape UBS-GAM002 now
Continue? [Y/n]: y
EOF, check amidxtaped.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
Continue? [Y/n]: n
amrecover> quit
200 Good bye.

#############################################

>From dmesg I get this:

##########################

st0: Error with sense data: Current st09:00: sense key Illegal Request
Additional sense indicates End-of-data detected

##########################

And in the debug output file amidxtaped.XXXXXXXXX.debug:

######################################################

amidxtaped: debug 1 pid 5339 ruid 34 euid 34 start time Mon Mar  3 11:12:47
2003
amidxtaped: version 2.4.2p2
> SECURITY USER root
bsd security: remote host localhost user root local user backup
amandahosts security check passed
> 6
amrestore_nargs=6
> -h
> -p
> /dev/nst0
> stlucia
> ^/nfsbackups/eros$
> 20030227
Ready to execv amrestore with:
path = /usr/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-h"
argv[2] = "-p"
argv[3] = "/dev/nst0"
argv[4] = "stlucia"
argv[5] = "^/nfsbackups/eros$"
argv[6] = "20030227"
amrestore: error reading file header: Input/output error
amidxtaped: amrestore terminated normally with status: 2
Rewinding tape: done
amidxtaped: pid 5339 finish time Mon Mar  3 11:13:21 2003

##########################################################

_______________________________________________________________________________
This e-mail, and any attachments, are confidential and access
by anyone other than the addressee(s) is unauthorized. The 
security of e-mail communication cannot be guaranteed and 
neither UBS AG, nor any of its affiliates, accepts liability 
for claims arising as a result of the use of this medium to 
transmit messages from or to UBS AG, or any of its affiliates.
If you are not the intended recipient, any disclosure, 
copying, forwarding or distribution of this e-mail is 
prohibited. We would be grateful if you would notify the 
sender of any instances where this occurs.

<Prev in Thread] Current Thread [Next in Thread>
  • More stupid n00bie questions....maybe, Hughes John <=