On 2/22/2013 11:11 AM, Clark, Patricia A. wrote: > I have an autochanger with multiple tape drives. I have 2 pools using all of > the drives, let's say poolA and poolB. It may take a long time before a > drive becomes available to poolB, so I'd like poolA denied the use of a > drive, or the inverse of that, have 1 of the drives exclusive to the use of > poolB, but still allow it to use any of the other drives if available within > the autochanger. Is there a configuration or setting that will allow this > arrangement? I looked at the Autoselect directive, but wasn't sure if it > would be the answer. > > Patti Clark > Linux System Administrator > Research and Development Systems Support Oak Ridge National Laboratory
Specify two autochangers. For example, if the physical autochanger has a control channel on /dev/sg6 and three drives on /dev/nst0, /dev/nst1, and /dev/nst2, then use something like: # bacula-sd.conf # Autochanger { Name = changer1-changer Device = changer-drive0,changer-drive1 Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg6 } Autochanger { Name = changer2-changer Device = changer-drive0,changer-drive1,changer-drive2 Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg6 } Device { Name = changer-drive0 Drive Index = 0 Autochanger = yes; Archive Device = /dev/nst0 MaximumConcurrentJobs = 1 ... } Device { Name = changer-drive1 Drive Index = 1 Autochanger = yes; Archive Device = /dev/nst1 MaximumConcurrentJobs = 1 ... } Device { Name = changer-drive2 Drive Index = 2 Autochanger = yes; Archive Device = /dev/nst2 MaximumConcurrentJobs = 1 ... } # EOF bacula-sd.conf # bacula-dir.conf # Storage { Name = changer1 Autochanger = yes Device = changer1-changer ... } Storage { Name = changer2 Autochanger = yes Device = changer2-changer ... } Pool { Name = poolA Storage = changer1 ... } Pool { Name = poolB Storage = changer2 ... } # EOF bacula-dir.conf ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users