Bacula-users

Re: [Bacula-users] Update slots

2008-12-14 15:01:44
Subject: Re: [Bacula-users] Update slots
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "Massimo Schenone" <mschenone AT sorint DOT it>, bacula-users AT lists.sf DOT net
Date: Sun, 14 Dec 2008 14:59:15 -0500
On Sun, Dec 14, 2008 at 2:24 PM, Massimo Schenone <mschenone AT sorint DOT it> 
wrote:
> Hi all,
> when I get an unexpected behaviour when using the command update slots:
>
> *update slots
> Automatically selected Storage: SunSTK-C2
> Connecting to Storage daemon SunSTK-C2 at splinter:9103 ...
> Connecting to Storage daemon SunSTK-C2 at splinter:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "Drive-0" has 24 slots.
> Connecting to Storage daemon SunSTK-C2 at splinter:9103 ...
> 3306 Issuing autochanger "list" command.
> Volume "Full" not found in catalog. Slot=1 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=2 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=3 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=4 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=5 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=6 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=7 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=10 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=11 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=13 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=14 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=15 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=17 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=18 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=19 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=21 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=22 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=23 InChanger set to zero.
> Volume "Full" not found in catalog. Slot=24 InChanger set to zero.
> *list media
> Pool: Default
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes       | VolFiles
> | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |       1 | VOL0001    | Append    |       1 | 53,396,066,304 |      127
> |   31,536,000 |       1 |    1 |         0 | LTO3      | 2008-12-04
> 23:10:22 |
> |       2 | VOL0002    | Append    |       1 |              0 |        0
> |   31,536,000 |       1 |    2 |         0 | LTO3      | 0000-00-00
> 00:00:00 |
> |       3 | VOL0003    | Append    |       1 |              0 |        0
> |   31,536,000 |       1 |    3 |         0 | LTO3      | 0000-00-00
> 00:00:00 |
> |       4 | VOL0004    | Append    |       1 |              0 |        0
> |   31,536,000 |       1 |    4 |         0 | LTO3      | 0000-00-00
> 00:00:00 |
> |       5 | VOL0005    | Append    |       1 |         64,512 |        0
> |   31,536,000 |       1 |    5 |         0 | LTO3      | 0000-00-00
> 00:00:00 |
> |       6 | VOL0006    | Append    |       1 |         64,512 |        0
> |   31,536,000 |       1 |    6 |         0 | LTO3      | 0000-00-00
> 00:00:00 |
> |       7 | VOL0007    | Append    |       1 |         64,512 |        0
> |   31,536,000 |       1 |    7 |         0 | LTO3      | 0000-00-00
> 00:00:00 |
> |       8 | VOL0008    | Append    |       1 | 50,700,238,848 |       86
> |   31,536,000 |       1 |    9 |         0 | LTO3      | 2008-12-14
> 19:11:21 |
> |       9 | VOL0009    | Append    |       1 |         64,512 |        0
> |   31,536,000 |       1 |   10 |         0 | LTO3      | 0000-00-00
> 00:00:00 |
> |      10 | VOL0010    | Append    |       1 |         64,512 |        0
> |   31,536,000 |       1 |   11 |         0 | LTO3      | 0000-00-00
> 00:00:00 |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> Pool: Scratch
> No results to list.
>
> bacula is looking for "Full" volume... it's reading VolStatus but why?
> Thanks a lot!!
> M

Was this working in the past? It looks like the grabbing of the tape
name from the mtx inventory command is not working anymore. Did you
upgrade bacula or mtx recently?

John

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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>