Bacula-users

[Bacula-users] Marking volumes as 'error' because they're not in autochanger.

2010-03-30 17:45:20
Subject: [Bacula-users] Marking volumes as 'error' because they're not in autochanger.
From: Tom Eastman <tom.eastman AT otago.ac DOT nz>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 31 Mar 2010 10:42:26 +1300
Hey Guys,

I'm using bacula 2.4.4-1 (from Debian Lenny).

I'm using a removeable hard-drive based storage using the 'vchanger' C++ 
program to simulate an autochanger.  Each of our hard drives therefore 
simulates a 'cartridge' with 10 'volumes'.

What I want to be able to do is change the drives occasionally issue the 
'update slots' command, and then have bacula use the next available 
volume on the loaded drive to continue making backups.

Unfortunately, what *actually* happens is that it asks for the next 
volume on the no-longer-present drive, and when it isn't found, marks it 
as error, and continues with the next one, until every single volume 
that was on the previously-used drive is marked as error.

This *seems* to fly in the face of Step 1 of the 'volume selection 
algorithm' on 
http://www.bacula.org/2.4.x-manuals/en/main/Automatic_Volume_Recycling.html

"If the request is for an Autochanger device, look only for Volumes in 
the Autochanger (i.e. with InChanger set and that have the correct 
Storage device)."

Can anyone give me some guidance as to how to troubleshoot this?  I'm 
happy to provide whatever information you ask for.  It's very 
frustrating, and once this last problem is fixed, I'll finally have a 
backup system that I feel I can trust, which always feels nice!

Thanks!

        Tom


-- 
Tom Eastman / +64 3 479 7073 / tom.eastman AT stonebow.otago.ac DOT nz


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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>