Bacula-users

Re: [Bacula-users] MaxWaitTime and auto cancel a job waiting for a tape?

2015-08-03 17:17:12
Subject: Re: [Bacula-users] MaxWaitTime and auto cancel a job waiting for a tape?
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
To: "Bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 3 Aug 2015 18:14:55 -0300
Hello,

Max Wait Time works as expected. I´m affraid 30 seconds is not enough time to wait for a tape to be mounted if you´re using a tape library. The default time that bacula waits for a device that is busy (initializing or something else) is 5 minutes. If you´re working with a tape library I would recommend you to set this value to 5 minutes.

Best regards,
Ana

On Mon, Aug 3, 2015 at 1:34 PM, jalil1408 <bacula-forum AT backupcentral DOT com> wrote:
I read in this link http://marc.info/?l=bacula-bugs&m=127548196026667 that The current definition of MaxWaitTime take the following status in account:
 JS_WaitFD
 JS_WaitSD
 JS_WaitMedia
 JS_WaitMount
 JS_WaitStoreRes
 JS_WaitJobRes
 JS_WaitClientRes
 JS_WaitMaxJobs
 JS_WaitPriority
 JS_WaitMedia
 JS_WaitMount
 JS_WaitMaxJobs

But the documentation describes it as the maximum allowed time that a job may block waiting
for a resource (such as waiting for a tape to be mounted, or waiting for the storage or file daemons to
perform their duties).

I try to use [Max Wait Time = 30 seconds] to auto cancel a job when it starts and waits for a tape, but I have problems with it. it count this delay from schedule or start time instead of blocking time!

Any alternative to this buggy MaxWaitTime to achieve my goal?

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



------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users