If your changer has a barcode reader, then just print out barcodes for
all of your tapes and put them on the front. Then run "label barcodes"
from the bareos console. Then run "update slots". See chapter 19 of the
manual for other details on using an autochanger.

On 8/30/17 8:16 AM, Julian Poß wrote:
> Hi to all of you,
>
> i just got a basic bareos installation running.
>
> However, i got stuck on two more ore less little issues:
> -     Your bareos jobs will stop succeeding, as soon as you add a second 
> storage device to the director (which will occur as soon as i get the 
> autochanger configuration running as expected).
> If i am not mistaken, this is fixed in 16.2.6
> -     My tape jobs/autochanger won‘t do anything, until i manually label a 
> tape for bareos.
> As soon as i label a tape by myself, bareos will ask the autochanger to load 
> the tape and the job will succeed.
> I was just able to find a single setting regarding this:
> „Label Media = yes“ in device.conf.
> Maybe also „Check Labels = yes“?
> But somehow bareos keeps refusing to label the tapes automatically.
>
> I hope somebody is able to give me a hint why it won’t work as expected.
> You can find my configuration files below.
> Thank you all a lot!
>
> Best regards,
> Julian
>
> Autochanger.conf:
> Autochanger {
>   Name = MSL-G3-Series
>   Device = Ultrium-5-SCSI
>   Changer Device = /dev/tape/by-id/scsi-35001438016024fa2
>   Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
> }
>
> Device.conf:
> Device {
>   Name = Ultrium-5-SCSI
>   Media Type = LTO-5
>   DeviceType = tape
>   Archive Device = /dev/tape/by-id/scsi-35001438016024fa9-nst
>   Drive Index = 1
>   Autochanger = yes
>   Check Labels = yes
>   Label Media = yes
>   Automatic Mount = yes
>   RemovableMedia = no
> }
>
> Storage.conf:
> Storage {
>   Name = Tape
>   Address = 10.0.x.x
>   Password = "reallystrongpassword-donottrytobruteforce"
>   Auto Changer = yes
>   Device = MSL-G3-Series
>   Tape Device = Ultrium-5-SCSI
>   Changer Device = MSL-G3-Series
>   MediaType = LTO-5
>   Allow Compression = yes
>   Maximum Concurrent Jobs = 30
> }
>

-- 
Research Scientist
Raytheon BBN Technologies
5775 Wayzata Blvd, Ste 630
Saint Louis Park, MN, 55416
Office: 952-545-5720

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to