Re: [Bacula-users] Bacula Tape replacement
2010-08-02 11:34:09
You need to use the erase command to remove the data off of the tape.
example:
load the tape
mtx -f /dev/sg3 load slotnum [drive number]
tell the drive to erase the tape
mt -f /dev/nst0 erase
Make sure you are using the right devices by running the mtx inquiry.
[root@baculaserver ~]# mtx -f /dev/sg3 inquiry
Product Type: Medium Changer
Vendor ID: 'DELL '
Product ID: 'PV-124T '
Revision: '0075'
Attached Changer: No
The correct devices should be listed in your bacula-sd.conf file.
On Mon, 2010-08-02 at 16:20 +0200, Holikar, Sachin (ext) wrote:
> Hello,
>
> Thanks for your reply. Yes upgrade is a MUST and is in a planning stage.
>
> Yes I will not use the faulty tape anymore but as you said , if I use delete
> option to delete the volume tape totally, even though Bacula finds all the
> jobs on that tape , deletion will remove all the data contents on it. So data
> loss without any inconsistencies. Am I correct?
>
>
> Thanks,
> Sachin Holikar
>
> -----Original Message-----
> From: John Drescher [mailto:drescherjm AT gmail DOT com]
> Sent: Montag, 2. August 2010 14:43
> To: Holikar, Sachin (ext)
> Cc: bacula-users AT lists.sourceforge DOT net
> Subject: Re: [Bacula-users] Bacula Tape replacement
>
> > We are using Bacula 2.2.7.
>
>
> Please upgrade. That is over two years old and will not be supported
> for bug fixes ... anymore.
>
> > The problem is, a tape in one of the working pools gets I/O errors whenever
> > tape library tried to access it.
> > I could see that tape has some data on it. Now I wish to replace this tape
> > with a new tape with new name. (As I feel, using new name would not make
> > much difference or would it?).
> >
> > Please correct the proposed steps :
> >
> > Add new tape in the library.
> > Move the tape and move it into one of the empty slots.
> > Label the tape to the respective Volume Pool.
> >
> The last step. A label barcodes will do. Ignore that bacula will ask
> about every tape in the library. Bacula will only label tapes that are
> not labeled. I generally at this step put the tapes in the Scratch
> pool.
>
> > Now please state the steps to purge the susepcted tape. I would like to
> > transfer the data on this tape onto the new tape.
> > As I do not wish to break the data consistency within the volume pool.
> > Correct me if I am wrong here.
> >
> If you are totally getting rid of that tape never to use it again.
> delete volume
>
> if you want to try to use it again
> purge volume
>
> Both commands find all backup jobs on that volume and purge the jobs
> even if the job started on a different tape.
> John
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|