Dear Martin,

I am sorry for answering so late, but due to the COVID-19/Sars-CoV2 situation I 
had a lot of other issues to solve.

During the restart no backup was running - just the tape was positioned in the 
middle of the tape.

I will test the unmounr/eject/mount procedure without a reboot today and report 
the results.

Best,

Christian



-----Original-Nachricht-----
Betreff: Re: [Bacula-users] Tape Moving Error after server restart
Datum: 2020-03-20T16:19:57+0100
Von: "Martin Simmons" <mar...@lispworks.com>
An: "Christian Lehmann" <lcompu...@t-online.de>

Did the restart happen in the middle of a backup?

Does the backup error occur after you unmount the tape from bconole, eject it
and then insert and mount it again, without rebooting?

__Martin


>>>>> On Wed, 18 Mar 2020 13:52:09 +0100 (CET), Christian Lehmann said:
> 
> Dear all,
>  
> from time to time I get an error after I restart the server running my 
> bacula director and also a storage daemon with an Tandberg LTO-5 HH.
>  
> The current bacula version is 9.6.3 (9th March 2020) on a Debian machine.
>  
> The situation is:
>  
> Bacula has made some backups to a tape in the drive, but the tape isn't 
> full yet.
>  
> Than a restart of the machine is happing (for example due to a Kernel 
> update). So bacula is shutting down and the tape is rewinded.
>  
> After restart, as soon as I initiate a backup job, bacula tries the 
> positioning to the end of the tape to write the data (in this case I just 
> run a small backup job of my bacula database).
>  
> However, he fails to do so, with the error "ERFOLG" (which is German and 
> means SUCCESS). So I do not understand what is happening there. Has someone 
> come accross such a behaviour?
>  
> 18-Mär 13:19 fritzie15-dir JobId 12352: shell command: run BeforeJob 
> "/etc/bacula/make_catalog_backup bacula bacula VERY_SAFE_PASSWORD_XXX"
> 18-Mär 13:19 fritzie15-dir JobId 12352: Start Backup JobId 12352, 
> Job=Bacula_Catalog.2020-03-18_13.19.09_03
> 18-Mär 13:19 fritzie15-dir JobId 12352: Using Device "LTO-5" to write.
> 18-Mär 13:19 fritzie15-sd JobId 12352: Volume "LTO-5-Tape0027" previously 
> written, moving to end of data.
> 18-Mär 13:20 fritzie15-sd JobId 12352: Error: Unable to position to end of 
> data on Tape device "LTO-5" (/dev/nst0): ERR=tape_dev.c:363 ioctl MTIOCGET 
> error on "LTO-5" (/dev/nst0). ERR=Erfolg.
> 18-Mär 13:20 fritzie15-sd JobId 12352: Marking Volume "LTO-5-Tape0027" in 
> Error in Catalog.
>  
> Now, I am a bit afraid, because I do not know, if a restore of the backuped 
> data would work.
>  
> Thank you all in advance!
>  
> Best,
> 
> Christian
>  
> 



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to