Thank you to everyone that replied.  The disable storage command did what was 
needed.  One issue with using it is the obnoxious noise produced by the 
director in every job that was initially assigned the disabled drive.  Kern, 
this is beyond ridiculous.
.
.
.
2019-01-04 10:27:51 rdback2-sd JobId 198498: Warning: 
     Device "adminChanger" requested by DIR is disabled.
2019-01-04 10:27:51 rdback2-sd JobId 198498: Warning: 
     Device "adminChanger" requested by DIR is disabled.
2019-01-04 10:27:51 rdback2-sd JobId 198498: Warning: 
     Device "adminChanger" requested by DIR is disabled.
.
.
. 
And it goes on for pages and pages until the job is assigned an available drive.

Patti
 

On 1/3/19, 1:30 PM, "Bill Arlofski" <waa-bac...@revpol.com> wrote:

    On 01/02/2019 02:45 PM, Clark, Patti via Bacula-users wrote:
    > Is there a way to put a malfunctioning tape drive in an autochanger into a
    > service mode via commands without modifying bacula configuration files?
    > 
    >  
    > 
    > */Patti Clark/*
    
    Hi Patti,
    
    There is an enable/disable command to do this:
    
    * disable storage=xxxx drive=yyyy
    
    
    A status storage will show this drive disabled by "User command":
    ----8<----
    Device File: "speedy_drv_0" (/path/to/device/0) is not open.
       Device is disabled. User command.
       Drive 0 is not loaded.
       Available Space=xxxx GB
    ----8<----
    
    
    To enable it again:
    
    * enable storage=xxxx drive=yyyy
    
    I do not believe the disable is permanent.. ie: it will not survive an SD
    restart, but it should help in your situation.
    
    Hope this help.
    
    
    Best regards,
    
    Bill
    
    
    -- 
    Bill Arlofski
    http://www.revpol.com/bacula
    -- Not responsible for anything below this line --
    
    
    _______________________________________________
    Bacula-users mailing list
    Bacula-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/bacula-users
    


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

Reply via email to