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/au tochanger- 0.conf **
Autochanger {
Name = "FlexStor_II"
Changer Device = /dev/tape/by-id/scsi-1BDT_ FlexStor_I I_xxxxxxxx xxx_LL0
Device = ULTRIUM-HH7-0
Device = ULTRIUM-HH7-1
Changer Command = "/usr/lib/bareos/scripts/m tx-changer %c %o %S %a %d"
}
** less bareos-sd.d/device/ULTRIUM -HH7-0.con f **
Device {
Name = "ULTRIUM-HH7-0"
DeviceType = tape
DriveIndex = 0
ArchiveDevice = /dev/tape/by-id/scsi-xxxxx xxxxxxxxx0 01-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.con f **
Device {
Name = "ULTRIUM-HH7-1"
DeviceType = tape
DriveIndex = 1
ArchiveDevice = /dev/tape/by-id/scsi-xxxxx xxxxxxxxx0 04-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 = "e9cxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxx xxxxxxxxg"
Device = FlexStor_II
Media Type = LTO-7
Autochanger = yes
}
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/au
Autochanger {
Name = "FlexStor_II"
Changer Device = /dev/tape/by-id/scsi-1BDT_
Device = ULTRIUM-HH7-0
Device = ULTRIUM-HH7-1
Changer Command = "/usr/lib/bareos/scripts/m
}
** less bareos-sd.d/device/ULTRIUM
Device {
Name = "ULTRIUM-HH7-0"
DeviceType = tape
DriveIndex = 0
ArchiveDevice = /dev/tape/by-id/scsi-xxxxx
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
Device {
Name = "ULTRIUM-HH7-1"
DeviceType = tape
DriveIndex = 1
ArchiveDevice = /dev/tape/by-id/scsi-xxxxx
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.
Storage {
Name = Tape
Address = server # N.B. Use a fully qualified name here (do not use "localhost" here).
Password = "e9cxxxxxxxxxxxxxxxxxxxxxx
Device = FlexStor_II
Media Type = LTO-7
Autochanger = yes
}
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
thanks