Bacula-users

Re: [Bacula-users] Fatal error: askdir.c:340 NULL Volume name. This shouldn't happen!!!

2014-02-17 18:00:34
Subject: Re: [Bacula-users] Fatal error: askdir.c:340 NULL Volume name. This shouldn't happen!!!
From: Wolfgang Denk <wd AT denx DOT de>
To: Kern Sibbald <kern AT sibbald DOT com>
Date: Mon, 17 Feb 2014 23:54:00 +0100
Dear Kern Sibbald,

In message <5301DB23.6010109 AT sibbald DOT com> you wrote:
> 
> Were you careful to change the actual volume retention period in
> the catalog entry for the volume?  That requires a manual step after
> changing the conf file.  You can check two ways:

Yes, I was. "list volumes" shows the new retention period for all
volumes.

> 1. Look at the full output from all the jobs and see if any
> volumes were recycled while the batch of jobs ran.

Not in this run, and not in any of the last 15 or so before that.

> 2. Do a llist on all the volumes that were used during the
> period the problem happened and see if they were freshly
> recycled and that the retention period is set to your new
> value.

retention period is as expected, no recycling happened.

> In any case, I will look over your previous emails to see if I see
> anything that could point to a problem, and I will look at the bug
> report, but without a test case, this is one of those "nightmare"
> bugs that take huge resources and time to fix.

Hm... I wonder why the DIR allocates for two simultaneous running jobs
two pairs of (DRIVE, VOLUME), but not using the volume currently
mounted in the respective drive, but in the other one.  I would
expect, that when a job starts, that either a volume or a drive is
selected first:

- if the drive is selected first, and it has a tape loaded which is in
  the right pool, and in status append, then there should be no need
  to ask for any other tape.
- if the volume is allocated first, and it is already loaded in a
  suitable drive, then that drive should be used, ant not the other
  one.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd AT denx DOT de
"Security is mostly a superstition. It does not  exist  in  nature...
Life is either a daring adventure or nothing."         - Helen Keller

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users