On Fri, Jul 23, 2010 at 5:50 PM, Michael Robbert <[email protected]> wrote: > 1. It would be nice if the amtape inventory command could just return its > data from the state file. It looks like it is doing a mtx status which for > some reason takes a long time for me. I just want an easy way to see where > amanda thinks everything is in a parsed format.
There's a property to control how often 'mtx status' gets run: STATUS-INTERVAL. If you set that to 10m or something, then the changer will only periodically re-synchronize itself with the changer's status. > 2. It would be nice if the amtape update command would output the information > that it found when it finishes checking each slot. This wouldn't have been a > big deal if the inventory didn't take so long, but each time a run update on > a single slot I have to run an inventory to see what it found there to know > if I was on the right track. I could have sworn it did so! The update() method has a user_msg_fn, and chg-robot calls that function for each slot.. have a look at the code (/usr/sbin/amtape and perl/Amanda/Changer/robot.pm) and see if you can figure out what's up? Dustin -- Open Source Storage Engineer http://www.zmanda.com
