Bacula-users

[Bacula-users] Jobs abort as failed when tape is loading/unloading in bacula-2.4.0

2008-06-24 13:45:00
Subject: [Bacula-users] Jobs abort as failed when tape is loading/unloading in bacula-2.4.0
From: "John Drescher" <drescherjm AT gmail DOT com>
To: baculausers <Bacula-users AT lists.sourceforge DOT net>
Date: Tue, 24 Jun 2008 13:44:52 -0400
I had two jobs fail today when the tape drive was loading or unloading tapes.

The first happened when the tape (DLT-IV) became full during a backup
and so the tape was being unloaded and during the unload bacula
determined it could not open the tape drive so it aborted the job.

24-Jun 09:48 fileserver-dir JobId 10771: Start Backup JobId 10771,
Job=CleanImages.2008-06-24_09.48.52
24-Jun 09:48 fileserver-dir JobId 10771: Using Device "DLT-IV"
24-Jun 09:48 fileserver-sd JobId 10771: Volume "CleanImages-0222"
previously written, moving to end of data.
24-Jun 09:49 fileserver-sd JobId 10771: Ready to append to end of
Volume "CleanImages-0222" at file=61.
24-Jun 10:00 fileserver-sd JobId 10771: End of Volume
"CleanImages-0222" at 63:1859 on device "DLT-IV" (/dev/nst0). Write of
262144 bytes got -1.
24-Jun 10:00 fileserver-sd JobId 10771: Re-read of last block succeeded.
24-Jun 10:00 fileserver-sd JobId 10771: End of medium on Volume
"CleanImages-0222" Bytes=58,606,485,504 Blocks=223,565 at 24-Jun-2008
10:00.
24-Jun 10:00 fileserver-sd JobId 10771: Error: Could not open device
"DLT-IV" (/dev/nst0): ERR=dev.c:432 Unable to open device "DLT-IV"
(/dev/nst0): ERR=Input/output error

24-Jun 10:00 fileserver-fd JobId 10771: Fatal error: backup.c:892
Network send error to SD. ERR=Broken pipe
24-Jun 10:00 fileserver-sd JobId 10771: Job write elapsed time =
00:11:14, Transfer rate = 3.688 M bytes/second
24-Jun 10:01 fileserver-dir JobId 10771: Error: Bacula fileserver-dir
2.4.0 (04Jun08): 24-Jun-2008 10:01:05
  Build OS:               x86_64-pc-linux-gnu gentoo
  JobId:                  10771
  Job:                    CleanImages.2008-06-24_09.48.52
  Backup Level:           Full
  Client:                 "fileserver-fd" 2.4.0 (04Jun08)
x86_64-pc-linux-gnu,gentoo,
  FileSet:                "CleanPendingImages" 2006-03-01 14:38:22
  Pool:                   "CleanImages" (From Job resource)
  Storage:                "DLT-IV" (From Job resource)
  Scheduled time:         24-Jun-2008 09:48:16
  Start time:             24-Jun-2008 09:48:25
  End time:               24-Jun-2008 10:01:05
  Elapsed time:           12 mins 40 secs
  Priority:               10
  FD Files Written:       4,739
  SD Files Written:       4,736
  FD Bytes Written:       2,486,868,804 (2.486 GB)
  SD Bytes Written:       2,486,247,410 (2.486 GB)
  Rate:                   3272.2 KB/s
  Software Compression:   None
  VSS:                    no
  Storage Encryption:     no
  Volume name(s):         CleanImages-0222
  Volume Session Id:      53
  Volume Session Time:    1213294542
  Last Volume Bytes:      0 (0 B)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Backup Error ***

The same happens when starting a backup while the tape is loading:

24-Jun 11:52 fileserver-dir JobId 10772: Start Backup JobId 10772,
Job=CleanImages.2008-06-24_11.52.57
24-Jun 11:52 fileserver-dir JobId 10772: Using Device "DLT-IV"
24-Jun 11:52 fileserver-sd JobId 10772: Error: Could not open device
"DLT-IV" (/dev/nst0): ERR=dev.c:432 Unable to open device "DLT-IV"
(/dev/nst0): ERR=Input/output error

24-Jun 11:52 fileserver-sd JobId 10772: Fatal error: Could not ready
device "DLT-IV" (/dev/nst0) for append.
24-Jun 11:52 fileserver-fd JobId 10772: Fatal error: job.c:1817 Bad
response to Append Data command. Wanted 3000 OK data
, got 3903 Error append data

24-Jun 11:52 fileserver-dir JobId 10772: Error: Bacula fileserver-dir
2.4.0 (04Jun08): 24-Jun-2008 11:52:43
  Build OS:               x86_64-pc-linux-gnu gentoo
  JobId:                  10772
  Job:                    CleanImages.2008-06-24_11.52.57
  Backup Level:           Full
  Client:                 "fileserver-fd" 2.4.0 (04Jun08)
x86_64-pc-linux-gnu,gentoo,
  FileSet:                "CleanPendingImages" 2006-03-01 14:38:22
  Pool:                   "CleanImages" (From Job resource)
  Storage:                "DLT-IV" (From Job resource)
  Scheduled time:         24-Jun-2008 11:52:41
  Start time:             24-Jun-2008 11:52:43
  End time:               24-Jun-2008 11:52:43
  Elapsed time:           0 secs
  Priority:               10
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0 (0 B)
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Software Compression:   None
  VSS:                    no
  Storage Encryption:     no
  Volume name(s):
  Volume Session Id:      54
  Volume Session Time:    1213294542
  Last Volume Bytes:      0 (0 B)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Backup Error ***


John

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users