Interesting. So if I'm reading the docs right (http://www.bacula.org/manuals/en/console/console/Bacula_Console.html#SECTION00240000000000000000), the process for swapping a magazine could change from this:
unmount (remove magazine) (insert new magazine) update slots mount to this: update slots enabled=0 unmount (remove magazine) (insert new magazine) update slots enabled=1 mount Correct? Kevin B. Zimmerman On 07/02/2013 10:46 AM, Josh Fisher wrote: > On 7/2/2013 10:24 AM, Uwe Schuerkamp wrote: >> On Tue, Jul 02, 2013 at 10:07:16AM -0400, Kevin B. Zimmerman wrote: >>> Once I swap the old magazine out (following the instructions at >>> http://www.bacula.org/en/dev-manual/main/main/Autochanger_Resource.html#SECTION002950000000000000000), >>> Bacula refuses to automatically use any tapes in the newly-inserted >>> magazine. One of the tapes in the old magazine is in Append mode, and >>> it keeps asking for that tape despite it (and the other tapes from the >>> old magazine) not being marked as In Changer. I can manually force >>> Bacula to unmount/update slots/mount and name a specific tape to use, >>> but once that tape fills up it goes back to asking for the tape from the >>> other magazine: >>> >> Hi Kevin, >> >> we're having the same "problem" although I am unsure if this isn't a >> feature of bacula trying to preserve data as long as possible. >> >> So far, I haven't found a way around bacula trying to mount removed >> volumes short of manually setting the removed volumes to status >> "archive". > You can enable/disable volumes using the 'enable' command in bconsole. A > short script can use bconsole to enable/disable all of the volumes on a > magazine. When a magazine is removed, use the script to disable the > magazine's volumes. Then when the magazine is attached use the script to > enable the volumes. This will cause Bacula to only try to use volumes > that are on attached magazines. > >> You can check the list archive for what I had hoped "update slots" >> would achieve, but it only covers certain aspects of what's needed >> (imho) when juggling around entire cartridges full of tapes. >> >> All the best, Uwe >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users