Bacula-users

Re: [Bacula-users] Latest bacula with new SD code broken?

2008-06-11 06:54:05
Subject: Re: [Bacula-users] Latest bacula with new SD code broken?
From: "Jari Fredriksson" <jarif AT iki DOT fi>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 11 Jun 2008 13:52:37 +0300
So I went back to 2.2.8.

After I replaced tape, that tape was bad, I/O-error, and again SD died and all 
jobs canceled with error.

2.2.8 just asks a new tape after a failure as that. 2.4.0 SD seems to die after 
any problem with the tape, when a "missing tape" when it has ejected the full 
tape.






> 11-Jun 06:04 wellington-sd JobId 8224: End of Volume
> "DDS2-0004" at 31:479 on device "DDS-2" (/dev/nst0).
> Write of 64512 bytes got -1. 11-Jun 06:04 wellington-sd
> JobId 8224: Re-read of last block succeeded. 11-Jun 06:04
> wellington-sd JobId 8224: End of medium on Volume
> "DDS2-0004" Bytes=2,291,272,704 Blocks=35,516 at
> 11-Jun-2008 06:04. 11-Jun 06:06 wellington-dir JobId
> 8224: There are no more Jobs associated with Volume
> "DDS2-0005". Marking it purged. 11-Jun 06:06
> wellington-dir JobId 8224: All records pruned from Volume
> "DDS2-0005"; marking it "Purged" 11-Jun 06:06
> wellington-dir JobId 8224: Recycled volume "DDS2-0005"
> 11-Jun 06:06 wellington-sd JobId 8224: Error: Could not
> open device "DDS-2" (/dev/nst0): ERR=dev.c:432 Unable to
> open device "DDS-2" (/dev/nst0): ERR=No medium found     
> 
> 11-Jun 06:06 wellington-sd JobId 8224: Fatal error:
> spool.c:296 Fatal append error on device "DDS-2"
> (/dev/nst0): ERR=dev.c:432 Unable to open device "DDS-2"
> (/dev/nst0): ERR=No medium found   
> 
> 
> Worked fine, until tape ended. All jobs after this die
> because they can not connect to SD. I just looked ps and
> there is no SD onboard: it has died because of this.  
> 
> 2.2.8 worked nicely, and I have not touched to the
> configuration, just upgraded to 2.4.0 and let it run its
> course.  
> 
> Is this common or is it something in my setup?
> 
> Do I change something in my SD configuration because of
> new 2.4 code? 
> 
> Currently is is like this.
> 
> Storage {                             # definition of
>  myself Name = wellington-sd
>  SDPort = 9103                  # Director's port
>  WorkingDirectory = "/var/lib/bacula"
>  Pid Directory = "/var/run/bacula"
>  Subsys Directory = "/etc/bacula"
> }
> 
> Device {
>  Name = DDS-2                        #
>  Media Type = DDS2
>  Archive Device = /dev/nst0
>  AutomaticMount = Yes;              # when device opened,
>  read it OfflineOnUnmount = Yes;
>  AlwaysOpen = yes;
>  RemovableMedia = yes;
>  RandomAccess = no;
>  Spool directory = /usr/local/srv/backup ;
>  Maximum Spool Size = 20GB
>  Maximum Job Spool Size = 10GB
> }
> 
> 
> 
> 
> -------------------------------------------------------------------------
> 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



-------------------------------------------------------------------------
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

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