Bacula-users

[Bacula-users] Autochanger "waiting on max Storage jobs" Issues

2013-04-25 12:20:09
Subject: [Bacula-users] Autochanger "waiting on max Storage jobs" Issues
From: jburkemx <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 15 Apr 2013 10:32:47 -0700
I have a Dell TL2000 (IBM TS3100) w/ two LTO5 drives.

I can't seem to get two backup jobs to run at the same time.  The first starts 
fine, but the second is always 'waiting on max Storage jobs'.

Does anybody know how to get multiple simultaneous jobs to write to one of the 
two available tape drives?


Relevant files:

Bacula-dir.conf:

Director {                            # define myself
  Name = bacula-dir
  DIRport = 9101
  QueryFile = "/etc/bacula/scripts/query.sql"
  WorkingDirectory = /var/lib/bacula
  PidDirectory = "/var/run/bacula"
  Maximum Concurrent Jobs = 20
  Messages = Daemon
#  DirAddress = 127.0.0.1
}

JobDefs {
  Name = DefaultJob
  Type = Backup
  Level = Incremental
  Client = bacula-fd
  FileSet = "Full Set"
  Schedule = WeeklyCycle-Full-diff-inc
  Storage = File
  Messages = Standard
  Pool = File
  Priority = 10
  Write Bootstrap = "/var/lib/bacula/%c.bsr"
  Enabled = No
}

Job {
  Name = BackupClient1
  JobDefs = DefaultJob
  Enabled = No
}

Schedule {
  Name = WeeklyCycle-Full-diff-inc
  Run = Level=Full 1st sun at 20:05
  Run = Level=Differential 2nd-5th sun at 20:05
  Run = Level=Incremental mon-sat at 20:05
}

Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full sun-sat at 23:10
}

FileSet {
  Name = "Catalog"
  Include {
    Options {
      signature = MD5
    }
    File = "/var/lib/bacula/bacula.sql"
  }
}

Client {
  Name = bacula-fd
  Address = localhost
  FDPort = 9102
  Catalog = MyCatalog
  File Retention = 30 days            # 30 days
  Job Retention = 6 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}


Storage {
  Name = File
  Address = bacula.corp.themxgroup.com 
  SDPort = 9103
  Device = FileStorage
  Media Type = File
}

Storage {
Name = TL2000
Address = bacula.corp.themxgroup.com
SDPort = 9103
Device = TL2000
Autochanger = yes
Media Type = LTO5
}

Catalog {
  Name = MyCatalog
}

Client {
  Name = spartan-fd
  Address = 10.10.10.17
  FDPort = 9102
  Catalog = MyCatalog
  File Retention = 30 days
  Job Retention = 3 months
}
FileSet {
  Name = Spartan_Assets
  Include {
    File = /srv/smb/mx_shares/assets
    Options {
    }
  }
  Exclude {
    File = /.blksnap
    File = /srv/smb/agency/.blksnap
    File = /srv/smb/admin/.blksnap
    File = /srv/smb/general/.blksnap
    File = /srv/smb/internal/.blksnap
    File = /srv/smb/lms/.blksnap
    File = /srv/smb/mx_shares/.blksnap
    File = /srv/smb/video/newshare/.blksnap
    File = /srv/smb/active_projects/.blksnap
    File = /srv/smb/assets/.blksnap
  }
}
FileSet {
  Name = Spartan_Archive
  Include {
    File = /srv/smb/mx_shares/archived
    Options {
    }
  }
  Exclude {
    File = /.blksnap
    File = /srv/smb/agency/.blksnap
    File = /srv/smb/admin/.blksnap
    File = /srv/smb/general/.blksnap
    File = /srv/smb/internal/.blksnap
    File = /srv/smb/lms/.blksnap
    File = /srv/smb/mx_shares/.blksnap
    File = /srv/smb/video/newshare/.blksnap
    File = /srv/smb/active_projects/.blksnap
    File = /srv/smb/assets/.blksnap
  }
}
FileSet {
  Name = "Spartan LMS Internal General"
  Include {
    File = /srv/smb/agency
    File = /srv/smb/admin
    File = /srv/smb/general
    File = /srv/smb/internal
    File = /srv/smb/lms
    File = /srv/smb/mx_shares
    Options {
  OneFS = no
    }
  }
  Exclude {
    File = /srv/smb/mx_shares/archived
    File = /srv/smb/mx_shares/oldarchivedrive
    File = /srv/smb/mx_shares/assets
    File = /.blksnap
    File = /srv/smb/agency/.blksnap
    File = /srv/smb/admin/.blksnap
    File = /srv/smb/general/.blksnap
    File = /srv/smb/internal/.blksnap
    File = /srv/smb/lms/.blksnap
    File = /srv/smb/mx_shares/.blksnap
    File = /srv/smb/video/newshare/.blksnap
    File = /srv/smb/active_projects/.blksnap
    File = /srv/smb/assets/.blksnap
    File = /srv/smb/mx_shares/old_active_projects
  }
}
Job {
  Name = Backup-Spartan-Assets
  Type = Backup
  Level = Incremental
  Client = spartan-fd
  FileSet = Spartan_Assets
  Schedule = WeeklyCycle-Full-diff-inc
  Storage = TL2000
  Pool = TL2000_Incremental_Pool
  Messages = Standard
}

Pool {
  Name = TL2000_Incremental_Pool
  Pool Type = Backup
  Volume Retention = 45 days
  Recycle = yes
  AutoPrune = yes
  Cleaning Prefix = "CLN"
}

Job {
  Name = Backup-Spartan-Archive
  Type = Backup
  Level = Incremental
  Client = spartan-fd
  FileSet = Spartan_Archive
  Schedule = WeeklyCycle-Full-diff-inc
  Storage = TL2000
  Pool = TL2000_Incremental_Pool
  Messages = Daemon
}

Job {
  Name = Backup-Spartan-Others
  Type = Backup
  Level = Incremental
  Client = spartan-fd
  FileSet = "Spartan LMS Internal General"
  Schedule = WeeklyCycle-Full-diff-inc
  Storage = TL2000
  Pool = TL2000_Incremental_Pool
  Messages = Standard
}


Bacula-sd.conf

Storage {                             
  Name = bacula-sd
  SDPort = 9103                  
  WorkingDirectory = "/var/lib/bacula"
  Pid Directory = "/var/run/bacula"
  Maximum Concurrent Jobs = 20
}

Director {
  Name = bacula-dir
}

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /srv/backup_spool
  LabelMedia = yes;                   
  Random Access = Yes;
  AutomaticMount = yes;               
  RemovableMedia = no;
  AlwaysOpen = no;
}

Autochanger {
  Name = TL2000
  Device = TL2000-LTO5-0, TL2000-LTO5-1
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg5
}

Device {
  Name = TL2000-LTO5-0
  Drive Index = 0
  Media Type = LTO5
  Archive Device = /dev/nst0
  Changer Device = /dev/sg5
  AutomaticMount = yes;               
  AlwaysOpen = yes;
  LabelMedia = no;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Spool Directory = /srv/backup_spool
  Maximum Spool Size = 268435456000
  Maximum File Size = 5G
  Alert Command = "sh -c 'date >> /var/lib/bacula/st0; sudo /usr/sbin/smartctl 
-H -l error /dev/st0 | tee -a /var/lib/bacula/st0'"
  Maximum Concurrent Jobs = 1
}

Device {
  Name = TL2000-LTO5-1
  Drive Index = 1
  Media Type = LTO5
  Archive Device = /dev/nst1
  Changer Device = /dev/sg5
  AutomaticMount = yes;               
  AlwaysOpen = yes;
  LabelMedia = no;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Spool Directory = /srv/backup_spool
  Maximum Spool Size = 268435456000
  Maximum File Size = 5G
  Alert Command = "sh -c 'date >> /var/lib/bacula/st1; sudo /usr/sbin/smartctl 
-H -l error /dev/st1 | tee -a /var/lib/bacula/st1'"
  Maximum Concurrent Jobs = 1
}


Thanks for any and all help



-- James | semaJ

+----------------------------------------------------------------------
|This was sent by jburke AT themxgroup DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>