PDA

View Full Version : Reusing Tapes?



steves
October 2nd, 2006, 07:37 AM
Hi,
I am using 2.5.0p2 on Fedora Core 4. I have completed the 30 tape cycle and would like to reuse the tapes starting at 101. Is there something special I need to do to make this happen? Here are my other config options:
dumpcycle 7 days
runspercycle 5 days
tapecycle 30 tapes
label_new_tapes "daily1%%"
runtapes 3

I have tried removing 101 - 112 using amrmtape but amanda still will not write to these tapes. (Probably not the right thing to do)
*** A TAPE ERROR OCCURRED: [No writable valid tape found].
Some dumps may have been left in the holding disk.
Run amflush again to flush them to tape.
The next 3 tapes Amanda expects to use are: a new tape, a new tape, a new tape.

This seems to indicate ALL tapes must be new?

Thanks,
Steve

paddy
October 2nd, 2006, 11:59 AM
Steve,

There is no need to do anything when tapecycle is completed (in your case after 30 tapes
are used). Amanda will use the oldest tape automatically.

Since you have done amrmtape for tapes (101-112), you will have to label them using
amlabel (http://wiki.zmanda.com/index.php/Amlabel)

Run admin tape (http://wiki.zmanda.com/index.php/Amadmin#COMMANDS) to figure out which tapes will be used by next backup run.

Paddy