Amanda-Users

Re: amrecover says "Host is not in your disklist"

2006-02-24 12:26:35
Subject: Re: amrecover says "Host is not in your disklist"
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 24 Feb 2006 12:22:45 -0500
On Fri, Feb 24, 2006 at 02:25:37PM +0100, Foro Linux wrote:
> Hi list:
>     I'm trying to recover some file from my recentrly created tape with
> amdump, and as amrecover says, I'm have tryed to "set config,host before
> setting disk", but when I run sethost rasillo.pl.local, I get "501 Host
> rasillo.pl.local is not in your disklist".
> Why?

First question has to be "is rasillo.pl.local in your disklist"?
You have a config by that name.  Are there also some entries
in a file called "disklist" with that hostname.

  [snip]
> and here are my config files:
> 
> --/etc/amanda/rasillo.pl.local/amanda.conf--------------------------------------
> org "rasillo.pl.local"          # your organization name for reports
  [snip]
> diskfile "/etc/amanda/rasillo.pl.local/diskfile"                        #

Ok, you are using a non-standard name for disklist.

I wonder if amrecover knows to lookup the disklist file
as the amanda.conf parameter "diskfile".  Perhaps try
making a link called "disklist" to your "diskfile" file
and retry amrecover to test this possibility.

> infofile "/etc/amanda/rasillo.pl.local/infofile"                        #

Are you configured to use dbm database for your info?
If not, then this should be a directory an you chose a strange name.

You say that you are showing your config files.
Yet there are several entries with the following header.

> --/etc/amanda/rasillo.pl.local/amanda.conf--------------------------------------

I guess this one is supposed to be your disklist?
Only one entry?

> rasillo.pl.local /vol1 {
>         # all directories except the one that start with [a-u]
>         always-full-tar
>         high-tar
>         } 1


-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)