Hi,

13.02.2008 20:59, Falk Sauer wrote:
> Hi all,
> Bacula 2.2.8, Adic Scalar 24, 5,5TB Storage
> 
> I have seen few minutes ago, following scenario:
> 
> 3 Backupjobs running on one Drive (Drive-2) in the meantime i've changed a 
> tape and done 'update slots' and 'label barcodes' with drive-1, after them 
> the tape inside Drive-1 was the only one in state 'Append'. In the moment 
> where the tape in Drive-2 going to Full State this Error occours:
> 
> 13-Feb 19:25 save-sd JobId 2516: End of Volume "HB0074" at 311:10733 on 
> device "Drive-2" (/dev/nst1). Write of 64512 bytes got -1.
> 13-Feb 19:26 save-sd JobId 2516: Re-read of last block succeeded.
> 13-Feb 19:26 save-sd JobId 2516: End of medium on Volume "HB0074" 
> Bytes=311,672,503,296 Blocks=4,831,232 at 13-Feb-2008 19:26.
> 13-Feb 19:26 save-dir JobId 2516: Using Volume "HB0081" from 'Scratch' pool.
> 13-Feb 19:26 save-sd JobId 2516: 3307 Issuing autochanger "unload slot 18, 
> drive 1" command.
> 13-Feb 19:27 save-sd JobId 2516: 3304 Issuing autochanger "load slot 20, 
> drive 
> 1" command.
> 13-Feb 19:32 save-sd JobId 2516: Fatal error: 3992 Bad autochanger "load slot 
> 20, drive 1": ERR=Child died from signal 15: Termination.
> Results=Loading media from Storage Element 20 into drive 1...Source Element 
> Address 4115 is Empty
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefunden
> mt: /dev/nst1: Kein Medium gefun
> 13-Feb 19:32 save-sd JobId 2516: Job write elapsed time = 11:26:57, Transfer 
> rate = 5.773 M bytes/second
> 13-Feb 19:32 save-fd JobId 2515: Fatal error: backup.c:892 Network send error 
> to SD. ERR=Die Verbindung wurde vom Kommunikationspartner zurückgesetzt
> 13-Feb 19:32 save-fd JobId 2516: Fatal error: backup.c:892 Network send error 
> to SD. ERR=Die Verbindung wurde vom Kommunikationspartner zurückgesetzt
> 13-Feb 19:32 save-fd JobId 2517: Fatal error: backup.c:892 Network send error 
> to SD. ERR=Datenübergabe unterbrochen (broken pipe)
> 13-Feb 19:32 save-fd JobId 2516: Error: bsock.c:306 Write error sending 65536 
> bytes to Storage daemon:save:9103: ERR=Die Verbindung wurde vom 
> Kommunikationspartner zurückgesetzt
> 13-Feb 19:32 save-fd JobId 2517: Error: bsock.c:306 Write error sending 65536 
> bytes to Storage daemon:save:9103: ERR=Datenübergabe unterbrochen (broken 
> pipe)
> 
> ...
> 
> and so on for all 3 backup jobs after sd dying. 
> 
> The Problem is imho the logic of changing tapes has not unload HB0081 from 
> Drive-1 before attempt to load it from Slot 20 or, if using HB0081 is the 2nd 
> best idea*, he should attempt to use a other prunded tape from Scratch pool.

I think the right thing to do would be to unload drive one first... 
anyway, this seems to be a bug worth reporting on bugs.bacula.org.

What would be interesting is the internal state of the SD at the time 
this happens, i.e. is it aware that the tape needed is in drive 1? I 
*guess* the tape is known to be loaded but not reserved.

> I mean this is a Bug, is the Bug known or should i file the bug into the 
> Bugtracker? 

I'm not aware of this bug, but you surely will look if something 
similar is already reported, right? ;-)

> *) i'm not shure wich Design rule should handle this case.

> Regards
>    Falk

Arno


-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to