Hi,

I'm still chasing down issues with migration and DVDs. Today we got bug
733 fixed - it was stopping me reproduce this issue. I've now worked out
at least part of the issue below...

On Tue, 2006-12-12 at 19:46 +0100, mario wrote:
> Hello,
> 
> Kern Sibbald wrote:
> > I have just committed a fixe to the cvs that should fix automatic tape 
> > labeling for file volumes.  It may or may not fix this problem as I think 
> > they are related.
> >   
> 
> I still get the same error.
> 
> I have already wiped out the whole bacula installation and mysql
> database. Downloaded the latest SVN version and compiled/installed it.
> Still the same error:
> 
> 12-Dec 19:43 linux-sd: Marking Volume "info" in Error in Catalog.
> 12-Dec 19:43 linux-dir: Client1.2006-12-12_19.43.21 Error: Unable to get
> Media record for Volume info: ERR=sql_get.c:950 Media record for Volume
> "info" not found.
> 
> 12-Dec 19:43 linux-sd: Client1.2006-12-12_19.43.21 Fatal error: Error
> getting Volume info: 1991 Catalog Request for vol=info failed:
> sql_get.c:950 Media record for Volume "info" not found.
> 12-Dec 19:43 linux-sd: Client1.2006-12-12_19.43.21 Fatal error: Job 3
> canceled.
> 12-Dec 19:43 linux-fd: Client1.2006-12-12_19.43.21 Fatal error:
> job.c:1751 Bad response to Append Data command. Wanted 3000 OK data
> , got 3903 Error append data
> 

I think that I just reproduced this issue. It occurs (for me at least)
if you try to load a non-bacula volume. The src/stored/scan.c attempt to
look for any volumes on the DVD but if fails to correctly restore the
old volume information if it doesn't find a valid volume. The net result
is that at the end it tries to reload the catalog info for a bad volume
(in this case "info" in my scenario the name of a DVD volume part i.e.
volumename.5).

I have uploaded a patch for this issue to bug 738
http://bugs.bacula.org/view.php?id=738 where that was forming part of a
migration to DVD problem that I'm chasing down.

Richard


-- 
Richard Mortimer <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to