Bacula-users

[Bacula-users] power failure problem

2015-09-02 16:08:33
Subject: [Bacula-users] power failure problem
From: "Kevin I. Hodges" <k.i.hodges AT reading.ac DOT uk>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 2 Sep 2015 20:06:29 +0000
hi

        I've had bacula, version 7.0.5 running for sometime happily doing my 
backups to a twin drive IBM autochanger. However, over the weekend we had a 
power failure and bacula seems to have really got its knickers in a twist. The 
autochanger itself seems to be fine, I can load and unload tapes with no 
problems and all the volumes seem to be in the correct slot locations, however 
when I try and run a backup job I get the following errors and no backup:

02-Sep 19:35 swlx1.rdg.ac.uk-dir JobId 396: Start Backup JobId 396, 
Job=BackupClient1.2015-09-02_19.35.04_34
02-Sep 19:35 swlx1.rdg.ac.uk-dir JobId 396: Using Device "Drive-1" to write.
02-Sep 19:35 swlx1.rdg.ac.uk-sd JobId 396: 3304 Issuing autochanger "load slot 
3, drive 0" command.
02-Sep 19:40 swlx1.rdg.ac.uk-sd JobId 396: Fatal error: 3992 Bad autochanger 
"load slot 3, drive 0": ERR=Child died from signal 15: Termination.
Results=Program killed by Bacula (timeout)

02-Sep 19:40 swlx1.rdg.ac.uk-fd JobId 396: Fatal error: job.c:2444 Bad response 
from SD to Append Data command. Wanted 3000 OK data
, got 3903 Error append data:

02-Sep 19:40 swlx1.rdg.ac.uk-dir JobId 396: Error: Bacula swlx1.rdg.ac.uk-dir 
7.0.5 (28Jul14):
  Build OS:               x86_64-unknown-linux-gnu redhat Enterprise release
  JobId:                  396
  Job:                    BackupClient1.2015-09-02_19.35.04_34
  Backup Level:           Incremental, since=2015-08-27 19:05:03
  Client:                 "swlx1.rdg.ac.uk-fd" 7.0.5 (28Jul14) 
x86_64-unknown-linux-gnu,redhat,Enterprise release
  FileSet:                "Athena" 2015-06-04 19:05:00
  Pool:                   "Default" (From Job resource)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "DigitalTapeLibrary" (From Job resource)
  Scheduled time:         02-Sep-2015 19:35:00
  Start time:             02-Sep-2015 19:35:06
  End time:               02-Sep-2015 19:40:07
  Elapsed time:           5 mins 1 sec
  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
  Encryption:             no
  Accurate:               no
  Volume name(s):        
  Volume Session Id:      1
  Volume Session Time:    1441218705
  Last Volume Bytes:      7,912,094,883,840 (7.912 TB)
  Non-fatal FD errors:    1
  SD Errors:              1
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Backup Error ***

after this the tape from slot 3 is loaded in drive 0:

Data Transfer Element 0:Full (Storage Element 3 Loaded):VolumeTag = MD0011L6

the storage status after this is:

Device status:
Autochanger "DigitalTapeLibrary" with devices:
   "Drive-1" (/dev/nst0)
   "Drive-2" (/dev/nst1)

Device "Drive-1" (/dev/nst0) is not open.
    Drive 0 is not loaded.
==

Device "Drive-2" (/dev/nst1) is not open.
    Drive 1 is not loaded.
==
====

Used Volume status:
Reserved volume: MD0011L6 on tape device "Drive-1" (/dev/nst0)
    Reader=0 writers=0 reserves=0 volinuse=1

I don't understand why it want to write on drive 1 and then tries to load a 
tape on drive 0!

I've several posts that seem to have had similar problems but no solutions. 
Does anyone have any idea how to recover from this situation? Any help 
gratefully received.

Kevin


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&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>