Hi,

Jesus Salvo Jr. wrote:

I presume I cannot use the relabel command within the console to relable a volume that has a status of "Error" (*)

Never tried it.

So here's what I am thinking of doing:

1) delete the volume from the catalog via "delete volume=<vol> pool=<pool>" command in the console

2) Do a:
mt rewind
mt weof

3) label the volume again with the "label" command

You could also first set the tapes status to used and then prune or purge it. See update volume command.

I prefer this approach because I don't like deleting things from the catalog without any chance of bacula deciding if it's ok. It's just too easy to mistype a volume name or ID.

Sounds fair ? ( just waiting for the jobs to finish before I try this out )


Your idea should work, too.


(*) The volume got to the status of error because while backing up to the volume, the directory exited for whatever reason when I did a "query" on the console while a backup job was running. This left backup job incomplete on the volume. So I tried to somehow let bacula think that the volume is empty ( except for the label ) by using the "update" command from within the console to update the status, files in the volume ( to 0 ), etc ... so that it was left in further inconsistent state.

prune or purge commands can do that, too.

Arno



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to