Bacula-users

[Bacula-users] can't run concurrent restores using multiple tape drives

2014-10-13 16:23:43
Subject: [Bacula-users] can't run concurrent restores using multiple tape drives
From: jaredk51 <jkelley AT popcap DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 13 Oct 2014 12:54:37 -0700 (MST)
I'm working with Amazon VTL (Virtual Tape Library) and Bacula v 5.2.6 which
functions well and can run concurrent jobs to multiple tape drives just
fine.
I want to speed up restores for DR purposes and make use of the 10 virtual
tape drives VTL gives you.
I am not sure if bacula supports restoring to multiple tape drives at the
same time and haven't been able to find anything in the documentation as
such.

I have created multiple restore jobs and ran them concurrently just fine but
each restore job waits for the first tape drive to complete before running. 

 JobId Level   Name                       Status
======================================================================
   423         RestoreFiles.2014-10-13_19.35.32_03 is running
   424         RestoreFiles2.2014-10-13_19.35.53_04 is waiting on Storage
"Tape1"

So running concurrent restores doesn't provide any net benefit as they can
only run 1 at a time.
If anyone has any information regarding running restore jobs at the same
time using multiple tape drives please let me know. Thanks in advance.


My restore job configs look like this:

##
Job {
Name = "RestoreFiles"
Type = Restore
Client = backup02
FileSet = "Full Set"
Pool = Disk
Messages = Standard
Where = /mnt/restores
Maximum Concurrent Jobs = 10
Prefer Mounted Volumes = no
}

Job {
Name = "RestoreFiles2"
Type = Restore
Client = backup02
FileSet = "Full Set2"
Pool = Disk
Messages = Standard
Where = /mnt/restores
Maximum Concurrent Jobs = 10
Prefer Mounted Volumes = no
}


autochanger and Devices from bacula-sd.conf

Autochanger {
  Name = Autochanger
  Device = Drive-1, Drive-2, Drive-3, Drive-4, Drive-5, Drive-6, Drive-7,
Drive-8, Drive-9, Drive-10
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg10
}


Device {
  Name = Drive-1 
  Drive Index = 0
  Media Type = LTO
  Archive Device =
/dev/tape/by-path/ip-192.168.1.1:3260-iscsi-iqn.1997-05.com.amazon:sgw-bcb95cd5-tapedrive-01-lun-0-nst
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  LabelMedia = yes;
  AutoChanger = yes
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
  SpoolDirectory = /etc/bacula/spool
}

Device {
  Name = Drive-2
  Drive Index = 1
  Media Type = LTO
  Archive Device =
/dev/tape/by-path/ip-192.168.1.1:3260-iscsi-iqn.1997-05.com.amazon:sgw-bcb95cd5-tapedrive-02-lun-0-nst
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  LabelMedia = yes;
  AutoChanger = yes
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
  SpoolDirectory = /etc/bacula/spool
}

Device {
  Name = Drive-3
  Drive Index = 2
  Media Typ.....



--
View this message in context: 
http://bacula.10910.n7.nabble.com/can-t-run-concurrent-restores-using-multiple-tape-drives-tp79446.html
Sent from the Bacula - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users