Bacula-users

Re: [Bacula-users] bconsole status slots wrong output

2012-06-29 11:01:05
Subject: Re: [Bacula-users] bconsole status slots wrong output
From: "Clark, Patricia A." <clarkpa AT ornl DOT gov>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 29 Jun 2012 10:56:59 -0400
Did you label the tapes?  If the volumes are not in the catalog, then all
you are seeing is the barcode.  To save time, work with one slot and/or
volume then apply across all of the tapes.

Patti Clark
Information International Associates, Inc.
Linux Administrator and subcontractor to:
Research and Development Systems Support Oak Ridge National Laboratory


On 6/29/12 10:16 AM, "Jummo" <jummo AT devio DOT us> wrote:

>
>On Fri, 29 Jun 2012, Bill Arlofski wrote:
>
>> try running:
>>
>> update slots storage=TL4000-Storage drive=0
>>
>
>Hi Bill,
>
>thanks for your reply.
>
>I have done this serval times, but no luck.
>The update command shows the correct volumes.
>
>*update slots storage=TL4000-Storage drive=0
>
>Connecting to Storage daemon TL4000-Storage at bacula.example.com:9103 ...
>3306 Issuing autochanger "slots" command.
>Device "TL4000" has 47 slots.
>Connecting to Storage daemon TL4000-Storage at bacula.example.com:9103 ...
>3306 Issuing autochanger "list" command.
>Volume "000019L5" not found in catalog. Slot=1 InChanger set to zero.
>Catalog record for Volume "000005L5" is up to date.
>Catalog record for Volume "000002L5" is up to date.
>Catalog record for Volume "000003L5" is up to date.
>Volume "000016L5" not found in catalog. Slot=23 InChanger set to zero.
>Volume "000022L5" not found in catalog. Slot=25 InChanger set to zero.
>Volume "000017L5" not found in catalog. Slot=27 InChanger set to zero.
>Volume "000020L5" not found in catalog. Slot=28 InChanger set to zero.
>Volume "000023L5" not found in catalog. Slot=29 InChanger set to zero.
>Catalog record for Volume "000018L5" is up to date.
>Volume "000021L5" not found in catalog. Slot=32 InChanger set to zero.
>Volume "000024L5" not found in catalog. Slot=33 InChanger set to zero.
>Volume "000025L5" not found in catalog. Slot=34 InChanger set to zero.
>Volume "000013L5" not found in catalog. Slot=35 InChanger set to zero.
>Volume "000010L5" not found in catalog. Slot=36 InChanger set to zero.
>Volume "000007L5" not found in catalog. Slot=37 InChanger set to zero.
>Volume "000015L5" not found in catalog. Slot=38 InChanger set to zero.
>Volume "000012L5" not found in catalog. Slot=39 InChanger set to zero.
>Volume "000009L5" not found in catalog. Slot=40 InChanger set to zero.
>Volume "000006L5" not found in catalog. Slot=41 InChanger set to zero.
>Volume "000014L5" not found in catalog. Slot=42 InChanger set to zero.
>Volume "000011L5" not found in catalog. Slot=43 InChanger set to zero.
>Catalog record for Volume "000008L5" is up to date.
>
>
>In my further investigation I have run bacula-sd with debug output and
>run 
>again the status slots command. In the debug output the correct volume
>names are displayed.
>
>
>/usr/sbin/bacula-sd -u bacula -g bacula -c /etc/bacula/bacula-sd.conf -d
>200 -f -v
>
>...
>bacula.example.com-sd: bnet.c:768-0 who=client host=10.10.0.5 port=9103
>bacula.example.com-sd: dircmd.c:175-0 Conn: Hello Director
>bacula.example.com-dir calling
>bacula.example.com-sd: dircmd.c:191-0 Got a DIR connection at 29-Jun-2012
>15:49:29
>bacula.example.com-sd: cram-md5.c:72-0 send: auth cram-md5
><1800297330.1340977769 AT bacula.example DOT com-sd> ssl=0
>bacula.example.com-sd: cram-md5.c:131-0 cram-get received: auth cram-md5
><1929222666.1340977769 AT bacula.example DOT com-dir> ssl=0
>bacula.example.com-sd: cram-md5.c:150-0 sending resp to challenge:
>MR+Tl/0MR6R7M/pOT5MxdD
>bacula.example.com-sd: dircmd.c:213-0 Message channel init completed.
>bacula.example.com-sd: dircmd.c:220-0 <dird: autochanger slots TL4000
>
>bacula.example.com-sd: dircmd.c:234-0 Do command: autochanger
>bacula.example.com-sd: dircmd.c:615-0 Try changer device ULT3580-HH5-1
>bacula.example.com-sd: dircmd.c:631-0 Found changer device ULT3580-HH5-1
>bacula.example.com-sd: dircmd.c:644-0 Found device ULT3580-HH5-1
>bacula.example.com-sd: autochanger.c:325-0 Locking changer TL4000
>bacula.example.com-sd: autochanger.c:641-0 <stored: slots=47
>bacula.example.com-sd: autochanger.c:339-0 Unlocking changer TL4000
>bacula.example.com-sd: bnet.c:768-0 who=client host=10.10.0.5 port=9103
>bacula.example.com-sd: dircmd.c:175-0 Conn: Hello Director
>bacula.example.com-dir calling
>bacula.example.com-sd: dircmd.c:191-0 Got a DIR connection at 29-Jun-2012
>15:49:30
>bacula.example.com-sd: cram-md5.c:72-0 send: auth cram-md5
><751089315.1340977770 AT bacula.example DOT com-sd> ssl=0
>bacula.example.com-sd: cram-md5.c:131-0 cram-get received: auth cram-md5
><509099820.1340977770 AT bacula.example DOT com-dir> ssl=0
>bacula.example.com-sd: cram-md5.c:150-0 sending resp to challenge:
>C2xHI1+CJQJ6C354VF/3tB
>bacula.example.com-sd: dircmd.c:213-0 Message channel init completed.
>bacula.example.com-sd: dircmd.c:220-0 <dird: autochanger list TL4000
>
>bacula.example.com-sd: dircmd.c:234-0 Do command: autochanger
>bacula.example.com-sd: dircmd.c:615-0 Try changer device ULT3580-HH5-1
>bacula.example.com-sd: dircmd.c:631-0 Found changer device ULT3580-HH5-1
>bacula.example.com-sd: dircmd.c:644-0 Found device ULT3580-HH5-1
>bacula.example.com-sd: autochanger.c:325-0 Locking changer TL4000
>bacula.example.com-sd: autochanger.c:628-0 <stored: 1:000019L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 20:000005L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 21:000002L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 22:000003L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 23:000016L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 25:000022L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 27:000017L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 28:000020L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 29:000023L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 32:000021L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 33:000024L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 34:000025L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 35:000013L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 36:000010L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 37:000007L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 38:000015L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 39:000012L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 40:000009L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 41:000006L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 42:000014L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 43:000011L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 44:000008L5
>
>bacula.example.com-sd: autochanger.c:628-0 <stored: 31:000018L5
>
>bacula.example.com-sd: autochanger.c:339-0 Unlocking changer TL4000
>
>
>
>
>Best Regards,
>
>  - Jummo
>
>--------------------------------------------------------------------------
>----
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and
>threat landscape has changed and how IT managers can respond. Discussions
>will include endpoint security, mobile security and the latest in malware
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>Bacula-users mailing list
>Bacula-users AT lists.sourceforge DOT net
>https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users