Hi,
On 08.11.2005 16:33, Sol Lederman wrote:
Arno,
Thanks for your advice. I did the mt stuff to write over the tape label,
and relabeled the tape. This morning, however, the tape had not been
written to, i.e. the incremental nightly didn't run so I told bacula to
run the job. It tells me the job is submitted but it doesn't show up in
'list jobs' and the tape doesn't show any activity. And, there are no
bacula messages.
Any suggestions?
What does "status storage" tell you about the SD, and "status
client=xxx" with the client you try to back up tell you?
I *can* take quite a while for the DIR to actually start a job, but that
depends mainly on database activity from other jobs - so, during test
runs at least, that would not be a problem. And, of course, everything
with a Run Before Job script, i.e. catalog backup, can also need time
before the job actually starts accessing the tape.
(Apart from any possible bugs in the code you run, you should start to
think about an upgrade - if you've got to care for a Bacula
installation, you will have to get some knowledge about Bacula anyway,
and support through this list is probably best with the current versions.)
Arno
Sol
On Mon, 2005-11-07 at 13:46, Arno Lehmann wrote:
Hello,
On 07.11.2005 18:01, Sol Lederman wrote:
Hi,
I'm going nuts with a Bacula installation I inherited. I've got a
volume, with VolStatus=Append. This corresponds to a tape in my
autoloader that I want to reuse as all the tapes are full and this is
the oldest tape in the jukebox.
I purged the db info for this tape and I get this message from Bacula:
Oops.
That was not the most clever idea... see below.
06-Nov 23:07 root-sd: Job Backup_Catalog.2005-10-30_01.10.00 waiting.
Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: Compaq AIT 35 Autoloader
Media type: AIT-1
Pool: Default
If I try to label the tape Bacula tells me it's already labeled:
...
Help!!!! What am I doing wrong? What do I need to do? I have looked at
the Bacula manual and I'm still stuck.
Unmount the drive from Bacula (should be unmounted now).
Make sure the right tape is loaded in the drive.
In a shell, issue a command like 'mt -f /dev/nst0 rewind; mt -f
/dev/nst0 weof'
This will overwrite the start of the tape in question and thus destroy
Bacula's tape label. Make sure you understand the consequences of using
mt before believing me anything :-)
After that, use bconsole to label the tape.
You can also use the add command to re-enter the volume into the catalog.
The "right" way would have been to either let Bacula decide when it
wanst to use that volume (usually it does things right), to assist
Bacula by manually setting the volume status (command update volume in
Baculas console) or to prune or purge the volume. The point is that
Bacula refuses to use tapes that are labeled but don't exist in its catalog.
From another point of view: Don't manually modify the catalog or use
the delete command unless you really know what you do ;-P
Hope this helps,
Arno
Thanks,
Sol
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users