Re: [Bacula-users] bacula and centos (7)

2018-04-02 Thread Brady, Mike

On 2018-04-03 06:52, dhofmeister wrote:

while my question is specifically related to getting *new(-ish)* bacula
installed and running on centos 7 -- i think my real question is -- why 
are

there no new-ish rpms for centos?

what's "out there" for centos is bacula 5.2 and the current bacula 
version
is 9.0.x.  since the latest rpms are only fedora, is bacula 9 
considered

stable/production ready?

donna



--
Sent from: http://bacula.10910.n7.nabble.com/Bacula-Users-f3.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


https://copr.fedorainfracloud.org/coprs/slaanesh/Bacula/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] aix binary?

2018-04-02 Thread Jose Alberto
Hi. Sorry for my English.

I Install bacula-fd on AIX  (7.0.3)

mkdir -p /etc/bacula/bin/working

mkdir /etc/bacula/working

Install VAC (Visual Age C)

Install gettext-devel-0.17-1.aix5.1.ppc.rpm

export PATH=/usr/vacpp/bin:/usr/ccs/lib:$PATH

export CXX=xlC

export CC=xlc

export CPPFLAGS=-+

edit src/lib/bsys.c  and comment: initgroups and function


./configure --enable-client-only --enable-largefile --enable-readline
--sbindir=/etc/bacula/bin --sysconfdir=/etc/bacula/bin
--with-pid-dir=/etc/bacula/bin/working
--with-subsys-dir=/etc/bacula/bin/working
--with-working-dir=/etc/bacula/working --disable-build-dird
--disable-build-stored --disable-libtool

make

make install





On Mon, Apr 2, 2018 at 1:04 PM, Mike Eggleston  wrote:

> My output from that configuration is:
>
>
>
> hosback:meggle1:/tmp/bacula/src/bacula-9.0.6> make
>
> ==>Entering directory /tmp/bacula/src/bacula-9.0.6/src
>
> Target "all" is up to date.
>
> ==>Entering directory /tmp/bacula/src/bacula-9.0.6/scripts
>
> Target "all" is up to date.
>
> ==>Entering directory /tmp/bacula/src/bacula-9.0.6/src/lib
>
> Compiling attr.c
>
> /usr/vacpp/bin/xlC_r: 1501-291 (I) Utilization tracking message: Message
> with component 6 and id 27 not found in catalog vacumsg.cat
>
> "../baconfig.h", line 500.1: 1506-166 (S) Definition of function class
> requires parentheses.
>
> "../baconfig.h", line 500.7: 1506-276 (S) Syntax error: possible missing
> '{'?
>
> "../baconfig.h", line 636.46: 1506-045 (S) Undeclared identifier ch.
>
> "../baconfig.h", line 638.20: 1506-343 (S) Redeclaration of
> first_path_separator differs from previous declaration on line 637 of
> "../baconfig.h".
>
> "../baconfig.h", line 638.20: 1506-050 (I) Return type "const char*" in
> redeclaration is not compatible with the previous return type "char*".
>
> "../baconfig.h", line 722.15: 1506-166 (S) Definition of function bool
> requires parentheses.
>
> "../baconfig.h", line 722.15: 1506-691 (W) The inline keyword can only be
> applied to functions.
>
> "../baconfig.h", line 722.20: 1506-276 (S) Syntax error: possible missing
> '{'?
>
> "../lib/smartall.h", line 81.33: 1506-277 (S) Syntax error: possible
> missing ')' or ','?
>
> "../lib/smartall.h", line 151.1: 1506-166 (S) Definition of function class
> requires parentheses.
>
> "../lib/smartall.h", line 151.7: 1506-275 (S) Unexpected text SMARTALLOC
> encountered.
>
> "../lib/smartall.h", line 154.7: 1506-275 (S) Unexpected text 'void'
> encountered.
>
> "../lib/smartall.h", line 154.13: 1506-045 (S) Undeclared identifier
> operator.
>
> "../lib/smartall.h", line 154.22: 1506-277 (S) Syntax error: possible
> missing ';' or ','?
>
> "../lib/smartall.h", line 155.20: 1506-045 (S) Undeclared identifier s.
>
> "../lib/smartall.h", line 159.22: 1506-276 (S) Syntax error: possible
> missing '{'?
>
> "../lib/smartall.h", line 164.13: 1506-160 (S) Object operator cannot be
> declared as type void.
>
> "../lib/smartall.h", line 164.22: 1506-276 (S) Syntax error: possible
> missing '{'?
>
> "../lib/smartall.h", line 165.16: 1506-045 (S) Undeclared identifier ptr.
>
> "../lib/smartall.h", line 167.13: 1506-160 (S) Object operator cannot be
> declared as type void.
>
> "../lib/smartall.h", line 167.22: 1506-276 (S) Syntax error: possible
> missing '{'?
>
> "../lib/smartall.h", line 168.16: 1506-045 (S) Undeclared identifier ptr.
>
> "../lib/lockmgr.h", line 281.1: 1506-166 (S) Definition of function class
> requires parentheses.
>
> "../lib/lockmgr.h", line 281.7: 1506-275 (S) Unexpected text lock_guard
> encountered.
>
> "../lib/lockmgr.h", line 285.20: 1506-276 (S) Syntax error: possible
> missing ':'?
>
> "../lib/lockmgr.h", line 287.58: 1506-045 (S) Undeclared identifier mutex.
>
> "../lib/lockmgr.h", line 289.7: 1506-280 (W) Function argument assignment
> between types "struct {...}*" and "int(*)()" is not allowed.
>
> "../lib/lockmgr.h", line 293.4: 1506-277 (S) Syntax error: possible
> missing ';' or ','?
>
> "../lib/lockmgr.h", line 294.7: 1506-280 (W) Function argument assignment
> between types "struct {...}*" and "int(*)()" is not allowed.
>
> "../lib/alist.h", line 24.8: 1506-166 (S) Definition of function bool
> requires parentheses.
>
> "../lib/alist.h", line 24.13: 1506-276 (S) Syntax error: possible missing
> '{'?
>
> "../lib/alist.h", line 56.3: 1506-045 (S) Undeclared identifier
> owned_by_alist.
>
> "../lib/alist.h", line 56.20: 1506-045 (S) Undeclared identifier true.
>
> "../lib/alist.h", line 57.3: 1506-045 (S) Undeclared identifier
> not_owned_by_alist.
>
> "../lib/alist.h", line 57.24: 1506-045 (S) Undeclared identifier false.
>
> "../lib/alist.h", line 58.1: 1506-277 (S) Syntax error: possible missing
> ';' or ','?
>
> "../lib/alist.h", line 65.1: 1506-166 (S) Definition of function class
> requires parentheses.
>
> "../lib/alist.h", line 67.11: 1506-045 (S) Undeclared identifier items.
>
> "../lib/alist.h", line 73.9: 1506-275 (S) Unexpected text own_items
> encountered.
>
> 

[Bacula-users] bacula and centos (7)

2018-04-02 Thread dhofmeister
while my question is specifically related to getting *new(-ish)* bacula
installed and running on centos 7 -- i think my real question is -- why are
there no new-ish rpms for centos?

what's "out there" for centos is bacula 5.2 and the current bacula version
is 9.0.x.  since the latest rpms are only fedora, is bacula 9 considered
stable/production ready?

donna



--
Sent from: http://bacula.10910.n7.nabble.com/Bacula-Users-f3.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] aix binary?

2018-04-02 Thread Mike Eggleston
My output from that configuration is:

hosback:meggle1:/tmp/bacula/src/bacula-9.0.6> make
==>Entering directory /tmp/bacula/src/bacula-9.0.6/src
Target "all" is up to date.
==>Entering directory /tmp/bacula/src/bacula-9.0.6/scripts
Target "all" is up to date.
==>Entering directory /tmp/bacula/src/bacula-9.0.6/src/lib
Compiling attr.c
/usr/vacpp/bin/xlC_r: 1501-291 (I) Utilization tracking message: Message with 
component 6 and id 27 not found in catalog vacumsg.cat
"../baconfig.h", line 500.1: 1506-166 (S) Definition of function class requires 
parentheses.
"../baconfig.h", line 500.7: 1506-276 (S) Syntax error: possible missing '{'?
"../baconfig.h", line 636.46: 1506-045 (S) Undeclared identifier ch.
"../baconfig.h", line 638.20: 1506-343 (S) Redeclaration of 
first_path_separator differs from previous declaration on line 637 of 
"../baconfig.h".
"../baconfig.h", line 638.20: 1506-050 (I) Return type "const char*" in 
redeclaration is not compatible with the previous return type "char*".
"../baconfig.h", line 722.15: 1506-166 (S) Definition of function bool requires 
parentheses.
"../baconfig.h", line 722.15: 1506-691 (W) The inline keyword can only be 
applied to functions.
"../baconfig.h", line 722.20: 1506-276 (S) Syntax error: possible missing '{'?
"../lib/smartall.h", line 81.33: 1506-277 (S) Syntax error: possible missing 
')' or ','?
"../lib/smartall.h", line 151.1: 1506-166 (S) Definition of function class 
requires parentheses.
"../lib/smartall.h", line 151.7: 1506-275 (S) Unexpected text SMARTALLOC 
encountered.
"../lib/smartall.h", line 154.7: 1506-275 (S) Unexpected text 'void' 
encountered.
"../lib/smartall.h", line 154.13: 1506-045 (S) Undeclared identifier operator.
"../lib/smartall.h", line 154.22: 1506-277 (S) Syntax error: possible missing 
';' or ','?
"../lib/smartall.h", line 155.20: 1506-045 (S) Undeclared identifier s.
"../lib/smartall.h", line 159.22: 1506-276 (S) Syntax error: possible missing 
'{'?
"../lib/smartall.h", line 164.13: 1506-160 (S) Object operator cannot be 
declared as type void.
"../lib/smartall.h", line 164.22: 1506-276 (S) Syntax error: possible missing 
'{'?
"../lib/smartall.h", line 165.16: 1506-045 (S) Undeclared identifier ptr.
"../lib/smartall.h", line 167.13: 1506-160 (S) Object operator cannot be 
declared as type void.
"../lib/smartall.h", line 167.22: 1506-276 (S) Syntax error: possible missing 
'{'?
"../lib/smartall.h", line 168.16: 1506-045 (S) Undeclared identifier ptr.
"../lib/lockmgr.h", line 281.1: 1506-166 (S) Definition of function class 
requires parentheses.
"../lib/lockmgr.h", line 281.7: 1506-275 (S) Unexpected text lock_guard 
encountered.
"../lib/lockmgr.h", line 285.20: 1506-276 (S) Syntax error: possible missing 
':'?
"../lib/lockmgr.h", line 287.58: 1506-045 (S) Undeclared identifier mutex.
"../lib/lockmgr.h", line 289.7: 1506-280 (W) Function argument assignment 
between types "struct {...}*" and "int(*)()" is not allowed.
"../lib/lockmgr.h", line 293.4: 1506-277 (S) Syntax error: possible missing ';' 
or ','?
"../lib/lockmgr.h", line 294.7: 1506-280 (W) Function argument assignment 
between types "struct {...}*" and "int(*)()" is not allowed.
"../lib/alist.h", line 24.8: 1506-166 (S) Definition of function bool requires 
parentheses.
"../lib/alist.h", line 24.13: 1506-276 (S) Syntax error: possible missing '{'?
"../lib/alist.h", line 56.3: 1506-045 (S) Undeclared identifier owned_by_alist.
"../lib/alist.h", line 56.20: 1506-045 (S) Undeclared identifier true.
"../lib/alist.h", line 57.3: 1506-045 (S) Undeclared identifier 
not_owned_by_alist.
"../lib/alist.h", line 57.24: 1506-045 (S) Undeclared identifier false.
"../lib/alist.h", line 58.1: 1506-277 (S) Syntax error: possible missing ';' or 
','?
"../lib/alist.h", line 65.1: 1506-166 (S) Definition of function class requires 
parentheses.
"../lib/alist.h", line 67.11: 1506-045 (S) Undeclared identifier items.
"../lib/alist.h", line 73.9: 1506-275 (S) Unexpected text own_items encountered.
"../lib/alist.h", line 73.4: 1506-045 (S) Undeclared identifier bool.
"../lib/alist.h", line 77.13: 1506-275 (S) Unexpected text 'int' encountered.
"../lib/alist.h", line 77.17: 1506-045 (S) Undeclared identifier num.
"../lib/alist.h", line 77.33: 1506-276 (S) Syntax error: possible missing ')'?
"../lib/mem_pool.h", line 96.30: 1506-041 (E) The invocation of macro strcpy 
contains fewer arguments than are required by the macro definition.
"../lib/mem_pool.h", line 97.30: 1506-041 (E) The invocation of macro strcat 
contains fewer arguments than are required by the macro definition.
make: The error code from the last command is 1.


Stop.


  == Error in /tmp/bacula/src/bacula-9.0.6/src/lib ==


make: The error code from the last command is 1.


Thanks,
Mike

From: Mike Eggleston
Sent: Monday, April 02, 2018 12:02 PM
To: Kern Sibbald ; Bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] aix binary?

Kern,

I don’t mind building it (and have built lots of stuff over 

Re: [Bacula-users] aix binary?

2018-04-02 Thread Mike Eggleston
Kern,

I don’t mind building it (and have built lots of stuff over the decades). Here 
is my PATH and the command line I’m using. What are you using?

export 
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/meggle1/bin:/usr/bin/X11:/sbin:/usr/vacpp/bin

./configure --without-TLS --disable-TLS --without-tls --disable-tls 
--without-ssl --disable-ssl --without-crypto --disable-crypto --disable-ipv6 
--disable-lzo --disable-nls --disable-NLS --disable-readline 
--disable-smartalloc --enable-client-only --with-libtool=no --without-mysql 
--without-smartalloc

Thanks,
Mike

From: Kern Sibbald [mailto:k...@sibbald.com]
Sent: Sunday, April 01, 2018 2:28 AM
To: Mike Eggleston ; 
Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] aix binary?


Hello,

If no one has one and you are unable to build it (actually rather easy -- build 
it directly on AIX but non-static), you can get one from Bacula Systems, but 
you will need a subscription.

Though binary packages are built for the community (thanks to Bacula Systems), 
they are not yet released (waiting for me to do the documentation), so some 
time in the future there is a possibility that we could have community binaries 
for AIX.

Best regards,

Kern

On 03/06/2018 10:04 PM, Mike Eggleston wrote:
Does anyone have a static bacula-fd for AIX they could send me?

Thanks,
Mike





--

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




___

Bacula-users mailing list

Bacula-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't find bacula.sql?

2018-04-02 Thread Wanderlei Huttel
Hello Thomas

Go to folder where the script " make_catalog_backup.pl " generate the
backup and execute the following command:
cat make_catalog_backup.pl | grep "my \$wd

Verify if the path of the script is the same of CatalogBackup FileSet.

Best Regards

*Wanderlei Hüttel*
http://www.huttel.com.br

2018-04-02 10:43 GMT-03:00 Tom Plancon :

> Hi All,
>
> I keep getting an error on my jobs:
>
>  "Could not stat "/var/spool/bacula/bacula.sql": ERR=No such file or 
> directory"
>
> The jobs do complete, but I'm not sure what "Bacula.sql" is supposed to be 
> doing and so what may be missing from my backups.
> This is a recent Bacula 7.4.7 setup installed from source from Bacula.org. A 
> search of the appropriate installation folders does not find any bacula.sql.
>
> Any information here is greatly appreciated! Thanks!
>
> --
> Thomas Plancon
> CAD/IT MANAGER
>
> E:  tplan...@bkaarchs.com
> W: www.bkaarchitects.com 
>
> [image: BKA/LOGO]
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Can't find bacula.sql?

2018-04-02 Thread Tom Plancon

Hi All,

I keep getting an error on my jobs:

 "Could not stat "/var/spool/bacula/bacula.sql": ERR=No such file or directory"

The jobs do complete, but I'm not sure what "Bacula.sql" is supposed to be 
doing and so what may be missing from my backups.
This is a recent Bacula 7.4.7 setup installed from source from Bacula.org. A 
search of the appropriate installation folders does not find any bacula.sql.

Any information here is greatly appreciated! Thanks!

--
myEMAILsignature Thomas Plancon
CAD/IT MANAGER

E:  tplan...@bkaarchs.com
W: www.bkaarchitects.com 

BKA/LOGO

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autochanger not changing

2018-04-02 Thread Sebastian Suchanek
Am 02.04.2018 um 09:54 schrieb Kern Sibbald:

Hello Kern,

thank you for your reply.

> First, I would recommend that you use at *most* 1MB block sizes for
> LT0-1 and LTO-4 tapes.

OK, I changed that for the LTO-4 drive. (I don't want go below 1MB
though, because it significantly reduces write rates.)

> [...]
> You haven't shown your full autochanger device configuration so it will 
> be hard/impossible to diagnose your problem.

No problem, here's my full bacula-sd.conf, only comments and passwords
are removed:

| Storage {
|   Name = tigersclaw-sd
|   SDPort = 9103
|   WorkingDirectory = "/var/lib/bacula"
|   Pid Directory = "/var/run/bacula"
|   Maximum Concurrent Jobs = 20
|   SDAddress = 10.1.0.1
| }
|
| Director {
|   Name = tigersclaw-dir
|   Password = 
| }
|
| Director {
|   Name = tigersclaw-mon
|   Password = 
|   Monitor = yes
| }
|
| Device {
|   Name = FileStorage
|   Media Type = File
|   Archive Device = /srv/bacula/file
|   LabelMedia = yes
|   Random Access = yes
|   AutomaticMount = yes
|   RemovableMedia = no
|   AlwaysOpen = no
| }
|
| Autochanger {
|   Name = Overland-NEO2000
|   Device = LTO1-Drive-1
|   Device = LTO4-Drive-1
|   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
|   Changer Device = /dev/sg4
| }
|
| Device {
|   Name = LTO1-Drive-1
|   Drive Index = 0
|   Media Type = LTO-1
|   Archive Device = /dev/nst1
|   AutomaticMount = yes
|   AlwaysOpen = yes
|   RemovableMedia = yes
|   RandomAccess = no
|   AutoChanger = yes
|   Maximum File Size = 2GB
|   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
|   Spool Directory = "/srv/bacula/spool"
| }
|
| Device {
|   Name = LTO4-Drive-1
|   Drive Index = 1
|   Media Type = LTO-4
|   Archive Device = /dev/nst0
|   AutomaticMount = yes
|   AlwaysOpen = yes
|   RemovableMedia = yes
|   RandomAccess = no
|   Maximum block size = 1MB
|   Maximum File Size = 40GB
|   AutoChanger = yes
|   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
|   Spool Directory = "/srv/bacula/spool"
| }
|
| Messages {
|   Name = Standard
|   director = tigersclaw-dir = all
| }

JFTR: "tigersclaw" is the name of my server which runs (among other
things) the Bacula director, storage daemon und also the client where
the backup job in question comes from. (I have more jobs configured,
also from other clients, but they are way to small to even fill a LTO-1
tape.)

> Also the output from a:
> 
> lsscsi -g
> 
> would be necessary.

No problem either:

| # lsscsi -g
| [0:0:1:0]tapeHP   Ultrium 4-SCSI   H63H  /dev/st0   /dev/sg3
| [1:0:0:0]diskATA  Samsung SSD 850  2B6Q  /dev/sda   /dev/sg0
| [2:0:0:0]diskATA  WDC WD40EFRX-68W 0A82  /dev/sdb   /dev/sg1
| [3:0:0:0]diskATA  WDC WD40EFRX-68W 0A82  /dev/sdc   /dev/sg2
| [7:0:0:0]mediumx OVERLAND NEO Series   0616  /dev/sch0  /dev/sg4
| [7:0:0:1]tapeSEAGATE  ULTRIUM06242-XXX 1603  /dev/st1   /dev/sg5
| #


> Note in general, if btape works then Bacula will work because the SD 
> uses the same subroutines that btape uses for reading/writing tapes.

Well, that's what I expected and that's why I'm so puzzled about this
error...

> Consequently there may be some other problem.  When the SD seems to be 
> stuck, you can probably get more information by doing:
> 
> bconsole
> set debuglevel=200 storage= trace=1
> mount
> set debuglevel=0 storage= trace=0
> 
> then look at the trace file in your working directory to see what it 
> going on.

Here's the trace file from the beginning of the job until the point
where the first tape was full and Bacula got stuck:

   https://suchanek.de/temp/tigersclaw-sd.trace   (47kB)

And here ist what happend when I manually cancelled the stuck job (which
worked) and try to do a "release LTO4-Drive" command in bconsole. (Which
didn't work, i.e. Bacula got stuck here too.)

   https://suchanek.de/temp/tigersclaw-sd.trace.2   (3kB)

I hope you can find anything usefull in these debug files, because I'm
totally lost here...


Best regards

Sebastian

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autochanger not changing

2018-04-02 Thread Kern Sibbald

Hello Sebastian,

First, I would recommend that you use at *most* 1MB block sizes for 
LT0-1 and LTO-4 tapes.  Note, once a tape is written with a given block 
size in Bacula you must re-initialize that volume (write two EOF marks 
at the beginning) before changing the block size.


You haven't shown your full autochanger device configuration so it will 
be hard/impossible to diagnose your problem.


Also the output from a:

lsscsi -g

would be necessary.

Note in general, if btape works then Bacula will work because the SD 
uses the same subroutines that btape uses for reading/writing tapes.  
Consequently there may be some other problem.  When the SD seems to be 
stuck, you can probably get more information by doing:


bconsole
set debuglevel=200 storage= trace=1
mount
set debuglevel=0 storage= trace=0

then look at the trace file in your working directory to see what it 
going on.


Best regards,

Kern


On 04/01/2018 05:12 PM, Sebastian Suchanek wrote:

Hi everyone,

while still setting up Bacula (v5.2.6), I've come accross a rather
strange issue with my tape library (an Overland NEO2000) with a
LTO4-FC-Drive. When I do "fill" test with btape over multiple tapes,
everything works fine. Also, for example, when I do a "label barcodes"
command in btape over multiple slots, the individual tapes are moved
into the drive, get written and are put back into their original slot.

But when I run a "real" backup job which spans more than one tape, the
job gets stuck as soon as the end of the first tape is reached. The last
messages from the job are:

| [...]
| 2018-04-01 14:16:42   tigersclaw-sd JobId 111: Volume "SU4103L4"
previously written, moving to end of data.
| 2018-04-01 15:55:32   tigersclaw-sd JobId 111: End of Volume "SU4103L4"
at 21:2548 on device "LTO4-Drive-1" (/dev/nst0). Write of 200 bytes
got -1.

And after that, nothing happens anymore. Not even if I wait for half an
hour.

Here's the (hopefully) relevant part of my bacula-sd.conf:

| [...]
| Autochanger {
|   Name = Overland-NEO2000
|   Device = LTO1-Drive-1
|   Device = LTO4-Drive-1
|   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
|   Changer Device = /dev/sg4
| }
|
| Device {
|   Name = LTO4-Drive-1
|   Drive Index = 1
|   Media Type = LTO-4
|   Archive Device = /dev/nst0
|   AutomaticMount = yes
|   AlwaysOpen = yes
|   RemovableMedia = yes
|   RandomAccess = no
|   Maximum block size = 2MB
|   Maximum File Size = 40GB
|   AutoChanger = yes
|   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
|   Spool Directory = "/srv/bacula/spool"
| }
| [...]

Any idea what exactly is going wrong here? What can I do to track down
the reason for this error? What can I do to fix it?


Best regards

Sebastian

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users