Re: [Bacula-users] help with autochanger/barcodes

2008-02-04 Thread John Drescher
> Actually, you shouldn't even be using "label barcodes" > > If the tape is blank and shows in the database as never having been used > before, Bacula will label it automatically. > I had a second reason for recommending that. I do not believe Robin had tape loading working correctly so getting lab

Re: [Bacula-users] help with autochanger/barcodes

2008-02-04 Thread Alan Brown
On Fri, 1 Feb 2008, John Drescher wrote: > Yes. You need to get the label barcodes working because you should > never manually label tapes in an autochanger that has a barcode > reader. If you label the tapes manually you are disabling the > advantage of having a barcode reader to tell bacula what

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Dan Langille
Robin Blanchard wrote: >>> Dan, >>> What is the 'elegant' approach to giving bacula:bacula access to >>> /dev/pass0 ? >> What are the permissions on /dev/pass0? I suspect operator group is >> involed. If so, add Bacula to the operator group in /etc/group. > > Your port does that (thanks); but the

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Robin Blanchard
> > Dan, > > What is the 'elegant' approach to giving bacula:bacula access to > > /dev/pass0 ? > > What are the permissions on /dev/pass0? I suspect operator group is > involed. If so, add Bacula to the operator group in /etc/group. Your port does that (thanks); but the permissions (RELENG_6) ar

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Dan Langille
Robin Blanchard wrote: >>> H...Sort of looks like bacula is passing the wrong variables to >> the >>> script ? Or my config is wrong ? >>> >> Your config looks correct. At least the line that calls the script. >>> (shutdown all bacula daemons) >>> # /usr/local/share/bacula/mtx-changer /dev/pass

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Robin Blanchard
> > H...Sort of looks like bacula is passing the wrong variables to > the > > script ? Or my config is wrong ? > > > Your config looks correct. At least the line that calls the script. > > > > (shutdown all bacula daemons) > > # /usr/local/share/bacula/mtx-changer /dev/pass0 slots 1 > > > > 20

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread John Drescher
> H...Sort of looks like bacula is passing the wrong variables to the > script ? Or my config is wrong ? > Your config looks correct. At least the line that calls the script. > > (shutdown all bacula daemons) > # /usr/local/share/bacula/mtx-changer /dev/pass0 slots 1 > > 20 > The other option i

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Robin Blanchard
> -Original Message- > From: Dan Langille [mailto:[EMAIL PROTECTED] > Sent: Friday, February 01, 2008 1:58 PM > To: Robin Blanchard > Cc: bacula > Subject: Re: [Bacula-users] help with autochanger/barcodes > > Robin Blanchard wrote: > > Trying to

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread John Drescher
On Feb 1, 2008 2:32 PM, Robin Blanchard <[EMAIL PROTECTED]> wrote: > > : It doesI successfully wrote to the tape this morning. Now I'm > > trying > > : to get the barcode/label business going. > > > > So did it really change the tapes, or just wrote to the tape? > > Tape drive and tape changer

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread John Drescher
On Feb 1, 2008 1:54 PM, Robin Blanchard <[EMAIL PROTECTED]> wrote: > Trying to label the 20 tapes with their corresponding barcodesIs the > problem with my device (sd) configuration or is this stemming from the > mtx-changer script ? > > *label barcodes > Automatically selected Catalog: MyCatal

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Robin Blanchard
> : It doesI successfully wrote to the tape this morning. Now I'm > trying > : to get the barcode/label business going. > > So did it really change the tapes, or just wrote to the tape? > Tape drive and tape changer are different scsi devices. > Well that's exactly what I'm tyring to figure

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Timo Neuvonen
>> Trying to label the 20 tapes with their corresponding barcodesIs the >> problem with my device (sd) configuration or is this stemming from the >> mtx-changer script ? >> >> *label barcodes >> Automatically selected Catalog: MyCatalog >> Using Catalog "MyCatalog" >> Automatically selected Sto

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Timo Neuvonen
> Trying to label the 20 tapes with their corresponding barcodesIs the > problem with my device (sd) configuration or is this stemming from the > mtx-changer script ? > > *label barcodes > Automatically selected Catalog: MyCatalog > Using Catalog "MyCatalog" > Automatically selected Storage: Dr

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Robin Blanchard
age- > From: John Drescher [mailto:[EMAIL PROTECTED] > Sent: Friday, February 01, 2008 1:58 PM > To: Robin Blanchard > Cc: bacula > Subject: Re: [Bacula-users] help with autochanger/barcodes > > On Feb 1, 2008 1:54 PM, Robin Blanchard <[EMAIL PROTECTED]> > wrote: >

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Michael Galloway
what i do is put my tapes in the scratch pool, then let bacula assign them to my working pools: label storage=MYSTORAGEDEVICE slots=STARTSLOTNUMBER-ENDSLOTNUMBER pool=Scratch barcodes -- michael On Fri, Feb 01, 2008 at 01:54:17PM -0500, Robin Blanchard wrote: > Trying to label the 20 tapes with

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Dan Langille
Robin Blanchard wrote: > Trying to label the 20 tapes with their corresponding barcodesIs the > problem with my device (sd) configuration or is this stemming from the > mtx-changer script ? > > *label barcodes > Automatically selected Catalog: MyCatalog > Using Catalog "MyCatalog" > Automatica