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 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users