re-label your tapes (if you don't care about the data they contain). This 
will re-populate your tapelist file.

Use the "force" switch if needed.

Cyr




Arthur Smith <[EMAIL PROTECTED]> 
Envoyé par : [EMAIL PROTECTED]
11/03/2008 16:25

A
[email protected]
cc

Objet
Tapelist






Hi all, I'm hoping someone can help me with a confusing situation i've 
gotten myself into...

First of all, I have configured and tested Amanda to satisfaction, and 
am ready to use it in production. Thus, I found and followed the steps 
in this FAQ:

http://www.amanda.org/docs/faq.html#id346890

 

Ok, I'm done with testing /Amanda/, now I want to put it in production. 
How can I reset its databases so as to start from scratch?


 

First, remove the `curinfo' database. By default, it is a directory, 
but, if you have selected any other database format (don't, they're 
deprecated), they may be files with extensions such as .dir and .pag.

Then, remove any log files from the log directory: 
|log.<TIMESTAMP>.<count>| and |amdump.<count>|. Finally, remove the 
|tapelist| file, stored in the directory that contains |amanda.conf|, 
unless |amanda.conf| specifies otherwise. Depending on the tape changer 
you have selected, you may also want to reset its state file.


This I did, and now, when running amcheck i get:

"/etc/amanda/DailySet1/disklist", line 82: disk dumptype expected
Amanda Tape Server Host Check
----------------------------------
ERROR: tapefile /etc/amanda/DailySet1/tapelist: No such file or 
directory, you must create an empty file.


So, I search for the permissions the empty file needs to be created 
with, but stumble upon this:

http://www.linuxmanpages.com/man8/amanda.8.php


    TAPE MANAGEMENT

The /tapelist/ file contains the list of tapes in active use. This file 
is maintained entirely by Amanda and should not be created or edited 
during normal operation.


So.... Now that i have amanda all set up, and have all my tapes properly 
labeled, I have deleted my tapelist file, and don't know where to go 
from here!

Thanks in advance for any help!

--acorn



Reply via email to