Mandi! Marco Gaiarin
  In chel di` si favelave...

> Someone have some clue/info on that? I'm trying to modify mtx-changer, but
> i've not clear if tiemout happens because is a 'sleep 300', so no output for
> 5 minutes, while if i do some sort of loops doing some output bacula will
> gracefully wait...

No, also trying to do shorts loops on 'unload' case in script, supposing that
wil behave better, lead to bacula kill the script:

 *unmount storage=CNPVE3Autochanger
 Using Catalog "BaculaLNF"
 Connecting to Storage daemon CNPVE3Autochanger at cnpve3.cn.lnf.it:9103 ...
 3307 Issuing autochanger "unload Volume AAJ663L9, Slot 4, Drive 0" command.
 3995 Bad autochanger "unload Volume AAJ663L9, Slot 4, Drive 0": ERR=Child died 
from signal 15: Termination Results=Program killed by Bacula (timeout)
 3002 Device ""LTO9Storage0" (/dev/nst0)" unmounted.

So, this seems solved only by:

1) increasing bacula timeout when run autochanger script; i've look into the
 docs but i've not found the knob; i've not looked at code, but i suppose is
hardcoded somewhere...

2) try to make the script some output like: 'i'm still running, please
 bacula storage daemon don't kill me...'.


Someone have some clue? For now, i'm simply forced to do an 'rewind' of the
tape, directly on tape device, before doing any autochanger operation that
involve a non-empty tape...

-- 
  I segreti per restare a galla tu li conosci meglio di me.
  Ed e` per questo che non mi piaci
  e grazie al cielo io non piaccio a te                 (F. De Gregori)




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

Reply via email to