hm, my quantum device has this changer device the autochanger-section
Changer Device = /dev/sg6
and my device-section has:
Changer Device = /dev/sg6
Archive Device = /dev/st0
I don't know but are you sure you're doing the right adressing?
What does lssci say? I case yout autochanger is connected via scsi or sas.
Kind regards
Christian
Am 12.07.2017 um 15:21 schrieb Paul Jähne:
> Hello,
>
> I have a basically working BareOS installation. The test backup from section
> 6 of the manual works.
>
> I now want to add tape storage to BareOS but it isn't showing up, e.g. in the
> WebGUI I only see the default file storage.
>
> The package bareos-storage-tape is installed. Here is the configuration I
> added:
>
> /etc/bareos/bareos-sd.d/autochanger/autochanger-0.conf:
>
> ```
> Autochanger {
> Name = "autochanger-0"
> Changer Device = /dev/tape/by-id/scsi-1QUANTUM_D1H0332614_LLA
> Device = tapedrive-0
> Device = tapedrive-1
> Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
> }
> ```
>
> /etc/bareos/bareos-sd.d/device/tapedrive-0.conf:
>
> ```
> Device {
> Name = "tapedrive-0"
> DeviceType = tape
> DriveIndex = 0
> ArchiveDevice = /dev/tape/by-id/scsi-3500308c38e0c9000-nst
> MediaType = LTO
> Check Labels = yes
> AutoChanger = yes # default: no
> AutomaticMount = yes # default: no
> MaximumFileSize = 10GB # default: 1000000000 (1GB)
> }
> ```
>
> /etc/bareos/bareos-sd.d/device/tapedrive-1.conf:
>
> ```
> Device {
> Name = "tapedrive-1"
> DeviceType = tape
> DriveIndex = 1
> ArchiveDevice = /dev/tape/by-id/scsi-3500308c38e0c9004-nst
> MediaType = LTO
> Check Labels = yes
> AutoChanger = yes # default: no
> AutomaticMount = yes # default: no
> MaximumFileSize = 10GB # default: 1000000000 (1GB)
> }
> ```
>
> Afterwards I restarted the bareos-sd service.
>
> The tape library is recognised by the OS and can be used, e. g. running the
> mtx-changer script works:
>
> ```
> sudo /usr/lib/bareos/scripts/mtx-changer
> /dev/tape/by-id/scsi-1QUANTUM_D1H0332614_LLA list
> 1:000310
> ...
> ```
>
> Can someone spot what is wrong or missing to get the tape library to show up
> in BareOS?
>
> Environement: Ubuntu Server 16.04 with BareOS 16.2.4.
>
> Regards
>
> Paul
>
--
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.