Amanda-Users

RE: testing with amanda.

2007-10-04 19:58:46
Subject: RE: testing with amanda.
From: "Krahn, Anderson" <AKrahn AT gs1us DOT org>
To: <amanda-users AT amanda DOT org>
Date: Thu, 4 Oct 2007 15:36:29 -0500
Thanks for the information below.

Tried running a amdump and the following error occurred...
ANALYZING ESTIMATES...
errstr:missing result for /home in egvmgmt5001-prd.1sync.org response:
planner: FAILED egvmgmt5001-prd.1sync.org /home 20071004152858 0
[missing result for /home in egvmgmt5001-prd.1sync.org response]
errstr:missing result for /var in egvmgmt5001-prd.1sync.org response:
planner: FAILED egvmgmt5001-prd.1sync.org /var 20071004152858 0 [missing
result for /var in egvmgmt5001-prd.1sync.org response]
errstr:missing result for /usr in egvmgmt5001-prd.1sync.org response:
planner: FAILED egvmgmt5001-prd.1sync.org /usr 20071004152858 0 [missing
result for /usr in egvmgmt5001-prd.1sync.org response]
errstr:missing result for / in egvmgmt5001-prd.1sync.org response:
planner: FAILED egvmgmt5001-prd.1sync.org / 20071004152858 0 [missing
result for / in egvmgmt5001-prd.1sync.org response]

Here is my disklist

egvmgmt5001-prd.1sync.org / always-full
egvmgmt5001-prd.1sync.org /usr  always-full
egvmgmt5001-prd.1sync.org /var always-full
egvmgmt5001-prd.1sync.org /home always-full

[/etc/amanda/Full]#/opt/amanda/server/sbin/amcheck  Full
Amanda Tape Server Host Check
-----------------------------
Holding disk /opt/data/amanda/Full: 53968818 kB disk space available,
using 47185920 kB as requested
slot 1: read label `EGV004', date `20071004152858'
fatal changer error: slot 0: badly formed result from changer: "0 "
changer problem: badly formed result from changer: "1 "       (expecting
tape EGV002 or a new tape)
WARNING: tapecycle (1) <= runspercycle (1).
NOTE: host info dir
/var/log/debug/Full/curinfo/egvmgmt5001-prd.1sync.org does not exist
NOTE: it will be created on the next run.
NOTE: index dir /var/log/debug/Full/index/egvmgmt5001-prd.1sync.org does
not exist
NOTE: it will be created on the next run.
Server check took 6.991 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.127 seconds, 0 problems found

(brought to you by Amanda 2.5.2p1)

This is after I attempted the backup.
Any ideas?
Anderson





-----Original Message-----
From: Paul Lussier [mailto:pll AT permabit DOT com] 
Sent: Thursday, October 04, 2007 2:28 PM
To: Krahn, Anderson
Cc: amanda-users AT amanda DOT org
Subject: Re: testing with amanda.

"Krahn, Anderson" <AKrahn AT gs1us DOT org> writes:

> Hi,
> I have a few questions regarding testing with a new Amanda install.
>  
> 1). How can I re-use a tape to write multiple dump within a day for
> testing purposes?
> cat tapelist
> 20071004092251 EGV003 reuse
> 20071003173354 EGV002 reuse
> 20071003 EGV004 reuse
> Seems that everytime I run a backup Amanda expects a new tape for
> another one. 

You need to remove and re-add that tape.  I think though, that if you
set your tapecycle to 1 and your runtapes to 1, it will always
over-write the existing tape,  but I've never tried it that way.

Removing and re-adding the existing tape is rather simple:

  $ amrmtape DailSet01 EGV002
  $ amlabel -f DailSet01 EGV002

 
> 2). I installed mtx on the system and using the 
> tpchanger "chg-mtx" # the tape-changer glue script
> in Amanda.conf.
> How does Amanda know to use mtx when a tape becomes full during a
> backup?

Amanda gets an EOT signal from the drive, then amanda issues the
"change tape" command.  amtape invokes whatever you have set as the
tpchanger sglue script in your amanda.conf file.
  
> 3). Is there anyway to tell Amanda to use a backup window once amdump
is
> called from cron?

Please define "backup window". amdump runs until completion.  You have
control only over when it starts.  To control when it ends you must
balance your data to guarantee it will be done within a specific time.

You can do this by assigning different priorities to different
dumptypes and tweaking various knobs and buttons within amanda.conf.
But in general, no, there's no scheduler parameter that says "stop
backing things up at 8:00am" that I know of.

HTH.
-- 
Thanks,
Paul


<Prev in Thread] Current Thread [Next in Thread>