Bacula-users

Re: [Bacula-users] Multi-Device vChanger

2013-01-09 13:27:37
Subject: Re: [Bacula-users] Multi-Device vChanger
From: "Fahrer, Julian" <julian AT fahrer DOT net>
To: "Amit L" <amitlalani AT gmail DOT com>, <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 9 Jan 2013 19:25:28 +0100

> -----Ursprüngliche Nachricht-----
> Von: Amit L [mailto:amitlalani AT gmail DOT com]
> Gesendet: Mittwoch, 9. Januar 2013 19:08
> An: bacula-users AT lists.sourceforge DOT net
> Betreff: [Bacula-users] Multi-Device vChanger
> 
> Hi,
> 
> I am setting up a dual usb sata device vchanger with bacula and had a
> question. Here is my current conf:
> 
> bacula-sd.conf
> Autochanger {
>   Name = sata-changer
>   Device = sata-changer-drive-0
>   Device = sata-changer-drive-1
>   Changer Command = "/usr/local/bin/vchanger %c %o %S %a %d"
>   Changer Device = "/etc/bacula/c1.conf" }
> 
> Device {
>   Name = sata-changer-drive-0
>   DriveIndex = 0
>   Autochanger = yes;
>   DeviceType = File
>   MediaType = File
>   ArchiveDevice = /var/lib/bacula/vchanger/c1/0/drive0
>   RemovableMedia = no;
>   RandomAccess = yes; }
> 
> Device {
>   Name = sata-changer-drive-1
>   DriveIndex = 1
>   Autochanger = yes;
>   DeviceType = File
>   MediaType = File
>   ArchiveDevice = /var/lib/bacula/vchanger/c1/1/drive1
>   RemovableMedia = no;
>   RandomAccess = yes; }
> 
> vchanger conf {
> changer_name = c1
> slots_per_magazine = 10
> virtual_drives = 2
> magazine_bays = 2
> magazine = /mnt/vchanger/bay1
> magazine = /mnt/vchanger/bay2
> 
> initmag 1 and 2 is fine.
> 
> Loading the magazines works ok.
> 0 -> /mnt/vchanger/bay1
> 1 -> /mnt/vchanger/bay2
> 
> label barcodes on autochanger device(0) looks like it creates barcodes
> for bay0 and bay1.
> 
> Hence when I try to label barcodes on device(1), it says the labels have
> already been created.
> 
> Is this the correct functionality?

Yes this is correct. You have one changer with 2 drives that access the same 
volumes.

Kind regards

Julian

> 
> Thanks
> Amit
> 
> ------------------------------------------------------------------------
> ------
> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
> and much more. Keep your Java skills current with LearnJavaNow -
> 200+ hours of step-by-step video tutorials by Java experts.
> SALE $49.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122612
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users