Bacula-users

Re: [Bacula-users] switching between RAID-packs, marking Volume in Error

2010-03-29 17:03:36
Subject: Re: [Bacula-users] switching between RAID-packs, marking Volume in Error
From: Josh Fisher <jfisher AT pvct DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 29 Mar 2010 16:59:47 -0400
On 3/29/2010 3:05 PM, Paul Binkley wrote:
> Hi Folks,
>
> I have a backup scheme that has been working well, with 1 issue. We write to
> a 4.5 TB RAID pack for 30 days, then cycle it as offsite backup, replacing
> it with an identical array.
>
> Now obviously each RAID pack has a different set of volumes, so when I
> switch them, the first job can't seem to figure out which volume to use and
> it marks the one it expects as Error in the catalog. I have to force it to
> use a Volume on the new RAID and then it seems to work fine until I rotate
> it again. I am concerned that this one Volume is getting marked as
> erroneous, and would also like this to be as "hands-off" as possible. Has
> anyone done this sort of thing before, and did you experience similar
> issues?
>
> I may be missing something fundamental and your input is appreciated.
>
> SD and Director are both running 3.0.3 on separate CentOS 5.3 machines.
>
> Thanks!
>    

When you swap RAID packs, go into bconsole and update the volume status 
for the last volume written in each pool from "Append" to "Used". This 
will prevent Bacula from attempting to use those volumes, and so prevent 
it from marking them in error when they aren't found. Instead, it will 
search for the next available volume and find one on the new RAID pack.

When you rotate the old RAID pack back online, you will either have to 
change the status of those volumes from "Used" back to "Append" or else 
setup retentions so that they are recycled by the time you rotate them 
back online. (Or manually purge the old volumes when they need to be 
re-used.)


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users