Hi,

I have set all Max Concurrent enries to 20. The one in the directory was at
'1'.

It now takes a bit longer until i see this behavior (there are still client
which are not reachable for Bacula but that's not bacula's problem.)

When I do a 'status director' I see the following:

Running Jobs:
 JobId Level   Name                       Status
======================================================================
    14 Increme  Joshua.2006-03-08_15.05.00 is waiting for an appendable
Volume
    15 Increme  Jabez.2006-03-08_15.05.01 is waiting on max Storage jobs
    16 Increme  Elia.2006-03-08_15.05.02 is waiting on max Storage jobs
    17 Increme  Joshua.2006-03-08_16.35.00 is waiting on max Storage jobs
    18 Increme  Jabez.2006-03-08_16.35.01 is waiting on max Storage jobs
    19 Increme  Elia.2006-03-08_16.35.02 is waiting on max Storage jobs
====


A 'status storage' shows me:

Device status:
Device "FileStorageDevice" (/backup) is not open or does not exist.
    Device is BLOCKED waiting for media.
====

In Use Volume status:
====

This might be the problem, I just don't know why Bacula tells me the Device
is BLOCKED?
Here is my Device definition:

Device {
  Name = FileStorageDevice
  Media Type = File
  Archive Device = /backup
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

The Pool definition:

Pool {
  Name = Default
  Pool Type = Backup
  LabelFormat = "${Client:s/-fd//t}-default-${Level}-${NumVols:p/3/0/r}"
  Recycle = yes                       # Bacula can automatically recycle
Volumes
  AutoPrune = yes                     # Prune expired volumes
#  Accept Any Volume = yes             # write on any volume in the pool
  Maximum Volume Jobs = 1
  Volume Retention = 6 month
  Maximum Volumes = 6
}


Just don't know where to look else. 

Can you see a problem?

Thanks,
Torsten.

-- 
 
Torsten Uhlmann
AGYNAMIX(R). Sheltering Talent.
 
Phone:   +49 3721 273445
Fax:     +49 3721 273446
Mobile:  +49 177 5261680
Web:     http://www.agynamix.de
  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Arno Lehmann
> Sent: Tuesday, March 07, 2006 8:23 PM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Bacula Director hangs
> 
> Hello,
> 
> On 3/7/2006 7:54 PM, AGYNAMIX Torsten Uhlmann wrote:
> > 
> > Hi all,
> >  
> > version 1.38.5 seems to hang on my machine the same way as 1.36. My 
> > machine is Ubuntu 5.10, AMD64, mysql database.
> >  
> > It worked for a while (3 hours or so), made some backups 
> successfully 
> > and now my wx console connects to it but nothing else (no available 
> > commands are displayed etc.) I cannot issue any command.
> >  
> > The last lines in the log are:
> >  
> >  
> > 07-Mär 18:35 kaleb.agynamix.local-dir: 
> Elia.2006-03-07_16.35.02 Warning: 
> > bnet.c:853 Could not connect to File daemon on 
> > elia.agynamix.local:9102. ERR=Keine Route zum Zielrechner 
> Retrying ...
> > 07-Mär 18:40 kaleb.agynamix.local-di
> >  
> > (The last line is exactly this way written in the log).
> 
> Yes, that's the typical result of output buffering. You need 
> the DIR to create more output so that the buffer is flushed. 
> If you want to see the end of that line, that is.
> 
> 
> > The pc here is a notebook which is not in the net currently 
> and thus 
> > could not be found.
> >  
> > I'm sure I'm doing something wrong, I just don't know what.
> 
> I can assure you that having one client unavailable doesn't 
> break Bacula usually... I could imagine that, if you've got 
> only one parallel job allowed, Bacula seems to hang but, 
> behind the scenes, quietly waits to do its work.
> 
> strace or gdb might help in such a case, and although I am an 
> amateur regarding these tools I found it simple enough to 
> prove a process is doing something using strace :-)
> 
> Anyway, what I would suggest is that you either remove the 
> job regarding the notebook from the schedule, or set up a 
> "Run Before Job" script which checks if the notebook is there 
> and exits with a return code of 1 otherwise. Ping is good for that...
> 
> Also, try setting a higher number of jobs to run in parallel 
> to make sure that it's not simply the number of allowed jobs 
> preventing communication between client and the DIR (Maximum 
> concurrent jobs, also for the FDs and SD!).
> 
> > Thanks again for your help!
> >  
> > Torsten.
> > 
> > --
> > 
> > Torsten Uhlmann
> > AGYNAMIX(R). Sheltering Talent.
> > 
> > Phone:   +49 3721 273445
> > Fax:     +49 3721 273446
> > Mobile:  +49 177 5261680
> > Web:     http://www.agynamix.de <http://www.agynamix.de/>
> >  
> > 
> >  
> 
> -- 
> IT-Service Lehmann                    [EMAIL PROTECTED]
> Arno Lehmann                  http://www.its-lehmann.de
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking 
> scripting language that extends applications into web and 
> mobile media. Attend the live webcast and join the prime 
> developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd___________________________
> ____________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to