Bacula-users

Re: [Bacula-users] Clean bacula server shutdown

2008-10-04 12:31:37
Subject: Re: [Bacula-users] Clean bacula server shutdown
From: "Erik P. Olsen" <epodata AT gmail DOT com>
To: Steve Garcia <sgarcia AT bak.rr DOT com>
Date: Fri, 26 Sep 2008 23:34:50 +0200
On 26/09/08 20:17, Steve Garcia wrote:
> Erik P. Olsen wrote:
> 
>>>>>>> Release any tape befor shutding down bacula. That should prevent you
>>>>>>> for
>>>>>>> damaged tapes.
>>>>>> Can't bacula gracefully release tape volumes at shutdowns? It may very
>>>>>> well be
>>>>>> that bacula doesn't but isn't it possible?
>>>>>>
>>>>> I believe not,
>>>> It should be clean if you shut down while bacula is idle.
>>>>
>>>> If you shut down during a backup, then the catalog might not be updated to
>>>> match the tape, which will cause a mismatch next time the tape is used.  Is
>>>> that the situation you are seeing?
>>> That's not the problem (or at least it doesn't seem like it is.) Neither
>>> of the times we have shut the server down has been during a backup.
>>> Bacula has been idle at the time of the shutdown.
>>>
>>> The problem is that the tape is still in the drive, and after the
>>> machine comes back up, it gives me an error any time bacula tries to
>>> access the tape drive.
>> Does this also happen if you unmount and remount the tape before bacula 
>> starts
>> using the tape? I have also had this sort of problem and believe it's because
>> bacula thinks the tape is positioned differently from where it actually is. I
>> have successfully changed the error tag to append in such situations.
>>
> 
> I'm not sure.  When I shut the server down last time, it was just a
> routine reboot, so I wasn't even thinking of potential bacula problems.
>  It wasn't until I started getting emails about failed backups that I
> looked at it.
> 
I understand the situation may not be the same but just five minutes ago I had
an incident where bacula flagged the current tape volume in error reporting a
mismatch between the number of files on the tape and the corresponding number in
the catalogue. I then changed the volume status to append and mounted the tape
again and right now is the backup running.

As I've said I've done that before and I have verified that the tape was usable
and that bacula was able to restore files from the tape.

-- 
Erik.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>