Greetings,

I have a disk to disk to tape testbed set up  and I'm seeing strange
behavior.  When I run a migrate job, the migrate job spawns all of the
child jobs based on the criteria set in the migrate job def.  all of
the child jobs run no problem but the original job gets hung in the 
director waiting for max storage Jobs.  

I have a hunch but I'm not sure how everything interacts,  all of the 
scheduled jobs have an associated volume that bacula thinks its going 
to use.  
(see the status dir output below )but the migrate jobs don't have one 
listed. 
I have the relevent conf snippets listed below.

here's "status dir days=3" :

adcd1149-dir Version: 1.39.26 (14 October 2006) i686-pc-linux-gnu 
mandrake 
release
Daemon started 17-Oct-06 12:44, 37 Jobs run since started.
 Heap: bytes=122,930 max_bytes=135,758 bufs=808 max_bufs=876

Scheduled Jobs:
Level          Type     Pri  Scheduled          Name       Volume
======================================================================
Incremental  Backup  10  24-Oct-06 13:05  Client1       File-Inc-B-0001
Incremental  Backup  10  24-Oct-06 13:05  adc040415-056 File-Inc-B-0001
Incremental  Backup  10  24-Oct-06 13:05  g3ppn         File-Inc-B-0001
Incremental  Backup  10  24-Oct-06 13:05  intuity       File-Inc-B-0001
Incremental  Backup  10  24-Oct-06 13:05  adc020601-069 File-Inc-B-0001
Full         Backup  11  24-Oct-06 23:10  BackupCatalo  File-Inc-A-0001
Differential Backup  10  25-Oct-06 21:05  Client1       File-Dif-B-0001
Differential Backup  10  25-Oct-06 21:05  intuity       File-Dif-B-0001
Differential Backup  10  25-Oct-06 21:05  adc040415-056 File-Dif-B-0001
Differential Backup  10  25-Oct-06 21:05  g3ppn         File-Dif-B-0001
Differential Backup  10  25-Oct-06 21:05  adc020601-069 File-Dif-B-0001
Full         Migrate 10  26-Oct-06 09:30  Migrate-A-Full     
Full         Migrate 10  26-Oct-06 09:30  Migrate-A-Dif      
Full         Migrate 10  26-Oct-06 09:30  Migrate-A-Inc      
Incremental  Backup  10  26-Oct-06 13:05  Client1       File-Inc-B-0001
Incremental  Backup  10  26-Oct-06 13:05  adc020601-069 File-Inc-B-0001
Incremental  Backup  10  26-Oct-06 13:05  intuity       File-Inc-B-0001
Incremental  Backup  10  26-Oct-06 13:05  g3ppn         File-Inc-B-0001
Incremental  Backup  10  26-Oct-06 13:05  adc040415-056 File-Inc-B-0001
====

Running Jobs:
 JobId Level   Name                       Status
======================================================================
 13 Full Migrate-B-Full.2006-10-19_09.30.00 is waiting on max Storage 
jobs
 14 Full Migrate-B-Inc.2006-10-19_09.30.01 is waiting on max Storage 
jobs
 15 Full Migrate-B-Dif.2006-10-19_09.30.02 is waiting on max Storage 
jobs
 21 Full BackupCatalog.2006-10-19_23.10.00 is waiting for higher 
priority jobs to finish
 27 Full BackupCatalog.2006-10-20_23.10.00 is waiting execution
 43 Full BackupCatalog.2006-10-23_23.10.00 is waiting execution
====

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name 
====================================================================
    33  Full     11,526    401.0 M  OK     22-Oct-06 21:06 Client1
    34  Full      2,683    134.1 M  OK     22-Oct-06 21:06 adc020601-069
    35  Full     20,054    474.2 M  OK     22-Oct-06 21:20 intuity
    36  Full      2,518    114.1 M  OK     22-Oct-06 21:20 g3ppn
    37  Full      8,615    249.5 M  OK     22-Oct-06 21:22 adc040415-056
    38  Incr          1    26.84 M  OK     23-Oct-06 13:05 Client1
    39  Incr          3    1.780 M  OK     23-Oct-06 13:05 adc020601-069
    40  Incr          1         0   OK     23-Oct-06 13:07 intuity
    41  Incr          0         0   OK     23-Oct-06 13:07 g3ppn
    42  Incr          0         0   OK     23-Oct-06 13:07 adc040415-056

====





########################################################
Dir.conf

Director {                            # define myself
  Name = adcd1149-dir
  DIRport = 9101                # where we listen
  QueryFile = "/opt/bacula/etc/query.sql"
  WorkingDirectory = "/opt/bacula/working"
  PidDirectory = "/opt/bacula/working"
  Password = "directorpassword"         # Console password
  Messages = Daemon
}
JobDefs {
  Name = "DefaultJob"
  Type = Backup 
  Level = Incremental
  Pool = File-Inc-A-Pool
  FileSet = "Full Set"
  Schedule = "MonthlyCycle"
  Storage = File
  Messages = Standard
  Priority = 10
}
Job {
   Name = "Migrate-A-Full"
   Schedule = "MigrateA-Schedule"
   Type = Migrate
   Level = Full
   Client = adcd1149-fd
   FileSet = "Full Set"
   Messages = Standard
   Storage = Tape
   Pool = File-Full-A-Pool
   Maximum Concurrent Jobs = 4
   Selection Type = Volume
   Selection Pattern = "File-Full-A-*"
}
# Client (File Services) to backup
Client {
  Name = adcd1149-fd
  Address = adcd1149
  FDPort = 9102
  Catalog = MyCatalog
  Password = "fdpassword"             
  File Retention = 58 days           
  Job Retention = 4 months            
  AutoPrune = yes                     
}

Storage {
  Name = File
# Do not use "localhost" here    
  Address = adcd1149               
  SDPort = 9103
  Password = "sdpassword"
  Device = File-Device
  Media Type = File
}
Storage {
  Name = Tape
  #Do not use "localhost" here
  Address = adcd1149               
  SDPort = 9103
  Password = "sdpassword"          
  Device = Drive-1                      
  Media Type = "VXA-2"                 
#  Autochanger = yes      
}
Pool {
  Name = File-Full-A-Pool
  Pool Type = Backup
  Next Pool = Tape-Pool
  Storage = File
  Label Format = "File-Full-A-"
  Maximum Volume Bytes = 3221225250 
  Volume Use Duration = 3 days
  Recycle = yes                       
  AutoPrune = yes                     
  Volume Retention = 6 days        
  Maximum Volumes = 3
}

Pool {
  Name = Tape-Pool
  Pool Type = Backup
  Recycle = no                      
  AutoPrune = no                     
  Volume Retention = 1095 days        
  Storage = Tape
}
#############################################################
SD.conf
Device {
  Name = File-Device
  Media Type = File
  Archive Device = /bacvols/volumes
  LabelMedia = yes;                   # lets Bacula label 
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = yes;
  LabelMedia = yes
}

Device {
  Name = Drive-1                   
  Drive Index = 0
  Media Type = "VXA-2"
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  LabelMedia = yes;
  RemovableMedia = yes;
  RandomAccess = no;
#  AutoChanger = yes
#  # Enable the Alert command only if you have the mtx package loaded
#  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
Thanks for any insight!
Regards,
Fred
-- 





-- 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to