I have searched through the mailing list archive but can not find the
answer in the hundreds which relate to disk spooling.

I have four linux machines setup as follows:
fd host1 version 2.0.3 (gentoo)
fd host2 version 2.2.4 (packman on debian)
dir host3 2.2.4 (packman on debian)
sd host4 2.0.3 (gentoo)

I have spooling working, and can see the spool file increasing.
under Job, I have
Spool Data = yes
Spool Attributes = yes

Under Client (fd) and Storage (sd) I have
Maximum Concurrent Jobs = 20

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

Device {
  Name = DLT-V4
  Media Type = DLT-V4
  Archive Device = /dev/nst0
  AutomaticMount = yes
  AlwaysOpen = yes
  AutoChanger = yes
  SpoolDirectory=/var/data/amanda/bacula/spool
  Maximum Network Buffer Size = 65536
}
#
# An autochanger device with two drives
#
Autochanger {
  Name = Autochanger
  Device = DLT-V4
  Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg1
}

When I run two jobs at the same time which want to write to two different
tapes, the second one fails immediately rather than both spooling and the
first one to finish de-spooling to tape, this is clear from the following
error message:
03-Oct 07:00 abc-dir: Start Backup JobId 58,
Job=def-backup.2007-10-03_07.00.00
03-Oct 07:00 abc-dir: Using Device "DLT-V4"
03-Oct 07:00 xyz-fd: ClientRunBeforeJob: run command
"/etc/bacula/waitforntbackup"
03-Oct 11:09 backupserver-sd: def-backup.2007-10-03_07.00.00 Fatal error:
acquire.c:355 Wanted to append to Volume "CNI910", but device "DLT-V4"
(/dev/nst0) is busy writing on "CNI911" .
03-Oct 11:09 xyz-fd: def-backup.2007-10-03_07.00.00 Fatal error:
job.c:1758 Bad response to Append Data command. Wanted 3000 OK data
, got 3903 Error append data

What have I set wrong in order to get them to spool at the same time?

Many thanks,

Spencer


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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