Re: Library and clean cartdrige...

Marco Gaiarin <[email protected]>
Newsgroups gmane.comp.bacula.user
Organization Il gaio usa sempre TIN per le liste, fallo anche tu!!!
Message-ID <[email protected]>
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!

--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.