On Monday 21 June 2010 11:47:00 Ulrich Leodolter wrote: > hi, > > on sunday we are running an end-of-week script > which sets all tapes in loader to status used > and runs release on both drives. > > release storage=Tape drive=0 > release storage=Tape drive=1 > > on monday morning copy jobs are scheduled: > > CopyDiskToTape into pool DiskCopy > CopyDiskToExtClone into pool ExtClone > > after all CopyDiskToTape jobs are done > bacula unmounts drive 0 and mounts volume > from pool ExtClone into drive 0. > > so why does bacula not use empty drive 1 at this point ???
It is not smart enough. > > how can i tell bacula to use empty autoloader drives ??? You cannot tell it, unless you write some code so that it becomes smarter or you could probably use "prefer mounted volume = no". However, that directive is known to create conditions where Bacula gets confused. It would probably be worse than the current code, which does work though not as smart as a human. Kern > > thx > ulric > > On Tue, 2010-06-15 at 11:40 +0200, Ulrich Leodolter wrote: > > hello, > > > > we are using a 2-drive autochanger. > > both drives are configured almost identical > > (except name,device) config see below. > > > > we are running daily copy disk to tape jobs into > > different copy pools. > > > > problem: > > > > bacula automatically chooses only Drive-1 > > and load/unloads tapes every day. > > > > only if i mount appendable volumes into > > both drives the are used for the rest of > > the week. > > > > how can i configure bacula to use empty > > autoloader drives if available ??? > > > > regards > > ulrich > > > > ps: we are running bacula 5.0.2 > > > > bacula-sd.conf: > > > > Autochanger { > > Name = OVERLAND > > Device = Drive-1, Drive-2 > > Changer Command = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d" > > Changer Device = /dev/changer > > } > > > > Device { > > Name = Drive-1 > > Drive Index = 0 > > Media Type = LTO-4 > > Archive Device = /dev/nst0 > > AutomaticMount = yes > > AlwaysOpen = yes > > RemovableMedia = yes > > RandomAccess = no > > Autochanger = yes > > ... > > } > > > > > > Device { > > Name = Drive-2 > > Drive Index = 1 > > Media Type = LTO-4 > > Archive Device = /dev/nst1 > > AutomaticMount = yes > > AlwaysOpen = yes > > RemovableMedia = yes > > RandomAccess = no > > Autochanger = yes > > ... > > } ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users