----------------------------------------
Robin P. Blanchard
Systems Administrator
Information Technology Outreach Services
Carl Vinson Institute of Government
The University of Georgia
fon 706.542.6295 // fax 706.542.6535
----------------------------------------


> -----Original Message-----
> From: John Drescher [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 01, 2008 1:58 PM
> To: Robin Blanchard
> Cc: bacula
> Subject: Re: [Bacula-users] help with autochanger/barcodes
> 
> On Feb 1, 2008 1:54 PM, Robin Blanchard <[EMAIL PROTECTED]>
> wrote:
> > Trying to label the 20 tapes with their corresponding barcodes....Is
> the
> > problem with my device (sd) configuration or is this stemming from
> the
> > mtx-changer script ?
> >
> > *label barcodes
> > Automatically selected Catalog: MyCatalog
> > Using Catalog "MyCatalog"
> > Automatically selected Storage: Drive-1
> > Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> > Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> > 3306 Issuing autochanger "slots" command.
> > Device "Drive-1" has 0 slots.
> > No slots in changer to scan.
> >
> > # mtx -f /dev/pass0 status
> >
> >   Storage Changer /dev/pass0:2 Drives, 20 Slots ( 0 Import/Export )
> > Data Transfer Element 0:Empty
> > Data Transfer Element 1:Empty
> >       Storage Element 1:Full :VolumeTag=B00023L3
> >       Storage Element 2:Full :VolumeTag=B00039L3
> >       Storage Element 3:Full :VolumeTag=B00029L3
> >       Storage Element 4:Full :VolumeTag=B00025L3
> >       Storage Element 5:Full :VolumeTag=B00028L3
> >       Storage Element 6:Full :VolumeTag=B00022L3
> >       Storage Element 7:Full :VolumeTag=B00026L3
> >       Storage Element 8:Full :VolumeTag=B00031L3
> >       Storage Element 9:Full :VolumeTag=B00030L3
> >       Storage Element 10:Full :VolumeTag=B00037L3
> >
> >       Storage Element 11:Full :VolumeTag=B00034L3
> >
> >       Storage Element 12:Full :VolumeTag=B00035L3
> >
> >       Storage Element 13:Full :VolumeTag=B00036L3
> >
> >       Storage Element 14:Full :VolumeTag=B00038L3
> >
> >       Storage Element 15:Full :VolumeTag=B00032L3
> >
> >       Storage Element 16:Full :VolumeTag=B00024L3
> >
> >       Storage Element 17:Full :VolumeTag=B00021L3
> >
> >       Storage Element 18:Full :VolumeTag=B00020L3
> >
> >       Storage Element 19:Full :VolumeTag=B00027L3
> >
> >       Storage Element 20:Full :VolumeTag=B00033L3
> >
> >
> > Device {
> >   Name = Drive-1
> >   Drive Index = 0
> >   Media Type = LTO3
> >   Description = "IBM Ultrium"
> >   Archive Device = /dev/nsa0
> >   SpoolDirectory = /export/bacula/spool;
> >   AutomaticMount = yes;
> >   AlwaysOpen = yes
> >   RemovableMedia = yes;
> >   RandomAccess = no;
> >   AutoChanger = yes
> >   Offline On Unmount = no
> >   Hardware End of Medium = no
> >   BSF at EOM = yes
> >   Backward Space Record = no
> >   Fast Forward Space File = no
> >   TWO EOF = yes
> >   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> > }
> >
> 
> What do you have for your autochanger resource in bacula-sd.conf?
> 
> John

Autochanger {
  Name = Autochanger
  Device = Drive-1
#  Device = Drive-2
  Changer Command = "/usr/local/share/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/pass0
}

And, yeah, the btape autochanger test succeeded

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to