Bacula-users

Re: [Bacula-users] recycling a volume with "Error" status

2008-10-06 08:22:21
Subject: Re: [Bacula-users] recycling a volume with "Error" status
From: "T. Horsnell" <tsh AT mrc-lmb.cam.ac DOT uk>
To: Alan Brown <ajb2 AT mssl.ucl.ac DOT uk>, bacula-users AT lists.sourceforge DOT net
Date: Mon, 06 Oct 2008 13:11:47 +0100
Alan Brown wrote:
> On Thu, 2 Oct 2008, T. Horsnell wrote:
> 
> 
>>Hi all,
>>A couple of my volumes have accumulated "Error" status, and so are not
>>being re-used. I've purged one of them and updated it's status to
>>Append, but Bacula then seemed to mark it 'Full' and didnt use it. I
>>then tried to re-label it with the same label, but that was rejected.
>>What's the correct procedure to make them re-usable?
> 
> 
> Purge the volumes and bacula will then mark them for recycling when it
> thinks appropriate.
> 
> AB

Hm. I did just purge one of them at first, but bacula still didnt seem 
to want to use it.

I have 3 tapes in an experimental setup in an autochanger, and the 
config is set so that they are just used round-robin. This has been 
happily cycling for some weeks, but two tapes got flagged with Error 
status after I stopped bacula to add another tapedrive to the 
autochanger. The third tape filled up and bacula blocked waiting for a 
tape. I purged one of the Error-status ones, expecting bacula to use it, 
but it didnt, so I then tried changing its status to Append, with the 
result as mentioned above.

Since then I've discovered that simply setting its status to Full is 
sufficient. Bacula then pruned it and proceeded to re-use it.

BTW, I had a bad time with 'purge'.
I went into bconsole, issued the 'purge' command, chose the 'volume' 
option and expected to be prompted for a volume-name/media-id to purge.
This didnt happen - bacula proceeded to purge all the volumes and I had 
to recover the catalog from its backup.

Cheers,
Terry





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>