Re: [Bacula-users] [Bacula-devel] Load slots timeout

2014-11-10 Thread Dan Langille
On Nov 10, 2014, at 3:33 AM, Andrey Chebotarev a...@525.su wrote: Hi. It's in devel because the question about editing sources, but not about configuration. And I think solve the question could only developer. The conclusion to change the code is premature. On Nov 4, 2014, at

Re: [Bacula-users] [Bacula-devel] Load slots timeout

2014-11-10 Thread heitor
Mr. Andrey, /etc/bacula/scripts/mtx-changer: wait_for_drive() { i=0 while [ $i -le 300 ]; do # Wait max 300 seconds if mt -f $1 status 21 | grep ${ready} /dev/null 21; then break fi debug Device $1 - not ready, retrying... sleep 1 i=`expr $i + 1` done } Regards,

Re: [Bacula-users] [Bacula-devel] Load slots timeout

2014-11-10 Thread Dan Langille
Consider a admin job where the drive is cleaned. I'm very confused by the library needing to clean so often. -- Dan Langille http://langille.org/ On Nov 10, 2014, at 7:45 AM, Andrey Chebotarev a...@525.su wrote: Ok, may be there is another solution. Let's put everything in one place: I

Re: [Bacula-users] [Bacula-devel] Load slots timeout

2014-11-10 Thread Dan Langille
On Nov 10, 2014, at 7:45 AM, Andrey Chebotarev a...@525.su wrote: Ok, may be there is another solution. Let's put everything in one place: I have very long jobs, which spend 30-40 cartridges per one. I have library which have to be configured with auto cleaning. During running job after

Re: [Bacula-users] [Bacula-devel] Load slots timeout

2014-11-10 Thread Kern Sibbald
There is no need to modify the code.  Just modify the bacula-sd.conf file.  It is much easier. Best regards, Kern On 11/10/2014 04:14 PM, Andrey Chebotarev wrote: I've modified and recompiled, waiting for result till

Re: [Bacula-users] [Bacula-devel] Load slots timeout

2014-11-10 Thread Dan Langille
On Nov 10, 2014, at 11:22 AM, Kern Sibbald k...@sibbald.com wrote: There is no need to modify the code. Just modify the bacula-sd.conf file. It is much easier. Best regards, Kern I think Kern refers to here:

Re: [Bacula-users] [Bacula-devel] Load slots timeout

2014-11-09 Thread Dan Langille
On Nov 8, 2014, at 7:28 PM, Dan Langille d...@langille.org mailto:d...@langille.org wrote: On Nov 4, 2014, at 6:55 AM, Andrey Chebotarev a...@525.su mailto:a...@525.su wrote: Hi guys. I use bacula 5.2.13 with IBM TS3200 library. Periodically I face problem with load slot time

Re: [Bacula-users] [Bacula-devel] Load slots timeout

2014-11-09 Thread Kern Sibbald
Hello, Assuming you are using the Bacula mtx-changer script. In case of really big problems with the mtx-changer script, the first step is to execute it by hand and see what it outputs.  The second step is to set the environment variable debug_log=1

Re: [Bacula-users] [Bacula-devel] Load slots timeout

2014-11-09 Thread Jesper Krogh
On 09/11/2014, at 17.14, Dan Langille d...@langille.org wrote: Five minutes to load a tape is way too long for something which succeeds. My hypothesis: there is a problem with the process. Yes and no If the tape has been closed properly then Yes, if it hasnt the first thing the drive is

Re: [Bacula-users] [Bacula-devel] Load slots timeout

2014-11-09 Thread Kern Sibbald
On 11/10/2014 06:54 AM, Jesper Krogh wrote: On 09/11/2014, at 17.14, Dan Langille d...@langille.org wrote: Five minutes to load a tape is way too long for something which succeeds. My hypothesis: there is a problem with the process. Yes and no If the tape has been closed properly then

Re: [Bacula-users] [Bacula-devel] Load slots timeout

2014-11-08 Thread Dan Langille
On Nov 4, 2014, at 6:55 AM, Andrey Chebotarev a...@525.su mailto:a...@525.su wrote: Hi guys. I use bacula 5.2.13 with IBM TS3200 library. Periodically I face problem with load slot time out. In logs it looks lilke: 22-Sep 00:35 baculasrv-dir JobId 10471: Recycled volume 220AAAL6