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=<director's name for storage daemon> trace=1
mount
set debuglevel=0 storage=<director's name for storage daemon> 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 2000000 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