On Wed, Aug 29, 2018 at 18:38:11 +0000, Ryan, Lyle (US) wrote: > I have now cut the dumpcycle down to 10, and the tapecycle down to 20, and > was hoping Amanda could recover. > But I'm still getting "out of holding space in degraded mode" in the logs, > and Amanda seems totally stuck. > > How would I start over, throw away all the backups made so far, and begin > with fresh/empty tapes? > Also, after changing the config file, do I have to restart Amanda to get it > to reread the config?
Presumably by now you have already resolved your original situation way or another, but just to answer your questions: Amanda uses the dumpcycle/tapecycle/etc. info only during the planning phase, which happens at the beginning of the amdump run; once it generates a plan for that run, it won't change the plan, so editing the config won't make a difference until the next run. (Note that Amanda is not like a normal system daemon where you would expect it to run all the time but might restart it to load a new configuration file. Amanda normally runs for a few hours then finishes, and the new configuration would be used when it is kicked off again the next time.) If the "only" problem you have is that your filesystem is full, you can probably get out of that jam by manually deleting handful of large "000nn.*" files out from under the "slot*" directories in your vtape directory tree. Pick files from the oldest volumes; as long as you don't ever try to recover from those volumes, Amanda shouldn't care that the actual files no longer exist under that vtape slot directory. (As soon as Amanda is ready to reuse that volume, it will just delete everything in that slot directory anyway, and remove mentions of the old contents of that volume from its catalog.) You can also take a look at the "amrmtape" command for a less back-door approach; something like "amrmtape --erase --keep-label" might do what you need to free some space by deleting the oldest volumes. (I've never actually used it myself.) If you really want to start the whole thing over from scratch, this Wiki page gives an overview of the process: http://wiki.zmanda.com/index.php/Amanda:Ok,_I%27m_done_with_testing_Amanda,_now_I_want_to_put_it_in_production._How_can_I_reset_its_databases_so_as_to_start_from_scratch%3F . (The page predates vtapes, though; in your case since the who point is to free up space on the destination drive, you'd also need to manually purge the files out of the vtape slot* directories up front, rather than just waiting for the deletions to happen as the volumes are reused over time.) Nathan ---------------------------------------------------------------------------- Nathan Stratton Treadway - [email protected] - Mid-Atlantic region Ray Ontko & Co. - Software consulting services - http://www.ontko.com/ GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239 Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239
