Bacula-users

Re: [Bacula-users] question reguarding autochanger use

2008-05-09 04:13:26
Subject: Re: [Bacula-users] question reguarding autochanger use
From: Arno Lehmann <al AT its-lehmann DOT de>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 09 May 2008 10:12:29 +0200
Hi,

07.05.2008 22:07, Blake Dunlap wrote:
>>>  Isn't the problem that a tape is currently loaded in the drive from
>>>  slot X and then at some point a technician unloads the magazines and
>>>  sees the empty slot X and puts a second tape in that slot so when
>>>  bacula trys to unload the tape from the drive it can not return it to
>>>  the slot that it was in before?
>>>
>> On Wed, May 7, 2008 at 1:07 PM, Blake Dunlap <blake AT isdn DOT net> wrote:
>>> The autochanger automatically loads tapes in the first empty slot, but
>> yes that is the problem.
>>
>> I am not sure if this is a bug with bacula, mtx or mtx-changer but it
>> looks like a bug to me.
>>
>> For my autochanger I have always been very careful to avoid this
>> situation every time I change tapes by taking note what slots were
>> loaded before I unloaded the magazines. A second way I have used to
>> avoid this is to release all the media before you add new tapes.
>>
>> John
> 
> After conferring with my other technicians, we have indeed been releasing all 
> drives before moving tapes around, and I have confirmed there are not any 
> other processes at work moving tapes around. It seems that Bacula's 
> assumption that the tape should return to the same slot (and it will be 
> empty) is inaccurate. Is there any way to not have Bacula assume the slot is 
> open?

Not as far as I know.

Though the needed infrastructure is there - Bacula has slot usage in 
the catalog and the mtx-changer script already accepts a target slot. 
  Now the only real thing to do is to implement a target slot 
selection before unloading, and update the catalog accordingly.

If the improved autochanger status with slots management is available, 
almost all the necessary infrastructure is there - namely ways to 
verify the current slot usage against the catalog data. Adding target 
slot selection before unloading would be rather simple, I guess.

Feature request, anyone?

Arno


-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users