On Thu, Sep 1, 2016 at 2:14 AM, Ralf Brinkmann <[email protected]>
wrote:
> Am 30.08.2016 um 14:13 schrieb Win Htin:
>
>> Thanks Ralf. How many drives do you have in your new tape library?
>> Can you share your bacula-fd.conf file?
>>
>
> Old and new tape library do have a single drive.
>
> At the moment all the bacula-fd.conf are looking like the following - all
> backup jobs per host are running parallel.
>
> I will remove the director for "host-old" in the near future. At the
> moment some very few jobs on host-old are still running.
>
> Director {
>> Name = host-old-dir
>> Password = "1234"
>> }
>>
>> Director {
>> Name = host-new-dir
>> Password = "1234"
>> }
>>
>> Director {
>> Name = host-old-mon
>> Password = "1234"
>> Monitor = yes
>> }
>>
>> FileDaemon { # this is me
>> Name = server-xy-fd # File-Daemon on Server "server-xy"
>> FDport = 9102 # where we listen for the director
>> WorkingDirectory = /var/lib/bacula/working
>> Pid Directory = /var/run
>> Maximum Concurrent Jobs = 20
>> }
>>
>> Messages {
>> Name = Standard
>> director = host-new-dir = all, !skipped, !restored
>> }
>>
>
> --
> Ralf Brinkmann
>
>
Thanks Ralf. I made a typo. I actually wanted to see your bacula-sd.conf
file.
Anyway, my library has TWO LTO6 drives and I have to define both drives
explicitly. Else the autochanger gets mightily confused which drive to use.
Following is my "flawlessly working for the past 9 years" configuration for
the IBM TS3200 tape library.
######## START ######################
Autochanger {
Name = TS3200_2_DRV1
Device = LTO6_1 # If you need to add more use comma
separation
Changer Device = /dev/sg3 # This is mapped to the AutoLoader
# cat /proc/scsi/scsi |egrep
"^Host:|3573\-TL"|awk 'BEGIN{i=-1} { if ( /3573\-TL/ ) {print "/dev/sg"i;
exit}; if ( /^Host:/ ) { i++ } }'
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
}
Autochanger {
Name = TS3200_2_DRV2
Device = LTO6_2 # If you need to add more use comma
separation
Changer Device = /dev/sg3 # This is mapped to the AutoLoader
# cat /proc/scsi/scsi |egrep
"^Host:|3573\-TL"|awk 'BEGIN{i=-1} { if ( /3573\-TL/ ) {print "/dev/sg"i;
exit}; if ( /^Host:/ ) { i++ } }'
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
}
Device {
Name = LTO6_1
Drive Index = 0 # First drive is 0, second is 1 etc.
Media Type = LTO6
Archive Device = /dev/LTO6_1 # Device nstX created automatically
by st daemon.
AutoChanger = yes
AutoSelect = yes # automatically use this device for
backups
AutomaticMount = yes # when device opened, read it
AlwaysOpen = yes # Default value yes
RemovableMedia = yes
RandomAccess = no
Requires Mount = no
Maximum Open Wait = 3000 # Default value 300
Maximum Rewind Wait = 3000 # Default value 300
Maximum Changer Wait = 300 # default is 120 secs
Maximum Job Spool Size = 8G # default is unlimited
Spool Directory = "/var/spool/bacula"
Label Type = IBM
Check Labels = yes
LabelMedia = no
Hardware End of Medium = No # defaut is Yes
Fast Forward Space File = No # This line required if above HEOM
is set to "No"
BSF at EOM = no # Default is no
Two EOF = no
Volume Poll Interval = 300 # Poll the drive to seek the status
}
Device {
Name = LTO6_2
Drive Index = 1 # First drive is 0, second is 1 etc.
Media Type = LTO6
Archive Device = /dev/LTO6_2 # Device nstX created automatically
by st daemon.
AutoChanger = yes
AutoSelect = yes # automatically use this device for
backups
AutomaticMount = yes # when device opened, read it
AlwaysOpen = yes # Default value yes
RemovableMedia = yes
RandomAccess = no
Requires Mount = no
Maximum Open Wait = 3000 # Default value 300
Maximum Rewind Wait = 3000 # Default value 300
Maximum Changer Wait = 300 # default is 120 secs
Maximum Job Spool Size = 8G # default is unlimited
Spool Directory = "/var/spool/bacula"
Label Type = IBM
Check Labels = yes
LabelMedia = no
Hardware End of Medium = No # defaut is Yes
Fast Forward Space File = No # This line required if above HEOM
is set to "No"
BSF at EOM = no # Default is no
Two EOF = no
Volume Poll Interval = 300 # Poll the drive to seek the status
}
######### END #######################
--
email : [email protected]
It is harder to conceal ignorance than to acquire knowledge. - Arnold H.
Glasow
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users