On Saturday, March 23, 2002, at 10:56 AM, John R. Jackson wrote:

>> I am setting up a diskless system with 4.2.2 ...
>
> Huh?  Do you mean 2.4.2?  And do you mean 2.4.2 or 2.4.2p2?

A thousand pardons.  Sleep-deprivation-induced dyslexia.  I'm using 
2.4.2p2 on both the server and client here.


>
>> and have succeeded in doing
>> a backup to the holding disk.  The rawtapedev and changerdev are set to
>> /dev/null.
>
> Don't use "/dev/null".  Use something like "no-such-device".  Some
> versions of Amanda treat "/dev/null" special as a debugging tool to
> literally throw the dump away.

Ooo--good to know.


>> When I try to amrecover, I get to the stage of 'extract'. At that point
>> I get told, "Block size must be a positive integer."  ...
>
> That message comes from your restore program, not Amanda, although it's
> Amanda that set up the command line for it.
>
> Look at your /tmp/amanda/amrecover*debug file for where it runs the
> restore program.
<snip>
> Please post this portion.

Exec'ing /sbin/restore with arguments:
         restore
         xbf
         2
         -
         /amanda_dev.init
add_glob (amanda_dev.init) -> ^amanda_dev\.init$
add_file: Looking for "amanda_dev\.init[/]*$"

> You might also take a look at the man page for your restore program and 
> see if you can deduce what Amanda did wrong.
>

So was the call:
 > restore -x 2 -b - -f /amanda_dev.init
or was it
 > restore -xbf 2 - /amanda_dev.init

Hope this is helpful.

EZ

Reply via email to