Bacula-users

Re: [Bacula-users] Autochanger incorrectly assigning first slot number

2017-06-28 16:54:31
Subject: Re: [Bacula-users] Autochanger incorrectly assigning first slot number
From: Ivan Adzhubey <iadzhubey AT rics.bwh.harvard DOT edu>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 28 Jun 2017 16:53:20 -0400
Hi Kern,

On Wednesday, June 28, 2017 11:01:01 AM Kern Sibbald wrote:
> Hello,
> 
> I think this is what we politely call a "pilot error/misunderstanding".

Which one? I do not see any error I might have made, certainly nothing that 
would require strong words ;-)

> From what you have described, mtx is behaving correctly.  Normally I
> turn off the mail slot (aka import/export slot) on my autochanger and
> the problem goes away. It is my understanding that Bacula can be used
> with a mail slot, but I do not know how -- probably the simplest is to
> make sure there is no volume in the mail slot when you are doing an
> "update slots barcodes" command.  If you do that, Bacula should never
> access slot 1.

Disabling mailslot in the changer's configuration was my initial idea as well. 
However, I decided to first try installing full set of magazines into the 
carousel, occupying all carousel faces, and lo and behold - this has fixed all 
mtx slot numbering errors immediately.

Before that, we had some faces on the carousel completely vacant, with no 
magazines installed. Looks like such configuration, while supported by the 
changer documentation, confused mtx and caused it to loose track of the 
mailslot position. Now, with all carousel faces occupied by magazines (some of 
them empty), the mailslot is correctly tagged in the mtx output by the 
"IMPORT/EXPORT" string and load/unload commands no longer confuse storage 
element slot #1 with the mailslot.

I am not sure how common this problem could be. We previously ran Qualstar 
RLS-4445 changer with varying number of magazines installed and never had any 
issues with Bacula loosing track of the slot numbers. This model however, did 
not have a mailslot.

--Ivan


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


ADSM.ORG Privacy and Data Security by https://kimlaw.us