Amanda-Users

Re: amlabel problem with backup to disk config

2003-05-09 01:57:12
Subject: Re: amlabel problem with backup to disk config
From: "Wojciech Jedliczka" <wj AT 3v DOT pl>
To: "shaun" <shaun.feeley AT cytopia.com DOT au>
Date: Fri, 9 May 2003 07:50:44 +0200
> hi,
> im new to amanda and was wondering if someone could set me in the right
> direction.  ive set up one amanda configuration backing up to tape over
> a weeks cycle and thats working well... however im having problems
> configuring amanda on another subnet to backup to disk.
> 
> using the howto at
> http://amanda.sourceforge.net/fom-serve/cache/191.html i am configuring
> amanda to backup to disk.
> i have created the changerfile <chg-multi.conf>  where i have added
> slots 1 - 5 pointing to directories containing a data directory.
> 
> now i can use the chg-multi -slot advance command to select different
> directories, but when i try and use amlabel i get the following error
> 
> amanda@william DailySet1]$ amlabel DailySet1 day-01 slot 1
> amlabel: could not load tapelist "/etc/amanda/DailySet1/tapelist"

amlabel takes "/etc/amanda/DailySet1/" as your config directory, but ...


> i thought it could be a permission problem but ive double checked and
> everything seems correct.
> 
> when i run amcheck i get the following result
> 
> [amanda@william amanda]$ amcheck DailySet1
> Amanda Tape Server Host Check
> -----------------------------
> ERROR: tape list /var/lib/amanda/DailySet1/tapelist: parse error

... amcheck thinks that your config dir is "/var/lib/amanda/DailySet1/"
You must decide which one is your working config and then
create the link named "DailySet1" pointed to right config instead of 
wrong directory.

> Holding disk /home2/holdingdisk: 13669300 KB disk space available,
> that's plenty
> amcheck-server: slot 4: not an amanda tape
> amcheck-server: slot 5: not an amanda tape
> amcheck-server: slot 1: not an amanda tape
> amcheck-server: slot 2: not an amanda tape
> amcheck-server: slot 3: not an amanda tape
> ERROR: new tape not found in rack
>        (expecting a new tape)
> NOTE: skipping tape-writable test
> NOTE: info dir /var/lib/amanda/DailySet1/curinfo: does not exist
> NOTE: it will be created on the next run
> NOTE: index dir /var/lib/amanda/DailySet1/index/william: does not exist
> Server check took 1.104 seconds
> 
> parse error?  the file dosent exist to parse?
> 
> i would be really grateful of any help,  may all seem pretty obvious but
> amanda and i have just met.
> 
> 
> 
> shaun feeley

It helps, I hope.

WJ