On Wed, 17 Jul 2002 at 11:54am, Brashers, Bart -- MFG, Inc. wrote

> > Do you have "record yes" set in your dumptype(s)?  What are 
> > dumpcycle, tapecycle, runspercycle, and runtapes set to?
> 
> dumpcycle 2 weeks
> runspercycle 10
> tapecycle 22 tapes
> 
> "record yes" is on in my dumptype global, and not over-ridden anywhere.
> 
> I should mention that I have 3 configurations for amanda: Daily, archive,
> and mirror.  Daily is what you expect, archive is a full dump for off-site
> storage, and mirror is a full dump for off-site of just that one server (a
> linux box that rsync's the local Win2K boxes once a day).  The full dump
> set-ups have "record no", following advice I found on this list.  Could they
> be interfering?

Nope -- that's not your problem...

> > How are you doing the 2 tapes per day?
> 
> I lie to amanda, and tell here there's one tape of size 80Gb, and run
> amflush manually each day when I get in to the office.  If I were running 1

*This* is your problem.  What is your reserve set to, and how much holding 
disk space do you have?  When amanda hits EOT unexpectedly, it goes into 
"degraded" mode.  By default, amanda "reserves" 100% of the holding disk 
space for degraded mode backups, which are incrementals only.  If you set 
reserve to a low number, then you free space for full backups in degraded 
mode.

So, amanda was probably going into degraded mode every night and didn't 
have any space for level 0s.  Thus the "can't incremental new disk" and 
"dumps too big" messages.

Also, are you using software or hardware compression?  Depending on your 
data, you should be able to get more than 40GB on DLT8K tapes...

> tape per day with a 4 week tape cycle, and I'm actually generating more than
> 40Gb per day of level 1, then there will be no space left ever to do the
> level 0 dumps, right?

If amanda estimates that any dump (whether full or incremental) is bigger 
than a tape, it will tell you that, won't dump the disk, and will do 
everything else that it can.  Some lies are ok to tell amanda, this one 
isn't.

As I see it, you've got a couple of options:

1)  Set runtapes to two and use chg-manual.  Not optimal, as I don't think
    you can run amdump out of CRON as it needs you to tell it when you've 
    put in the next tape.

2)  Split up any partitions with large incrementals using tar so that 
    you're sure every disklist entry will fit on a tape.

There may be others, as well.  But that's a big, bad lie you're telling 
amanda there.  You could try cranking your reserve down if you want to 
continue your lying ways.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University







Reply via email to