Hello,

On Wed, 2005-10-19 at 11:56 +0100, David Raine wrote:
> Removing the following lines from line 497 of block.c, in 
> write_block_to_dev() fixed the problem:
> 
> if (!do_dvd_size_checks(dcr)) {
>       /* Error message already sent */
>       return false;
> }
> 
> Should this be prefixed with a check that a DVD is in use?

Yes of course. I just fixed this, please do a "cvs update" (you may have
to wait 4-5 hours before the fix is available on the anonymous CVS).

Thanks for reporting the problem.

Thank you Arno for forwarding the message to me, I would have missed it.

Best regards,

Nicolas

> >From: "David Raine" <[EMAIL PROTECTED]>
> >To: bacula-users@lists.sourceforge.net
> >Subject: Re: [Bacula-users] LTO drive - End Of Volume error
> >Date: Wed, 19 Oct 2005 11:48:57 +0100
> >
> >I followed those steps but found no difference. Running btape with -d 999 
> >shows this curious message:
> >
> >btape: dev.c:655 rewind_dev fd=3 "LTO-A" (/dev/st0)
> >btape: record.c:213 write_record_to_block() FI=0 SessId=0 Strm=0 len=64412
> >rem=64488 remainder=0
> >btape: block.c:430 binbuf=64448 buf_len=64512
> >btape: block.c:816 Cannot get free space on the device ERR=.
> >btape: message.c:993 Enter Jmsg type=3
> >btape: message.c:565 Enter dispatch_msg type=3 msg=btape: btape Fatal 
> >error: End of Volume ""  at 0:0 on device "LTO-A" (/dev/st0) (part_size=0, 
> >free_space=0, free_space_errno=0, errmsg=).
> >
> >I note that line 816 in block.c is within the function 
> >do_dvd_size_checks()... Does it think this tape is a DVD?
> >
> >Regards
> >David
> >
> >>From: Kern Sibbald <[EMAIL PROTECTED]>
> >>Reply-To: [EMAIL PROTECTED]
> >>To: bacula-users@lists.sourceforge.net
> >>CC: "David Raine" <[EMAIL PROTECTED]>, 
> >>[EMAIL PROTECTED]
> >>Subject: Re: [Bacula-users] LTO drive - End Of Volume error
> >>Date: Wed, 19 Oct 2005 08:12:41 +0200
> >>
> >>There is a tape testing chapter in the manual (use the development 
> >>manual),
> >>which gives if I remember right 9 steps for diagnosing tape problems ...
> >>
> >>
> >>On Tuesday 18 October 2005 21:22, David Raine wrote:
> >> > Good thought...
> >> >
> >> > OK - I have a new box of tapes and it gives the same error on three 
> >>that
> >> > I've tried from that box, too. Is there a way to get more info on the
> >> > error? Am happy to compile with debug if that would help identify the
> >> > cause...
> >> >
> >> > Regards
> >> > David
> >> >
> >> > >From: Phil Stracchino <[EMAIL PROTECTED]>
> >> > >To: David Raine <[EMAIL PROTECTED]>
> >> > >CC: bacula-users@lists.sourceforge.net
> >> > >Subject: Re: [Bacula-users] LTO drive - End Of Volume error
> >> > >Date: Tue, 18 Oct 2005 14:45:55 -0400
> >> > >
> >> > >David Raine wrote:
> >> > > > Phil,
> >> > > >
> >> > > > Thanks for the response and the useful info. Sadly, the error
> >> > >
> >> > >persists...
> >> > >
> >> > >Is it consistent across multiple tapes?
> >> > >
> >> > >
> >> > >--
> >> > >  Phil Stracchino       [EMAIL PROTECTED]
> >> > >     Renaissance Man, Unix generalist, Perl hacker
> >> > >  Mobile: 603-216-7037         Landline: 603-886-3518
> >> >
> >> > -------------------------------------------------------
> >> > This SF.Net email is sponsored by:
> >> > Power Architecture Resource Center: Free content, downloads, 
> >>discussions,
> >> > and more. http://solutions.newsforge.com/ibmarch.tmpl
> >> > _______________________________________________
> >> > Bacula-users mailing list
> >> > Bacula-users@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >
> >
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by:
> >Power Architecture Resource Center: Free content, downloads, discussions,
> >and more. http://solutions.newsforge.com/ibmarch.tmpl
> >_______________________________________________
> >Bacula-users mailing list
> >Bacula-users@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to