I know that bacula can be very strange about it's configs.. have you tried removing the semicolon off the end of those lines?  Also, I though bacula prefered the /dev/nst device over the /dev/st device.

Cheers,
Eric

On 4/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:

Hello,
 

if I try the Autochanger Resource in the Storage Deamon I've got the following error.



Here is my config.

Autochanger {
  Name = "LTO-2_1"
  Device = LTO-2_1-drive1
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg0
}

Device {
  Name = "LTO-2_1-drive1"
  Drive Index = 0
  Media Type = LTO-2
  AutoChanger = yes
  ArchiveDevice = /dev/st0
  LabelMedia = no;
  AutomaticMount = yes;              
  AlwaysOpen = yes;
  RandomAccess = no;
  RemovableMedia = yes;
 Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#  Maximum Spool Size = 20000000000
#  Spool Directory = /var/bacula/working/spool
}

I don't know what's going wrong.

   
   
Best Regards

Frank Stuber
IT Manager

Telefon:    +49. 7825. 849-214
Telefax:    +49. 7825. 849-48 214
Email:        [EMAIL PROTECTED]

janoschka GmbH
Mattweg 1
D-77971 Kippenheim
http://www.janoschka.com



Michel Meyers <[EMAIL PROTECTED]>

06.04.2006 14:11

An
[EMAIL PROTECTED]
Kopie
bacula-users@lists.sourceforge.net
Thema
Re: [Bacula-users] Autoloader does not change tape







-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[EMAIL PROTECTED] wrote:
>
> Hello,
> bacula-sd.conf
>
> Device {
>   Name = "LTO-2_1"
>   Drive Index = 0
>   Media Type = LTO-2
>   Archive Device = /dev/st0
>   Changer Device = /dev/sg0
>   Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RandomAccess = no;
>   RemovableMedia = yes;
>   AutoChanger = yes
> #  Maximum Spool Size = 20000000000
> #  Spool Directory = /var/bacula/working/spool
> }


Hello,

Try using the newer AutoChanger Resource in the Storage Daemon:
http://www.bacula.org/rel-manual/Autochanger_Support.html#SECTION000297000000000000000

Did you test to see what results the manual mtx-changer commands achieve?

Greetings,
         Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32) - GPGrelay v0.959

iD8DBQFENQV/2Vs+MkscAyURAte2AJ93SCDB7ImDXQDU0ulBzwLwo3WYbQCg9JuA
xvPc5NohR5VfcPe3OEL4UOE=
=+Z2h
-----END PGP SIGNATURE-----


Reply via email to