Bacula-users

[Bacula-users] Restoring: error 2800 at end of tape

2016-01-21 03:34:37
Subject: [Bacula-users] Restoring: error 2800 at end of tape
From: Andrea Venturoli <ml AT netfence DOT it>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 21 Jan 2016 08:59:49 +0100
Hello.

I'm doing a routine restore check on a server which has been working 
perfectly for years (the last restore worked fine some months ago).

I choose a small set of files which spans two tapes and here's what I get:

> 21-Jan 00:07 xxxxxx-dir JobId 1199: Start Restore Job 
> RestoreFiles.2016-01-21_00.07.44_16
> 21-Jan 00:07 xxxxxx-dir JobId 1199: Error: bsock.c:221 Socket open error. 
> proto=28 port=9103. ERR=Protocol not supported
> 21-Jan 00:07 xxxxxx-dir JobId 1199: Using Device "DAT160" to read.
> 21-Jan 00:07 xxxxxx-sd JobId 1199: Ready to read from volume "Tape009" on 
> tape device "DAT160" (/dev/nsa0).
> 21-Jan 00:07 xxxxxx-sd JobId 1199: Forward spacing Volume "Tape009" to 
> file:block 12:0.
> 21-Jan 00:07 xxxxxx-fd JobId 1199: Error: bsock.c:221 Socket open error. 
> proto=28 port=9103. ERR=Protocol not supported
> 21-Jan 00:55 xxxxxx-sd JobId 1199: Elapsed time=00:47:30, Transfer rate=6.099 
> M Bytes/second
> 21-Jan 00:07 xxxxxx-dir JobId 1199: Error: bsock.c:221 Socket open error. 
> proto=28 port=9102. ERR=Protocol not supported
> 21-Jan 00:55 xxxxxx-dir JobId 1199: Using Device "Backup" to read.
> 21-Jan 00:55 xxxxxx-dir JobId 1199: Fatal error: Bad response to Storage 
> command: wanted 2000 OK storage
> , got 2800 End Job TermCode=69 JobFiles=147756 ReadBytes=17353960553 
> JobBytes=17353960553 Errors=1 VSS=0 Encrypt=0 CommBytes=0 CompressCommBytes=0
>
> 21-Jan 00:55 xxxxxx-dir JobId 1199: Error: Bacula xxxxxx-dir 7.2.0 (14Aug15):
>   Build OS:               amd64-portbld-freebsd9.3 freebsd 9.3-RELEASE-p25
>   JobId:                  1199
>   Job:                    RestoreFiles.2016-01-21_00.07.44_16
>   Restore Client:         xxxxxx-fd
>   Start time:             21-Jan-2016 00:07:46
>   End time:               21-Jan-2016 00:55:17
>   Files Expected:         149,734
>   Files Restored:         0
>   Bytes Restored:         0
>   Rate:                   0.0 KB/s
>   FD Errors:              2
>   FD termination status:
>   SD termination status:  Waiting on FD
>   Termination:            *** Restore Error ***
>
> 21-Jan 00:55 xxxxxx-dir JobId 1199: Error: Bacula xxxxxx-dir 7.2.0 (14Aug15):
>   Build OS:               amd64-portbld-freebsd9.3 freebsd 9.3-RELEASE-p25
>   JobId:                  1199
>   Job:                    RestoreFiles.2016-01-21_00.07.44_16
>   Restore Client:         xxxxxx-fd
>   Start time:             21-Jan-2016 00:07:46
>   End time:               21-Jan-2016 00:55:17
>   Files Expected:         149,734
>   Files Restored:         0
>   Bytes Restored:         0
>   Rate:                   0.0 KB/s
>   FD Errors:              3
>   FD termination status:
>   SD termination status:  Waiting on FD
>   Termination:            *** Restore Error ***
>

In practice, all requested files have been restored from the first tape, 
but I'm never asked to insert the second tape.
I have no idea what the reason is. What does that 2800 mean?

The box is FreeBSD 9.3 with bacula 7.2.0 and this is the relevant part 
of my bacula-sd.conf:

> Device {
> Name = DAT160
> Description = "DAT160 for FreeBSD"
> Media Type = DAT160
> Archive Device = /dev/nsa0
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes
> Offline On Unmount = no
> Hardware End of Medium = no
> BSF at EOM = yes
> Backward Space Record = no
> Fast Forward Space File = no
> TWO EOF = yes
> }



I also tried bextract and I was able to get everything back, being 
correctly asked to insert the second tape.

Any hint?

  bye & Thanks
        av.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>