On Friday 21 October 2005 20:34, Douglas O'Neal wrote:
> Hello,
>
> I have a Sun L180 tape library that has four DLT7000 drives and
> two SDLT drives.  What I want to accomplish is to have two pools
> of tapes, with the first being all my DLT-IV media and the second
> being the SDLT media.  This I've managed by defining the two
> pools in bacula-sd.conf and manually dividing the media into the
> two pools.  I then want to force the system to use the first pool
> only in the first four drives and the second pool in the last two
> drives.  I havn't managed this one.  I have the autochanger defined
> as
>
> Autochanger {
>   Name = L180
>   Device = DLT7000-1, DLT7000-2, DLT7000-3, DLT7000-4, SDLT-1, SDLT-2
>   Changer Command = "/usr/local/bacula/etc/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/scsi/changer/c8t0d0
> }
>
> and the media type for all drives is set to DLT.  I did try to set the
> media type to DLT7000 and SDLT but then the system complained that the
> authchanger has to have a single media type.

Yes, unfortunately, this feature is not supported.

>
> One thought I had - it is possible to define two autochangers pointing to
> the same physical library and divide the tape drives that way?

This is quite possible *provided* you specifically add locking code to the 
mtx-changer script so that two threads don't try to manipulate the 
autochanger at the same time, and provided that you ensure that the two 
autochanger definitions have distinct drive reference (i.e. never reference 
the same drive).

>
> I am running version 1.37.40 on a Solaris 10 system.
>
> Thanks.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to