Bacula-users

Re: [Bacula-users] bacula hang waiting for storage

2008-12-02 15:42:11
Subject: Re: [Bacula-users] bacula hang waiting for storage
From: Pasi Kärkkäinen <pasik AT iki DOT fi>
To: Arno Lehmann <al AT its-lehmann DOT de>
Date: Tue, 2 Dec 2008 22:38:02 +0200
On Thu, Nov 27, 2008 at 05:53:41PM +0100, Arno Lehmann wrote:
> Hi,
> 
> 27.11.2008 15:10, Pasi Kärkkäinen wrote:
> > On Thu, Nov 27, 2008 at 08:14:45AM +0100, Arno Lehmann wrote:
> >> Hi,
> >>
> >> 26.11.2008 21:22, Bob Hetzel wrote:
> >>> I've got bacula currently in a hung state with the following interesting 
> >>> info.  When I run a status storage produces the following...
> >> Is your Bacula still stuck? If so, and you have gdb installed, and a 
> >> Bacula with debug symbols, now might be a good time to see what it's 
> >> doing...
> ...
> > I have also seen this lately.. but that was with Bacula 2.5.18.
> > 
> > I could make that hang happen multiple times, but I'm not totally sure what
> > caused that..
> 
> Well, if you can recreate the issue it's worth the effort building 
> Bacula with debug information so you get usable backtraces.
> 
> If the problem happens again, you can use gdb to create a backtrace, 
> showing the developers more details about what happens and thus 
> enabling them to fix the issue.
> 
> I would recommend that now.
> 

Now my Bacula server is in a state where it always hangs when I try to run a 
'copy from disk pool to tape'-job. I rebooted the server, but it didn't
help. Bacula still hangs when it starts to use the tape library/drive.

It all started with:

"Error writing final EOF to tape. This Volume may not be readable.
dev.c:1723 ioctl MTWEOF error on "IBM-LTO3-Drive" (/dev/nst0).
ERR=Input/output error."

So.. now when I run a job, bacula-sd seems to get stuck.. and bconsole hangs
too after I run "sta 2" to check the status of the tape storage. 

What should I try to sort this out? I assume it would get fixed by rebooting
the tape library, but I guess I shouldn't do that yet to troubleshoot this..

-- Pasi

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