Amanda-Users

Re: Amrecover fails when using tape spanning: Unexpected EOF in archive

2006-09-25 16:53:05
Subject: Re: Amrecover fails when using tape spanning: Unexpected EOF in archive
From: "David Trusty" <dwtrusty AT hotmail DOT com>
To: amanda-users AT amanda DOT org
Date: Mon, 25 Sep 2006 15:42:25 -0500
Hi,

I checked the logs. There is no error message, and I have no cron running either.

I can duplicate the problem every time.

Interestingly, the amrecover says that it will need two tapes.
When I put the first tape in, it reads it for a long time, gets the
error I noted below, and then just gives up on asking for the
second tape.

Any other ideas?

Thanks,

David



From: Ian Turner <ian AT zmanda DOT com>
To: "David Trusty" <dwtrusty AT hotmail DOT com>
CC: amanda-users AT amanda DOT org
Subject: Re: Amrecover fails when using tape spanning: Unexpected EOF in archive
Date: Mon, 25 Sep 2006 14:27:19 -0400

The "device or resource busy" message comes from your operating system.
Normally this error means that two programs tried to access the tape device
simultaneously.

I suspect one of the following:
1) A hardware problem or kernel bug. Check your kernel debug logs.
2) A cron job that accesses the tape. Check your cron log.

--Ian

On Friday 22 September 2006 19:21, David Trusty wrote:
> Hi,
>
> I am trying to restore a file which is on a backup
> which used tape spanning.  I am running version 2.5.1.
>
> The backup says it completed successfully, but I get
> the errors below from amrecover and imidxtaped.
>
> Any ideas?
>
> Thanks!!
>
> David
>
> amrecover output
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Looking for tape 104...
> tar: Read 8192 bytes from -
> tar: Unexpected EOF in archive
> tar: Error is not recoverable: exiting now
> Extractor child exited with status 2
>
>
> debug log for amidxtaped
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> midxtaped: 46: restoring split dumpfile: date 20060920 host helix disk
> /mnt/dataa/invention part 46/UNKNOWN lev 0 comp N program /bin/tar
> amidxtaped: 47: restoring split dumpfile: date 20060920 host helix disk
> /mnt/dataa/invention part 47/UNKNOWN lev 0 comp N program /bin/tar
> amidxtaped: 48: restoring split dumpfile: date 20060920 host helix disk
> /mnt/dataa/invention part 48/UNKNOWN lev 0 comp N program /bin/tar
> amidxtaped: 49: restoring split dumpfile: date 20060920 host helix disk
> /mnt/dataa/invention part 49/UNKNOWN lev 0 comp N program /bin/tar
> amidxtaped: 50: restoring split dumpfile: date 20060920 host helix disk
> /mnt/dataa/invention part 50/UNKNOWN lev 0 comp N program /bin/tar
> amidxtaped: 51: restoring split dumpfile: date 20060920 host helix disk
> /mnt/dataa/invention part 51/UNKNOWN lev 0 comp N program /bin/tar
> amidxtaped: restore read error: Device or resource busy
> amidxtaped: time 2988.892: restore read error: Device or resource busy
> amidxtaped: time 2988.892: pid 18574 finish time Fri Sep 22 11:29:43 2006

--
Zmanda: Open Source Data Protection and Archiving.
        http://www.zmanda.com