Michael Galloway wrote:
> ok, got this error last night during a new backup:
> 
> 18-Dec 21:55 molbio-sd JobId 50: 3301 Issuing autochanger "loaded? drive 0" 
> command.
> 18-Dec 21:55 molbio-sd JobId 50: 3302 Autochanger "loaded? drive 0", result 
> is Slot 8.
> 18-Dec 21:55 molbio-sd JobId 50: Volume "002042L4" previously written, moving 
> to end of data.
> 18-Dec 22:22 molbio-sd JobId 50: Error: Bacula cannot write on tape Volume 
> "002042L4" because:
> The number of files mismatch! Volume=215 Catalog=214
> 18-Dec 22:22 molbio-sd JobId 50: Marking Volume "002042L4" in Error in 
> Catalog.
> 18-Dec 22:22 molbio-dir JobId 50: Recycled volume "002045L4"
> 
> what sort of problem does this indicate? is this a postgres error? how to 
> resolve it?
 >
 > bacula 2.2.6, patched and postgresql 8.2.5

It is a data inconsistency.  It means Bacula thought the Volume had 214 
files on it (as documented in the Catalog).  However, upon inspection, 
Bacula only 215 files.

Easily fixed.

Use the update volume command in bconsole to adjust the Catalog. Set the 
File Number to the actual value (215) in this case.

Why did this occur: I don't know.  There was at one time a bug related 
to this issue, but it has been fixed by your version.  I have not been 
following this thread.


-- 
Dan Langille - http://www.langille.org/
BSDCan - The Technical BSD Conference: http://www.bsdcan.org/

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to