On Thursday 04 August 2005 21:36, Martin Simmons wrote: > >>>>> On Tue, 2 Aug 2005 23:16:08 +0200, Kern Sibbald <[EMAIL PROTECTED]> > >>>>> said: > > Kern> On Tuesday 02 August 2005 19:31, Martin Simmons wrote: > >> >>>>> On Tue, 2 Aug 2005 13:43:16 +0200, Kern Sibbald > >> >>>>> <[EMAIL PROTECTED]> said: > > Kern> On Tuesday 02 August 2005 13:16, Martin Simmons wrote: > >> >> >>>>> On Tue, 02 Aug 2005 10:37:20 +0200, Rico > >> >> >>>>> <[EMAIL PROTECTED]> said: > > Rico> it failed again. the admin job was ok. the volume was pruned and > Rico> recycled but "thepig"-job failed. > > >> >> The output looks normal to me, except for when the sd says "Cannot > >> >> find any appendable volumes." This could be a bug, so I suggest > >> >> you report it at http://bugs.bacula.org/ including the latest > >> >> console output. > > Kern> I would suggest distilling the problem down to the very essence. > > >> From what I Kern> saw (briefly) in the emails exchanged, I would have > >> a hard time figuring out Kern> what is not working correctly. > >> > >> I think this is the pertinent bit of the output. How can > >> pe2800oracle-sd run between the Pruned and Recycled messages? > >> > >> 01-Aug 22:03 pe2800oracle-dir: Start Backup JobId 487, > >> Job=thepig.2005-08-01_20.00.01 01-Aug 22:13 pe2800oracle-dir: Pruned 5 > >> Jobs on Volume "montag2" from catalog. 01-Aug 22:13 pe2800oracle-sd: > >> Job thepig.2005-08-01_20.00.01 waiting. Cannot find any appendable > >> volumes. Please use the "label" command to create a new Volume for: > >> Storage: LTO Ultrium 2 > >> Media type: LTO-G2 > >> Pool: Default > >> 01-Aug 23:13 pe2800oracle-dir: Recycled volume "montag2" > >> > >> __Martin > > Kern> Well, I don't see anything running between messages, and I'm unsure > what you Kern> mean. If you are trying to tie sequences of messages to > their display order Kern> when they come from different daemons via the > network and different threads Kern> and do not have thousandths of seconds > in the time stamp, good luck. > > Yes, it was the display order. In particular, I thought that the "Pruned 5 > Jobs" and "Recycled volume" Director messages were both emited inside the > Find_media request from the SD. During this time, the SD should be waiting > so I was surprised that the SD's "Cannot find any appendable volumes." > message came before the "Recycled volume" message. > > Someone else posted this sequence: > > 04-Aug 01:02 hunter-dir: Pruned 8 Jobs on Volume "D03" from catalog. > 04-Aug 01:02 hunter-dir: Pruned 1 Job on Volume "D04" from catalog. > 04-Aug 01:02 hunter-sd: Job std-arapaho.2005-08-04_01.00.00 waiting. > Cannot find any appendable volumes. > Please use the "label" command to create a new Volume for: > Storage: HP_DAT72 > Media type: DDS-72 > Pool: Daily > 04-Aug 01:03 hunter-dir: Recycled volume "D03" > > which shows it too.
I'm not sure what is going on here, except that one cannot count on the order of the messages being chronological. I haven't thought a lot about this, but I can imagine that if one is running on the "hairy edge" of not having enough volumes (or conversely having your pruning times too long), I'm not surprised there are problems. I wouldn't be surprised if there is a bug lurking in the code, but I can say that I have been running the setup described in one of the chapters of the manual for well over a year, and it prunes volumes regularly as it should, so there is always one or two pruned volumes when they are needed without relying on pruning during the search for a Volume. > > __Martin -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users