Amanda-Users

RE: amlabel problem with backup to disk config

2003-05-11 19:45:09
Subject: RE: amlabel problem with backup to disk config
From: "shaun" <shaun.feeley AT cytopia.com DOT au>
To: "Wojciech Jedliczka" <wj AT 3v DOT pl>
Date: Mon, 12 May 2003 09:54:51 +1000
hi wojciech,

thanks for taking the time to reply to my question.
i tried what you suggested and made a soft link from
/var/lib/amanda/DailySet1 to /etc/amanda/DailySet1.
however i unfortunately get the same error, although the path of the
tapelist parse error has changed to the linked /etc path.

amlabel still gives the same error

[amanda@william DailySet1]$ amlabel DailySet1 tape-01
amlabel: could not load tapelist "/etc/amanda/DailySet1/tapelist"

amcheck info:

Amanda Tape Server Host Check
-----------------------------
ERROR: tape list /etc/amanda/DailySet1/tapelist: parse error
Holding disk /home2/holdingdisk: 10933376 KB disk space available, that's
plenty
amcheck-server: slot 1: not an amanda tape
amcheck-server: slot 2: not an amanda tape
amcheck-server: slot 3: not an amanda tape
amcheck-server: slot 4: not an amanda tape
amcheck-server: slot 5: 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.081 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: william: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.020 seconds, 1 problem found

(brought to you by Amanda 2.4.4)





--
any other ideas appreciated

shaun

shaun feeley
cytopia pty ltd
5th floor, baker institute          tel (+613) 9522 6940
melbourne vic 3004                  fax (+613) 9510 9291
australia                           web www.cytopia.com.au

The information contained in this e-mail is confidential and is intended
only for the use of the addressee(s).
If you receive this e-mail in error, please notify the sender by return
e-mail immediately and erase all copies
of the message and attachments.


-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org]On Behalf Of Wojciech Jedliczka
Sent: Friday, May 09, 2003 3:51 PM
To: shaun
Cc: Amanda Users Listserve
Subject: Re: amlabel problem with backup to disk config


> 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