Bacula-users

Re: [Bacula-users] vchanger and 'label barcodes' issue

2009-04-22 14:14:27
Subject: Re: [Bacula-users] vchanger and 'label barcodes' issue
From: Josh Fisher <jfisher AT pvct DOT com>
To: "T. Plancon" <tplancon AT bkaarchs DOT com>
Date: Wed, 22 Apr 2009 14:08:41 -0400
Delete the volume files from the USB drive and try again without issuing 
the update slots command before the label barcodes.

T. Plancon wrote:
> Hello,
>
> I'm working on setting up Bacula 2.4.2 with the current version of 
> vchanger 0.8.2 from Sourceforge, using USB drives on CentOS 5.2. 
> Everything is going pretty much as described in the vchanger HowTo, 
> however "label barcodes" fails. the following is from console in BAT, 
> after attaching USB drive:
>
> update slots
> Select Storage resource (1-2): Connecting to Storage daemon usbbcla1 at 
> p-plover:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "usbchanger" has 9 slots.
> Connecting to Storage daemon usbbcla1 at p-plover:9103 ...
> 3306 Issuing autochanger "list" command.
> Volume "usbbcla1_0001_0001" not found in catalog. Slot=1 InChanger set 
> to zero.
> Volume "usbbcla1_0001_0002" not found in catalog. Slot=2 InChanger set 
> to zero.
> ...................
> Volume "usbbcla1_0001_0008" not found in catalog. Slot=8 InChanger set 
> to zero.
> Volume "usbbcla1_0001_0009" not found in catalog. Slot=9 InChanger set 
> to zero.
>
> label barcodes
> Connecting to Storage daemon usbbcla1 at p-plover:9103 ...
> Sending label command for Volume "usbbcla1_0001_0001" Slot 1 ...
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result: nothing loaded.
> 3304 Issuing autochanger "load slot 1, drive 0" command.
> 3305 Autochanger "load slot 1, drive 0", status is OK.
> 3000 OK label. VolBytes=221 DVD=0 Volume="usbbcla1_0001_0001" 
> Device="usbchanger-drive-0" (/var/lib/bacula/usbbcla1/drive0)
> Catalog record for Volume "usbbcla1_0001_0001", Slot 1  successfully 
> created.
> Sending label command for Volume "usbbcla1_0001_0002" Slot 2 ...
> 3307 Issuing autochanger "unload slot 1, drive 0" command.
> 3304 Issuing autochanger "load slot 2, drive 0" command.
> 3305 Autochanger "load slot 2, drive 0", status is OK.
> 3920 Cannot label Volume because it is already labeled: "usbbcla1_0001_0001"
> Label command failed for Volume usbbcla1_0001_0002.
> Sending label command for Volume "usbbcla1_0001_0003" Slot 3 ...
> ..........
> 3920 Cannot label Volume because it is already labeled: "usbbcla1_0001_0001"
> Label command failed for Volume usbbcla1_0001_0008.
> Sending label command for Volume "usbbcla1_0001_0009" Slot 9 ...
> 3307 Issuing autochanger "unload slot 8, drive 0" command.
> 3304 Issuing autochanger "load slot 9, drive 0" command.
> 3305 Autochanger "load slot 9, drive 0", status is OK.
> 3920 Cannot label Volume because it is already labeled: "usbbcla1_0001_0001"
> Label command failed for Volume usbbcla1_0001_0009.
>
> I tried running a job just to see what would happen. usbbcla1_0001_0001 
> filled successfully and then bacula asked for a new volume but said no 
> volumes could be found. Bacula seems to have labeled the first volume in 
> "slot 1" of the "magazine" successfully. But every attempt to label the 
> next volume in the next "slot" failed saying the first volume is already 
> labeled.
>
> Any thoughts as to what could be going wrong here are greatly 
> appreciated! Thanks!
>   

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
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>