On Wed, 5 Dec 2007, Damian Brasher wrote:

> I have a another issue on this list which is still unresolved as I am
> waiting for Gdb to pick up a re - occurrence of this separate error.
> This error has caused the problem above to be exasperated as bacula
> occasionally did not finish the last file of a job, which has cause
> bacula not to accept a tape for append as the last run of a job is a
> mis-match to the catalogue record, i.e. 201 files recorded in the
> catalogue and 200 on the tape.
>
> I have this error message:-
> -----------------------------------------------------------------------------
>
> 05-Dec 10:13 backup-sd JobId 150: Error: Bacula cannot write on tape Volume
> "Tuesday1" because:
> The number of files mismatch! Volume=201 Catalog=200
> 05-Dec 10:13 backup-sd JobId 150: Marking Volume "Tuesday1" in Error in
> Catalog.
> 05-Dec 10:13 backup-sd JobId 150: Job pleiades.2007-12-05_10.12.07 waiting.
> Cannot find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>    Storage:      "LTO-2" (/dev/nst0)
>    Pool:         Tuesday
>    Media type:   LTO-2
> ------------------------------------------------------------------------------
>
> I really need to fix this new issue before I continue with the old issue
> as I don't care if the job starts over on an existing tape in the pool
> with a full backup from the beginning of a tape.

Run the "update volume" command from bconsole.  Set the number of files to 
be 201.

background: the Catalog thinks there are 200 files on the Volume.  The 
Volume actually has 201 files.  You will be correcting this inconsistency 
with the above command.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to