Mandi! Bill Arlofski via Bacula-users
  In chel di` si favelave...

> You cannot tell Bacula to load a cleaning tape without experiencing
> these kinds of errors, because when the SD is told to 
> load a tape from a slot into a drive, the 'mtx-changer' script calls the 
> 'mtx' utility to load, then, once that returns OK, 
> the script calls `mt -f /tape/nodeid status` over and over (with 
> time/iteration limits and some sleep time between each call) 
> until it sees a "ONLINE" in the `mt status` output (in the case of a Linux 
> distribution).
> 
> In the case of a cleaning tape, this "ONLINE" will never appear, and the 
> mtx-changer script will always time out and fail, 
> then return with errorlevel 1, and the SD will complain exactly as you have 
> demonstrated above.

I supposed that. Super clear! And thanks to all!


> You have two choices for cleaning tape drives with Bacula:
> - Manual: Issue a disable command to the drive in bconsole, then manually 
> load/unload a cleaning tape, then re-enable the drive.

Only a note: you meant 'disable job(s)', right? 'disable [command to] the
drive' seems not possible in bconsole, or i'm missing something...

Generally speaking: be sure there's NO 'something' that (try to) manage the
library while cleaning (so stopping the SD could be a, perhaps strong, way).


Thanks!

-- 




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

Reply via email to