>>> On 7/9/2007 at 2:19 PM, in message > I see a few things different with your bacula-sd.conf > > Autochanger { > Name = Magnum224-0 > Device = LTO2-0, LTO2-1 > Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d" > # Changer Device = /dev/sg5 > # 02/12/2007 added udev rule to link /dev/autochanger1 to the changer > Changer Device = /dev/autochanger1 > } > > Device { > Name = LTO2-0 > Media Type = LTO-2 > Drive Index = 0 > Archive Device = /dev/nst0 > Autochanger=yes > AutomaticMount = yes; # when device opened, read it > AlwaysOpen = yes; > RemovableMedia = yes; > RandomAccess = no; > Spool Directory = /mnt/tmp/bacula/tape > Maximum Job Spool Size = 2G > LabelMedia = Yes > Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" > } > > Device { > Name = LTO2-1 > Media Type = LTO-2 > Drive Index = 1 > Archive Device = /dev/nst1 > Autochanger=yes > AutomaticMount = yes; # when device opened, read it > AlwaysOpen = yes; > RemovableMedia = yes; > RandomAccess = no; > Spool Directory = /mnt/tmp/bacula/tape > Maximum Job Spool Size = 2G > LabelMedia = Yes > Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" > } > > > The difference here is that I have Drive Index and no Changer command > or Changer Device in my Device definition. > > And then the bacula-dir.conf > > Storage { > Name = "DEV6-LTO-0" > Address = dev6.radimg.pitt.edu > SDPort = 9103 > Password = "REMOVED" # Console password > Device = "LTO2-0" > Media Type = "LTO-2" > Maximum Concurrent Jobs = 5 > } > > Storage { > Name = "DEV6-LTO2-1" > Address = dev6.radimg.pitt.edu > SDPort = 9103 > Password = "REMOVED" # Console password > Device = "LTO2-1" > Media Type = "LTO-2" > Maximum Concurrent Jobs = 5 > } > > Storage { > Name = "DEV6-Changer" > Address = dev6.radimg.pitt.edu > SDPort = 9103 > Password = "REMOVED" > Device = "Magnum224-0" > Media Type = "LTO-2" > Maximum Concurrent Jobs = 5 > } > > Now for label barcodes I choose DEV6-Changer as the device.
Well, dang it! I changed the bacula-sd.conf thus: Device { Name = VXA3 Drive Index = 0 <----------- Here Autochanger = yes # Changer Device = /dev/sg1 <----------- Here # Changer Command = "/bacula/bin/mtx-changer %c %o %S %qa %d" <----------- Here Media Type = VXA-3 Archive Device = /dev/nst0 <----------- And here AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; } ******************************* and bacula-dir.conf like this: Storage { Name = VXA # Autochanger = yes <----------- Here Address = bacula-test # N.B. Use a fully qualified name here SDPort = 9103 Password = "REMOVED" Device = "VXA3" # must be same as Device in Storage daemon Media Type = VXA-3 # must be same as MediaType in Storage daemon } # And this section was added: Storage { Name = Auto Address = bacula-test SDPort = 9103 Password = "REMOVED" Device = "VXA3" Media Type = "VXA-3" Maximum Concurrent Jobs = 5 } ******************** Please also note that, in the new and improved versions, the device name is enclosed in double quotes, just like in the book and your examples, but not, alas, like my originals. Now when I attempt the label barcode, I am presented with a choice of devices, VXA and Auto. I choose 'Auto', but get exactly the same result from Bacula. No matter what I do, it can't open the device "VXA3" (/dev/nst0). So close, yet so far away. -- Tks n rgds, Richard White CNE6, Linux+ Network Engineer Mason County, Washington 360-427-5501 [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users