Link to home
Start Free TrialLog in
Avatar of Mike R.
Mike R.

asked on

Bareos won't use both tape drives in autoloader

I'm using a Neoseries T24 (Flexstor II) autoloader with two drives. I have tapes (11 of them) in a pool labeled 'Full'.

When I run two jobs, both for the 'Full' pool, they will wait in sequence so they can both use the same drive (0) instead of one running on drive 0 and one running on drive 1.

Is it possible to have any tape from the Full pool an available drive in the autoloader so that two jobs can be run simultaneously?

Do two SD daemons need to be running?

** bareos-sd.d/server-sd.conf**

storage {
  Name = server-sd
  Maximum Concurrent Jobs = 20
  # Plugin Directory = /usr/lib/bareos/plugins
  # Plugin Names = ""
}
** bareos-sd.d/autochanger/autochanger-0.conf **

Autochanger {
  Name = "FlexStor_II"
  Changer Device = /dev/tape/by-id/scsi-1BDT_FlexStor_II_xxxxxxxxxxx_LL0
  Device = ULTRIUM-HH7-0
  Device = ULTRIUM-HH7-1
  Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
}
** less bareos-sd.d/device/ULTRIUM-HH7-0.conf **

Device {
    Name = "ULTRIUM-HH7-0"
    DeviceType = tape
    DriveIndex = 0
    ArchiveDevice = /dev/tape/by-id/scsi-xxxxxxxxxxxxxx001-nst
    MediaType = LTO-7
    AutoChanger = yes                       # default: no
    AutomaticMount = yes                    # default: no
    MaximumFileSize = 500GB                  # default: 1000000000 (1GB)
    AlwaysOpen = yes
    Autoselect = yes
    RemovableMedia = yes
}
** bareos-sd.d/device/ULTRIUM-HH7-1.conf **

Device {
    Name = "ULTRIUM-HH7-1"
    DeviceType = tape
    DriveIndex = 1
    ArchiveDevice = /dev/tape/by-id/scsi-xxxxxxxxxxxxxx004-nst
    MediaType = LTO-7
    AutoChanger = yes                       # default: no
    AutomaticMount = yes                    # default: no
    MaximumFileSize = 500GB                  # default: 1000000000 (1GB)
    AlwaysOpen = yes
    Autoselect = yes
    RemovableMedia = yes
}
** bareos-dir.d/storage/Tape.conf **

Storage {
  Name = Tape
  Address = server                # N.B. Use a fully qualified name here (do not use "localhost" here).
  Password = "e9cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxg"
  Device = FlexStor_II
  Media Type = LTO-7
  Autochanger = yes
}
SOLUTION
Avatar of A Q Choudary
A Q Choudary
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks