I've tried to figure this out on my own with searches and going through the
manual and I need some clarification. I've included the relevant section
of the bacula-sd.conf file below. I'm confused because I think this should
work properly but I am getting the message "is waiting on max Client jobs"
for all additional jobs that are running after the first. Every other
daemon's config has maxes of 20 jobs. Since I have 5 devices in my
autochanger, should I add a line in the Autochanger section for "Maximum
Concurrent Jobs = 5", or should I set them to 5 in the device sections?
I also am confused about the spool directive. The server running bacula
has 2x 1tb drives in a mirror zfs pool. I wonder how large I could make
the spool directives. It isn't clear to me when I set the spool directives
in each device section, if they all share "Maximum Spool Size = 100g" or if
each of the 5 drives will allocate 100gb then using 500gb total of my disk
space. if I want to never exceed 80% used space on the zpool and I also
need 150gb for VMs and also need space for the catalog backing up 12-15tb
of files, how high should I set the max and job spools?
Thanks,
Nate
Autochanger {
Name = ML6000
Device = ML6000-LTO3-0
Device = ML6000-LTO3-1
Device = ML6000-LTO3-2
Device = ML6000-LTO3-3
Device = ML6000-LTO3-4
Changer Device = /dev/tape/by-id/scsi-1ADIC_A0C0036905_LLA
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
# %c = changer device
# %o = command (unload|load|loaded|list|slots)
# %S = slot index (1-based)
# %a = archive device (i.e., /dev/sd* name for tape
drive)
# %d = drive index (0-based)
}
Device {
Name = ML6000-LTO3-0
Archive Device = /dev/tape/by-id/scsi-3500308c099903094-nst
Device Type = Tape
Media Type = LTO3
Autochanger = Yes
Drive Index = 0
Autoselect = yes
RemovableMedia = yes
Random Access = no
AutomaticMount = yes
AlwaysOpen = yes
Maximum Spool Size = 100gb
Maximum Job Spool Size = 50gb
Spool Directory = /var/lib/bacula
Maximum Concurrent Jobs = 1
Control Device = /dev/tape/by-id/scsi-3500308c099903094-sg # must be SCSI
ctl for /dev/nst0
Alert Command = "/etc/bacula/scripts/tapealert %l"
}
Device {
Name = ML6000-LTO3-1
Archive Device = /dev/tape/by-id/scsi-3500308c099903098-nst
Device Type = Tape
Media Type = LTO3
Autochanger = Yes
Drive Index = 1
Autoselect = yes
RemovableMedia = yes
Random Access = no
AutomaticMount = yes
AlwaysOpen = yes
Maximum Spool Size = 100gb
Maximum Job Spool Size = 50gb
Spool Directory = /var/lib/bacula
Maximum Concurrent Jobs = 1
Control Device = /dev/tape/by-id/scsi-3500308c099903098-sg
Alert Command = "/etc/bacula/scripts/tapealert %l"
}
Device {
Name = ML6000-LTO3-2
Archive Device = /dev/tape/by-id/scsi-3500308c09990309c-nst
Device Type = Tape
Media Type = LTO3
Autochanger = Yes
Drive Index = 2
Autoselect = yes
RemovableMedia = yes
Random Access = no
AutomaticMount = yes
AlwaysOpen = yes
Maximum Spool Size = 100gb
Maximum Job Spool Size = 50gb
Spool Directory = /var/lib/bacula
Maximum Concurrent Jobs = 1
Control Device = /dev/tape/by-id/scsi-3500308c09990309c-sg
Alert Command = "/etc/bacula/scripts/tapealert %l"
}
Device {
Name = ML6000-LTO3-3
Archive Device = /dev/tape/by-id/scsi-3500308c099903000-nst
Device Type = Tape
Media Type = LTO3
Autochanger = Yes
Drive Index = 3
Autoselect = yes
RemovableMedia = yes
Random Access = no
AutomaticMount = yes
AlwaysOpen = yes
Maximum Spool Size = 100gb
Maximum Job Spool Size = 50gb
Spool Directory = /var/lib/bacula
Maximum Concurrent Jobs = 1
Control Device = /dev/tape/by-id/scsi-3500308c099903000-sg
Alert Command = "/etc/bacula/scripts/tapealert %l"
}
Device {
Name = ML6000-LTO3-4
Archive Device = /dev/tape/by-id/scsi-3500308c099903004-nst
Device Type = Tape
Media Type = LTO3
Autochanger = Yes
Drive Index = 4
Autoselect = yes
RemovableMedia = yes
Random Access = no
AutomaticMount = yes
AlwaysOpen = yes
Maximum Spool Size = 100gb
Maximum Job Spool Size = 50gb
Spool Directory = /var/lib/bacula
Maximum Concurrent Jobs = 1
Control Device = /dev/tape/by-id/scsi-3500308c099903004-sg
Alert Command = "/etc/bacula/scripts/tapealert %l"
}
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users