Bacula-users

Re: [Bacula-users] bacula-dir stuck trying to mount the wrong volume

2014-09-05 17:24:58
Subject: Re: [Bacula-users] bacula-dir stuck trying to mount the wrong volume
From: Dimitri Maziuk <dmaziuk AT bmrb.wisc DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 05 Sep 2014 16:18:39 -0500
On 09/05/2014 03:10 PM, Josh Fisher wrote:

>> With vchanger I
>> - need to manually fix the catalog every time I sneeze,
> 
> Fix the catalog??

Run 'update slots' after 'delete volume'. My impression is "cartridges"
in "magazines" are completely disconnected from "volumes" in the media
catalog; every time you touch one you have to manually fix the other.

> That is related to the 'update slots' not being issued when a change 
> occurred. This problem also occurs if I forget to issue 'update slots' 
> when I change tape cartridges in a tape autochanger, so I don't really 
> consider that a huge disadvantage.

It is, however, quite inconvenient when a backup fails because you
removed a full non-recyclable tape cartridge from a completely different
magazine. Which is what happened here.

I've used legato and tivoli and yes, you have to run inventory on the
silo before you could use a new tape, but neither would fail on a
missing tape until you actually tried to do some i/o on it.

>> Ergo, if you want to use multiple filesystems, the smart move would be
>> to "fake" the standard disk storage over multiple filesystems.
> 
> How?

Amanda does (or did last I looked) it by re-pointing a symlink.
Presumably that is done at the right time with the right error handling.
With bacula the options I can see are pre-job or post-job scripts, the
former can at least abort the job on error. I suspect neither can
guarantee proper timing.

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
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>