Amanda-Users

Re: amrestore problem, headers ok but no data

2005-01-07 13:25:48
Subject: Re: amrestore problem, headers ok but no data
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: "Stefan G. Weichinger" <monitor AT oops.co DOT at>
Date: Fri, 7 Jan 2005 13:11:03 -0500
On Friday 07 January 2005 11:50, Stefan G. Weichinger wrote:
>Hello, Brian,
>
>I thought of your problems this morning ;-)
>
>Just now (on 01/07/2005 at 17:17) you wrote:
>
>BC> Oddly trying to dd if=/dev/rmt/tps... read no data
>
>BC> samar 85# mt -f /dev/rmt/tps1d4nrns rewind
>BC> samar 86# dd if=/dev/rmt/tps1d4nrns of=scratch
>BC> Read error: Invalid argument
>
>"Invalid argument" !
>
>Gene wrote:
>
>GH> Then you can use a
>GH> #dd if=/path/to/device of=scratch count=1

Normally this isn't required.  dd will read to the end of the record 
by default I think.

>Notice the option "count", dd has to be told how much to read/write
>...
>
>BC> However, I ran amdump last night. Still having problems with TAR
> DLE BC> though oddly I was able to see that a DUMP DLE attempted to
> write.
>
>BC> I was able to retrieve the file, using both amrestore and Eric's
>BC> suggestion of manually issuing the dd command to get the file
> from BC> tape. I was able to open the dump file (DLE for /usr1) and
> saw that BC> the file "kmitra" was present. This I thought to be
> good news since BC> the only top level file on the partition is
> kmitra/ (note directlry BC> slash). Unfortuantely xfsdump reported
> the file as a regular file BC> and not a directory and I was unable
> to proceed from there.
>
>Do your AMANDA-binaries point to the proper xfs-tools? Is the proper
>xfsdump used?
>
>BC> I've tried to retrieve several of the TAR DLE but have been
> unsuccessful BC> with either method.
>
>BC> On the issue of streaming the drive vs horsepower. We have a
> holding BC> disk (unlike a few early runs of this config) and we
> seem to dump to BC> tape quickly enough once the dumper portion
> completes. I don't know that BC> we are polishing the tape.
>
>BC> Something very basic is wrong, looks like the 15th config is the
>BC> unlucky one.
>
>What about setting up a second config on this host, with just one
>small DLE and a few tapes for testing? Maybe you can dig things up
>with this.

This does sound like a good suggestion until this has been figured 
out.

>And BTW: could you please try to strip the older mails from your
>replies to save bandwidth, your last mail was about 26k in size,
> with only a few new lines in it. Thank you.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.31% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.