Hi Mailing List,
i can't get a bareos-sd to work with a bareos-dir on another machine.
Labeling and changing of tapes works, but everytime i start a job, i get "Fatal
error: Storage daemon rejected Job command: 3915 Bad Job command
I know that this is typical for a version mismatch of Director and SD, but the
Versions are _nearly_ the same.
Director: 15.2.2-46-1 on UCS 4.1 Server (Debian 7 based)
Storage: 15.2.2-37 on Debian 6
Can anyone give me a hint where to look for the Problem?
Here are some extra Infos:
Output of bconsole status storage:
======= snip ===========================================
Connecting to Storage daemon kvmhost at kvmhost.nah.local:9103
kvmhost Version: 15.2.2 (16 November 2015) x86_64-pc-linux-gnu debian Debian
GNU/Linux 6.0 (squeeze)
Daemon started 25-Aug-16 16:27. Jobs: run=0, running=0.
Heap: heap=389,120 smbytes=36,191 max_bytes=135,772 bufs=90 max_bufs=94
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0 bwlimit=0kB/s
Running Jobs:
No Jobs running.
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
====
Device status:
====
Used Volume status:
NAH010L3 on device "tapedrive-0" (/dev/nst0)
Reader=0 writers=0 reserves=0 volinuse=0
====== snap =================================================
Output of bconsole status director
====== snip =================================================
haupt.nah.local-dir Version: 15.2.2 (16 November 2015) x86_64-pc-linux-gnu
univention Debian GNU/Linux 7.7 (wheezy)
Daemon started 25-Aug-16 16:27. Jobs: run=7, running=0 mode=0 db=postgresql
Heap: heap=540,672 smbytes=151,476 max_bytes=222,502 bufs=619 max_bufs=1,504
======= snap ================================================
Parts of bareos-dir.conf
======= snip ================================================
Director { # define myself
Name = haupt.nah.local-dir
QueryFile = "/usr/lib/bareos/scripts/query.sql"
Maximum Concurrent Jobs = 10
Password = XXX
Messages = Daemon
Auditing = yes
}
# Definition of NAH-Autochanger
Storage {
Name = kvmhost
Address = kvmhost.nah.local
SDPort = 9103
Password = "YYY"
Device = tapedrive-0
#Changer Device = autochanger-0
Media Type = LTO-3
Autochanger = yes
}
========= snap =============================================
Parts of bareos-sd.conf on the Debian 6 Machine
========== snip ========================================
Storage {
Name = kvmhost
Maximum Concurrent Jobs = 20
}
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = haupt.nah.local-dir
Password = "YYY"
}
Device { Name = "tapedrive-0"
DeviceType = tape
ArchiveDevice = /dev/nst0
MediaType = LTO-3
AutoChanger = yes # default: no
AutomaticMount = yes # default: no
MaximumFileSize = 10GB # default: 1000000000 (1GB)
AlwaysOpen = yes;
}
Autochanger {
Name = "autochanger-0"
Changer Device = /dev/tape/by-id/scsi-1FSC_FibreCAT_TX08_LTDE65302449_LL0
Device = tapedrive-0
Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
}
======== snap ==================================
Any Help is welcome!
Greetings from Giessen, Germany
Gerd
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.