On 24/02/06, Jon LaBadie <jon AT jgcomp DOT com> wrote:
> 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.
Non-standard name? what do you mean? In my first email I did a mistake
becouse of coping and pasting names of files. The right diskfile name
is:
/etc/amanda/rasillo.pl.local/disklist
as is written in the config file amanda.conf:
diskfile "/etc/amanda/rasillo.pl.local/diskfile"
> 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.
Yes, I'm not using any database, and infofile is a directory, (really
is a symlink to a directory) and this name is to know which is It use.
An 'ls -l' of my "/etc/amanda/rasillo.pl.local" directory is:
-----------------------------------------------------------------
-rw-r--r-- 1 amanda disk 4390 feb 24 13:33 amanda.conf
drwx------ 2 amanda disk 4096 feb 24 13:33 backup
lrwxrwxrwx 1 amanda disk 31 feb 24 12:43 diskfile ->
/vol3/rasillo.pl.local/diskfile
-rw-r--r-- 1 amanda disk 113 feb 24 13:34 disklist
lrwxrwxrwx 1 amanda disk 28 feb 24 12:43 dumps ->
/vol3/rasillo.pl.local/dumps
lrwxrwxrwx 1 amanda disk 28 feb 24 12:43 index ->
/vol3/rasillo.pl.local/index
lrwxrwxrwx 1 amanda disk 31 feb 24 12:43 infofile ->
/vol3/rasillo.pl.local/infofile
-rw-r--r-- 1 amanda disk 252 feb 27 10:45 infofile.orig.2933
-rw-r--r-- 1 amanda disk 252 feb 24 12:26 infofile.orig.3924
-rw-r--r-- 1 amanda disk 252 feb 24 12:29 infofile.orig.4009
-rw-r--r-- 1 amanda disk 252 feb 24 12:45 infofile.orig.4145
-rw-r--r-- 1 amanda disk 252 feb 24 13:26 infofile.orig.4348
-rw-r--r-- 1 amanda disk 252 feb 24 13:27 infofile.orig.4387
-rw-r--r-- 1 amanda disk 252 feb 24 15:02 infofile.orig.4902
lrwxrwxrwx 1 amanda disk 29 feb 24 12:43 logdir ->
/vol3/rasillo.pl.local/logdir
-rw------- 1 amanda disk 21 feb 27 10:46 tapelist
-rw------- 1 amanda disk 22 feb 24 15:03 tapelist~
-rw------- 1 amanda disk 0 feb 27 10:46 tapelist.amlabel
-rw------- 1 amanda disk 14 feb 27 10:46 tapelist.yesterday
-----------------------------------------------------------------
>
> 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
>
Yes, you're right again, this is the
/etc/amanda/rasillo.pl.local/diskfile file, It was a misktake, and
there's only one entry, for simplicity.
> --
> 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)
>
|