Hello,

http://www.bacula.org/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION000348000000000000000

mt -f /dev/st0 rewind
mt -f /dev/st0 weof

It will reset the tape.  "mt -f /dev/st0 erase" will actually erase them (writing 0s I think) but it will take longer that just writing weof at the beginning of the tape.


As for file number mismatch, have you read --

http://www.bacula.org/rel-manual/Tips_Suggestions.html#SECTION000357000000000000000

Joe

On 4/10/06, Bradley Schatz <[EMAIL PROTECTED]> wrote:
Hi,

I am a newcomer to using bacula, and am being stung by what must be pretty obvious to veterans. I have read the manual cover to cover in search of answers, but cant seem to figure this out.

I am consistently having tapes marked with an error as follows:

11-Apr 08:23 foundry-sd: Volume "Daily01" previously written, moving to end of data.
11-Apr 08:23 foundry-sd: NightlySaveFoundry.2006-04-11_03.05.00 Error: I canot write on Volume "Daily01" because:
The number of files mismatch! Volume=27 Catalog=28
11-Apr 08:23 foundry-sd: Marking Volume "Daily01" in Error in Catalog.
11-Apr 08:25 foundry-dir: Recycled volume "Daily03"

What causes this kind of off by one error? And how can I completely "reset" the state of a particular volume to empty to start again?

Thanks,

bradley



Reply via email to