Amanda-Users

Re: More questions anout a RAIT that has physical and vtapes

2006-04-02 10:47:24
Subject: Re: More questions anout a RAIT that has physical and vtapes
From: stan <stanb AT panix DOT com>
To: Jon LaBadie <jon AT jgcomp DOT com>
Date: Sun, 2 Apr 2006 10:43:30 -0400
On Sun, Apr 02, 2006 at 10:05:11AM -0400, Jon LaBadie wrote:
> On Sat, Apr 01, 2006 at 03:51:59PM -0500, stan wrote:
> 
> Never tried, submitted for your consideration and comments (you == list).
> 
> All three configs identical (actually links) except for a file
> listing the device for that config (RAIT, FILE, or /dev) which
> as you suggest is sourced (included) into amanda.conf.
> 
> Same tape list suggests also 25 vtapes, which you create and label.
> 
> 25 vtapes, if filled with data would overwhelm your 1.2 TB available
> space (never thought I'd type 1.2 TB was overwhelmed ;) so a separate
> non-amanda system is needed to keep them trimmed.  Something like,
> before each amdump run execute the script to sort the vtapes by
> date of last use AND eliminate from the list those that have less
> than some trigger amount of data.  When running normally that should
> give you a fairly consistant number of vtapes (??3, 4, 5, 6??).  If
> the list is longer than some number (your choice) pick off the oldest
> above that number and have the script delete all the data files leaving
> the tape label and other necessary files.  That should free up the space
> for the days amdump run.

The missing vtapes would still be recorded, so to recover them,
I would have to use teh tape_only config. Makes sense to me.

> 
> > 
> > What should I do about tapelist?
> 
> Same for all (links) but if you try to recover old stuff from vtape
> you get errors.

OK, that makes sense.

> 
> > Also, I'm thinking that dumpcycle ,
> > runspercycle , and tapecycle will need to be the same everywhere.
> > a 4, 20, and 25 in my case.
> 
> I don't get these numbers.  4 day dump cycle?  Or is that 4 week?
> 20 runs is ?4 days  ?4 weeks  ??

Sorry. here is what I have:

dumpcycle 4 weeks 
runspercycle 20  
tapecycle 25 tapes

EG, 25 tapes in rotation. 5 runs per week, and tapes enough
for 4 weeks before I need to reuse a physical tape.

> 
> Sure you don't mean 7 days per dumpcycle (time between level 0's),
> 5 runs (weekdays) per dumpcycle, and 25 tapes in rotation?

Maybe that would be better. I guess I'm depending on the promotion
of dumps that are not "due", teh way I have it, right?

> 
> If the above, I'd also suggest listing tapecycle as 20 even if you
> actually rotate 25 tapes.  If one goes bad you will still be able
> to use the next one rather than finding a blank one to label as
> a new tape in a crunch.

I don;t like that as it defeats some of the "protection" of inserting
the wrong tape, and overwriting.

> > Finally, what should I do about changerfile? I'm using chg-multi.

So, this won't be a problem for the tape_only, and disk_only configs?

Thanks for the help on this!
-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967