On Tue, Jan 19, 2010 at 6:52 AM, stan <st...@panix.com> wrote: > At the moment, when I run "amtape CONF slot 5" I seem to have slot 5 > slected, but when I run "ammtape CONF taper" it seems to think that the > next "slot" is slot 4.
> For what it's worth, the machine crashed last night during a run. I have > donw an amcleanup. Is there someplace else thta has knowledge of the > current "slot"? You found the current slot correctly, in the changer state. However, amtape taper does not return the next slot - it returns the next tape the taper will write to, by applying the taperscan algorithm - see amanda-taperscan(7). So what you have is not a changer misconfiguration, but your tapes are arranged such that the next tape Amanda will use is in slot 4. chg-multi is not fast-searchable, so stage 1 will be skipped, in this case. The new implementation of this algorithm is a good bit more verbose, so you can at least see what Amanda is "thinking" Dustin -- Open Source Storage Engineer http://www.zmanda.com