Bacula-users

Re: [Bacula-users] correct way to re-use tapes previously used with another Bacula installation

2012-03-13 08:51:39
Subject: Re: [Bacula-users] correct way to re-use tapes previously used with another Bacula installation
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 13 Mar 2012 08:49:19 -0400
On 03/13/2012 06:06 AM, Tilman Schmidt wrote:
> I have found three ways to correct this:
> 
> a) bconsole "unmount", run bscan from the command line,
> bconsole "mount", "purge", "relabel"
> 
> b) bconsole "unmount", overwrite the tape label from the
> command line so that Bacula doesn't recognize it anymore,
> bconsole "label"
> 
> c) bconsole "add volume", "purge", "relabel"
> 
> The third way is the quickest and in my impresson sanest in
> the circumstances, but "add volume" warns me every time:
> 
> "You probably don't want to be using this command since it
> creates database records without labeling the Volumes.
> You probably want to use the "label" command."
> 
> Should I just ignore that warning, or does method c) have a
> flaw I haven't noticed? Is there a better way?

The easiest way is to release the tape drive, then use mt to weof all of
the tapes.  You can then relabel them as though they were new tapes.

Keep in mind that magnetic tape has a fixed lifetime in use cycles.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users