Bacula-users

[Bacula-users] update slots fails for empty changer

2008-06-12 01:02:09
Subject: [Bacula-users] update slots fails for empty changer
From: Mark Nienberg <gmane AT tippingmar DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 11 Jun 2008 15:48:54 -0700
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?

Mark


-------------------------------------------------------------------------
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>