Bacula-users

Re: [Bacula-users] bacula-sd hangs after tape error

2008-05-14 15:16:49
Subject: Re: [Bacula-users] bacula-sd hangs after tape error
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 14 May 2008 21:16:17 +0200
Hi,

14.05.2008 14:30, Tobias Barth wrote:
> Hi,
> 
> I am using bacula 2.2.8, SuSE linux 10.1 and a Benchmark DLT1 tape 
> drive. Today, a backup which spans multiple tapes failed because of a 
> tape error. I could not unmount the tape, and bacula-sd told to the 
> director: "Device /dev/nst0 is busy in acquire." Which obviously was 
> wrong, because the tape did nothing any more.

Still, from Bacula's point of view, the status might be correct.

> I gave up the hope that I 
> could proceed the backup with a new tape now, stopping bacula in order 
> to get rid of the stuck bacula-sd process. Now, bacula-sd is a zombie 
> process and still occupies the tape device.

Is there anything in the system log regarding SCSI problems?

A zombie process usually indicates this process is either still 
blocked by outstanding I/O requests, or can't be finally terminated 
because the parent process is still busy. Or something similar... so, 
what you describe, sounds more like a general OS, kernel, SCSI driver 
or tape hardware problem.

> I think this is a bug. When a tape error occurs (which is quite normal 
> because tape are mechanical parts and those errors should be handled by 
> software), bacula-sd should unmount the tape and wait for a new 
> appendable tape to be mounted.

Which is what Bacula usually does, more or less. It handles a tape 
error just like and end of media situation.

> Bacula should then rewind the backup to 
> the position before the failed tape,

That's not what Bacula does, and there are some reasons for it.

> so the operator can throw the 
> failed tape away and replace it by a better one without losing data.

Arno

> Greetings,
> 
> Tobias Barth

-- 
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

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