On 1/9/2013 1:08 PM, Amit L wrote: > 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? > > Thanks > Amit > > Yes it's all one changer you can have as many drives attached to it as you want you only label once per changer.
Since you mentioned USB attached look at by UUID it makes things more reliable. Silas ------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users