Amanda-Users

RE: amrecover: Unexpected end of file

2005-05-11 13:14:43
Subject: RE: amrecover: Unexpected end of file
From: "Lei Zhong" <lzhong AT applimation DOT com>
To: <amanda-users AT amanda DOT org>
Date: Wed, 11 May 2005 12:43:01 -0400
I ran amverify <config>.  Here is what I got:

No tape changer...
Tape device is /dev/nst0...
Verify summary to amanda
Defects file is /tmp/amanda/amverify.5329/defects
amverify Daily
Wed May 11 12:39:29 EDT 2005

Using device /dev/nst0
Waiting for device to go ready...
Rewinding...
Processing label...
Volume DailySet104, Date 20050510
Rewinding...
End-of-Tape detected.
Rewinding...

When I ran "amrestore /dev/nst0 <host name>", I got 
amrestore:   1: reached end of tape: date 20050510

Does anybody know how to fix this?

Thank you, Lei
-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org] On Behalf Of Hull, Dave
Sent: Tuesday, May 10, 2005 5:42 PM
To: amanda-users AT amanda DOT org
Subject: RE: amrecover: Unexpected end of file

I've had similar problems in the past for unknown reasons. In several
instances running amverify <config> on the tape in question has been
enough to correct the problem and allow me to restore.

Good luck.

-- 
Dave Hull
Networking and Telecommunications Services
A Division of Information Services
The University of Kansas


-----Original Message-----
From:   owner-amanda-users AT amanda DOT org on behalf of L Sydow
Sent:   Tue 5/10/2005 5:07 PM
To:     amanda-users AT amanda DOT org
Cc:     
Subject:        amrecover: Unexpected end of file
I'm not finding any information that has helped me on this one either:

bash-3.00# /opt/sfw/sbin/amrecover -C Daily -s pollock  (also tried
amrecover -C Daily -s pollock -t pollock)
AMRECOVER Version 2.4.4. Contacting server on pollock ...
amrecover: Unexpected end of file, check amindexd*debug on server
pollock


bash-3.00# cat /tmp/amanda/amrecover.20050510135806.debug
amrecover: debug 1 pid 1252 ruid 0 euid 0: start at Tue May 10 13:58:06
2005
amrecover: stream_client_privileged: connected to 134.10.176.15.10082
amrecover: stream_client_privileged: our side is 0.0.0.0.834