Bacula-users

Re: [Bacula-users] update slots fails for empty changer

2008-06-16 15:28:46
Subject: Re: [Bacula-users] update slots fails for empty changer
From: "John Stoffel" <john AT stoffel DOT org>
To: Arno Lehmann <al AT its-lehmann DOT de>
Date: Mon, 16 Jun 2008 15:28:22 -0400
>>>>> "Arno" == Arno Lehmann <al AT its-lehmann DOT de> writes:

Arno> Hello,
Arno> 12.06.2008 00:48, Mark Nienberg wrote:
>> bacula 2.2.8
>> 
>> The "update slots" command fails if there are no tapes in the changer.  The 
>> tapes 
>> that were previously in the changer should have the InChanger flag changed 
>> to 0, but 
>> they do not.
>> 
>> In this simple example, the changer holds one tape and "update slots" works 
>> so bacula 
>> knows there is one tape in the changer.  Then the tape is removed and 
>> "update slots" 
>> is run, but bacula does not change the volume information, as demonstrated 
>> by query 
>> 15, which shows tapes bacula thinks are in the changer.
>> 
>> 
>> *update slots
>> The defined Storage resources are:
>> 1: File
>> 2: TapeLibrary
>> Select Storage resource (1-2): 2
>> Connecting to Storage daemon TapeLibrary at khyber:9103 ...
>> 3306 Issuing autochanger "slots" command.
>> Device "Packetloader" has 10 slots.
>> Connecting to Storage daemon TapeLibrary at khyber:9103 ...
>> 3306 Issuing autochanger "list" command.
>> No Volumes found to label, or no barcodes.
>> 
>> *query
>> Choose a query (1-18): 15
>> +---------+------------+------------+-------------+------+---------+-----------+-----------+
>> | MediaId | VolumeName | GB         | Storage     | Slot | Pool    | 
>> MediaType | 
>> VolStatus |
>> +---------+------------+------------+-------------+------+---------+-----------+-----------+
>> |      38 | A0000003   | 182.3643   | TapeLibrary |    3 | WeekBar | VXA3    
>>   | Full 
>> |
>> +---------+------------+------------+-------------+------+---------+-----------+-----------+
>> 
>> 
>> Shall I file a bug report?

Arno> Yes... looks like something that should get fixed.

I've already mentioned this bizaritty to Kern but he didn't seem keen
to fix it.  Since he says the DB should never have any tape location
information in there, I don't see why he even bothers to keep it in
the DB.

My feeling is that it would be *great* to have a quick way to query
what *bacula* feels is in the library and where, without having to go
and run the 'update slots' command. 

So hey, go and file a bug report, it can't hurt.

John

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>