I could just not be sane, but this seems weird to me.

I'm using an autochanger with one drive, no barcode reader, and I'm 
using bacula 2.0.0 and MySQL 5.0.20.  I see this behavior:

1. I label a tape.  (This isn't the strange part)  Bacula loads the tape 
from the specified slot and labels it.  At this point Bacula knows that 
that particular volume is in the changer, and lives in the specifed 
slot.  So it sets the Slot and InChanger fields appropiately.  "list 
volumes" confirms this.

2. A job runs and uses the new volume.  It's not full yet, so it's 
status is set to Append after the job finishes.  But "list volumes" also 
shows that InChanger is 0, and Slot is 0.  I don't see why that would 
change, since bacula never removed the tape from the drive, let along 
have any reason to think it's been removed from the tape changer.

3. I use "mount" to load the tape from that slot (or any other slot with 
a labeled tape).  Bacula correctly fetches the tape and reads it's 
label.  Says so in the message log.  This time it doesn't update the 
database though, and the tape's InChanger and Slot fields aren't 
touched.  Seems to me like they should be.

4. Because of this weirdness, if I were to do something like run a job 
to Tape 1, then pre-label Tape 2 and 3 with the label command, 
subsequent jobs will start writing with Tape 2 and 3, and then bacula 
will stop when it runs out of room, instead of using the free space it 
should? be aware of locally on Tape 1.

Does this all make sense?  Am I misunderstanding something about the 
tape handling?

Thanks,

Andrew Fabian

-------------------------------------------------------------------------
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