Alan Brown kirjoitti:
> On Mon, 18 Sep 2006, Pietari Hyvärinen wrote:

> Bacula's current state means you can only use LTO3 tapes in the LTO3 
> drives and LTO2 tapes in the LTO2 drives.

Multiple tapetype is important for me especially when recovering old 
tapes to our system.

> The main stumbling block is really in bacula-dir
> 
> # Definition of LTO-2 tape storage autochanger
> Storage {
>   Name = Autochanger
>   Autochanger = yes
>   Address = XXXXXX     # N.B. Use a fully qualified name here
>   SDPort = 9103
>   Password = "supercalafragilisticexpialidocious"
>   Device = Autochanger                     # must be same as Device in 
> Storage daemon
>   Media Type = LTO-2                   #  must be same as MediaType in 
> Storage daemon
>   Maximum Concurrent Jobs = 15
> }
> 
> As you can see, the mediatype is locked into the changer entry and 
> currently the only way to define LTO3 jobs is to create another changer 
> - which will probably cause database issues with "update slots", etc.

Well Update slots don't understand our mailbox (61-70) and importing 
requires anyway help from operator. dmn.

>> We are using bacula version 1.38.11-3.
>>
>> bacula-sd.conf configuration:
>>
>> Autochanger {
>>   Name = Autochanger
>>   Device = Drive-1
>>   Device = Drive-2
>>   Device = Drive-3
>>   Device = Drive-4
>>   Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
>>   Changer Device = /dev/sg0
>> }
>>
>> Device {
>>   Name = Drive-1                      #
>>   Drive Index = 0
>>   Media Type = LTO-3
>>   Archive Device = /dev/nst0
>>   AutomaticMount = yes;               # when device opened, read it
>>   AlwaysOpen = yes;
>>   RemovableMedia = yes;
>>   RandomAccess = no;
>>   AutoChanger = yes
>> }
>> Device {
>>   Name = Drive-2                      #
>>   Drive Index = 1
>>   Media Type = LTO-3
>>   Archive Device = /dev/nst2
>>   AutomaticMount = yes;               # when device opened, read it
>>   AlwaysOpen = yes;
>>   RemovableMedia = yes;
>>   RandomAccess = no;
>>   AutoChanger = yes
>>
>> }
>> Device {
>>   Name = Drive-3                      #
>>   Drive Index = 2
>>   Media Type = LTO-2
>>   Archive Device = /dev/nst1
>>   AutomaticMount = yes;               # when device opened, read it
>>   AlwaysOpen = yes;
>>   RemovableMedia = yes;
>>   RandomAccess = no;
>>   AutoChanger = yes
>> }
>> Device {
>>   Name = Drive-4                      #
>>   Drive Index = 3
>>   Media Type = LTO-2
>>   Archive Device = /dev/nst3
>>   AutomaticMount = yes;               # when device opened, read it
>>   AlwaysOpen = yes;
>>   RemovableMedia = yes;
>>   RandomAccess = no;
>>   AutoChanger = yes
>> }
>>
>>
>>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to