I understand that you are using bscan. Maybe I am missing something, but my
understanding is that once you add tapes to an autochanger you need to do
"update slots" in bconsole. This syncs the autochanger inventory with the
bacula director.

I have not imported tapes using bscan, so I am sorry if I'm missing
something important about that process.

Robert Gerber
402-237-8692
r...@craeon.net

On Fri, Sep 15, 2023, 9:23 AM SulEsh <sulesh0...@gmail.com> wrote:

> I am using bscan and not directly doing it via bconsole.
> Thus update slots in actual is not required here.
>
> On Fri, Sep 15, 2023 at 3:40 PM Rob Gerber <r...@craeon.net> wrote:
>
>> After you add tapes to changer you must tell bacula director what tapes
>> are in changer. To do this, open bconsole and do
>>
>> update slots
>>
>>
>>
>> Robert Gerber
>> 402-237-8692
>> r...@craeon.net
>>
>> On Fri, Sep 15, 2023, 7:13 AM SulEsh <sulesh0...@gmail.com> wrote:
>>
>>> Hi
>>>
>>> I want to execute bscan via bash script as I have quite some amount of
>>> tapes to synchronise with Bacula DB. If I run bscan manually than it is
>>> working fine but if I try the bscan via Bash Script than it is always stuck
>>> at a point and unless or until I press Enter, it is not going forward.
>>> I tried several procedure to automate the Enter in Bash Script but it
>>> did not work rather getting the following error message(I have trimmed few
>>> info from original message).
>>>
>>> *No Slot Defined in catalog for volume on drive*
>>> *Cartridge Change or "update slots" may be required*
>>> *Mount Volume on device and press return when ready.*
>>>
>>> Now if i introduce the Automatic Carriage Return in bash script, I am
>>> starting getting Input/Output Error Message related to device.
>>> If anyone has ever tried bscan via bash script, please let me know as it
>>> will be a great help if I automate this procedure.
>>>
>>> Regards
>>>
>>> Sul
>>> _______________________________________________
>>> 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