Hi
I testing bacula, and I have an autoloader,
the system is able to backup and change the tape.
I destroyed my mysql, and I used
bscan -s -m -c /local/bacula/bin/bacula-sd.conf -u USER -P PASSWORD -S -v -V
TAPE-002\|TAPE-001 /dev/nst0
But the system is not able to change the tape
the I tried
bscan -s -m -c /local/bacula/bin/bacula-sd.conf -u USER -P PASSWORD -S -v -V
TAPE-002\|TAPE-001 /dev/sg4

where sg4 is the autoloader
and I received
scan: butil.c:278 Could not find device "/dev/sg4" in config file
/local/bacula/bin/bacula-sd.conf
since in the sd file I have

Autochanger {
  Name = LTOAuto
  Device = LTODriver
  Changer Command = "/local/bacula/bin/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg4
}

Device {
  Name = LTODriver
  Media Type = LTO-4
  Archive Device = /dev/nst0
  Drive Index=0
  AutoChanger = yes
  AutomaticMount = yes;               # when device opened, read it
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = no;
  RemovableMedia = yes;
  AlwaysOpen = no;
  Spool Directory = /var/bacula/spool
  Maximum Spool Size = 10G
}


What I am doing wrong?
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to