the standard Bareos storage daemon configuration for an autochanger:

Autochanger {
  Name = "autochanger-0"
  # adapt this, to match your storage loader
  #Changer Device = /dev/sg4

  # an Autochanger can contain multiple drive devices
  Device = tapedrive-0
  #Device = tapedrive-1

  Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
}

uses the script /usr/lib/bareos/scripts/mtx-changer
to get all the information about the autochanger (available volumes, ...) 
that bareos needs.

You will have to write a script for your DDS-4 Tape library that will 
provide the same information as mtx-changer script does.





[email protected] schrieb am Freitag, 22. Oktober 2021 um 17:45:42 
UTC+2:

> Dear all, 
> I have a DDS-4 Tapelibrary without a barcode scanner. 
> I am thinking of writing a script that sets the tape names inserted the 
> slots of the magazine using an external barcode scanner. The idea is to  
> manually scan the barcode on the tape once I put them into the autoloader 
> library and update the database.
> As an experiment, I have tried to change the slot and the inchanger field 
> in the table media. This however did not work, i.e. bareos did not 
> recognize as the volumes being available.
> So what would I need to do to make the loaded tapes known to bareos?
>
> Thanks
> Tilman
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/b3a14407-de1b-41dd-8e66-ade87010b1ddn%40googlegroups.com.

Reply via email to