Daniel, here's my bacula-sd.conf file which works fine with my Quantum 
Superloader3 with a single LTO-3 drive:

#
# Bacula Storage Daemon Configuration file
#
#  For Bacula release 1.38.11 (28 June 2006) -- redhat
#

Storage {                             # definition of myself
  Name = nts-sd
  SDPort = 9103                  # Director's port
  WorkingDirectory = "/var/bacula"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = nts-dir
  Password = ""
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = nts-mon
  Password = ""
  Monitor = yes
}

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType.
#

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /var/bacula/archive
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

#
# An autochanger device with two drives
#
Autochanger {
  Name = Autochanger
  Device = Drive-1
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg3
}


Device {
  Name = Drive-1                      #
  Drive Index = 0
  Media Type = LTO-3
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Maximum Spool Size =  161061273600 # 150GB in bytes
  Maximum Job Spool Size = 107374182400 #100GB in bytes
  Spool Directory = /var/bacula/spool
  AutoChanger = yes
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

#
# Send all messages to the Director,
# mount messages also are sent to the email address
#
Messages {
  Name = Standard
  director = nts-dir = all
}

Here is the pertinent section from bacula-dir.conf:

# Definition of LTO-3 tape storage device
Storage {
  Name = Autochanger
  Address = 10.10.0.8
  SDPort = 9103
  Password = ""
  Device = Drive-1                      # must be same as Device in Storage 
daemon
  Media Type = LTO-3                   # must be same as MediaType in Storage 
daemon
  Autochanger = yes                   # enable for autochanger device
}

Try modifying those to fit your configuration.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
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

Reply via email to