I am searching for advice and/or expertise in allowing Bacula to use
multiple tape drives at once.

I currently have two separate jobs that use separate Pools, that run around
the same time. Although the second job is always waiting for the other job
to finish. While the second tape drive is open, I would like for it to use
the second drive and not have to wait for the other drive to be finished.
I also read that setting "MaximumConcurrentJobs = 1" for each will allow
this but I get the same result.

Below is my configuration for the devices:




Device {

  Name = "Superloader_LTO9_Drive0"

  MediaType = "LTO-9"

  DeviceType = "Tape"

  ArchiveDevice = "/dev/tape/by-id/scsi-3500308c42b98f114-nst"

  RemovableMedia = yes

  RandomAccess = no

  AutomaticMount = yes

  LabelMedia = yes

  AlwaysOpen = yes

  Autochanger = yes

  AutoSelect = yes

  ChangerDevice = "/dev/sg5"

  ControlDevice = "/dev/sg3"

  ChangerCommand = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"

  AlertCommand = "/usr/libexec/bacula/tapealert %l"

  MaximumChangerWait = 1800

  MaximumOpenWait = 1800

  MaximumRewindWait = 300

  MaximumFileSize = 2000000000

  MaximumConcurrentJobs = 1

  DriveIndex = 0

}

Device {

  Name = "Superloader_LTO9_Drive1"

  MediaType = "LTO-9"

  DeviceType = "Tape"

  ArchiveDevice = "/dev/tape/by-id/scsi-3500308c42b98f118-nst"

  RemovableMedia = yes

  RandomAccess = no

  AutomaticMount = yes

  LabelMedia = yes

  AlwaysOpen = yes

  Autochanger = yes

  AutoSelect = yes

  ChangerDevice = "/dev/sg5"

  ControlDevice = "/dev/sg4"

  ChangerCommand = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"

  AlertCommand = "/usr/libexec/bacula/tapealert %l"

  MaximumChangerWait = 1800

  MaximumOpenWait = 1800

  MaximumRewindWait = 300

  MaximumFileSize = 2000000000

  MaximumConcurrentJobs = 1

  DriveIndex = 1

}

Messages {

  Name = "Standard"

  Director = bacula-dir = All, !Debug, !Saved

}

Autochanger {

  Name = "Autochanger"

  Device = "Superloader_LTO9_Drive1"

  Device = "Superloader_LTO9_Drive0"

  ChangerDevice = "/dev/sg5"

  ChangerCommand = "/usr/libexec/bacula/mtx-changer %c %o %S % a %d"

}


Thanks,
Kody
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to