On Wed, Nov 08, 2017 at 06:10:12PM +0000, Debra S Baddorf wrote: > > > Am 2017-11-06 um 19:49 schrieb Jon LaBadie: > >> My vtapes are spread across several disks. One of the > >> smallest recently died in a most audible way. > >> > >> I'm replacing the disk with a larger one. > >> > >> I would like to recreate the lost vtapes (no backup > >> data, that is gone!) and have them reused in the > >> order they would have been used. > >> > >> Also, I would like to add vtapes and have them used > >> after the currently highest numbered vtape. > >> > >> I.e. I am succumbing to that human fraility of wanting > >> things to run in numerical order when it really doesn't > >> matter. > > > > I haven’t tried this with vtapes, but with physical tapes, I’ll just edit > the tapelist file. > I move the desired tape into the correct slot and edit the date field to be > just after > the previous line (so it fits, sequentially, with prior and subsequent lines). > > For blank tapes, which are at the end of the file, I just move the line to > the end of > the file, so it uses this tape next. > “amadmin <config> tape” will tell me the order it plans to use the next > few tapes, > so I can tell if I got it right. > > Note: don’t change the line for a GOOD tape until just before you want it to > be used. > I’m not sure what these changes would do to amrestore or amrecover > processes. >
I'm surprised at amanda's reordering the tapelist file at several points. But the leading '0' files, whether "reuse" or "no-reuse" keep being moved to the bottom. I think I'm going to try setting the dates manually. I'm concerned about the "tape header file", 00000-<tape-label>. It has a DATE last used field which is "X", I guess "never used". I wonder if that must match the tapefile date field? Jon -- Jon H. LaBadie [email protected] 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)
