Bacula-users

Re: [Bacula-users] autochanger and barcode

2009-10-16 13:22:15
Subject: Re: [Bacula-users] autochanger and barcode
From: John Drescher <drescherjm AT gmail DOT com>
To: Nicola Quargentan <nicola AT quargentan DOT com>
Date: Fri, 16 Oct 2009 13:18:56 -0400
On Fri, Oct 16, 2009 at 1:05 PM, Nicola Quargentan
<nicola AT quargentan DOT com> wrote:
> John Drescher ha scritto:
>>
>> On Fri, Oct 16, 2009 at 12:17 PM, Nicola Quargentan
>> <nicola AT quargentan DOT com> wrote:
>>>
>>> Alex Chekholko ha scritto:
>
> cut...
>>
>> Okay. None of the tapes are in any pool. So now you really only want
>> to use the label barcodes command
>>
>> and put all volumes in the Scratch pool. No need to specify slots
>> since all tapes need to go to the scratch.
>>
>> John
>>
>
> Ok, current situation:
>
>
> *update slots
> The defined Storage resources are:
>     1: File
>     2: autochanger
> Select Storage resource (1-2): 2
> Connecting to Storage daemon autochanger at backup.quargentan.loc:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "tape-burp-LTO4" has 23 slots.
> Connecting to Storage daemon autochanger at backup.quargentan.loc:9103 ...
> 3306 Issuing autochanger "list" command.
> Catalog record for Volume "GDV100L4" updated to reference slot 1.
> Catalog record for Volume "GDV106L4" updated to reference slot 2.
> Volume "GDV101L4" not found in catalog. Slot=5 InChanger set to zero.
> Catalog record for Volume "GDV102L4" updated to reference slot 6.
> Catalog record for Volume "GDV107L4" updated to reference slot 12.
> Catalog record for Volume "GDV105L4" updated to reference slot 13.
> Catalog record for Volume "GDV104L4" updated to reference slot 14.
> Catalog record for Volume "GDV103L4" updated to reference slot 15.
> *list volumes
> Pool: Scratch
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten    |
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |      14 | GDV100L4   | Append    |       1 |   64,512 |        0 |
> 31,536,000 |       1 |    1 |         1 | LTO4      | 0000-00-00 00:00:00 |
> |      15 | GDV106L4   | Append    |       1 |   64,512 |        0 |
> 31,536,000 |       1 |    2 |         1 | LTO4      | 0000-00-00 00:00:00 |
> |      16 | GDV102L4   | Append    |       1 |   64,512 |        0 |
> 31,536,000 |       1 |    6 |         1 | LTO4      | 0000-00-00 00:00:00 |
> |      17 | GDV107L4   | Append    |       1 |   64,512 |        0 |
> 31,536,000 |       1 |   12 |         1 | LTO4      | 0000-00-00 00:00:00 |
> |      18 | GDV105L4   | Append    |       1 |   64,512 |        0 |
> 31,536,000 |       1 |   13 |         1 | LTO4      | 0000-00-00 00:00:00 |
> |      19 | GDV104L4   | Append    |       1 |   64,512 |        0 |
> 31,536,000 |       1 |   14 |         1 | LTO4      | 0000-00-00 00:00:00 |
> |      20 | GDV103L4   | Append    |       1 |   64,512 |        0 |
> 31,536,000 |       1 |   15 |         1 | LTO4      | 0000-00-00 00:00:00 |
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> Pool: FullTest
> No results to list.
> Pool: DiffTest
> No results to list.
> Pool: IncrTest
> No results to list.
> Pool: Default
> No results to list.
> Pool: Monday
> No results to list.
> Pool: Tuesday
> No results to list.
> Pool: Wednesday
> No results to list.
> Pool: Thursday
> No results to list.
> Pool: Friday
> No results to list.
> Pool: Saturday
> No results to list.
> Pool: Sunday
> No results to list.
> *
>
> Now I have some problem with slot 5. I will try to clean the tape (with
> mtx).
>
Perhaps you did not do an update slots before the label?

type label barcodes again into the Scratch pool. Even though bacula
will say its going to label all of the volumes it will only choose the
one in slot5

John

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users