Mandi! Pierre Bernhardt
  In chel di` si favelave...

> You can set debug_log=1 to create a mtx.log in ~bacula home dir which should 
> be /var/lib/bacula.
> I'd set debug_level=100 to log everything.

I make a note. Setting:
        debug_log=1
        debug_level=100

caused mtx-changer to fail (silently: bacula reply 'No slots in changer');
i've restored original value, and 'update slots' come back as usual.

I don't know if this is a debian bug or a more general script bug (or it was
intended).


Generally speaking, i've not clear if i need to set:

 # Set to amount of time in seconds to wait after an offline
 offline_sleep=0
 
 # Set to amount of time in seconds to wait after a load
 load_sleep=0

'offline_sleep', 'load_sleep', or both.


> offline_sleep should be 1.

1 or 900?


> By the way I'm using mtx-changer script for years untouched I found in my one 
> the parameters won't
> be used in the waiting loop:

I can confirm that wait_for_drive() function have an hardcoded wait of 900
iteration/seconds also on debian.
But 'offline_sleep' snd 'load_sleep' get used on script, with a simple
sleep.


Thanks.

-- 
  Tu da che parte stai?
  Stai dalla parte di chi ruba nei supermercati,
  o di chi li ha costruiti rubando.                     (F. De Gregori)




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

Reply via email to