Bacula-users

Re: [Bacula-users] Label Barcodes delete data?

2009-09-21 13:06:25
Subject: Re: [Bacula-users] Label Barcodes delete data?
From: Alex Chekholko <chekh AT pcbi.upenn DOT edu>
To: Daniele Eccher <daniele.eccher AT sociale DOT it>
Date: Mon, 21 Sep 2009 13:05:35 -0400
On Mon, 21 Sep 2009 15:40:08 +0200
Daniele Eccher <daniele.eccher AT sociale DOT it> wrote:

> Hi,
> 
> I use bacula 2.4.0 on Linux 2.6.9-42
> 
> I have Spectralogic T50 as Library and work as well from 2 years. My  
> LTO3 tape have barcodes.
> 
> I set the label of the tape LTO3 manually, if I like to use barcode  
> names the data on the tape was deleted?
> 

Hi Daniele,

If I understand correctly, you're trying to reuse tapes that were
already used in Bacula before.  But you want to change the label.

Whenever I want to reuse a tape that has already been used by Bacula, I
erase it first.  Then I use it as if it was brand new.  E.g. load it
and do an "mt -f /dev/nst0 weof && mt -f /dev/nst0 rewind" then "label
barcodes" in bconsole.

If the tape was used in this same Bacula installation you will likely
have to clean up the related database entries.  I haven't done that as
I've only reused tapes from other Bacula installs.  A 'purge volume' or
maybe 'detete volume' should do it, check the manual.

Regards,
-- 
Alex Chekholko <chekh AT pcbi.upenn DOT edu> 

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users