Hello Arno,
Arno Lehmann schrieb:
Now, how to recover?
You've got several possible solutions:
- Simply set the tape status to Used. It will be recycled as planned,
and you will only lose part of it's capacity. Usually nothing serious.
- Leave it in state Error. That tape would never be rewritten, and
after some time you'd wonder why it's marked as defect, and you would
probably destroy a perfect tape. I wouldn't do that.
- Modify the catalog data to the correct number of files. The above
messages indicate that the SD wrote the necessary file mark, but the
catalog was not updated. So, if you know a little SQL and know a
little about Baculas database schema, that's a simple task. You should
know what you do, though. Afterwards, you could set the volume status
to Append and it *should* be usable without any problems. You wouldn't
lose any tape space. I would only do this if I'm short of tapes.
There is a chapter in the manual how to handle this situation with bconsole.
Why? Because I have jobs that end in error on a regular basis - I back
up one WLAN-connected notebook, and once in a while, that connection
is dropped. The result is that the SD times out the job because it
can't connect to the FD any more. BUT, and that is probably one big
difference, I use spooling, so that the SD only starts writing to tape
when all the data is available. And I use 1.38.4.
I had another bug with this situation. Bacula was doing a backup from a
workstation with spooling. After 8GB it began to despool the data to
tape and while this was done the user switched off the workstation. So
the second part could not be stored and bacula canceled the job. Now the
canceled job stuck in the queue and thus prevented the next scheduled
jobs from running. After stopping bacula and starting again the running
queue was empty and all the schedule for today was lost.
I'm using 1.38.4 with a Ultrium-2 drive. Any ideas?
Stefan
--
Stefan Schwietert Fon +49 731 1530 44
Ulmer Volkshochschule Fax +49 731 1530 60
Systembetreuer email [EMAIL PROTECTED]
begin:vcard
fn:Stefan Schwietert
n:Schwietert;Stefan
org:Ulmer Volkshochschule
adr;dom:;;Kornhausplatz 5;Ulm;;89073
email;internet:[EMAIL PROTECTED]
tel;work:+49 731 1530 44
tel;fax:+49 731 1530 60
x-mozilla-html:FALSE
url:http://www.vh-ulm.de
version:2.1
end:vcard