On Tue, May 28, 2019 at 12:57:18PM +1000, Tom Robinson wrote: > On Tue, 14 May 2019 at 22:14, Nathan Stratton Treadway <natha...@ontko.com> > wrote: > > Hi Nathan, > > Thanks for you reply and help. > > On Mon, May 13, 2019 at 09:59:13 +1000, Tom Robinson wrote: ..... > > I am getting a new issue now which is annoying but not a show stopper. I > think I will have to revisit my threshold settings to fix this but maybe > you can offer some insight. > > I have a tape robot and the following settings in amanda.conf > > runtapes 3 > flush-threshold-dumped 100 > flush-threshold-scheduled 100 > taperflush 100 > autoflush yes > > There is enough room for all the data to go on three tapes yet after the > amdump run is complete only two tapes are written and I am left to flush > the remaining dumps to tape manually. > > I think it's because I'm trying to get a whole tape's worth of data before > writing to tape. Is my thinking correct?
With "taperflush 100" you are saying do not write to tape unless the tape will be filled. So the third tape, being a partial, is not written. However you should not need to manually flush the data, "autoflush yes" will write the leftover dumps onto the first tape of the next run. > > What I'd like to do is make sure there's a tape's worth of data to write to > the first two tapes in turn and then dump all remaining backup data to tape > three (this will not be a complete tapes worth). > > Should I be setting taperflush as follows to achieve this? > > taperflush 0 Yes, from the comments in the sample "amanda.conf". # You want to improve tape performance by waiting for a complete tape # of data before writing anything. However, all dumps will be flushed; # none will be left on the holding disk. # # flush-threshold-dumped 100 # (or more) # flush-threshold-scheduled 100 # (or more) # taperflush 0 jl -- Jon H. LaBadie j...@jgcomp.com 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)