Bacula-users

[Bacula-users] Trying to use tapes that are not in the library

2014-03-10 14:49:07
Subject: [Bacula-users] Trying to use tapes that are not in the library
From: Joanna Anthony <janthony AT negative1 DOT org>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 10 Mar 2014 11:24:23 -0700
Hello,

I recently removed all my tapes from my library and replaced them with 
new tapes in order to send all of our current tapes off site. While most 
of the tapes were full, a few were still were marked with an append 
status. I ran update slots several times, labelled the new tapes with 
their barcodes, and assigned all the new tapes to Scratch.

According to the list media command none of the old tape are assigned to 
a slot (Slot=0), and InChanger was set to 0 too. However, bacula still 
keeps trying to use the old tapes that were marked as append. Since the 
tapes are not there, bacula just blocks waiting for media, instead of 
grabbing a tape from the scratch pool.

For now I found a work around, where I manually  mark all the tapes that 
had an append status as full. Then I cancel, and restart the job. While 
this works, it seems that bacula should only be trying to use tapes that 
it knows are in the library.

I had this problem before, but only in Scratch, I had a lot of tapes in 
the Scratch pool, but that were not in the library. This happened after 
I removed a few tapes in the scratch pool to make room for tapes that I 
needed for a restore.  When bacula  needed a new tape, it would try to 
move one of tapes not in the library from scratch into the appropriate 
job pool. Again it would just block waiting for media that was not 
available.  I think in this case I set the enable flag to 0.

I'm running version 5.2.13 on CentOS 6.4, with a quantum Scalar i40 25 
slot tape library, with 2 LTO5 drives.

Anyone ever had this same problem, or know what might be causing this?


Thanks,
Joanna

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>