SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Automatic labelling from barcodes ?
Author Message
Post Automatic labelling from barcodes ? 
Hi everyone,

We have a tape library, 7 slots, 1 drive, barcode reader. All our tapes are barcoded.

I've been using 'label barcodes' with some success [1]. I would like to be able to just insert new tapes and let bacula automatically label them using the barcode read from the tape.

Is this possible, and if so, how ?

Running
 Version: 5.0.0 (26 January 2010) x86_64-redhat-linux-gnu redhat

thanks!!

[1] sometimes it throws some errors, tape i/o,etc, not sure it is related to bacula, even though it crashed bacula-sd once or twice _________________________
{Beto|Norberto|Numard} Meijome

"The only people that never change are the stupid and the dead"
 Jorge Luis Borges.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.

Post Automatic labelling from barcodes ? 
We have a tape library, 7 slots, 1 drive, barcode reader. All our tapes are
barcoded.

I've been using 'label barcodes' with some success [1].

This should work 100% of the time. It has for me for the 80 tapes I
have had it label. When I add new tapes, I wait 5 minutes for my 24
slot changer to stop doing inventory then after that I issue update
slots since I changed tapes. After that I run label barcodes and put
all new tapes in the Scratch pool.

I would like to be
able to just insert new tapes and let bacula automatically label them using
the barcode read from the tape.

Is this possible, and if so, how ?


I am not sure of that. Some users have done this but I do not know the details.

Running
 Version: 5.0.0 (26 January 2010) x86_64-redhat-linux-gnu redhat

thanks!!

[1] sometimes it throws some errors, tape i/o,etc, not sure it is related to
bacula, even though it crashed bacula-sd once or twice

The I/O read error on unused tapes is not an error. This is actually
normal behavior. As for crashing bacula-sd, I have never had that
happen on a label barcodes.

John

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post Automatic labelling from barcodes ? 
On 12 March 2010 12:44, John Drescher <drescherjm < at > gmail.com ([email]drescherjm < at > gmail.com[/email])> wrote:
> We have a tape library, 7 slots, 1 drive, barcode reader. All our tapes are
barcoded.

I've been using 'label barcodes' with some success [1].


This should work 100% of the time. It has for me for the 80 tapes I
have had it label. When I add new tapes, I wait 5 minutes for my 24
slot changer to stop doing inventory then after that I issue update
slots since I changed tapes. After that I run label barcodes and put
all new tapes in the Scratch pool.



yeah, maybe it is a timing issue , (the changer isn't the newest) the msgs didnt seem to be related to the job that was waiting, but i could be wrong. The issue is that , say, slot 1 is labelled correctly, 2 and 3 not,  4 through 7 Ok. Sometimes it's one failed, sometimes 2, not the same all the time. Not earth shattering, but non-automatic.
 
> I would like to be
able to just insert new tapes and let bacula automatically label them using
the barcode read from the tape.

Is this possible, and if so, how ?



I am not sure of that. Some users have done this but I do not know the details.

do you have any pointers?
 

Running
 Version: 5.0.0 (26 January 2010) x86_64-redhat-linux-gnu redhat

thanks!!

[1] sometimes it throws some errors, tape i/o,etc, not sure it is related to
bacula, even though it crashed bacula-sd once or twice


The I/O read error on unused tapes is not an error. This is actually
normal behavior.
 
As for crashing bacula-sd, I have never had that
happen on a label barcodes.



+1 . hasn't happened that much, just once or twice (once definitely related to this, the other i dont recall)

thx!!_________________________
{Beto|Norberto|Numard} Meijome

"The only people that never change are the stupid and the dead"
 Jorge Luis Borges.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.

Post Automatic labelling from barcodes ? 
yeah, maybe it is a timing issue , (the changer isn't the newest) the msgs
didnt seem to be related to the job that was waiting, but i could be wrong.
The issue is that , say, slot 1 is labelled correctly, 2 and 3 not,  4
through 7 Ok. Sometimes it's one failed, sometimes 2, not the same all the
time. Not earth shattering, but non-automatic.


If it is a timing issue then you need to fix your mtx-changer script
(to work with your changer) because your backups will have the same
problem as label barcodes.

Did you run the autochanger tests that are described in the manual?

John

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post Automatic labelling from barcodes ? 
On 12 March 2010 13:04, John Drescher <drescherjm < at > gmail.com ([email]drescherjm < at > gmail.com[/email])> wrote:
> yeah, maybe it is a timing issue , (the changer isn't the newest) the msgs
didnt seem to be related to the job that was waiting, but i could be wrong.
The issue is that , say, slot 1 is labelled correctly, 2 and 3 not,  4
through 7 Ok. Sometimes it's one failed, sometimes 2, not the same all the
time. Not earth shattering, but non-automatic.



If it is a timing issue then you need to fix your mtx-changer script
(to work with your changer) because your backups will have the same
problem as label barcodes.

Did you run the autochanger tests that are described in the manual?

John


thanks for the pointer, I'll look into that. I haven't seen any errors from the backups, so it may all be in my imagination.

thanks again,
_________________________
{Beto|Norberto|Numard} Meijome

"The only people that never change are the stupid and the dead"
 Jorge Luis Borges.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.

Post Automatic labelling from barcodes ? 
On Fri, 12 Mar 2010 12:20:36 +1100
Norberto Meijome <numardbsd < at > gmail.com> wrote:

Hi everyone,

We have a tape library, 7 slots, 1 drive, barcode reader. All our tapes are
barcoded.

I've been using 'label barcodes' with some success [1]. I would like to be
able to just insert new tapes and let bacula automatically label them using
the barcode read from the tape.

Is this possible, and if so, how ?


Any time you add/remove tapes from the tape library, you need to do
'update slots' and 'label barcodes' in bacula.

Does that not behave as you expect?

--
Alex Chekholko chekh < at > pcbi.upenn.edu

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Automatic labelling from barcodes ? 
On Mon, 15 Mar 2010 13:37:48 +1100
Norberto Meijome <numardbsd < at > gmail.com> wrote:



Any time you add/remove tapes from the tape library, you need to do
'update slots' and 'label barcodes' in bacula.

Does that not behave as you expect?

--
Alex Chekholko chekh < at > pcbi.upenn.edu



< at > Dan, < at > Alex,
yes, it does what I want - almost.
Just that with only 1 drive, I need to have no jobs running in order to be
able to label the tapes. Otherwise, as soon as one tape is available, the
job will pick it up and put on hold the label task.

automount off helps, but that's when I experienced the crash - i haven't had
a chance to try to reproduce the issue.

On the other hand, if I could put a job on hold / paused state, it would
solve this issue. i think.

B

Hi,

Yes, if you only have one drive, you need to have no jobs running in order to do 'update slots' or 'label barcodes'.

Regards,
--
Alex Chekholko chekh < at > pcbi.upenn.edu

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Automatic labelling from barcodes ? 
Yes, if you only have one drive, you need to have no jobs running in order to do 'update slots' or 'label barcodes'.


I think you can update slots with the single drive running jobs. You
can not label barcodes however.

John

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post Automatic labelling from barcodes ? 
John Drescher wrote:

I think you can update slots with the single drive running jobs. You
can not label barcodes however.

I can confirm this, as I did this a couple of days ago, although watch
out for the size of the emailed job report, which for me was just under
4MB and contained thousands of an error message generated presumably
while the update was occuring, but it contined on fine afterwards.

Regards,

Richard

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB